DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › title wrapping
-
gcrews November 30, 2010 at 5:06 pm
title wrapping
November 30, 2010 at 5:06 pmParticipants 3Replies 4Last Activity 12 years, 2 months agoXmetal seems to keep wrapping long titles. When just using tag view the title seems ok, but in code view or in notepad there are line returns and tabs in the title tag. When we generate a CHM the compiled hhc ends up with thes line returns to witch then place box characters in the CHM toc. I’m probably going to go tweak the toolkit but it would be nice if Xmetal did not add the line returns to the tag. Is there some way to change the behavior of the title tag to act like a pre tag or something?
-Thanks in advance
Derek Read November 30, 2010 at 6:43 pm
Reply to: title wrapping
November 30, 2010 at 6:43 pmThe easiest thing to do would be to turn of Pretty Printing.
See this post: http://forums.xmetal.com/index.php/topic,1104.0.htmlgcrews November 30, 2010 at 9:36 pm
Reply to: title wrapping
November 30, 2010 at 9:36 pmThanks, Yeah I found that after a bit of poking around. I looked at the ctm files and I can’t tell what is different about the pre and title prettyprintingoptions. I’m guessing Xmetal has some specific built in handling of pre and screen.
Derek Read November 30, 2010 at 9:58 pm
Reply to: title wrapping
November 30, 2010 at 9:58 pmIf pretty printing is turned on the default line wrapping width (aka: max line length) is 80 characters and indenting is 2 spaces. For DITA we set
to 80 characters in the CTM file so it is the same as the default setting. If you don't mind messing with the CTM file you could have Pretty Printing on but make the value bigger. Pretty Printing has a general section at the top of the CTM file, but then each element also has its own section where you can set things up for each element. There is a setting you can use to override the
on an element by element basis called . The only element this is set for in the 6.0 releases is imagemap. -
AuthorPosts
- You must be logged in to reply to this topic.