[dev-context] [NTG-context] Side figure bug in mkiv?

Taco Hoekwater taco at elvenkind.com
Fri Jul 19 14:39:11 CEST 2019


While at this topic: I am currently processing streaming XML and I need a way to switch
to a font alternative without gobbling up following whitespace. With \bf in plain TeX, 
I would do this:

  {\bf{} bla bla}

but with \bold (that I am told I should use instead), that doesn't work because the empty 
group becomes the argument. I now have

  {\bold\relax{} bla bla}

but that is quite silly. Is there some official command to ‘fix' this issue?

> On 19 Jul 2019, at 13:52, Wolfgang Schuster <wolfgang.schuster.lists at gmail.com> wrote:
> Henri Menke schrieb am 18.07.2019 um 23:29:
>> For what it's worth, the MKIV way to switch to bold face is \bold{text}
>> instead of {\bf text} but it also doesn't fix your problem because
>> neither of the two start a new paragraph before the first letter and
>> therefore \the\everypar is still inside a group.
> The normal switch to use bold style is \bf and \bold{...} (or {\bold ...}) is only  a alternative
> switch which uses \bf to change the font. The same applies to \italic{...}, \mono{...} etc.
> Wolfgang
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

Taco Hoekwater
Elvenkind BV

More information about the dev-context mailing list