2010-07-22

convert Docbook to PDF

I got great support from XMLmind,quick and XMLmind are more easy than Oxygen.Also it means I did not read FAQ well,so RYFM!,shame...

Here is solution

This add 2010.7.24

How to config none Alphabetical font,like CJK chars. I used to XMLmind and Oxygen,but both could not done it at default. When converting,XMLmind depend on XEP software,Oxygen probably independent. There is no font configuration on XMLmind,then I asked XEP online chat support and not fix it yet. At Oxygen when occur error,it try to send report and I agree it. They answer very quick. It would help,but very hard configure.

The Oxygen config for using and to show Japanese font.

please change path and some vars,when not fit for you.

GUI:Never show Japanese font,just show white blocks.

There is config at Options → Preferences → Fonts, Editor

converted PDF:Never show Japanese font,just show #.

1.Make font metrics xml file from ttf(TrueTypeFont).

For Windows: ttfConvert.bat

This bat should run in Oxygen folder that application installed.
*I want to use OTF font,but no way to know metrics now also want to know how.
**ipamp.ttf,This is Japanese char font from Information-technology Promotion Agency, Japan.
very clear font and nice license.Here is font:ipa

2.Make fopConfiguration.xml.


3.Set FOP configuration file in Oxygen

Go to menu Options → Preferences → XML → XSLT / FO / XQuery → FO Processors
Click the browse button near Configuration file for the built-in FOP text field and locate the fopConfiguration.xml file.
Click on the OK button to accept the changes.

4.Add new font to FO output for DocBook Stylesheets

Click on the Parameters button in the transformation scenario edit dialog and enter the following parameters indicating the font for the body text and for the titles.
Name Value
body.font.family ipamp
title.font.family ipamp

0 件のコメント:

BCM4321 on Latitude D430

At kernel 3 find wireless hardware lspci | grep -i wireless  check using current kernel module with PCI bus address lspci -vv -s 0c:...