Olaf Meeuwissen <[EMAIL PROTECTED]> writes:

> "Shun-ichi GOTO" <[EMAIL PROTECTED]> writes:
>
>> If you want to print like a book, another plugin PageToDocbook plugin
>> may help you.

FWIW, the plugin is at http://trac-hacks.org/wiki/Page2DocbookPlugin.

>> You can create PDF like this:
>>   wiki --(plugin)--> DocBook --(xsl)--> XSL-FO --(fop)--> PDF
>> It's not automated process but Japanese can be allowed.
>
> Thanks for the tip.  I'll have a look at it.

I've managed to get the plugin to output a Docbook file with Japanese.
I've had no luck so far using the companion python script to combine
multiple wiki pages in a single Docbook document.  Cluebats welcome.

I've also tried converting the Japanese Docbook file with Debian's fop
but it seems I also have to fiddle with font settings.  All Japanese
shows up as ### in the PDF.  I have Japanese TrueType fonts.

FWIW, I used

  fop -xml WikiStart.docbook -xsl 
/usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl -pdf WikiStart.pdf

to convert.  After an attempt to get

  http://docbook.sourceforge.net/release/images/draft.png

timed out, the process mutters several times that this image is not
available before it finally completes.  I have my http_proxy set and
exported, and checked that that URL exists.

# Why bother trying to get it when it's included in docbook-xsl?
# Me goes off, trying to find out how to prevent fop from accessing
# external resources.

In the mean time, information on the Japanese fonts would be most
appreciated.

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2           FLOSS Engineer -- AVASYS Corporation
FSF Associate Member #1962               Help support software freedom
                 http://www.fsf.org/jf?referrer=1962

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to