161
questions
0
votes
1
answer
80
views
Nashorn not recognized in Ant script with Amazon Corretto 21 and DITA-OT 4.2.3
I'm migrating our custom plugins to DITA OT 4.2.3, which requires a newer version of the JDK. We're using Amazon Corretto 21.0.3.9.1. We have one Ant build script that contains JavaScript. Since the ...
0
votes
3
answers
45
views
The problem with line wrapping without spaces in a table cell when converting using the plugin org.dita.pdf2
To convert from a dita format to a pdf file, I use dita-ot v.3.7.4 together with the org.dita.pdf2 plugin. Faced with the problem of the text going beyond the table cell if this text does not contain ...
0
votes
2
answers
43
views
Converting DITA-OT PDF2 plugin output to grayscale with AntennaHouse Formatter v73
I'm currently working with DITA-OT 4.1.1 and AntennaHouse Formatter v73 on stylesheet development for PDF generation: until now I have only worked with colored output PDFs, but in the future I will ...
0
votes
1
answer
40
views
How to retrieve and use chapter numbers in AntennaHouse PDF generation with DITA Open Toolkit?
I am a novice in stylesheet development, and my approach is still very trial & error.
At the moment I am trying to retrieve the number of the chapter (there's already a template in the stylesheet ...
0
votes
1
answer
195
views
Generate linebreak in DITA content
I have some content in DITA which I am exporting to HTML both via the DITA-OT tool and OxygenXML.
To aid readability of the content the authors would like to provide line-breaks. They are used to ...
0
votes
1
answer
48
views
Logback error when migrating a PDF2 plugin from DITA-OT 4.0.1 to 4.1.2
I'm using oXygen XML with the DITA-OT and a custom plugin based on PDF2 to generate PDFs. I'm looking at upgrading the DITA-OT version from 4.0.1 to 4.1.2.
The change in the DITA-OT which generated ...
0
votes
1
answer
66
views
DITA map within a DITA map
I wish to have two levels of DITAMAP:
front-matter: about, contact-us, link to parts catalog
parts-catalog: catalog, organised by 3 categories (cat-xxx)
The front-matter would also have a link to ...
0
votes
1
answer
40
views
In DITA `map`, link to child map without embedding it
I have a DITA map. It links to a number of child topics. I also wish to link to another map. But, the DITA-OT publishing engine embeds the children of that map instead.
Can anyone point me to the ...
0
votes
0
answers
26
views
How to render and display the index.html file generated by DITA-OT plugin from AEM in React project?
We have a index.html file which is generated by DITA-OT plugin from AEM tool. We would like to display the index.html file content within the react app.
Do we have any standard method to render/ ...
0
votes
1
answer
85
views
How to use "data" element of a DITA map in generated HTML5 presets output (AEM Guides)
I'm quite new to AEM Guides/XML Documentation and I am currently trying to figure out how to get "data" elements from a DITA Map in the generated AEM Site.
To clarify, the DITA Map has the ...
0
votes
1
answer
78
views
DITA-OT not supporting legitimate local XREF references
I'm creating an XREF to an anchor on the same page. I'm following the DITA standard practice of formatting it as #[topic]/[id]
<?xml version="1.0" ?>
<!DOCTYPE reference
PUBLIC '-...
0
votes
0
answers
52
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 ...
0
votes
1
answer
55
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 ...
1
vote
1
answer
47
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 ...
0
votes
1
answer
41
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"...
0
votes
2
answers
41
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 ...
0
votes
1
answer
39
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 ...
1
vote
1
answer
74
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:
...
0
votes
1
answer
55
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 ...
0
votes
1
answer
60
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 ...
0
votes
2
answers
104
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 ...
1
vote
2
answers
81
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 ...
0
votes
1
answer
38
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\...
0
votes
1
answer
42
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 ...
0
votes
1
answer
32
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 --...
0
votes
1
answer
40
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 ...
0
votes
1
answer
30
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 ...
0
votes
0
answers
92
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//...
0
votes
0
answers
45
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 ...
0
votes
1
answer
44
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 <...
1
vote
1
answer
66
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 ...
0
votes
1
answer
163
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-...
0
votes
1
answer
330
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 ...
0
votes
0
answers
90
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 ...
1
vote
0
answers
135
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....
0
votes
2
answers
151
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 ...
0
votes
0
answers
96
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 ...
0
votes
1
answer
114
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 ...
0
votes
1
answer
87
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 ...
0
votes
0
answers
124
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 ...
0
votes
2
answers
110
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 ...
1
vote
2
answers
144
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"> ...
0
votes
0
answers
433
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">
...
1
vote
0
answers
276
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 ...
0
votes
1
answer
96
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 ...
0
votes
0
answers
140
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 ...
0
votes
0
answers
123
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 ...
0
votes
0
answers
90
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 ...
0
votes
1
answer
352
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 ...
0
votes
1
answer
144
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. ...