On 04/01/2018 08:28 PM, Leif Halvard Silli wrote:
In the tutorial “DITA for the impatient”, when the text mentions the
name of an element, and if that element name was marked up as
<xmlelement>elementFoo</xmlelement> in the DITA source, the output
includes the < > characters:
|<elementFoo> |
This is, as well, how the same elements look in the semantic view of
XMLmind XML editor. And so, it is not a surprise that, for the heading
“The topic element”, the published output includes the < > characters:
|3. The <topic> element |
See http://www.xmlmind.com/tutorials/DITA/index.html#topic_element
A nice touch. However, when I convert the source code at
http://www.xmlmind.com/tutorials/DITA/src/tutorial-book.ditamap using
XMLeditor to HTML, the element names are published without the < >.
Thus, I get this output:
|3. The topic element |
Question: Is this published output supposed to be the default output for
file names? (Meaning: There is an error in my copy of ditac/XMLmind XML
Editor.) Or has the tutorial been published with an augmented output
configuration?
The "DITA for the Impatient" tutorial:
http://www.xmlmind.com/tutorials/DITA/index.html
was "published" using a stock XMLmind DITA Converter (ditac
v3.2.4)/XMLmind XML Editor (XXE v8.0) configuration.
You'll find:
---
3. The topic element
---
in the *TOC* of http://www.xmlmind.com/tutorials/DITA/index.html
But you'll find:
---
3. The <topic> element
---
in the *body* of http://www.xmlmind.com/tutorials/DITA/index.html
This holds true whether you convert tutorial.ditamap (a map) or
tutorial-book.ditamap (a bookmap) to HTML or PDF:
tutorial.ditamap --> http://www.xmlmind.com/tutorials/DITA/DITA.pdf
tutorial-book.ditamap -->
http://www.xmlmind.com/tutorials/DITA/DITA-book.pdf
The fact that TOC entries contain only "plain text" (and not "rich text"
as expected) is a limitation of XMLmind DITA Converter.
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support