ah-dita is the DITA specialization that enables authoring the style information by "fo:prop" property for PDF output. It is composed of set of schema files and it can be used as plug-in for DITA Open Toolkit. This specialization works with PDF5-ML plug-in.
This folder contains plug-in files for DITA 1.2 DTD. To install this plug-in into DITA-OT, copy this folder to [DITA-OT]/plugins folder and run "ant -f integrator.xml".
This folder contains plug-in files for DITA 1.2 XML Schema. The installation process is the same as plug-in for DTD.
This folder contains plug-in files for DITA 1.3 RELAX NG and DTD specialization. The installation process is the same as plug-in for DTD. This plug-in is applicable for DITA-OT 2.2 or later that bundles DITA 1.3 schema plug-in (org.oasis-open.dita.v1_3). This plug-in has several limitations about the parser. See ReadMe.txt in this folder for details.
This specialization also contains floating-figure support by newly introduced floatfig, floatfig-group element. You can see the floating-figure examples from PDF5-ML floating figure examples.
Here are some examples authored by this specialization:
<p>The quick brown fox jumps over the lazy dog</p>
<p fo:prop="text-decoration:line-through;color:mediumvioletred;font-size:1.5em;">The quick brown fox jumps over the lazy dog</p>
<p fo:prop="text-decoration:underline;color:steelblue;font-size:1.5em;">The quick brown fox jumps over the lazy dog</p>
<p fo:prop="border:1pt solid black;padding:1mm;color:teal;font-size:1.5em;">The quick brown fox jumps over the lazy dog</p>
<p fo:prop="padding:1mm;color:white;font-size:1.5em;background-color:darkblue;">The quick brown fox jumps over the lazy dog</p>
<p>TOC is written as "<ph fo:prop="font-family:MS Gothic;color:midnightblue;">目次</ph>" in <ph fo:prop="color:darkgreen;">Japanese.</ph></p>
<p>TOC is written as "<ph fo:prop="font-family:SimHei;color:midnightblue;">目录</ph>" in <ph fo:prop="color:green;">Simplified Chinese.</ph></p>
<p>TOC is written as "<ph fo:prop="font-family:Microsoft JhengHei;color:midnightblue;">目錄</ph>" in <ph fo:prop="color:forestgreen;">Traditional Chinese.</ph></p>
<p>TOC is written as "<ph fo:prop="font-family:Gulim;color:midnightblue;">목차</ph>" in <ph fo:prop="color:seagreen;">Korean.</ph></p>
<table fo:prop="font-size:12pt;font-family:Arial;">
<tgroup cols="3">
<colspec colnum="1" align="center"/>
<thead fo:prop="text-align:center;background-color:lavender;">
<row>
<entry fo:prop="border-bottom-width:2pt;border-bottom-style:double;">No.</entry>
<entry fo:prop="border-bottom-width:2pt;border-bottom-style:double;">Item</entry>
<entry fo:prop="border-bottom-width:2pt;border-bottom-style:double;">Role</entry>
</row>
</thead>
Setup your XML editor to use this specialization DTD.
Use following public identifier for your document type declaration.
<!DOCTYPE bookmap PUBLIC "-//ANTENNA HOUSE//DTD DITA BookMap//EN" "bookmap.dtd">
<!DOCTYPE map PUBLIC "-//ANTENNA HOUSE//DTD DITA Map//EN" "map.dtd">
<!DOCTYPE topic PUBLIC "-//ANTENNA HOUSE//DTD DITA Topic//EN" "topic.dtd">
<!DOCTYPE task PUBLIC "-//ANTENNA HOUSE//DTD DITA Task//EN" "task.dtd">
<!DOCTYPE concept PUBLIC "-//ANTENNA HOUSE//DTD DITA Concept//EN" "concept.dtd">
<!DOCTYPE reference PUBLIC "-//ANTENNA HOUSE//DTD DITA Reference//EN" "reference.dtd">
<!DOCTYPE task PUBLIC "-//ANTENNA HOUSE//DTD DITA General Task//EN" "generalTask.dtd">
<!DOCTYPE glossentry PUBLIC "-//ANTENNA HOUSE//DTD DITA 1.2 Glossary Entry//EN" "glossentry.dtd">
Add fo:prop attribute using XSL-FO properties in CSS notation.
<p fo:prop="color:red;">The quick brown fox jumps over the lazy dog</p>
The namespace prefix "fo" is declared in the DTD as follows:
xmlns:fo="http://www.w3.org/1999/XSL/Format"
You can publish it using PDF5-ML plug-in.
Copyright (C) 2009-2015 Antenna House, Inc. All rights reserved.
Antenna House is a trademark of Antenna House, Inc.
This software is licenced under the Apache License, Version 2.0.