|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Howto generate index contentsHi guys,
I have a problem. I generated a pdf-file with docbook. My index content is so: 1. chapter1...............................1 xxxxx....................................1 xxxxx....................................2 ... 2. chapter2...............................5 xxxxx....................................6 xxxxx....................................7 ... How can I generate an docbook such as below: 1. chapter1...............................1 1.1 xxxxx..............................1 1.2 xxxxx..............................2 ... 2. chapter2...............................5 2.1 xxxxx..............................6 2.2 xxxxx..............................7 Can anyone help me? Thanks |
|
|
Re: Howto generate index contentsI think you are asking how to turn on section numbering for sections? If
so, then set the stylesheet parameter section.autolabel to 1. See this reference for more information: http://www.sagehill.net/docbookxsl/SectionNumbering.html Or perhaps you just want the numbers in the TOC and not in the sections themselves? Bob Stayton Sagehill Enterprises bobs@... ----- Original Message ----- From: "61Sniper" <bahtiyar.yanik@...> To: <docbook-apps@...> Sent: Friday, January 25, 2008 3:50 AM Subject: [docbook-apps] Howto generate index contents > > Hi guys, > > I have a problem. I generated a pdf-file with docbook. My index content is > so: > > 1. chapter1...............................1 > xxxxx....................................1 > xxxxx....................................2 > ... > 2. chapter2...............................5 > xxxxx....................................6 > xxxxx....................................7 > ... > How can I generate an docbook such as below: > > 1. chapter1...............................1 > 1.1 xxxxx..............................1 > 1.2 xxxxx..............................2 > ... > 2. chapter2...............................5 > 2.1 xxxxx..............................6 > 2.2 xxxxx..............................7 > > Can anyone help me? > > Thanks > -- > View this message in context: > http://www.nabble.com/Howto-generate-index-contents-tp15086168p15086168.html > 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: Howto generate index contentsThank you very much. Your Link helped me. Just I have got another problem. How can I change the font size of the Title of sect1 Element?
|
|
|
Re: Howto generate index contentsAssume, you are looking for changing style in the TOC.
I use this for styling chapter, preface and appendix: <xsl:attribute-set name = "toc.line.properties"> <xsl:attribute name = "font-weight"> <xsl:choose> <xsl:when test = "self::d:chapter | self::d:preface | self::d:appendix"> <xsl:text>bold</xsl:text> </xsl:when> <xsl:otherwise> <xsl:text>normal</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:attribute> </xsl:attribute-set> You may want to try for sect1. (you will need to use 'font-size' instead of 'font-weight') ~spr
~spr |
|
|
Re: Howto generate index contentsHi,
I`m not looking for changing style in the TOC. I would like change the font-size of the chapter (title) and sect1 (title). My font-size is to big. I think it is 30pt. I have tried it with the following command: <xsl:param name="sect1.title.font.size">18</xsl:param>
|
|
|
RE: Howto generate index contents> -----Original Message-----
> From: 61Sniper > > I`m not looking for changing style in the TOC. I would like > change the font-size of the chapter (title) and sect1 (title). > My font-size is to big. I think it is 30pt. http://www.sagehill.net/docbookxsl/TitleFontSizes.html#ChapterTitles http://www.sagehill.net/docbookxsl/TitleFontSizes.html#SectionTitles /MJ --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
RE: Howto generate index contentsHi,
thank you very much. I solved my problem with your Link. It is very easy and helpful. Cheers
|
| Free embeddable forum powered by Nabble | Forum Help |