Re: [NTG-context] \em after font fallbacks

2012-04-02 Thread Wolfgang Schuster

Am 02.04.2012 um 15:10 schrieb S Barmeier:

> On 04/02/2012 09:18 PM, Wolfgang Schuster wrote:
>> 
>> Am 02.04.2012 um 11:37 schrieb S Barmeier:
>> 
>>> My main font is Japanese and I'm falling back on a different font for
>>> Latin characters.
>>> 
>>> The \it switch works fine, but \em renders the Japanese font (e.g. page
>>> numbers in the index). Is there a way to have \em use the italic (of the
>>> fallback font)?
>> 
>> \em uses the slanted font but you change this with the following setup:
>> 
>> \setupbodyfontenvironment[default][em=italic]
>> 
>> Wolfgang
> 
> This works for \em in the text, but the page numbers in the index still
> don't use the font fallback...
> 
> What switch is used for them? They resembled italics when I was loading
> fonts with the simplefonts module.

The page number also use the slanted font but most fonts provide only italic
which is then also used for slanted. You change the style of the number with

  \setupregister[index][pagestyle=italic]

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
___


Re: [NTG-context] \em after font fallbacks

2012-04-02 Thread S Barmeier
On 04/02/2012 09:18 PM, Wolfgang Schuster wrote:
> 
> Am 02.04.2012 um 11:37 schrieb S Barmeier:
> 
>> My main font is Japanese and I'm falling back on a different font for
>> Latin characters.
>>
>> The \it switch works fine, but \em renders the Japanese font (e.g. page
>> numbers in the index). Is there a way to have \em use the italic (of the
>> fallback font)?
> 
> \em uses the slanted font but you change this with the following setup:
> 
> \setupbodyfontenvironment[default][em=italic]
> 
> Wolfgang

This works for \em in the text, but the page numbers in the index still
don't use the font fallback...

What switch is used for them? They resembled italics when I was loading
fonts with the simplefonts module.

Severin
___
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] \em after font fallbacks

2012-04-02 Thread Wolfgang Schuster

Am 02.04.2012 um 11:37 schrieb S Barmeier:

> My main font is Japanese and I'm falling back on a different font for
> Latin characters.
> 
> The \it switch works fine, but \em renders the Japanese font (e.g. page
> numbers in the index). Is there a way to have \em use the italic (of the
> fallback font)?

\em uses the slanted font but you change this with the following setup:

\setupbodyfontenvironment[default][em=italic]

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] \em after font fallbacks

2012-04-02 Thread S Barmeier
My main font is Japanese and I'm falling back on a different font for
Latin characters.

The \it switch works fine, but \em renders the Japanese font (e.g. page
numbers in the index). Is there a way to have \em use the italic (of the
fallback font)?

Thanks,
Severin
___
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
___