jelovirt / pdf-generator

DITA-OT PDF plug-in generator
https://dita-generator.elovirta.com/
Apache License 2.0
12 stars 5 forks source link

topic2fo_shell_fop.xsl contains invalid link #18

Closed stefan-jung closed 3 years ago

stefan-jung commented 6 years ago

When generating a 3.0 plugin for FOP, the topic2fo_shell_fop.xsl contains a link to a file, that does not exist anymore, at least in DITA-OT 3.2:

<xsl:import href="plugin:org.dita.pdf2.fop:cfg/fo/attrs/toc-attr_fop.xsl"/>
takesson commented 5 years ago

I saw this issue yesterday as well. Tested with DITA-OT 3.2.1 and 3.3.3.

After removing the above import I also got missing attribute sets until I added:

  <xsl:import href="plugin:org.dita.pdf2:cfg/fo/attrs/topic-attr.xsl" />
  <xsl:import href="plugin:org.dita.pdf2:cfg/fo/attrs/concept-attr.xsl" />

Not sure if this is the correct fix.

jelovirt commented 4 years ago

This will be handled in #21