“Generate template” in Dita PDF plugin generator #DITA-OT


Nicolas Delobel
 

Hello all,

I saw in Dita PDF plugin generator (https://dita-generator.elovirta.com/) that a new button “Generate template” is available now.


Do you have any ideas about the usage of this button and how can the produced json be used afterwards?

Thanks a lot.


Jarno Elovirta
 

Hi,

The "generate template" a new feature that hasn't been publicized because it's not really ready yet. It's part of https://www.dita-ot.org/plugins#!com.elovirta.pdf that adds support for theming in PDF2 plugin. So instead of passing various arguments to DITA-OT and customizing XSLT with a custom plugin, you can just pass a theme file with `--theme` property. https://github.com/jelovirt/pdf-generator/wiki/Theme has some very preliminary docs about how to use it, but whole tool is still under development and pre-1.0. Once It reaches some stable stage, 1.0 will be releases and hopefully this will be part of built-in plugins in DITA-OT.

Cheers,

Jarno

On Thu, 22 Jul 2021 at 11:46, Nicolas Delobel <nicolas.delobel@...> wrote:
Hello all,

I saw in Dita PDF plugin generator (https://dita-generator.elovirta.com/) that a new button “Generate template” is available now.


Do you have any ideas about the usage of this button and how can the produced json be used afterwards?

Thanks a lot.


Nicolas Delobel
 

Hi,

Thanks a lot for these informations. It's very interesting!

Cheers,
Nicolas