On Mon, 29 Jan 2001, Jim Winstead wrote:

> In article <00dd01c0892d$1d296680$cd0110ac@shuttle>, [EMAIL PROTECTED] 
> wrote:
> >> [snip]
> >>
> >> Which also introduces the questions:
> >> 
> >> 1. What would it take to get the PDF versions into other languages
> >> besides english?
> > 
> > I have asked this question some time ago. I guess the answer is just
> > time. I don't know about any technological problems generating manuals
> > in other languages...
> 
> right now, producing the pdf with the table-of-contents is a
> non-scriptable process. if someone were to figure out the correct
> combination of tools to fix that, we could add automatically generated pdf
> versions to the list of things on the website.

This is fortunately old news. See the example at end, it could be added to
our Makefile with the necessary modifications. Would it be OK to proceed?

As for languages other that english, as long as dsssl-stylesheets support
it, it's uses one from the ISO-8859 character sets and the writing
direction is left-to-right, I can figure out how to do it. With japanese
and korean, I know a few hints, but without the necessary fonts available
for me, it's a bit hard to test.

-- Jouni

# must use openjade, the plain old jade (ie. 1.2 or older) didn't handle
# bookmarks/outlines so well

openjade  -V tex-backend -i lang-en -d ./print.dsl -t tex ./phpdocxml.dcl manual.xml

# a hack around bugs in jade/pdfjadetex...

mv manual.tex manual.tex.tmp
sed -e '/HeadingText/,/endHeadPar/ s/_/\\137/g' -e '/HeadingText/,/endHeadPar/ 
s/\$/\\044/g' manual.tex.tmp > manual.tex
rm manual.tex.tmp

jadetex manual.tex
jadetex manual.tex
jadetex manual.tex
dvipdfm -p a4 -v manual.dvi


Reply via email to