[luatex] callbacks in luatex 0.89
phg at phi-gamma.net
Fri Feb 12 19:13:51 CET 2016
···<Datum: Friday, 12. February 2016>···<Von: Ulrike Fischer>···
> Am Thu, 11 Feb 2016 20:04:52 +0100 schrieb Hans Hagen:
> > On 2/11/2016 6:00 PM, Ulrike Fischer wrote:
> >> Am Thu, 11 Feb 2016 14:53:11 +0100 schrieb Hans Hagen:
> >>>> Is there in context code which offers something similar to
> >>>> \XeTeXinterchartoks? That means can one declare (unicode)
> >>>> blocks/classes of characters and tokens (e.g. font switches,
> >>>> language switches etc) which should be inserted between character of
> >>>> different blocks?
> >>>> If yes, where is it?
> >>> No, because it's not the way context does things (or at least I never
> >>> needed it so I never bothered to look into writing it). I would probably
> >>> look into it when there was demand for some feature not supported yet.
> >>> Even then I'd probably not rely interpreting unicode characters but on
> >>> proper tagging because one never knows what the intended use/rendering
> >>> of some character at some point it.
> >> Proper tagging is naturally always more reliable. But I can
> >> understand that people who write e.g. a mix of chinese with some
> >> english/ascii and need to switch fonts don't want to tag all the
> >> time. That can get a bit tiring, also it is error prone.
> > (context users are advised to quit reading here)
> I'm feeling like the wild girl who spoils the wellbehaved children
> > well, as the latin mixed in chinese text often looks quite horrible i
> > assume basemode will do so you can make a file
> > crapfont.lua
> This works fine in context but not with plain or latex in a current
> texlive, I get a "metric data not found or bad" error.
We don’t have a handler for ``.lua`` files. (Though improving the
error message is on my agenda, Context being the role model as
usual =) )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the luatex