Creating PDFs from Japanese Docbook XML
Dear .debs,
I have been tinkering a bit with DocBook XML and Website XML for
Japanese documents. While I have gotten HTML output working with
xsltproc and a minimally customized stylesheet, I am wondering how
to go about creating PDF.
Creating PDF from English documents works fine with xmlto, but I
haven't much of a clue for the Japanese ones. I am aware of ptex
and jtex but have never used them. All hints very welcome!
BTW, the customized stylesheet looks like
<?xml version='1.0' encoding="utf-8"?>
<xsl:stylesheet version = "1.0"
xmlns:xsl = "http://www.w3.org/1999/XSL/Transform">
<xsl:include href="dont_really_know_XSL_disclaimer.xsl"/>
<xsl:import href="your_stylesheet_here"/>
<!-- docbook seemingly hardcodes ISO-8859-1 :-( -->
<xsl:output encoding="utf-8"/>
</xsl:stylesheet>
It seems sarge's xsltproc (1.0.18-0.1) has no trouble converting
EUC-JP XML to UTF-8.
--
Olaf Meeuwissen EPSON KOWA Corporation, ECS
GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90
LPIC-2 -- I hack, therefore I am -- BOFH
Reply to: