ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \replaceword in footnotes
@ 2016-04-06  6:25 Thomas A. Schmitz
  2016-04-06  6:57 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas A. Schmitz @ 2016-04-06  6:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \replaceword in footnotes
  2016-04-06  6:25 \replaceword in footnotes Thomas A. Schmitz
@ 2016-04-06  6:57 ` Wolfgang Schuster
  2016-04-06  7:04   ` Thomas A. Schmitz
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2016-04-06  6:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 730 bytes --]

> 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

[-- Attachment #1.2: Type: text/html, Size: 1775 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \replaceword in footnotes
  2016-04-06  6:57 ` Wolfgang Schuster
@ 2016-04-06  7:04   ` Thomas A. Schmitz
  2016-04-06  7:58     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas A. Schmitz @ 2016-04-06  7:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \replaceword in footnotes
  2016-04-06  7:04   ` Thomas A. Schmitz
@ 2016-04-06  7:58     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2016-04-06  7:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-06  7:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-06  6:25 \replaceword in footnotes Thomas A. Schmitz
2016-04-06  6:57 ` Wolfgang Schuster
2016-04-06  7:04   ` Thomas A. Schmitz
2016-04-06  7:58     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).