DocBook

From APIDesign

Jump to: navigation, search

DocBook is a language that rebuilds LaTeX on top of XML. In its use it resembles HTML, however it sort of deals with higher level abstractions (section, citation, reference, etc.), so it more suitable for additional processing (to PDF, etc.).

Btw. TheAPIBook has been written in Docbook. However Apress required the text to be in Microsoft Word format, so I had to do an automatic conversion. As such at the time of publishing TheAPIBook I was expert on OpenDocument format and various XSL tricks. In case anyone needs Docbook to OpenDocument conversion script, contact me, I can expose what I had to global world.

<comments/>

Do you use any DocBook specific editor, or Netbeans with the xml editor? :-) --195.221.117.50 12:50, 28 May 2010 (UTC)NicolasDumoulin

There is the DocBook plugin for NetBeans. It allows you to create new DocBook project, build it into PDF, etc. I started with it. When the book text was too long, I slowly left the original structure, split the files, used XML entities and create an Ant script that also handled inclusion of Java samples and also converted the text to OpenDocument.

--JaroslavTulach 06:19, 29 May 2010 (UTC)

hantsy said ...

NetBeans provide a docbook plugin, but not updated for a long time. XmlXmind provide a free personal editor to compose docbook(visually) and free tools to convert DocBook to MSword and ODF. My favorate tool is RenderX xep personal edition. I am a Chinese and it provided exllecent Chinese output in PDF. The last maybe Apache FOP, I rarely use it.

I have create a project(some scripts included) to create Docbook project and convert it to PDF.

--hantsy 10:23, 29 May 2010 (CEST)

David Duperron said ...

I would be very interested in seeing what you can propose to convert Docbook5 xml to opendocuments. Cheers

David

--David Duperron 14:01, 4 February 2014 (CET)

Personal tools