DocBook Extensions

DocBook extensions provided in Practical XML include:

File Inclusion

Simple xml file inclusion is achieved like this:

<include file="introduction.xml"/>
<include file="developmenttools.xml"/>
<include file="hardware.xml"/>
<include file="firmware.xml"/>
<include file="software.xml"/>
<include file="hardwaretesting.xml"/>
<include file="softwareupdates.xml"/>

Maths

Latex maths can be embedded in DocBook documents in a math element. Here are some examples:

<math>\[ 2\sum_{i=1}^n a_i \int^b_a f_i(x)g_i(x)\,\mathrm{d}x \]</math>
produces this: and this:
<math>$$ 2\sum_{i=1}^n a_i \int^b_a f_i(x)g_i(x)\,\mathrm{d}x $$</math>
produces this:

Here is some in-line maths: and .