[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Issue with unwanted line breaks with the term C++
While FOP 0.95b does not seem to support U+200D it does support U+2060 since version 0.94. I tried that and indeed it solves the issue with C++ when using C⁠+⁠+ Thanks Henrik > -----Original Message----- > From: William R. (Bill) Greene [mailto:wrg@acm.org] > Sent: Wednesday, 23 July 2008 2:22 PM > To: DocBook Apps > Subject: Re: [docbook-apps] Issue with unwanted line breaks with the term > C++ > > > On 2008-07-22 , at 20:10:40, Henrik Maier wrote: > > > For example the text "...Recompiling SuperBoost C++ Library with > > Visual Studio 2005..." > > > > breaks into two lines like: > > > > ...Recompiling SuperBoost C > > ++ Library with Visual Studio 2005... > > This seems to work well when producing PDF or RTF output: > > <!ENTITY zwj "‍"> <!-- Zero Width Joiner --> > <!ENTITY cplusplus "C‍+‍+"> > > ...Recompiling SuperBoost &cplusplus; Library with Visual Studio > 2005... > > But if you are producing HTML output, you will later need to remove > the Zero Width Joiners, perhaps like this: > > cat yourfile.html | sed 's/ZWJ//g' > yourfile.html > > where "ZWJ" is replaced with the actual Zero Width Joiner character. > > HTH. > ________________________________________________________________________ > > Bill Greene > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]