Hello,
the first episode was more dramatic than expected, seem to be a good series.
On Thu, Apr 22, 2021 at 11:36 AM Hans Hagen wrote:
> On 4/21/2021 8:17 PM, Jano Kula wrote:
>
> > Does unicode nbsp have fixed with in ctx?
>
> sometimes ... but you just uncovered an old bug
> if attr >= 1
On 4/21/2021 8:17 PM, Jano Kula wrote:
Does unicode nbsp have fixed with in ctx?
sometimes ... but you just uncovered an old bug
if attr >= 1 or attr <= 3 then -- flushright
someplace should be
if attr >= 1 and attr <= 3 then -- flushright
Hans
Hi,
> On 21 Apr 2021, at 23:09, Jano Kula wrote:
>
> On Wed, Apr 21, 2021 at 8:37 PM Hans van der Meer wrote:
>> Why tilde is displayed?
>
> Wouldn't the simple answer not be: because XML is not TeX?
You are never going back to “TeX mode”: the preprocessor converts XML into
*other* XML.
An
Try this:
%\xmltexentity{nbsp}{\nobreakspace}
\xmlsetentity{nbsp}{ } % U+00A0 NBSP between braces
%\xmlsetentity{nbsp}{ } % U+0020 normal space between braces
\startbuffer[doc]
Temperature 20 °C 20 °C 20 °C 20 °C average.
Altitude 6000 m 6000 m 6000 m 6000 m
average.
Re tilde: maybe the answer is in the entities section of the xml mkiv manual.
Denis
Von: ntg-context im Auftrag von Jano Kula
Gesendet: Mittwoch, 21. April 2021 23:09:55
An: mailing list for ConTeXt users
Betreff: Re: [NTG-context] nbsp in XML
On Wed, Apr 21, 2021 at 8:37 PM Hans van der Meer wrote:
> Why tilde is displayed?
>
>
> Wouldn't the simple answer not be: because XML is not TeX?
>
I see your point for tilde: with finalizers in mind I was already in the
stomach, while mouth was looking at the menu. Teaser for S01E02:
finalize
> Why tilde is displayed?
Wouldn't the simple answer not be: because XML is not TeX?
dr. Hans van der Meer
> On 21 Apr 2021, at 20:17, Jano Kula wrote:
>
> Dear list,
>
> first episode of series on nbsp of XML in lmtx.
> Unfortunately, not that catchy as Netflix.
>
> Used XML input has two
Dear list,
first episode of series on nbsp of XML in lmtx.
Unfortunately, not that catchy as Netflix.
Used XML input has two types of non-breakable space:
- unicode character
- html entitity (in fact an ugly output of HTML editor)
HTML is preprocessed with ctx preprocessor (great feature!