[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Hyphenation in (quoted) component/section titles
Regarding the problem with quotes, all that the <quote> element does is add begining and ending quote characters. It does not change the hyphenation properties. What happens when there is space around the long word within the quote element: <quote>a verylongwordlikethis </quote>? I wonder if the hyphenation processor fails to take the quote character into account? You can turn on hyphenation for your whole document by adding it to the root.properties attribute-set. See this reference for more information: http://www.sagehill.net/docbookxsl/PrintCustomEx.html#RootProperties If you only want to add hyphenation to chapter titles, you can add it to the properties in titlepage.templates.xml, and regenerate the titlepage templates: http://www.sagehill.net/docbookxsl/TitlePagePrint.html#PrintTitlepageSpecfile Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Sören Kress" <sklists@gmx.de> To: <docbook-apps@lists.oasis-open.org> Sent: Thursday, October 28, 2004 1:45 AM Subject: [docbook-apps] Hyphenation in (quoted) component/section titles > Hi, > > I am quite new to docbook and I tried to find an answer in the docs but did > not find a solution - maybe someone can point me to the right place where to > get an answer ... (I hope I'm sending my question to the correct mailing > list) > > I am using docbook xml 4.3, docbook-xsl-1.66.1 and fop-20.5. The language of > my texts is German and I added an XML file for hyphenation. > > I got hyphenation working in section titles using the > section.titles.properties. But hyphenation does not work with words in > section titles that are quoted: > > <sect1><title>hereIsALongWord <quote>hereIsAnEvenLongerWord</quote></title>... > > So hereIsAnEvenLongerWord will not be quoted even if I set hyphenation to true > in verbatim.properties. > > Within chapter titles I don't get hyphenated words at all (neither in unquoted > nor in quoted words). > > So any help would be great. > > Thanks > Soeren > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]