Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cannot render PDF with theme using XEP #4710

@jlacour31

Description

@jlacour31

Actual Behavior

When transforming a PDF using XEP, if it uses a theme, the scenario fails with Error: Undeclared namespace prefix {fox}

Possible Solution

Declaring xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" in pdf-generator-0.8.0.jar/com/elovirta/pdf/toc.xsl fixes the problem.

Steps to Reproduce

Run a simple transformation with theme and xep:
dita -v -f pdf2 -i path/to/map.ditamap -o path/to/out/pdf -Dpdf.formatter=xep -Dxep.dir=path/to/xep -Dxep.failOnError=true -Dtheme=../docsrc/samples/themes/dita-ot-docs-theme.yaml

Environment

  • DITA-OT version: 4.3.4
  • Operating system and version: Windows
  • How did you run DITA-OT? dita command and oXygen
  • Transformation type: PDF2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions