Generate the book in XHTML instead of HTML
C. Michael Pilato
cmpilato at red-bean.com
Sat Mar 19 20:21:45 CST 2005
Øyvind A. Holm wrote:
>Marcus Rueckert (darix) came with a solution on irc which makes xsltproc
>generate XHTML instead of HTML. This generates UTF-8 output instead of
>ISO-8859-1, which is a Good Thing in the long term when books in
>non-Western languages will be built. The HTML which is generated now
>also lacks a proper DOCTYPE declaration, which the XHTML version has. In
>addition, the XHTML version has proper indents in the header which makes
>it way more readable. The size doesn't increase much, less than 6k in
>the Norwegian single-page XHTML file. I have tested the patch with make
>all, and XHTML, PostScript and PDF generation works fine.
>
>
If this works, and you haven't already committed it (and I just missed
it), I say go for it!
Also, do you (or other translation owners) have any thoughts on a
unified build system? Seems silly that I can't run 'make' the 'src'
directory and get PDF, XHTML, and chunk-XHTML for all translations.
More information about the svnbook-dev
mailing list