Re: Skip preprocessing stage in DITA-OT #DITA-OT

Jarno Elovirta

If your topics don’t contain conrefs, you don’t need to disable conref processing. OT will not process conrefs if there are none.

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:

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-->
  <import file="build.xml"/>
  <target name="dist">
    <property name="preprocess.conref.skip" value="true"/>
    <property name="preprocess.keyref.skip" value="true"/>
    <!--Call the DITA-OT default target-->
    <antcall target="init"/>
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

Join to automatically receive all group messages.