|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
How to align ToC entries?How can I format the ToC entries from:
1. Overview .................................................. 1 1.1. Section 1 ............................................... 2 1.1.1. Section 1-1 ........................................... 2 1.1.2. Section 1-2 ........................................... 2 1.2. Section 2 ............................................... 3 1.2.1. Section 2-1 ........................................... 3 1.2.2. Section 2-2 ........................................... 3 to: (please see with fixed font to view differences) 1. Overview ............................................. 1 1.1. Section 1 ............................................ 2 1.1.1. Section 1-1 .......................................... 2 1.1.2. Section 1-2 .......................................... 2 1.2. Section 2 ............................................ 3 1.2.1. Section 2-1 .......................................... 3 1.2.2. Section 2-2 .......................................... 3 Couldn't find any appropriate property at: http://docbook.sourceforge.net/release/xsl/current/doc/fo/ ~spr ~spr |
|
|
Re: How to align ToC entries?There is no parameter that does that, although it would make a good feature
request on SourceForge. 8^) This is typically done in PDF output using an fo:list-block to create a side-by-side format. In the 4th edition of my book, there is an example of using a list block on section titles (in the body, not the toc). You could adapt it to the TOC by using a fo:list-block for each line, using a consistent value of provisional-distance-between-starts. You would do this in a customized version of the template named "toc.line" from fo/autotoc.xsl. http://www.sagehill.net/docbookxsl/SideBySide.html Bob Stayton Sagehill Enterprises DocBook Consulting bobs@... ----- Original Message ----- From: "spr" <spremi@...> To: <docbook-apps@...> Sent: Wednesday, October 03, 2007 12:06 PM Subject: [docbook-apps] How to align ToC entries? > > How can I format the ToC entries from: > 1. Overview .................................................. 1 > 1.1. Section 1 ............................................... 2 > 1.1.1. Section 1-1 ........................................... 2 > 1.1.2. Section 1-2 ........................................... 2 > 1.2. Section 2 ............................................... 3 > 1.2.1. Section 2-1 ........................................... 3 > 1.2.2. Section 2-2 ........................................... 3 > > to: (please see with fixed font to view differences) > > 1. Overview ............................................. 1 > 1.1. Section 1 ............................................ 2 > 1.1.1. Section 1-1 .......................................... 2 > 1.1.2. Section 1-2 .......................................... 2 > 1.2. Section 2 ............................................ 3 > 1.2.1. Section 2-1 .......................................... 3 > 1.2.2. Section 2-2 .......................................... 3 > > Couldn't find any appropriate property at: > http://docbook.sourceforge.net/release/xsl/current/doc/fo/ > > ~spr > > -- > View this message in context: > http://www.nabble.com/How-to-align-ToC-entries--tf4563768.html#a13025670 > Sent from the docbook apps mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@... > For additional commands, e-mail: docbook-apps-help@... > > > --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
Re: How to align ToC entries?
~spr |
| Free embeddable forum powered by Nabble | Forum Help |