DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion Link text problem in pdf

  • Jren

    Link text problem in pdf

    Participants 5
    Replies 6
    Last Activity 12 years, 9 months ago

    Hi folks,
    I'm new.  Bear with me as I ramp.

    I am creating xrefs in a step procedure.  Link text appears correctly in .chm and Web Help.  When I render .pdf the link text say List item.  I assume it is reading it off of the type attribute.  What is my work around?

    ver: Shiny new copy of Xmetal 6
    OS: XP

    TIA,
    JREN

    Reply

    Derek Read

    Reply to: Link text problem in pdf

    Can you post one or two files as samples?

    There are limitations with various outputs that are inherent to the DITA Open Toolkit and this might be one of those, however, there may also be workarounds.

    Reply

    Jren

    Reply to: Link text problem in pdf

    Hi Derek,

    Thanks for the quick response.

    Please see step 17, with 18 and 19 as destinations for the 2 xrefs.

    screen caps of source and pdf attached…

    Reply

    Su-Laine Yeo

    Reply to: Link text problem in pdf

    This is a known issue with the DITA Open Toolkit. A description of the problem, along with a workaround for it, is posted here:

    http://sourceforge.net/tracker/?func=detail&atid=725074&aid=1839827&group_id=132728

    If you run into difficulty implementing the workaround, please let us know.

    Reply

    Su-Laine Yeo

    Reply to: Link text problem in pdf

    One more thing: If you are using XMetaL 5.5 or higher and have not changed the “user-setting-mode” parameter in your xmetalx.x.ini file, XMetaL uses a copy of the Open Toolkit that is located here:

    C:Documents and Settings[USER]Application DataSoftQuadXMetaL SharedDITA_OT

    Any configurations you make to the Open Toolkit need to go into this folder. So for the abovementioned workaround, you need to change the links.xsl file located here:

    C:Documents and Settings[USER]Application DataSoftQuadXMetaL SharedDITA_OTdemoxmfoxslfo

    Reply

    Derek Read

    Reply to: Link text problem in pdf

    To clarify things (hopefully) readers may wish to also read the following post regarding deployment of the DITA OT (to make sure you are modifying the right copy):

    http://forums.xmetal.com/index.php/topic,237.0.html

    I would recommend not altering the user-setting-mode INI variable unless your organization has been told to do so for some specific reason. Altering (disabling) the per-user functionality in the 5.5 or 6.0 releases will often disable operation of the DITA OT for all but true admin users because the DITA OT will then attempt to write to restricted areas of the OS (C:Program Files in most cases). This is why it is “deployed” to you %appdata% folder (which is guaranteed to be writable for you).

    Reply

    Chris

    Reply to: Link text problem in pdf

    All,

    Here's a code snippet you can paste into links.xsl to generate the link text for task steps. The file links.xsl is in the xmfo folder:

    [DITA_OT]/demo/xmfo/xsl/links.xsl

    Paste it *before* the xsl:when for topic/li (an excerpt of the topic/li xsl:when is shown below):

    … (omitted for brevity) …



    [XM 20091224] XMetaL task step link mod

       

    Step

       

       

       

       




    … (omitted for brevity) …

    … (omitted for brevity) …

    Remember to read the following post regarding deployment of the DITA OT (to make sure you are modifying the right copy of links.xsl):

    http://forums.xmetal.com/index.php/topic,237.0.html

    HTH,

    – Chris

    Reply

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

Lost Your Password?

Products
Downloads
Support