Questions tagged [dita-ot]

Questions about the DITA Open Toolkit, an open-source reference implementation of transformations from DITA XML to various end-user deliverables, including HTML and PDF.

The DITA Open Toolkit (sometimes shortened to DITA-OT or toolkit) is used by many other tools as the basis for building deliverables from DITA source files. It assembles the source files as specified in a DITA map file, implements flagging and filtering as specified by an optional DITAVAL file, and uses XSLT to create end-user deliverables.

DITA Open Toolkit is run in Java, and build parameters can be passed to the toolkit either by creating an Ant build file (preferred) or directly to the Java process.

In the case of PDF output, the XSLT generates an XSL-FO object that is then transformed by an FO rendering engine. The DITA Open Toolkit includes the open-source Apache FOP engine, but third-party engines can be used with the toolkit as well.

More information about the DITA Open Toolkit is available dita-ot.org

148 questions
1
vote
1 answer

Incorrect alignment of Arabic footnotes with DITA OT and FOP

I have an issue with Arabic footnotes in PDFs generated with DITA OT 3.7.1, FOP 2.6, and our custom PDF plugin. The problem is that the text for the footnotes is aligned with the opposite end away from the footnote number. The rest of the text is…
1
vote
1 answer

Corrupted SVG images in PDF build

I am embedding external svg images in my PDF build process (which uses DITA-OT & Apache Ant) but some of the images are coming out corrupted. The images are MathMl equations generated by MathJax: Good Equation opened in browser Corrupted Equation…
1
vote
1 answer

I have specified a publishing template in the command line, but dita ot ignores it

I have made a command based on this page to run my build from the commandline with the dita toolkit. The build does run, but the style spedicifications are totally ignored. There is no error message about them, they just don't feature. My command…
1
vote
0 answers

How do I fix URI Resolver error in DITA OT?

I'm attempting to run a recent version of the DITA Open Toolkit on a new machine. However, I am getting the following error when using the dita install command via CL: Error:…
1
vote
2 answers

Pass Command Line arguments to Apache Ant build file from DITAOT custom plugin

I am trying to build a very basic custom html5 plugin for dita-ot. Below is my current setup. Here is my plugin.xml file. plugin.xml
Krissh
  • 328
  • 3
  • 14
1
vote
0 answers

Links to headings in GitHub-Flavored Markdown that also work in PDF built by DITA-OT?

Is there a method of linking to a heading in the same GFM README.md ("intra-readme" link) that works in both of the following situations? (a) When formatted as HTML by GitHub (b) When formatted as PDF by DITA-OT with Apache FOP That is, I want…
Graham Hannington
  • 1,749
  • 16
  • 18
1
vote
1 answer

DITA-OT 3.6.1: DOTJ083E capitalization errors

We recently upgraded to DITA-OT 3.6.1 from 3.2.1. We started getting the following types of errors: [map-reader] file:/c:/Temp/.ditamap:5:181: [DOTJ083E][ERROR] The resource referenced as file:/c:/Temp/.xml is…
1
vote
1 answer

Alternate text for links in PDFs generated with DITA OT and FOP

I'm generating PDFs with DITA OT 3.6 and Apache FOP 2.5. For accessibility, we need to provide alternate text for links (such as the table of contents and cross-references). So far, I haven't found a way to do this with . I tried…
1
vote
3 answers

How to apply small-caps to a string via XSL FO

I am trying to customize the PDF2 plugin in DITA-OT. I want to apply small caps to the string "Chapter" and chapter number that appear at the start of every chapter. What I did so far In my custom plugin, I modified the following the…
Antony
  • 115
  • 1
  • 11
1
vote
1 answer

DITA OT returns flat topic structure

I am having issues in DITA getting the structure I want using the open toolkit. My bookmap contains chapters which reference DITA maps.
Aaron
  • 95
  • 1
  • 11
1
vote
1 answer

Can I configure Dita-OT 2.1 to output only the topic.fo file and not the pdf

Is there a method when creating dita-ot 2.1 pipeline to only output the topic.fo and not go on to create the PDF? Regards Conteh
conteh
  • 1,544
  • 1
  • 17
  • 39
1
vote
1 answer

Why does DITA Open Toolkit PDF plugin rename image href attributes?

I'm sorry if this doesn't have enough information. I don't typically ask for help online like this. I'm using DITA Open Toolkit 3.4 on Windows. I generated a plugin called "vcr2" using Jarno's (very excellent and helpful) PDF Plugin Generator and…
1
vote
0 answers

How to customize footnote in tables for PDF

DITA Experts In my dita, there servaral table who has fn insides. I wish to create fn for each table 1. fn number starts from 1 for each tabel 2. fn list is under its table, not at the bottom of a pages. What I have done: rewrite…
lisazeng
  • 21
  • 2
1
vote
2 answers

DITA-OT PDF formatter xsl:attribute-set names documentation

I've recently started generating and styling my DITA documents with DITA-OT and Apache FOP 2.4 PDF formatter. My problem is that I haven't found a comprehensive documentation about the xsl:attribute-set elements which essentially style the resulting…
szotsaki
  • 684
  • 7
  • 16
1
vote
1 answer

Adjust Dita-OT plugin to output PDF wireframe with all blocks solid border

I'm interested to output solid black border surrounding all fo:blocks to aid in viewing where the borders are between elements displayed in a pdf output. I would like to apply a transformation at the end of dita-ot plugin that applies the borders. I…
conteh
  • 1,544
  • 1
  • 17
  • 39
1
2
3
9 10