DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion <shortdesc> gets ignored for chapter topics in PDF output

  • yz

    <shortdesc> gets ignored for chapter topics in PDF output

    Participants 3
    Replies 4
    Last Activity 11 years, 3 months ago

    When I print my DITA book to PDF, the content gets ignored for all topics. Regular s work just fine. Any advice or insight about this???

    Thanks!

    (XMetaL Author Version#: 6.0.1.030)

    Reply

    Derek Read

    Reply to: <shortdesc> gets ignored for chapter topics in PDF output

    If you are generating output using “XMetaL Enhanced PDF via RenderX XEP” this is by design (ie: I believe the people that wrote the XSLT/XSL-FO thought it was a good idea).

    In order to give you some pointers on where you might alter the XSLT to get what you want I think it would be best to see your files. Bookmaps are quite flexible (chapter can appear inside various other elements) and any XSLT alterations might need to be made specific to your type of bookmap.

    However, if things are outputting as you like for have you tried creating this type of structure?
    [code]
     
    [/code]

    Can I assume you have something like this?
    [code][/code]

    Reply

    yz

    Reply to: <shortdesc> gets ignored for chapter topics in PDF output

    Thanks for the feedback, Derek. You're right about how we're defining the . Although your suggested restructuring gives us back the information, it then adds a new topic within the chapter, which doesn't work for how we want our resulting PDFs to look. However, we'll dig in to potential XSLT alterations to see if that helps. Thanks again! ~yz

    Reply

    txvia

    Reply to: <shortdesc> gets ignored for chapter topics in PDF output

    Hi Derek:

      Is there any other ways of getting to appear in PDF output other than restructuring my ditamap file? Are there lines of code that I can just modify to get that to appear?

    My current doc structure is this:

    Thanks

    Reply

    txvia

    Reply to: <shortdesc> gets ignored for chapter topics in PDF output

    I've resolved this issue, and here is my solution:

    1) Go to C:Program Files (x86)Common FilesXMetaL SharedDITA_OTdemoxmfoCustomizationfoxsl (Program Files for Windows XP), and open the file “xm_commons_mod.xsl”.
    2) Search for the following code:


                        [XM] no miniTOC in chapter
                        [XM] no miniTOC in chapter
                       

                       
                           
                       

    3) Add the following code right after [XM] no miniTOC in chapter in the code above:


                           
                       

    4) The entire code now looks like this:


                        [XM] no miniTOC in chapter
                        [XM] no miniTOC in chapter
                     
                       
                           
                       

                     
                       

                       
                           
                       

    Hope this helps anyone who is interested.

    Reply

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

Lost Your Password?

Products
Downloads
Support