DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion Re: Specialized topic types – DITA OT PDF output

  • gaelle

    Re: Specialized topic types – DITA OT PDF output

    Participants 1
    Replies 2
    Last Activity 13 years, 1 month ago

    Hello,

    I have an issue similar to yours (http://forums.xmetal.com/index.php/topic,204.0.html).

    I've created a new type of topic : a  .
    I modified the catalog files (catalog-dita.xml, catalog-dita.txt and catalog-dita_template) and created new stylesheets for the
    .

    I try to publish similar to this:

      …
     
         
         
         
     

    But in the PDF I get
    Topic 1
    — Concept 1
    — Concept 1
    — Concept 2

    My Concept1 has been doubled in the PDF but there is no Program1.
    It is as if instead of creating my program. it copies the Topic before (Concept1). Am I missing something? Is there something I have to add? Have you ever add this type of issue?

    Reply

    deschnerc

    Reply to: Re: Specialized topic types – DITA OT PDF output

    Hello,

    I have an issue similar to yours. I've created a new type of topic : a  .
    I modified the catalog files (catalog-dita.xml, catalog-dita.txt and catalog-dita_template) and created new stylesheets for the
    .

    I try to publish similar to this:

      …
     
         
         
         
     

    But in the PDF I get
    Topic 1
    — Concept 1
    — Concept 1
    — Concept 2

    My Concept1 has been doubled in the PDF but there is no Program1.
    It is as if instead of creating my program. it copies the Topic before (Concept1). Am I missing something? Is there something I have to add? Have you ever add this type of issue?

    Hmm…

    First I would create a new map referencing these topics in the same order and try to publish it again. What about the topic titles and the IDs of “concept1” and “program1”? Are they similar?

    Reply

    gaelle

    Reply to: Re: Specialized topic types – DITA OT PDF output

    it has been a long research but I found the issue.
    My Program files are first generated by an external tool then reviewed and modified in xmetal. And that tool create the @class attribute for tags in the file.
    Apparently that makes a bug for DITA-OT. All types that already has a class attribute (other than the one it generate himself) are doubled. 
    Thanks,

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support