Re: [NTG-context] Non-breakable space in export to XML

2011-05-24 Thread Hans Hagen

On 24-5-2011 7:02, Aditya Mahajan wrote:

Hi,

When exporting to xml (with \setupbackend[export=yes]), the
non-breakable space (~) gets exported to regular space 0x32. Shouldn't
it rather be exported to 0x00A0?


Hard to check in an editor, these special spaces.

Anyhow, attached is a proof of concept ... I need to rewrite a bit of 
spacing code so it also needs some testing and guess who has to do that 
then.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
\setupbackend[export=yes]

\setupbodyfont[dejavu]

\input typo-chr.mkiv

\starttext

test test\nobreakspace test

12345\par
12\figurespace45\par
12.34\par
12\punctuationspace34\par

\stoptext


oepsoeps.pdf
Description: Adobe PDF document







http://www.w3.org/1998/Math/MathML";>
test test test

  
 12345

  
 12 45

  
 12.34

  
 12 34 

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Non-breakable space in export to XML

2011-05-23 Thread Aditya Mahajan

Hi,

When exporting to xml (with \setupbackend[export=yes]), the non-breakable 
space (~) gets exported to regular space 0x32. Shouldn't it rather be 
exported to 0x00A0?


Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___