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
4
votes
1 answer

Can a CSS file be used to generate PDF output?

Does DITA-OT support generation of PDF output with CSS customizations? I think it supports PDF generation using Apache FOP. I generate both HTML and PDF output and want to use CSS. Thanks...
4
votes
0 answers

DITA-OT plugin can't find JAR file function when transtype=PDF

I'm working on a DITA-OT plugin that calls a function from a JAR file. When I generate XHTML, the plugin finds the function. When I generate a PDF, it doesn't. I've read the DITA-OT docs about creating plugins and making JAR files available to…
R. Hall
  • 41
  • 3
4
votes
4 answers

How can I override an HTML "rules" attribute using CSS?

The DITA Open Toolkit automatically inflicts some inline table attributes when one publishes to HTML, including frame="border" and rules="all". I need to override this "rules" attribute using CSS styles for cells, and while I can get the desired…
user349024
  • 41
  • 1
  • 2
3
votes
2 answers

Creating MERGED file from ditamap and then filtering it

I'm a newbie in DITA OT and I am trying to get just the merged file from my ditamap and after upply xsl to it, but I dont need any other output. I was thinking that I could use some part of the dita-ot source code that is doing merging or to make…
Angela
  • 35
  • 5
2
votes
1 answer

How to override keydef in DITA maps?

I have one topic and two ditamaps. I want to override variable in nested ditamap. Is it possible? root.ditamap Root
Artem Ryzhov
  • 123
  • 3
2
votes
1 answer

Can you access dita map keydef variables from XSL in Dita-ot plugin

I know in dita that one can access a keydef variables Text API
conteh
  • 1,544
  • 1
  • 17
  • 39
2
votes
1 answer

Set top level link in Eclipse InfoCenter TOC using DITA-OT

I am using DITA-OT to convert a set of DITA files into an Eclipse Information Center help system. The map in the input .ditamap file has a list of topicrefs. DITA-OT sets the link of the first topic in this list as the link of the top level TOC…
adawxawx
  • 23
  • 2
2
votes
0 answers

Is it possible to create toc.js, frameset.html, frameset-nav.html, graphicMap.xml using xhtml base plugin

Is it possible to create the toc.js, frameset.html, frameset-nav.html, graphicMap.xml files dynamically as like html2 base plugin using custom plugin I have created, plugin creation explained in below link custom plugin created I have created the…
User515
  • 186
  • 12
2
votes
1 answer

Can we copy a particular directory and files in the XHTML plugin in DITA OT 1.8.5?

Here is the code what I have tried, To copy the folders and files from the XHTML plugin - reource folder to the output location created by XHTML DITA-OT transformation. plugin.xml
Carol
  • 39
  • 5
2
votes
2 answers

What does " " mean and how is it used?

I'm working on (my first) DITA project using Oxygen, and invoking FOP to generate PDF output. Trying to figure out what everything along the chain does, where the chain is: document -> element -> class -> class template definition in .xsl ->…
M. Rivera
  • 21
  • 1
2
votes
2 answers

Converting an xsl:apply-templates into a string value to use as an if parameter

I have this piece of code, modified from the DITA-OT original distribution:
Jose Cotes
  • 31
  • 3
2
votes
1 answer

Reuse temp directory in DITA-OT?

While using DITA OT 2.2.1, I usually have to generate documents in several different output formats. For example, I have to generate output for the same ditamap in pdf2, htmlhelp, and xhtml formats. Question: Is it possible to reduce the generation…
2
votes
3 answers

DITA OT printing '#' in stead of Chinese characters in PDF

I am very new to DITA OT. Downloaded the DITA-OT1.5.4_full_easy_install_bin and playing around with it. I'm trying to print few characters in Simplified Chinese (zh-CN) into a PDF. I see that the characters are printed correctly in XHTML but in PDF…
2
votes
1 answer

Is it possible to pass custom ANT parameters into custom plugin with DITA-OT?

I have created DITA-OT PDF plugin that works good and like it should. Next step is to pass ANT parameters into my custom plugin's overriding XSLT files. As you can see this extends pdf2 plugin processing and I have custom stylesheets which are…
sailfish
  • 43
  • 6
2
votes
2 answers

Easier topic numbering in DITA OT?

How do I add section numbering of topics in PDF output in the DITA OT? I mean numbering like this: 1. Heading Some content 1.2. Heading Some more content 1.2.1. Heading Some further content EDIT: My question was a bit unclear, I…
Anders
  • 12,556
  • 24
  • 104
  • 151
1
2 3
9 10