OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: DOCBOOK-APPS: Hyphenation problems with apostrophes using jad etex3.10


How does raw TeX handle this?  You may have to do something with the TeX
package babel.

> -----Original Message-----
> On Wed, Nov 21, 2001 at 12:32:45PM +0100, Yann Dirson wrote:
> > Has this been fixed in jadetex 3.11 ?
> 
> I tested with 3.11 as well, and it does not work better in 
> this respect.
> 
> > I tried as a workaround to insert some TeX stuff after the 
> apostrophe,
> > in the hope that it would help TeX to recognize the word as 
> such, but
> > the best subst I found that would work was s/'/'\\ /, which gives
> > wrong spacing.  I could not find a zero-width space to put 
> there (the
> > "\," thin space did not help at all with the original problem).
> 
> I found out that a better workaround is to insert "\hspace{0pt}" after
> the "'" character when used as an apostrophe, that is when it has one
> letter on the left and either another letter or a TeX command (\) on
> the right.  It gives (on a sh-compatible command-line):
> 
> perl -pi -e 
> "s%([a-zA-Z])'([a-zA-Z\\\\])%\$1'\\\\hspace{0pt}\$2%g" $jadetexfile
> 
> But that's still a hack.  In some cases, the line gets broken after
> the apostrophe character, which violates the typographical rules.  I'd
> still appreciate a more accurate solution.
> 
> Regards,
> -- 
> Yann Dirson <Yann.Dirson@fr.alcove.com>                 
> http://www.alcove.com/
> Free-Software Engineer				      
> Ingénieur Logiciel-Libre
> Free-Software time manager    	       Responsable du 
> temps Informatique-Libre
> Debian GNU/Linux developper <dirson@debian.org>
> 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC