Re: Bug#271951: debian-installer-manual: please document how to typeset manual in PDF using free tools
On Thu, Sep 16, 2004 at 10:11:58PM +0200, Nikolai Prokoschenko wrote:
> 1. Bad news: I have just noticed that cyrillics get converted to entities after using
> xsltproc. For example, it's (hope it doesn't get converted)
> <title>Руководство
Have fixed this problem - a simple stylesheet hack.
> 2. Good news: after playing a bit with jade etc. I have got a complete
> russian doc with right characters, BUT: with all formatting, margins and
> newlines removed, an A4 page full of equally big text. So we can have
> cyrillic and so on going this way, but we'll have to play with it a little
> more.
Have solved this too. I've got a tip from our jidgo-howto translator, Yuri
Kozlov, which allowed me to build a full-fledged PDF using jade and
PDFJadeTeX (and sgmltools as a wrapper). The following works at least for
Russian, Japanese gives tons of "Unknown character" errors, French could
not be built, Czech worked fine:
SP_ENCODING="xml" sgmltools -j "-E 0" -b pdf -v -s /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl install.<lang>.profiled.xml
I'm not really sure whether the quality is good enough, but at least it
_IS_ a solution for a non-non-free PDF building....
--
Nikolai Prokoschenko
nikolai@prokoschenko.de / Jabber: pronik@jabber.org
Reply to: