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.
112
questions
0
votes
1answer
36 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....
1
vote
1answer
49 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 ...
0
votes
0answers
34 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="...
1
vote
3answers
49 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 ...
0
votes
1answer
56 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 ...
0
votes
1answer
28 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, ...
0
votes
1answer
20 views
Unable to generate word output in DITA-OT if the input argument has an UNC path
I am trying to execute DITA-OT commands using JAVA application.
My DITA-OT sits at a separate location (application server WILDFLY) and the input files are on some other server. I'm trying to generate ...
0
votes
0answers
32 views
(How) does IXIASOFT CCMS support semantic URLs in HTML output?
To clarify my question: I understand that IXIASOFT CCMS, by itself, does not generate HTML output. Here, I'm referring to the combination of (a) IXIASOFT using generated (non-semantic) DITA topic file ...
1
vote
1answer
41 views
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.
<chapter class="- map/topicref bookmap/chapter " ...
0
votes
0answers
12 views
WYSIWYG view styling not reflecting on xml view in Framemaker
In frame-maker-2019 adding some elements like <ul>,<b> are reflect on the XML view, but some elements like over line,strike through,table color etc are not reflecting on corresponding XML. ...
0
votes
1answer
42 views
Normalized DITA : split topics into separate files?
I'm following the DITA Open-Toolkit 3.5 documentation to generate normalized DITA from lightweight/markdown input.
How can I split up the output - so that I get one file-per-topic?
Here's my input ...
0
votes
1answer
49 views
Set filename to ditamap title in DITA-OT Command Line PDF transformation
I have a script that builds a system on a regular schedule, and as part of that system, I need to convert several documents from dita to PDF.
I can run the following shaped command line from my script ...
0
votes
0answers
21 views
how to change meta description in html using xslt
when I publish a dita file to html5 by default meta description content is the short description, but I want if the short description is not there then the meta description content should be the First ...
0
votes
0answers
33 views
What am i missing with arg.resources and “Cross-deliverable” (cross-map, cross-book, etc.) xrefs in OT 3.5.1?
I have the following:
Two DITA maps, bkmap_a.ditamap and bkmap_b.ditamap. They are peers.
Each contains a topicref (<chapter>) to its own topic in a subdirectory -- bk_a/bkatopic.dita and bk_b/...
0
votes
0answers
21 views
C:\DITA-OT\plugins\org.dita.base\build_preprocess.xml:194: java.lang.NoSuchFieldError: TOPIC_INCLUDE
I am migrating DITA-OT from 2.4.6 to 3.5.1.I have local DITA-OT set up.when I am doing local rendition for one transtype, I am getting below error. Can you please help me here.
topic-fragment:
[topic-...
0
votes
1answer
52 views
how to remove the content of the header file in the head element of the generated HTML files in dita ot
In DITA-OT when I'm publishing a dita file to html5 in generated HTML page I got <head> element.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<...
0
votes
0answers
12 views
when publishing a ditamap i don't want to display the bookabstarct
I have a ditamap file like
SmartPhoneUser
Frontmatter
-Bookabstract smartphone.dita
Chapter 1
-Special features.dita
-OxyVoice.dita
-Water resistance.dita
...
0
votes
1answer
21 views
add new attribute on html through xslt
Let's say I have a ditamap file.I have published into html5.after published let's say my html file look like
<body id="SampleTopic">
<h1 class="title topictitle1" id="ariaid-title1">...
1
vote
1answer
66 views
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD ...
1
vote
1answer
37 views
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
1
vote
1answer
84 views
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 ...
0
votes
1answer
111 views
DITA-OT with docker and bootstrap plugin … how do i get access to the plugin directory?
I'm pretty new to Docker and also to Dita. I would like to run dita in a docker container - I installed and set up everything (under Windows) according to the instructions @
Installing plug-ins in a ...
1
vote
0answers
49 views
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 ...
0
votes
0answers
41 views
How to set equation number for each equation in PDF
I would like equation number for each equation in PDF tranfer , they are increased by 1 , as shown in Number below.
chapter 1
A= 1+2+3 ( 1 )
Chpater 2
...
0
votes
1answer
23 views
Isuee with concurrent ant calls to DITA OT
We have a multi-thread application, and an integration with DITA-OT throught ant which is called from java.
We are started to face an issue with multiple concurrent ant calls to DITA-OT to run ...
4
votes
1answer
224 views
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...
0
votes
1answer
49 views
Could somebody say what this catalog-dita.xml file is and how could I transform to xml and back?
I'm updating old DITA-OT and there is file used catalog-dita.txt which contents seems same as catalog-dita.xml - only thing that in newer DITA-OT there is no txt files
catalog-dita.txt:
-- ...
0
votes
1answer
208 views
How to add a plugin jar into the DITA OT classpath?
I am writing a plugin for DITA-OT PDF2. In this plugin I need to define extension functions for Saxon XSLT. I followed the tutorials from the dita-ot website:
https://www.dita-ot.org/3.3/topics/...
1
vote
2answers
80 views
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-...
0
votes
1answer
129 views
How to import this dita 1.3 xml?
Could somebody help poor developer with upgrading to Dita 1.3 :)
I need to make dita-ot work with newer version of xml's I was given (example below). I need to adjust something in the library but I ...
0
votes
1answer
607 views
How can I use processing instruction value in a different XSL template?
I am unable to use processing-instruction attribute values in a different template that is already used to add topic details in the header of the output file.
<task xml:lang="en-us" id="_01FDEB11"...
0
votes
1answer
41 views
DITA-OT, using custom plugin returns Static error
I made custom plugin in the following URL:
http://dita-generator.elovirta.com/
Then, followed the procedure shown in the following URL:
http://brevitaz.com/dita-jump-start-pdf-plugin-for-customized-...
0
votes
1answer
391 views
How to convert DITA xml to CQ xml?
We are working on a migration project to migrate content from Drupal to AEM using DITA xml files.
Currently, there's a task to explore how AEM consumes the metadata contained in these xml files.
...
0
votes
1answer
139 views
XSLT fails to transform DITA into new type
I have an xml as following:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE concept SYSTEM "aimlDomain.dtd">
<?xml-stylesheet type="text/xsl" href="aimlTest.xsl"?>
<concept>
&...
0
votes
1answer
94 views
DITA OT Preprocessing
I started working on DITA OT. I had gone through its process of transforming Topics into XHTML.
While reading I understood that it uses two processes
Preprocess
Transform
Then I started looking ...
0
votes
0answers
87 views
Where is wintitle used?
I'm a DITA-OT newbie. I've recently installed version 3.1.2 and customized the wintitle element in ui-domain-attr.xsl of my custom plugin folder as follows:
<xsl:attribute-set name="wintitle">
...
2
votes
1answer
121 views
Can you access dita map keydef variables from XSL in Dita-ot plugin
I know in dita that one can access a keydef
<map>
<title>variables</title>
<keydef keys="keyName"><topicmeta><keywords><keyword>Text API</keyword&...
1
vote
1answer
41 views
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 ...
1
vote
1answer
53 views
Why does this xpath match this text node?
Why does this xpath from dita-ot
"*[contains(@class, ' topic/topic ')]/*[contains(@class, ' topic/title ')]
match the text node "Getting started"?
<?xml version="1.0" encoding="UTF-8"?>
<!...
0
votes
0answers
81 views
Need paras as sections main and sub levels heading with h levels
Paras with different outputclasses as heading sections as main and sub levels
My input xml :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic
PUBLIC "urn:pubid:doctypes:dita:topic" "...
0
votes
1answer
94 views
Number format needed as prefix for the xhtml files of dita ot epub output
I have used the Dita OT 1.8.5 for epub conversion: but i need the number sequence format 01, 02, 03 .. prefix for the xhtml files names in the epub output.
I have changed the code in html-generation-...
0
votes
0answers
62 views
What is the use of xref in dita?
I have been working on dita for some time now but I am facing a problem.
What is the use of XREF in dita ? How can I use the XREF in the dita file ?
Thanks
0
votes
1answer
78 views
reltable example in Dita
I am using the example below to implement the reltable. But it is giving me error ?
Please send me a working reltable example with the source files for concept/task/reference.
<?xml version="1.0"...
0
votes
1answer
233 views
Why am i getting [topic-reader] [DOTJ013E][ERROR] Failed to parse the referenced file 'xxx' in DITA-OT 3.0.4
I'm trying to upgrade to DITA-OT 3.0.4 from 1.8.5. So i did some trial and errors.
I have a specialized SIDSC Component. In the previous version of DITA-OT it was parsed without any problem and I was ...
2
votes
1answer
51 views
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 ...
1
vote
1answer
672 views
How to call a variable value from one template to another template using xslt
Hi I need to call a variable value from one template to another template in an xsl file of dita ot plugin:
My Ditamap file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pubmap
PUBLIC "...
0
votes
1answer
114 views
Changing the xhtml topic file names in epub output using DITA OT Epub plugin
I need to change the topic file names in the EPUB output using EPUB DITA OT plugin:
My Ditamap file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pubmap
PUBLIC "urn:pubid:com.sam....
1
vote
1answer
217 views
How can I override default css in html5 converting with DITA-OT 3.0.4?
I'm using DITA-OT 3.0.4.
I'm trying to convert my markdown file to html5 with the following command.
dita --input="note.ditamap" --output="out" --format=html5 --args.css=style.css --args.cssroot=...
0
votes
1answer
234 views
How to enable shortdesc output on DITA markdownn with DITA open toolkit?
I want to convert my markdown styled DITA content to HTML5 styled output with DITA OT 3.0.3.
I checked syntax page and I understand it as 1st paragraph will be shortdesc.
"LwDITA compatible ...
0
votes
1answer
208 views
How to fetch the pubtitle in the ditamap using xsl expressions
For fetching the pubtitle value in the below ditamap using the xsl expressions
MY Input XML Dita map file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pubmap
PUBLIC "urn:pubid:com.sam....