if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Calendar
Register
Login
XMetaL Community Forums
»
General
»
General XMetaL Discussion
»
Whitspaces not appearing in view
Pages:
1
« previous
next »
Print
Author
Topic: Whitspaces not appearing in view (Read 631 times)
sethim
Member
Posts: 2
Whitspaces not appearing in view
«
on:
September 08, 2010, 07:42:11 AM »
Hi,
I've set the 'PreserveSpace' in GlobalPrettyPrintOptions as well as in Element's PrettyPrintOptions but only one whitespace character gets visible in editor mode even though there are continuous multiple spaces which are visible if I switch the document to plain text view.
Is there any other setting which I need to set ?
we're using Xmax version 6.0
Thanks,
M
noSpaceVisible.jpg
(141.04 KB, 2560x1024 - viewed 87 times.)
SpaceVisibleinTextMode.jpg
(116.91 KB, 2560x1024 - viewed 86 times.)
«
Last Edit: September 08, 2010, 07:47:26 AM by sethim
»
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1404
Re: Whitspaces not appearing in view
«
Reply #1 on:
September 08, 2010, 11:18:07 AM »
Two issues with what you are doing:
1) The <GlobalPrettyPrintingOptions> section of the CTM file does not support the <PreserveSpace> setting. It is allowed in the per-element settings only.
2) The <PreserveSpace> setting only controls pretty printing. It does not affect the rendering of Tags On or Normal views. For that you must set the CSS "white-space" setting to something appropriate, probably "pre" in your case.
XMetaL Developer should guide you in the proper creation of your CTM file, at least letting you get the right settings in there. I assume this means you are editing your CTM file directly with a text editor of some kind. You should be careful not to introduce anything that is unrecognized and that the format is good (at the very least always well formed). For the most part XMetaL Author and XMAX are forgiving when they see something in your CTM that they do not understand, but you could end up causing unexpected behavior as we do not test every possible incorrect combination of options or invalid files.
«
Last Edit: September 08, 2010, 03:16:23 PM by Derek Read
»
Logged
Pages:
1
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...