Pages: 1
Print
Author Topic: Extra Tabs, spaces and lines are broken  (Read 480 times)
chandan7891
Member

Posts: 23


« on: May 04, 2011, 06:11:51 AM »

When I open the XML document in Plain Text View, I could see that my document has formatted automatically with extra Tab characters, spaces etc. In addition to that, a single line is broken into multiple lines. I have un-checked auto intend and word wrap options of the XMetaL from the Tools menu and still the issue is appearing. I guess its to do with the .CTM file. Appreciate your assistance to fix this issue. Thanks.
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 1546



WWW
« Reply #1 on: May 04, 2011, 11:03:42 AM »

Yes, this feature is called Pretty Printing and is enabled in the CTM file.
To turn off this feature you may add the <NoPrettyPrinting/> directive to the CTM file. For detailed information you should refer to the Customization Guide. In the Customization Guide see the topic "Global Properties" as well as the topic "Text Layout" both of which are subtopics within the "Element Properties" section.

Note: For clients working with DITA documents XMetaL Author Enterprise includes 2 macros that add and remove this directive to/from the DITA CTM files. The macros are listed in the Macros toolbar.
« Last Edit: May 04, 2011, 03:04:21 PM by Derek Read » Logged
Pages: 1
Print
Jump to:  

email us