\note does not preserve formatting -- example
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, margin=no, align=normal, width=-10pt, distance=0pt, leftmargin=no, location=top, textdistance=big] \definenote[affiliation] [numbercommand=\ss, textstyle=\tfx\bf, paragraph=yes] \setupnotedefinition[affiliation] [location=serried, distance=.4em, display=no] \starttext \startlocalnotes[affiliation] \startAuthorlist % Convenience macros for setting up some affiliations separately: \def\useaffiliation#1{\note[#1]} \def\makeaffiliation[#1]#2{\setnotetext[affiliation][#1]{#2}} \makeaffiliation[opry]{The Grand Ole Opry} % The list of authors: \item Doris Doe\affiliation[misk]{Miskatonic University} \item Robert Roe\affiliation[love]{Lovecraft Institute} \item Cleopatra~Jones\note[misk] \item Barbara Mandrell\useaffiliation{opry} \stopAuthorlist \placelocalnotes[affiliation] \stoplocalnotes \stoptext -- Peter Park Nelson peter.park.nelson@gmail.com
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).
No, \usenotestyleandcolor is a internal command which pass the values of the style and color keys to the responsible mechanism. The problem is the way how you use the \note command. The \note command has two arguments, the first argument is for the note type (in your case affiliation) and the second for the reference. You can omit the first argument only when you try to print the number of the “footnote” note type but for all other types you need it. Wolfgang
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
participants (2)
-
Peter Park Nelson
-
Wolfgang Schuster