DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › TOPLEAF: Topic title and topic content layout
-
WinstonRV February 18, 2011 at 3:57 pm
TOPLEAF: Topic title and topic content layout
February 18, 2011 at 3:57 pmParticipants 6Replies 7Last Activity 12 years, 1 month agoThere is a additional margin (in pdf output) width for topic content wrt the topic title. The same is not there in toc.
Su-Laine Yeo March 4, 2011 at 6:51 pm
Reply to: TOPLEAF: Topic title and topic content layout
March 4, 2011 at 6:51 pmHello,
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
sirajrangwala June 3, 2013 at 4:40 am
Reply to: TOPLEAF: Topic title and topic content layout
June 3, 2013 at 4:40 amHello,
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
Derek Read June 3, 2013 at 4:37 pm
Reply to: TOPLEAF: Topic title and topic content layout
June 3, 2013 at 4:37 pmFor 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.
tonys June 3, 2013 at 10:55 pm
Reply to: TOPLEAF: Topic title and topic content layout
June 3, 2013 at 10:55 pmYou 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).
sirajrangwala June 4, 2013 at 8:44 am
Reply to: TOPLEAF: Topic title and topic content layout
June 4, 2013 at 8:44 amFor 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
sirajrangwala June 4, 2013 at 8:59 am
Reply to: TOPLEAF: Topic title and topic content layout
June 4, 2013 at 8:59 amYou 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
tonys June 5, 2013 at 5:34 am
Reply to: TOPLEAF: Topic title and topic content layout
June 5, 2013 at 5:34 amIf 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.
-
AuthorPosts
- You must be logged in to reply to this topic.