Re: [NTG-context] \replaceword in footnotes

2016-04-06 Thread Hans Hagen

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] \replaceword in footnotes

2016-04-06 Thread Thomas A. Schmitz

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!

Thomas
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] \replaceword in footnotes

2016-04-06 Thread Wolfgang Schuster

Thomas A. Schmitz 
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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] \replaceword in footnotes

2016-04-06 Thread Thomas A. Schmitz

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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___