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]

[docbook-apps] FO, lang and hyphenation


Hi there,

I have written a DocBook 4.2 XML compilant document and I need the FO output to process it with PassiveTeX. 
Everything is allright, but hyphenation doesn't work almost at all.

The document main language is Spanish, but some titles are in German and  some foreign phrases are in German or 
Greek. The document enconding is utf-8 and Greek is polytonic. My stylesheets are 1.60.1 and I use the xsltproc Win32 
port.

I hadn't seen any FO document before I wanted to see the FO output to examine why hyphenation didn't work as 
expected.

The first two lines are the following:

<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"; font-family="serif" font-size="10pt" text-align="" line-
height="normal" language="en">

By the way, should not be the language above "es"? (I think so, since the document language is Spanish)

In the whole document, all occurrences of language aren't other than language="es" (there are some of them). German or 
Greek are simply ignored as languages.

Beside the hyphenation question, Greek language taggs in FO are essential to be able to enable the use of the ucs.sty 
package within PassiveTeX. ucsty (and uschyper.sty) allow utf-8 input encoding in LaTeX documents. Otherwise it is 
impossible to mix languages from different iso-8859 encodings in one single document (as ie French and monotonic 
Greek) and have a PassiveTeX generated output.

I hope it helps,


Pablo



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


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