[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] How to align ToC entries?
Bob Stayton wrote: > > There is no parameter that does that, although it would make a good > feature > request on SourceForge. 8^) > [spr] Will do. > > 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 > [spr] Getting ready to try right now... > > Bob Stayton > Sagehill Enterprises > DocBook Consulting > bobs@sagehill.net > > > ----- Original Message ----- > From: "spr" <spremi@yahoo.com> > To: <docbook-apps@lists.oasis-open.org> > 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@lists.oasis-open.org >> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org >> >> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > > -- View this message in context: http://www.nabble.com/How-to-align-ToC-entries--tf4563768.html#a13045084 Sent from the docbook apps mailing list archive at Nabble.com.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]