[NTG-context] \textcomma (was Re: Comma separating multiple footnotes)

Hans Hagen pragma at wxs.nl
Thu Apr 19 22:31:43 CEST 2012


On 19-4-2012 21:06, Aditya Mahajan wrote:
> On Thu, 19 Apr 2012, Wolfgang Schuster wrote:
>
>>
>> Don’t use \textcomma in MkIV, it’s a math symbol and doesn’t scale
>> when you change the relative font size.
>>
>> \starttext
>>
>> a, b\textcomma\ c
>>
>> {\tfxx a, b\textcomma\ c}
>>
>> {\tfb a, b\textcomma\ c}
>>
>> \stoptext
>>
>> @Hans/Aditya: Is it a good idea to put “textcomma” in the mathspec
>> entry (char-def.lua):

indeed, it's probably some leftover (there might be some more)

> What is textcomma supposed to do? I see that it is defined and used in
> core-mis.mkiv and then redefined in char-def.
>
> My guess is that \textcomma and \textperiod were defined to be
> complementary to \mathcomma and \mathperiod, but this is not consistent
> with rest of the naming convention. (\text... begin text mode commands
> for symbols, and not math mode commands).
>
> Does anyone use \textcomma and \textperiod in math mode? I would suggest
> that we rename them to \puncuationcomma and \punctuationperiod, and add
> \textcomma and \textperiod as text mode commands (and remove the
> definition of \textcomma from core-mis)

the \text* should be just . and , (no math)

I have no clue about the math usage. Just tell me what to patch.

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list