Skip to main content
Participant
Oct 30, 2017 12:56 PM UTC
Question

Loosing dita tags during ant conversion

At this company, we use a script to convert our .xml files created in FrameMaker into .html files for use in RoboHelp to generate help.

But I am loosing formatting only in my reference files. We use definitions lists (<dl>) extensively in the reference files but the heading tag (<dlhead><dthd>) is being lost and the heading is displaying just like any other definition tag (<dt>). As shown here:

Before running ant conversion (.xml):

<dl>

    <dlhead><dthd>Interval section</dthd></dlhead>

    <dlentry><dt>Interval Type</dt>

    <dd>Select the interval type: Repetitive,

    Not Repetitive, or On Request.</dd></dlentry>

After running ant conversion (.html):

<dl>

<dt><strong>Interval section</strong></dt>

<dt class="dlterm">Interval Type</dt>

<dd>Select the interval type: Repetitive,

Not Repetitive, or On Request.</dd>

Since this is immediately after running ant, it can't be a stylesheet problem, but after two hours of diagnostics, I don't know where to look. I am a writer, not a techie.

Any help is appreciated.

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

Jeff_Coatsworth
Community Expert
Community Expert
Oct 30, 2017 1:11 PM UTC

Has this ever worked before? If so, what's changed? If not, what are you actually importing or linking in RH (what versions, btw?)?

Translate
Participant
Oct 30, 2017 1:24 PM UTC

We recently upgraded to Adobe Technical Communication Suite 2017. Once we have run the script to do the ant conversion to .html files, we wind up with an .hhp file that we import into RoboHelp. But I put a pause in the script so that I can see the file before it gets imported. So this is happening with the Adobe Ant stuff.

Apparently this has been happening since before I joined the company, but no one wanted to find a cure.

Translate
Jeff_Coatsworth
Community Expert
Community Expert
Oct 30, 2017 1:29 PM UTC

I'm not familiar with your workflow at all, but do you have some Conversion Settings set up in RH to control how to treat incoming content? That's the normal flow when dealing with FM content coming into RH.

Translate