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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

Incorrect Hindi text rendered with DITA OT 3.7.1 and FOP 2.6

We're trying to generate Hindi PDFs using DITA OT 3.7.1, FOP 2.6, and Noto Sans Devanagari, and we're are getting incorrect spellings. For example, to display "version" on the title page, we ...
Matthew Stern's user avatar
0 votes
1 answer
34 views

How to Record and Print messages in DITA-OT logs?

I have created a custom plugin in DITA-OT 3.4 named com.myorg.dita.html5, which is an extension of the base plugin org.dita.html5. The plugin is set up correctly and functioning as expected. In the ...
user19732805's user avatar
1 vote
1 answer
31 views

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 ...
Matthew Stern's user avatar
0 votes
1 answer
24 views

Prevent insertion of `buildId` in HTML generated by OxygenXML

I have some DITA content that I am publishing to HTML Responsive Webhelp via OxygenXML For each export, OxygenXML appends the date-time to each import, as a buildId: <link rel="stylesheet"...
ianmayo's user avatar
  • 2,266
0 votes
2 answers
18 views

Control ID generated by DITA_OT transform of imageMap to HTML

I have a DITA topic that includes an imagemap. When published to HTML (responsive webhelp) two HTML components are generated, an img and a map. These must be connected via an id field, for which ...
ianmayo's user avatar
  • 2,266
0 votes
1 answer
32 views

xsl:for-each and xsl:sort repeat the same list

I'm trying to sort a list of items in a <dl>. The XML is tagged like this. I assigned "sort" to the outputclass attribute to indicate this specific <dl> is to be sorted. <dl ...
Matthew Stern's user avatar
1 vote
1 answer
54 views

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: ...
Mario Di Giacomo's user avatar
0 votes
1 answer
18 views

Redefine DTD element

I'm trying to create a DTD that includes OOTB (out-of-the-box) elements imported from another DTD, as well as custom elements. My goal is to reuse as many definitions as possible, declaring only those ...
marc's user avatar
  • 527
0 votes
1 answer
17 views

How to run DITA-OT within a JAR packaged using Maven?

I have added the org.dita-ot.dost dependency from Maven Central, and also manually ran mvn:install to install dost-configuration.jar from the DITA-OT download as this JAR isn't included. Then added ...
Karl Franks's user avatar
0 votes
2 answers
81 views

Convert text string to xml tagging using xsl?

If I have <p>!!!This should be a note</p> is it possible to convert the <p> tags to <note> tags using XSL (maybe using the !!! as an identifier?). Note that there would be ...
Amy Higgins's user avatar
0 votes
2 answers
30 views

DITA-OT 4.1: Creating a FAQ Section with Audience-Specific Content

I am currently working on a project to create a website with a FAQ section. The website will introduce about 12 concepts, each with an abbreviated version appearing in the FAQ section, linked to the ...
Tankman六四's user avatar
0 votes
1 answer
21 views

Using same ditaval references under parent map and sub map causes Null Pointer Exception in DITA-OT

When I try to generate xhtml from the given parent ditamap using dita-ot 3.6.1, the output generations fails with NullPointerException. BUILD FAILED C:\Users\Rq1qws\DITA-OT\plugins\org.dita.base\...
ravi ranjan's user avatar
0 votes
1 answer
14 views

Can DITA Profile Attributes be used to `exclude` content from export

In the DITA examples I've seen, profiling attributes have only been used to specify which content to include in the the publishing process (such as audience=novice). But, since there are such a small ...
ianmayo's user avatar
  • 2,266
0 votes
1 answer
17 views

Override 'plugindirs' configuration property before running "dita install"?

how do I override the plugindirs property on/before running dita install without having to modify the configuration.properties file in-place in the DITA-OT distribution folder? I tried dita install --...
Christian Roth's user avatar
0 votes
1 answer
13 views

How to Hide the Table of Contents in DITA-OT 4.x for Shorter Documents Without Creating or Modifying Plugins

I am using DITA-OT 4.x to generate PDF outputs for various technical documents. Some of these are short guides, ranging from 2 to 5 pages, for which a table of contents or cover page is unnecessary ...
Tankman六四's user avatar
0 votes
1 answer
27 views

How to print all missing occurrences of an attribute in XSLT 2.0 before terminating the processing?

I'm working on a DITA-OT plugin, and I have an XSLT template where I need to terminate the processing if any topic element does not contain an @appname attribute. While this approach works well, it ...
user19732805's user avatar
0 votes
0 answers
85 views

How to save xml comments like <!--pagebreak--> when converting dita file to docx (with com.elovirta.ooxml v.1.4)

I use: Dita open toolkit 3.7.4, plugin com.elovirta.ooxml, java 17. I have such dita file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE topic PUBLIC "-//OASIS//...
donHenaro's user avatar
0 votes
0 answers
43 views

com.elovirta.ooxml v.1.4.0. merged cells from html not being processed correctly

Dita-ot 3.7.4, com.elovirta.ooxml v.1.4.0 plugin problem with handling merged cells conversion example The html input is a table with merged cells. The output (docx) is expected to have a similar ...
donHenaro's user avatar
0 votes
1 answer
40 views

Including glossary elements within published HTML/SCORM topics

I’m working on modifying our Scorm publishing plugin to embed glossary information within a tooltip, rather than publishing them as separate html files. So far I have been able to get the <...
holma's user avatar
  • 1
1 vote
1 answer
44 views

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 ...
Helen's user avatar
  • 13
0 votes
1 answer
93 views

DITA-OT 4.0.1 [DOTA015F][FATAL] Internal property preprocess.copy-html.skip may not be set directly. Use property build-step.copy-html instead

jdk-17.0.3.1, DITA-OT v.4.0.1, com.elovirta.ooxml DITA to Word plug-in Error while converting to DOCX: dita --input=phase.ditamap --format=docx [DOTA015F][FATAL] Internal property preprocess.copy-...
donHenaro's user avatar
0 votes
1 answer
158 views

Can I change a java class version file without changing the overall version? [duplicate]

I have the error java.lang.UnsupportedClassVersionError: org/dita/dost/invoker/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java ...
Helen's user avatar
  • 13
0 votes
0 answers
69 views

How to update input file before actual DITA OT processing begins

I want to update topicref element values dynamically before DITA OT preprocessing starts. I have created an xsl file with a template which match the ditamap element and update the node values. That ...
user3165851's user avatar
1 vote
0 answers
102 views

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: 'net.sf.saxon....
Jason Coleman's user avatar
0 votes
2 answers
95 views

Can i have the PDF revision history or revision number or value in the DITA PDF output?

I need to provide a way for the customers to know the PDF revision numbers or date. I need to have the revision value or timestamp or anything similar at the footnote of the PDF. I tried adding tags ...
Shahul Hameed's user avatar
0 votes
0 answers
83 views

Syntax Digram DITA - EDITED

I am really struggling to make syntax diagrams work. Our company got the sources dita files from IBM. Many docs have a lot of syntax diagrams inside, and tried with the latest DITA-OT kit and it ...
Shahul Hameed's user avatar
0 votes
1 answer
94 views

How do I set onlytopic.in.map to prevent HTML files from being generated from shared content?

I'm using DITA OT 3.7.1 with a custom plugin to generate HTML5 documentation. When we used DITA OT 3.2.1 with the same plugin, HTML files were not generated for topics that were only used for content ...
Matthew Stern's user avatar
0 votes
1 answer
72 views

Reset figure numbering for each <part>/<chapter> in an pdf2 XSL:FO(FOP) deliverable

I'd like to reset figure numbering for each <part>/<chapter> element in a <bookmap>. I found dita-users.groups.io/45007, but this did not help me. In topic.xsl there is this ...
Stefan Jung's user avatar
  • 1,208
0 votes
0 answers
94 views

Arabic text corrupted in PDFs with DITA OT 3.7.1

We had an issue with generating Arabic text in PDFs with DITA OT and FOP. If you read Arabic, you'll know that the words are not correctly formed with the proper intermediate letter forms and ...
Matthew Stern's user avatar
0 votes
2 answers
76 views

In dita-ot is it possible to integrate into a feature extension for a specific transtype only?

Specifically, I have a custom dita-ot xhtml plugin which uses the <feature extension="dita.xsl.xhtml" file="xsl/header.xsl"/> to integrate into the xhtml pipeline. But this ...
arweed's user avatar
  • 3
1 vote
2 answers
127 views

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 <plugin id="html5-test" version="3.6.1"> ...
Krissh's user avatar
  • 328
0 votes
1 answer
232 views

How to add page breaks in DITA-OT

I'm working on a custom plugin for transforming a DITA bookmap into PDF, but I'm having trouble figuring out how to add page breaks in my XSL Transform. <part href="c_somefile.dita"> ...
Scott's user avatar
  • 6,411
1 vote
0 answers
240 views

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 ...
Graham Hannington's user avatar
0 votes
1 answer
78 views

Is there any limitation on the number of topic references in ditamap

The DITAMAP loads the topic references in the DITAMAP dashboard very slowly in AEM, sometimes it hangs when there are a lot of topic references. I have tried segregated by creating smaller DITAMAP's ...
Sudheer Donaboina's user avatar
0 votes
0 answers
118 views

How to create folders based on chapter and move all the associated files under that folder while html transformation in DITA OT

I am transforming DITA xml to html using DITA-OT 3.4.1. What I am trying to do is while transforming create folders based on chapter names and move all converted html files and images under ...
Rahul's user avatar
  • 5
0 votes
0 answers
101 views

Markdown and DITA OT: Variables in square brackets are not resolved in PDF

I am building a new Docker image using ghcr.io/dita-ot/dita-ot:3.6.1 as a base and adding some custom PDF and HTML DITA OT plugins. In addition to DITA format, I also build Markdown. I add keyrefs to ...
Anastasija Datsun's user avatar
0 votes
0 answers
75 views

Need to change the footer value as per the parent and child topic

Now I'm working on creating the footer value for pdf using DITA-OT. I'm having multiple child topics with outputclass attribute Dita Input: <topic outputclass="h1"> <title ...
User501's user avatar
  • 319
0 votes
1 answer
254 views

How to keep my topics printing consecutively, without an empty page after each topic

DITA 3.6 Oxygen XML Editor 23.1 The "DITA for Print" book nor any other source, so far, has helped me produce a pdf where the topics are consecutive rather than having a blank page after ...
n3v3r8g81n's user avatar
0 votes
1 answer
113 views

How to restore spacing in <codeblock> when using <fo:bidi-override> with DITA OT and FOP

For our PDF user guides, we use <codeblock> for code and XML samples and type spaces for indenting. These turn out fine in left-to-right languages, and the spaces indent the text as expected. ...
Matthew Stern's user avatar
0 votes
0 answers
84 views

DITA document title and other field value should show in dynamic header or footer

We implement dita html5 plugin. We brought custom header and footer as .xml as said in the DITA document. how to populate the DITA document title and other field value should show dynamically in the ...
Saibul Haq's user avatar
1 vote
1 answer
181 views

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/<path and file>.ditamap:5:181: [DOTJ083E][ERROR] The resource ...
Matthew Stern's user avatar
0 votes
1 answer
53 views

I need to remove the "on page nn" from my DITA-OT 3.6 xrefs

Would someone have fun telling me this easy info? My xrefs have format="dita", my topics have no other attributes. I have looked for two days now and cannot find anything detailed enough to ...
n3v3r8g81n's user avatar
0 votes
1 answer
71 views

Reorder TOC output in nav.xhtml (epub) using map2epubHtmlTocImpl.xsl

I'm trying to reorder the output of the topics in the nav.xhtml (epub) based on the following condition: if topic A (could be more than 1 topic A) precedes topic B in the ditamap, then place the <...
girbnef's user avatar
  • 17
0 votes
1 answer
62 views

Changing the custom-attrs.xsl file in DITA did not change my background-color of table column headers. how do I change it, then?

I expected that changing the trgoup.thead element in custom-attrs.xsl with background-color would change the table column head background color. But the background of the table column heads did not ...
n3v3r8g81n's user avatar
0 votes
1 answer
176 views

font-mappings.xml not overriding in DITA OT 3.6.0

I created a plugin for generating PDFs with DITA OT. The plugin has its own font-mappings.xml file for the fonts we use in our documentation. Everything with it worked until we upgraded from DITA OT 3....
Matthew Stern's user avatar
1 vote
1 answer
224 views

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 ...
Matthew Stern's user avatar
0 votes
0 answers
112 views

Avoid applying style for an empty title element in a DITA file

I have a certain dita file with an empty title tag. It looks something like this: <!DOCTYPE topic PUBLIC "-//OASIS/DTD DITA topic//EN" "topic.dtd"> <topic id="...
incredibleram's user avatar
1 vote
3 answers
312 views

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 ...
Antony's user avatar
  • 115
0 votes
1 answer
276 views

Hide a topic from PDF output at xsl level

I have a topic, which only contains some metadata (childs of prolog and some custom elements too) of the documentation. The contents of these elements is displayed in headers and footers in the acutal ...
Balázs Marczis's user avatar
0 votes
1 answer
105 views

How can I add auto generated labels for topic titles in PDF output using DITA-OT?

I'm generating a PDF using DITA-OT. I'd like to add labels to topic titles such as "Exercise 1:". I know that we can do this by adding variables to the en.xml file for section titles, ...
Shan's user avatar
  • 3