DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › TOPLEAF: Table width for simpletables
-
jlm05 June 13, 2013 at 4:50 pm
TOPLEAF: Table width for simpletables
June 13, 2013 at 4:50 pmParticipants 0Replies 1Last Activity 9 years, 7 months agoOne of our writers was using simpletable for a 2-column table with short values in each column, hoping that the table would only take the space it needed, rather than having very wide columns with little content.
In the HTML output, the table is only as wide as needed for the content.
In the TopLeaf PDF output, the simpletable still uses the entire width of the current text column.
Is there any way to control the width of the table as a whole? Or will PDF tables always take the full column.
tonys June 14, 2013 at 11:20 pm
Reply to: TOPLEAF: Table width for simpletables
June 14, 2013 at 11:20 pmIn order to produce the best result for any page width, the conversion always uses relative column widths. As a consequence the table will always use the maximum width available.
Since the underlying table model is CALS, the only way to do what you want is to specify absolute column widths. DITA does not appear to have a means of allowing this, but if you can suggest a way we can look at including it in the pre-processing.
-
AuthorPosts
- You must be logged in to reply to this topic.