Bug: footnote's "textcommand" overflows?
Dear all, there appears to be a bug in the handling of font features in footnotes… the following messes up the footnote block in 2011.04.20 16:23, but yields the expected result in 2011.02.14 23:30. --- \definefontfeature [superscripts] [default] [sups=yes] \usetypefile [type-optical] \usetypescript [minion] \setupbodyfont [minion] \setupnote [footnote] [textcommand=\setfontfeature{superscripts}, textstyle=, numbercommand=] \starttext \dorecurse{9}{This\footnote{Hello World #1} is a test.\par } \stoptext --- The problem is not triggered for Latin Modern, also not for, say, "textcommand=\it". What's going on? Best, Oliver
there appears to be a bug in the handling of font features in footnotes… the following messes up the footnote block in 2011.04.20 16:23, but yields the expected result in 2011.02.14 23:30.
Even shorter example (with Latin Modern): --- \definefontfeature [superscripts] [default] [sups=yes] \setupnote [footnote] [textcommand=\os, textstyle=] \starttext The \type{textcommand} should not leak into the footnote block% \footnote{The number 13 should not be typeset with oldstyle numerals.}. \stoptext ---
Am 24.04.2011 um 21:16 schrieb Oliver Buerschaper:
there appears to be a bug in the handling of font features in footnotes… the following messes up the footnote block in 2011.04.20 16:23, but yields the expected result in 2011.02.14 23:30.
Even shorter example (with Latin Modern):
--- \definefontfeature [superscripts] [default] [sups=yes]
\setupnote [footnote] [textcommand=\os, textstyle=]
Use “textstyle”, command keys expect commands with argument and not font/style switches. Wolfgang
participants (2)
-
Oliver Buerschaper
-
Wolfgang Schuster