[NTG-context] \note does not preserve formatting -- example

Wolfgang Schuster schuster.wolfgang at googlemail.com
Tue Jan 24 09:23:23 CET 2012


Am 24.01.2012 um 05:44 schrieb Peter Park Nelson:

> After updating to the current beta, I discovered that the \note macro
> does not format the note marker correctly.
> 
> In the minimal example below, I define an item group for a
> paragraph-formatted list of article authors, and an "affiliation" note
> for a paragraph-formatted list of affiliations below them. (This is
> fairly common in academic journals; I have left out most of the text
> formatting.)
> 
> The note marks for the third and fourth authors (Jones and Mandrell),
> which are created using the \note macro to reference previous
> affiliations, are too small and not bold.
> 
> I would guess this is related to changes around line 122 of
> strc-not.mkiv, dealing with the handling of note attributes (see:
> \def\usenotestyleandcolor).
> \setuppapersize[letter][letter]
> 
> \defineitemgroup[Authorlist]
> \setupitemgroup[Authorlist]
>               [each]
>               [text]
>               [symbol=0,

Better use “symbol=none”.

>                margin=no,
>                align=normal,
>                width=-10pt,

???

>                distance=0pt,
>                leftmargin=no,
>                location=top,
>                textdistance=big]
> 
> \definenote[affiliation]
>  [numbercommand=\ss,

Don’t misuse the number command key for style settings, use the numberstyle key.

Wolfgang



More information about the ntg-context mailing list