[NTG-context] issue with string.collapsespaces()

Pablo Rodriguez oinos at gmx.es
Mon Feb 12 17:00:06 CET 2018


Dear list,

I have the following sample:

    \starttext
    \startlua
    a = "a bc de"
    context(string.collapsespaces(a))
    \stoplua
    \stoptext

Sorry for the stupid question, but isn’t the collapsespaces function
intended to remove spaces?

What am I missing here?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list