
Hi, thanks for your answer, Sorin. I understand Oxygen Author-Mode is not able to do what i want, but i think it should be! There should be an option telling the renderer to just ignore line-breaks. I fail to see any reason why the transformation into whitespaces is necessary. Can this be added to the feature request list? Best, Philipp
Message: 2 Date: Thu, 14 Aug 2008 18:05:51 +0300 From: Sorin Ristache <sorin@oxygenxml.com> Subject: Re: [oXygen-user] Whitespace Problem To: oxygen-user@oxygenxml.com Message-ID: <48A449CF.2070307@oxygenxml.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Hello,
The whitespaces including line breaks are normalized when the XML document is rendered in the Author mode. That means the line breaks between <orig>E</orig> and <reg>e</reg>, between <reg>e</reg> and </choice>, etc are replaced with a space character. If the Author mode removes them without replacing them with a space character then the new XML document is not the normalized version of the old one.
The only way to display "Der Eerwirdigen" in the Author mode is to remove the whitespaces yourself from the XML document before switching to the Author mode:
<p> Der <choice> <orig>E</orig><reg>e</reg></choice>rwirdigen in <choice> ...
Regards, Sorin
----------------------------------------------------------------------
Message: 1 Date: Thu, 14 Aug 2008 16:33:23 +0200 From: Philipp Steinkr?ger <philipp.steinkrueger@uni-koeln.de> Subject: [oXygen-user] Whitespace Problem To: oxygen-user@oxygenxml.com Message-ID: <48A44233.8060603@uni-koeln.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Hello!
i am having a problem with white-spaces in Author mode. Here is what my XML document looks like at the problematic passage:
<p> Der <choice> <orig>E</orig> <reg>e</reg> </choice> rwirdigen in <choice> <orig>G</orig> <reg>g</reg> </choice> </p>
Now in Author mode, the linebreaks are transformed into whitespace, so that the first part looks like "Der E e rwirdigen in" etc. But i would like to have it look like "Der Eerwirdigen" etc. <p> has the display property: block, <choice>, <orig> and <reg> have display property inline, and i think that exactly is the problem, because the manual says that if the display-property is inline, non-whitespace (which my linebreak is, i suppose) are transformed into normal white space. Is there any way to have oxygen ignore the linebreak?
Thank you very much, Philipp
-- Philipp Steinkrüger M.A. Philosophisches Seminar der Universität zu Köln - Thomas-Institut - Universitätsstraße 22 50923 Köln Fon +49 221 4702394 Fax +49 221 4705011 philipp.steinkrueger@uni-koeln.de http://www.philosophie.uni-koeln.de http://www.thomasinstitut.uni-koeln.de UNIVERSITÄT ZU KÖLN GUTE IDEEN. SEIT 1388.