Skip preprocessing stage in DITA-OT #DITA-OT
I have to publish huge map and I would like to skip some preprocessing stages (not used) to save processing time.
For example I would like to skip "Resolve content references (conref)" stage.
Do you know how I can do that ?
Thanks a lot.
So, after some research I found a solution using Oxygen.
I create a custom build file in DITA-OT folder:
<project basedir="." default="dist">
<!--The DITA-OT default build file-->
<property name="preprocess.conref.skip" value="true"/>
<property name="preprocess.keyref.skip" value="true"/>
<!--Call the DITA-OT default target-->
where I add some properties to skip conref and keyref preprocess steps for example.
When it's done, I use this new alternate build file in Oxygen transformation scenario (see https://www.oxygenxml.com/doc/versions/22.1/ug-editor/topics/dita-map-use-your-own-build-file.html).
If your topics don’t contain conrefs, you don’t need to disable conref processing. OT will not process conrefs if there are none.toggle quoted messageShow quoted text
But you can use those *.skip properties to disable some preprocessing steps if you’re not sure about your content.
Sent from a mobile device.
On 1. Dec 2020, at 16.03, Nicolas Delobel <nicolas.delobel@...> wrote: