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
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?> <!-- input filename : oepsoeps --> <!-- processing date : 05/24/11 10:25:10 --> <!-- context version : 2011.05.22 23:41 --> <!-- exporter version : 0.20 --> <document language="en" file="oepsoeps" date="05/24/11 10:25:10" context="2011.05.22 23:41" version="0.20" xmlns:m="http://www.w3.org/1998/Math/MathML"> test test test <break/> 12345 <break/> 12â45 <break/> 12.34 <break/> 12â34 </document>
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / 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 ___________________________________________________________________________________
