\replaceword in footnotes
Hi all, I use replacements to break unwanted ligatures in German text. This works in the text body, but not in footnotes. How can this be achieved in footnotes as well? Example attached! Thanks Thomas \setreplacements [german] \replaceword [german] [Auflage] [Au{fl}age] \mainlanguage [de] \setupbodyfont [termes, 12pt] \starttext flüssig Auflage\footnote{flüssig Auflage} \stoptext
Thomas A. Schmitz mailto:thomas.schmitz@uni-bonn.de 6. April 2016 um 08:25 Hi all,
I use replacements to break unwanted ligatures in German text. This works in the text body, but not in footnotes. How can this be achieved in footnotes as well? Example attached!
Thanks
Thomas
\setreplacements [german]
\replaceword [german] [Auflage] [Au{fl}age]
\mainlanguage [de]
\setupbodyfont [termes, 12pt]
\starttext
flüssig Auflage\footnote{flüssig Auflage}
\stoptext The feature is disabled in footnotes and you have to reenable it:
\startsetups[footnote] \setreplacements [german] \stopsetups \setupnote[footnote][setups=footnote] Wolfgang
On 4/6/2016 9:04 AM, Thomas A. Schmitz wrote:
On 04/06/2016 08:57 AM, Wolfgang Schuster wrote:
The feature is disabled in footnotes and you have to reenable it:
\startsetups[footnote] \setreplacements [german] \stopsetups
\setupnote[footnote][setups=footnote]
Thank you, Wolfgang, this works indeed!
in lang-rep we can define that property to be global \definesystemattribute[replacements][public,global] in which case it doesn't get reset. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Thomas A. Schmitz
-
Wolfgang Schuster