Re: [NTG-context] Solved: Minimum example of problem getting curly braces printed in METAPOST

2020-04-05 Thread Hans Hagen
On 4/3/2020 5:36 PM, Gerben Wierda wrote: Thanks to Taco, the solution was to simply use: function doubleQuotableEscapedConTeXtString( str)   local rep = {       [1] =  { '{', '{\\textbraceleft}' },       [2] =  { '}', '{\\textbraceright}' },       [3] =  { '#', '{\\texthash}' },       [4]

[NTG-context] Solved: Minimum example of problem getting curly braces printed in METAPOST

2020-04-03 Thread Gerben Wierda
Thanks to Taco, the solution was to simply use: function doubleQuotableEscapedConTeXtString( str) local rep = { [1] = { '{', '{\\textbraceleft}' }, [2] = { '}', '{\\textbraceright}' }, [3] = { '#', '{\\texthash}' }, [4] = { '$', '{\\textdollar}' }, [5] = { '&',