| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
- <!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
- <reference id="ID" rev="1.6">
- <title>Migrating to release 1.6</title>
- <titlealts>
- <navtitle>To 1.6</navtitle>
- </titlealts>
- <shortdesc>In DITA-OT 1.6, various <filepath>demo</filepath> plug-ins were removed along with many deprecated
- properties, targets, templates and modes. The PDF2 transformation no longer supports the beta version of DITA from
- IBM, the "bkinfo" demo plug-in, or <filepath>layout-masters.xml</filepath> configuration.</shortdesc>
- <refbody>
- <section>
- <p>Support for the old DITAVAL format (used before OASIS added DITAVAL to the standard in 2007) has been
- removed.</p>
- <p>The <filepath>demo</filepath> folder has been deprecated and the following plug-ins have been moved to the
- <filepath>plugins</filepath> folder:</p>
- <simpletable>
- <sthead>
- <stentry>old path</stentry>
- <stentry>new path</stentry>
- </sthead>
- <strow>
- <stentry><filepath>demo/dita11</filepath></stentry>
- <stentry><filepath>plugins/org.dita.specialization.dita11</filepath></stentry>
- </strow>
- <strow>
- <stentry><filepath>demo/dita132</filepath></stentry>
- <stentry><filepath>plugins/org.dita.specialization.dita132</filepath></stentry>
- </strow>
- <strow>
- <stentry><filepath>demo/eclipsemap</filepath></stentry>
- <stentry><filepath>plugins/org.dita.specialization.eclipsemap</filepath></stentry>
- </strow>
- <strow>
- <stentry><filepath>demo/fo</filepath></stentry>
- <stentry><filepath>plugins/org.dita.pdf2</filepath></stentry>
- </strow>
- <strow>
- <stentry><filepath>demo/tocjs</filepath></stentry>
- <stentry><filepath>plugins/com.sophos.tocjs</filepath></stentry>
- </strow>
- <!-- These plugins are pulled from ext-plugins during build -->
- <strow>
- <stentry><filepath>demo/h2d</filepath></stentry>
- <stentry><filepath>plugins/h2d</filepath></stentry>
- </strow>
- <strow>
- <stentry><filepath>demo/legacypdf</filepath></stentry>
- <stentry><filepath>plugins/legacypdf</filepath></stentry>
- </strow>
- </simpletable>
- <p>The remaining plug-ins in the demo folder have been moved to a separate repository at <xref
- href="https://github.com/dita-ot/ext-plugins" scope="external" format="html"
- >github.com/dita-ot/ext-plugins</xref>.</p>
- </section>
- <section>
- <p>The deprecated property <codeph>dita.input.valfile</codeph> should be replaced with the new argument property
- <codeph>args.filter</codeph>.</p>
- <p>The <codeph>dita-preprocess</codeph> target has been removed and dependencies should be replaced with a target
- sequence <codeph>build-init, preprocess</codeph>.</p>
- <p>Support for the <codeph>args.message.file</codeph> argument has been removed as message configuration has
- become static configuration.</p>
- <p>The <codeph>workdir</codeph> processing instruction has been deprecated in favor of
- <codeph>workdir-uri</codeph>. The only difference between the two processing instructions is that
- <codeph>workdir-uri</codeph> contains a URI instead of a system path.</p>
- </section>
- <section>
- <title>Preprocessing</title>
- <p>The following deprecated templates and modes have been removed in topic pull stylesheets:</p>
- <ul>
- <li>inherit</li>
- <li>get-stuff</li>
- <li>verify-type-attribute</li>
- <li>classval</li>
- <li>getshortdesc</li>
- <li>getlinktext</li>
- <li>blocktext</li>
- <li>figtext</li>
- <li>tabletext</li>
- <li>litext</li>
- <li>fntext</li>
- <li>dlentrytext</li>
- <li>firstclass</li>
- <li>invalid-list-item</li>
- <li>xref</li>
- </ul>
- </section>
- <section>
- <title>PDF2</title>
- <p>The following deprecated items are no longer supported in the PDF transform:</p>
- <ul>
- <li>Support for the beta version of DITA, available from IBM before the OASIS standard was created in 2005.</li>
- <li>Support for the "bkinfo" demo plug-in, used to support book metadata before OASIS created the BookMap format
- in 2007.</li>
- <li>Support for <filepath>layout-masters.xml</filepath> configuration. Plug-ins should use the
- <codeph>createDefaultLayoutMasters</codeph> template instead.</li>
- </ul>
- <p>The following extension-points have been added:</p>
- <ul>
- <li><codeph>dita.conductor.pdf2.param</codeph> to add XSLT parameters to XSL FO transformation.</li>
- </ul>
- <p>Custom PDF2 shell stylesheets need to be revised to not include separate IBM and OASIS DITA stylesheets. The
- <filepath><varname>*</varname>_1.0.xsl</filepath> stylesheets have been removed and their imports must be
- removed from shell stylesheets.</p>
- <p>The following template modes have been deprecated:</p>
- <ul>
- <li>toc-prefix-text</li>
- <li>toc-topic-text</li>
- </ul>
- <p>The following named templates have been removed:</p>
- <ul>
- <li>processTopic</li>
- <li>createMiniToc</li>
- <li>processTopicTitle</li>
- <li>createTopicAttrsName</li>
- <li>processConcept</li>
- <li>processReference</li>
- <li>getTitle</li>
- <li>placeNoteContent</li>
- <li>placeImage</li>
- <li>processUnknowType</li>
- <li>insertReferenceTitle</li>
- <li>buildRelationships</li>
- <li>processTask</li>
- </ul>
- <p>The main FO generation process now relies on the merging process to rewrite duplicate IDs. The default merging
- process did this already in previous releases, but now also custom merging processes must fulfill the duplicate
- ID rewrite requirement.</p>
- </section>
- <section>
- <title>XHTML</title>
- <p>The following named templates have been deprecated:</p>
- <ul>
- <li>make-index-ref</li>
- </ul>
- <p>The following deprecated templates have been removed:</p>
- <ul>
- <li>revblock-deprecated</li>
- <li>revstyle-deprecated</li>
- <li>start-revision-flag-deprecated</li>
- <li>end-revision-flag-deprecated</li>
- <li>concept-links</li>
- <li>task-links</li>
- <li>reference-links</li>
- <li>relinfo-links</li>
- <li>sort-links-by-role</li>
- <li>create-links</li>
- <li>add-linking-attributes</li>
- <li>add-link-target-attribute</li>
- <li>add-user-link-attributes</li>
- </ul>
- <p>The removed templates have been replaced by other templates in earlier releases and plug-ins should be changed
- to use the new templates.</p>
- </section>
- <section>
- <title>ODT</title>
- <p>The following deprecated templates have been removed:</p>
- <ul>
- <li>revblock-deprecated</li>
- <li>revstyle-deprecated</li>
- <li>start-revision-flag-deprecated</li>
- <li>end-revision-flag-deprecated</li>
- </ul>
- <p>The removed templates have been replaced by other templates in earlier releases and plug-ins should be changed
- to use the new templates.</p>
- </section>
- </refbody>
- </reference>
|