J.D. Williams wrote:
> 
> Attached find a different dtd and mod file for my syllabus
> specialization of a DITA topic.

Please find attached to this email a working configuration for your DITA
customization.

I had to do too many changes (including to yours DTDs: no IBM stuff
please, we switched to OASIS!) to have something that works.

I'll not attempt to explain these changes here. Everything you need to
known is explained in
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/index.html.
Please *carefully* study what I did. *Every* *detail* *is* *important*.

Note that the attached configuration (directory syllabus/) must be
installed *side* *by* *side* with the stock dita_dtd_configuration/.
That is, to make it easier maintaining the customization, I preferred
not to mix it with the stock DITA configuration.

Two caveats are worth mentioning:

[1] if you have dita_dtd_configuration/dita.xxe and
syllabus/syllabus.xxe installed side by side and that both
configurations are called "DITA", then XXE will pick
dita_dtd_configuration/dita.xxe.

This is not what we want, therefore the dirty trick is to rename
syllabus/syllabus.xxe to syllabus/0syllabus.xxe

[2] If you want to use "Convert to HTML" and "Convert to PDF" then,
*unfortunately* you'll also have to patch
dita_dtd_configuration/dost/catalog-dita.xml and add to it:

---
  <!-- jdwilliamsinfodesign DTDs -->

  <public publicId="-//JDW//DTD JDW Syllabus//EN"
          uri="../../syllabus/syllabus.dtd"/>
  <public publicId="-//JDW//ELEMENTS JDW Syllabus//EN"
          uri="../../syllabus/syllabus.mod"/>
---
(dita_dtd_configuration/dost/catalog-dita.xml is part of the bundled
DITA Open toolkit)

Note that writing syllabus.css was not really needed, using the stock
CSS "DITA topic (classed)" works fine and in fact better than
syllabus.css. Please use the View menu to give "DITA topic (classed)" a
test drive.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: syllabus.zip
Type: application/octet-stream
Size: 3311 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20060920/aabeaf45/attachment.dll
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: catalog-dita.xml
Type: text/xml
Size: 3145 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20060920/aabeaf45/attachment.xml
 

Reply via email to