DocBook

By xngo on February 23, 2019

Description

DocBook is a set of tags used to describe the logical structure of the content of your articles or books. For example, writing an article using DocBook would look like the following:

<article>
<title>My article's title</title>
</article>

Content written in DocBook can then later be published in different format such as HTML, PDF, RTF.

Apache FOP

java.lang.OutOfMemoryError with fop Add -Xmx128m in the last line of fop.bat as follows:

"%JAVACMD%" -Xmx128m %JAVAOPTS% %LOGCHOICE% %LOGLEVEL% -cp "%LOCALCLASSPATH%" org.apache.fop.cli.Main %FOP_CMD_LINE_ARGS%

PDF Bookmarks

To generate PDF bookmarks use <xsl:param name="fop.extensions" select="1"></xsl:param> if you use FOP version 0.20.5 and earlier. Otherwise, use <xsl:param name="fop1.extensions" select="1"></xsl:param>

Reference

About the author

Xuan Ngo is the founder of OpenWritings.net. He currently lives in Montreal, Canada. He loves to write about programming and open source subjects.