From: Paul V. <pa...@vi...> - 2004-03-25 14:11:34
|
Hi Darcy, >> Maybe the space got eaten because Ventura thinks there should't be >> a space before a colon? This has to be fixed, because there are >> also other situations where a space precedes a colon, e.g. in a C >> code fragment or in a ratio. > I think maintaining 'spaces' is going to be the hardest part of > these doc's. Ventura supports formatting without problems i.e. cut > and paste a text doc into Ventura and it will keep the tabs and > spacing perfectly. Import XML and it doesn't see the spaces because > it see the doc as a XML file and removes all spacing, then applies > formating to the tags. I don't understand this. Sure it can remove all spacing *between* elements, i.e. it can convert <section> <para> <emphasis> Don't forget this! </emphasis> </para> </section> to: <section><para><emphasis>Don't forget this!</emphasis></para></section> But here we're talking about spacing between words etc. *inside* elements. I suppose Ventura doesn't convert <para>This is some text</para> to <para>Thisissometext</para>, and neither should it convert <para>a = x == y ? b : c</para> to <para>a=x==y?b:c</para> or <para>Hi :-)</para> to <para>Hi:-)</para> Greetings, Paul Vinkenoog |