[NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

Gerben Wierda gerben.wierda at rna.nl
Fri May 1 13:45:00 CEST 2020



> On 1 May 2020, at 13:28, Hans Hagen <j.hagen at xs4all.nl> wrote:
> 
> On 5/1/2020 10:21 AM, Gerben Wierda wrote:
>> code it back to a \ ? E.g. something like
>>    { ‘\U{XXX}', '\' },
> \utfchar{100}
> \Uchar 100

Yes, but the question was: how do I code this in the XML and get it through my XML-lua-METAPOST-textext() path so that e.g. &#xB; or  in the XML end up as \ in my textext() string?

E.g. a &#xA; in XML becomes a \n when lmtx XML handling has read the XML (so gets transformed on read). I’ve been thinking about the route &#xD; -> \r -> \ (so, misusing \r to code a TeX-\ in the XML, but that would probably not robust.

The question is more: what is a good UTF8 character to use (the first 32 would be good candidates if they would work and end in the strings that xml.foo() of lmtx produces).

G

> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------



More information about the ntg-context mailing list