ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \em after font fallbacks
Date: Mon, 2 Apr 2012 15:17:08 +0200	[thread overview]
Message-ID: <C916F3AE-7BF0-4C3C-8D1F-91E8E2071241@googlemail.com> (raw)
In-Reply-To: <4F79A53E.9030508@googlemail.com>


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
___________________________________________________________________________________


      reply	other threads:[~2012-04-02 13:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-02  9:37 S Barmeier
2012-04-02 12:18 ` Wolfgang Schuster
2012-04-02 13:10   ` S Barmeier
2012-04-02 13:17     ` Wolfgang Schuster [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C916F3AE-7BF0-4C3C-8D1F-91E8E2071241@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).