Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2007 06:49:55 +0100
From:      Rico Secada <coolzone@io.dk>
To:        freebsd-questions@freebsd.org
Subject:   Problems with arabic in Docbook
Message-ID:  <20070306064955.27050077.coolzone@io.dk>

next in thread | raw e-mail | index | archive | help
Hi

I am currently working on a docbook project using FreeBSD and I need to incorporate some arabic words. 

When I convert using xmlto into a xhtml document the words show up together with the other languages perfectly, but when I convert into PDF using xsltproc, the arabic letters gets converted into hashes ###.

To convert the document into PDF I do the following:

xsltproc --output foo.fo --stringparam section.autolabel 1 --stringparam section.label.includes.component.label 1 --stringparam generate.toc "book toc" --stringparam fop.extensions 1 /usr/local/share/xsl/docbook/fo/docbook.xsl foo.xml

Afterwards I do:

fop foo.fo foo.pdf

xmlto isn't working with PDF on FreeBSD and I get this error: 
/usr/local/share/xmlto/format/docbook/../fo/pdf: Can't open /usr/local/share/xmlto/format/docbook/../fo/pdf: No such file or directory

Any sugestions?

Best regards,
Rico



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070306064955.27050077.coolzone>