This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Hyphenation character


On Thu, May 29, 2003 at 03:26:48PM -0400, Robert P. J. Day wrote:
> On Sat, 17 May 2003, Ian Moor wrote:
> 
> > >Since xsl-stylesheets version 1.61.0 i get "#" and boxes instead of hyphonation dashes on the titlepage and within tables (while creating pdf)... in the normal text the hyphenation works correct.
> > >
> > >I don't think that this is a problem of FOP because it worked with the older stylesheets. 
> > >
> > >BTW: The latest FOP version works fine with the "older" hyph-patterns. 
> > >Just insert the languagespecific file in the hyph directory of FOP 0.20.5rc2 (or specify one in the config file). 
> > >
> > The  english hyphenation-character is  now defined in common/en.xml  by  version 1.61.0 of the xsl-stylesheets,
> > I replaced the definition <l:gentext key="hyphenation-character" text="&#8208;"/>
> > with <l:gentext key="hyphenation-character" text="-"/> and the pdf output  has a dash instead of a #.
> 
> i long ago meant to ask about this.  the file common/en.xml has a fairly 
> adamant warning at the top that that file is auto-generated and shouldn't
> be messed with.
> 
> under the circumstances, how does one *properly* override the current
> hyphenation character of "#" with something more reasonable.  you know,
> like, oh, i don't know ... "-" ? :-)
> 
> i mean, it's not a param, it's not a template, i'm not sure *what* one
> is supposed to do, short of the above, which is just edit the file.

That's right, it is not a parameter or a template, it
is a locale gentext file.  It is not meant to be
edited, but it has its own customization method,
which is described in:

http://www.sagehill.net/xml/docbookxsl/CustomMethods.html#CustomGentext

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]