Chris Taylor wrote:
> I normally use a docbook2ps and ps2pdf routine to get a pdf file out
> from the xml and docbook2html for the html pages. I tried your Docbook
> convert options. The pdf output requires an XSL-FO processor for FOP,
> presumably a plug-in. I looked through the help but could not see where
> to get this from and how to install. Any suggestions or guidelines?
> 
> I also tried the export to html. This produced an 'out directory and
> appears to have succesfully copied the figures and created a css file,
> but I cannot see any html files? Aagin...any suggestions and guidelines?
> 

Command-line utility convertdoc is in fact XXE but without a GUI. See 
http://www.xmlmind.com/xmleditor/_distrib/doc/commands/convertdoc.html

Therefore everything installed in XXE is automatically used by 
convertdoc. In your case, you need to install the FOP add-on in XXE 
using "Options|Install Add-ons".

After that, the convertdoc utility is hard to use because you need to 
read the source of the process command to learn which -s and -u 
command-line options to use.

Example 1: Convert the User's Guide to multi-page HTML. (The process 
command being invoked is docb.toHTML.)

---
$ convertdoc -p callout.graphics 1 \
                -p toc.section.depth 3 \
                -p chunk.section.depth 0 \
                -p use.id.as.filename 1 \
                docb.toHTML userguide.xml \
                 -u /tmp/html
---

Example 2: Convert the User's Guide to PDF. (The process command being 
invoked is docb.toPSFile.)

---
$ convertdoc -p callout.graphics 0 \
           -p toc.section.depth 4 \
           -p variablelist.as.blocks 1 \
           -p insert.link.page.number yes \
           -p insert.xref.page.number yes \
            docb.toPSFile userguide.xml \
            -s pdf -s "|pdf" -s "/book toc" -s 1 \
             -u /tmp/userguide.pdf
---


Reply via email to