DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion TOPLEAF: Topic title and topic content layout

  • WinstonRV

    TOPLEAF: Topic title and topic content layout

    Participants 6
    Replies 7
    Last Activity 12 years, 1 month ago

    There is a additional margin (in pdf output) width for topic content wrt the topic title. The same is not there in toc.

    Reply

    Su-Laine Yeo

    Reply to: TOPLEAF: Topic title and topic content layout

    Hello,

    I don't think I understand the issue. Can you describe steps to reproduce the problem, more details about what you are seeing, and how that is different from what you want to see?

    Su-Laine

    Reply

    sirajrangwala

    Reply to: TOPLEAF: Topic title and topic content layout

    Hello,

    For Topleaf 7.6.42 and XMetaL 6.0 Enterprise.

    There is an additional margin that is assumed automatically in TOC which is different across all other pages (Which I can control) except the TOC page which is not taking the same settings as other pages.

    By settings I mean, my titlebox is Blue background, Text is white, specific width of box, fonts, font-size etc are not getting set for TOC page which are applicable for all other pages. Please see the attached screenshot to clearly understand the issue. How can I control the TOC page and its elements in TopLeaf?

    Thanks.

    SR

    Reply

    Derek Read

    Reply to: TOPLEAF: Topic title and topic content layout

    For questions about TopLeaf please create a new post with a subject line starting with “TOPLEAF:” (see this post: http://forums.xmetal.com/index.php/topic,2257.0.html).

    The Turnkey support people are monitoring this forum but they are looking for questions with that prefix and may miss them if you continue another unrelated thread.

    Reply

    tonys

    Reply to: TOPLEAF: Topic title and topic content layout

    You appear to be using a modified stylesheet, so the answer is to change the layout and/or the mappings. I'm not entirely clear from your description whether you want to add or remove a margin and, if so, which margin needs to change. Also, I would need to know what is being produced by the layout as opposed to mappings (i.e. fixed blocks).

    Reply

    sirajrangwala

    Reply to: TOPLEAF: Topic title and topic content layout

    For questions about TopLeaf please create a new post with a subject line starting with “TOPLEAF:” (see this post: http://forums.xmetal.com/index.php/topic,2257.0.html).

    The Turnkey support people are monitoring this forum but they are looking for questions with that prefix and may miss them if you continue another unrelated thread.

    Hi Derek,

    WinstonRV, who started this post, is a colleague and I am elaborating on the same. I can still start a new post if required. Thanks.

    SR

    Reply

    sirajrangwala

    Reply to: TOPLEAF: Topic title and topic content layout

    You appear to be using a modified stylesheet, so the answer is to change the layout and/or the mappings. I'm not entirely clear from your description whether you want to add or remove a margin and, if so, which margin needs to change. Also, I would need to know what is being produced by the layout as opposed to mappings (i.e. fixed blocks).

    Even if it is the default stylesheet I am not able to control the following components:

    • TOC Title Box Formatting
    • TOC Top Margin space for title
    • TOC Title & List text size

    The mapping tags that are there by default are:

    • tl:toc
    • tl:toc//term
    • tl:toc//tl:title
    • tl:toc//wintitle
    • tl:toc1
    • tl:toc1//tl:tocline
    • tl:toc2
    • tl:toc3
    • tl:tocline
    • toc

    Custom Markers

    • %TocChap
    • %TocTbl

    (I don't know how to see the TOC in “Page Layout” in order to customize the “Fixed Block”)

    Thanks for any assistance.

    SR

    Reply

    tonys

    Reply to: TOPLEAF: Topic title and topic content layout

    If you look in the “toc” mapping of the standard DITA/book stylesheet you will see the following in the pre-content:
    [code]{L-Tableofcontents}[/code]

    This shows you that you can use the “%TocTitle” mapping to control the format of the TOC title. Since the TOC is emitted within the context of the element, you can also use the toc mapping to control the style of the TOC content.

    It looks from your sample that you may have created a special layout. If you want to apply this layout to the TOC, you can select the page type on the start tag tab of the toc mapping.

    If you require further assistance, please contact [email protected], since we will probably need to see some data and/or mappings to be of any help.

    Reply

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

Lost Your Password?

Products
Downloads
Support