ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* setup/switchtobodyfont question
@ 2008-11-26 11:43 Alan STONE
  2008-11-26 15:03 ` Alan STONE
  2008-11-26 15:24 ` Wolfgang Schuster
  0 siblings, 2 replies; 3+ messages in thread
From: Alan STONE @ 2008-11-26 11:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

The main manual mentions (ch 5 Typography, pg 92):

"In most cases, the command \setupbodyfont is only used once: in the
styledefinition.
Fontswitching is done with \switchtobodyfont. Don't mix these two up because
this may
lead to some rather strange but legitimate effects."

What's recommended when using a product meta-structure
(standardmakeup-frontmatter-
bodypart-appendices-backmatter) where the bodyfont (and in some cases also
the top,
header, footer, bottom fonts change) from one to the other ?

Declare one (1) setupbodyfont and switchtobodyfont from one meta-structure
element to the
other or use a dedicated setupbodyfont for each ?

-- 
Best,
Alan

* TeX engine = LuaTeX
* ConTeXt minimal ver: 2008.11.10 21:40 MKIV  fmt: 2008.11.25  int:
english/english
* Ubuntu 8.04 Hardy Heron

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

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: setup/switchtobodyfont question
  2008-11-26 11:43 setup/switchtobodyfont question Alan STONE
@ 2008-11-26 15:03 ` Alan STONE
  2008-11-26 15:24 ` Wolfgang Schuster
  1 sibling, 0 replies; 3+ messages in thread
From: Alan STONE @ 2008-11-26 15:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Same question related to setuplayout.

On Wed, Nov 26, 2008 at 12:43 PM, Alan STONE
<software.list.1es9s@gmail.com>wrote:

> The main manual mentions (ch 5 Typography, pg 92):
>
> "In most cases, the command \setupbodyfont is only used once: in the
> styledefinition.
> Fontswitching is done with \switchtobodyfont. Don't mix these two up
> because this may
> lead to some rather strange but legitimate effects."
>
> What's recommended when using a product meta-structure
> (standardmakeup-frontmatter-
> bodypart-appendices-backmatter) where the bodyfont (and in some cases also
> the top,
> header, footer, bottom fonts change) from one to the other ?
>
> Declare one (1) setupbodyfont and switchtobodyfont from one meta-structure
> element to the
> other or use a dedicated setupbodyfont for each ?
>
> --
> Best,
> Alan
>
> * TeX engine = LuaTeX
> * ConTeXt minimal ver: 2008.11.10 21:40 MKIV  fmt: 2008.11.25  int:
> english/english
> * Ubuntu 8.04 Hardy Heron
>

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

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: setup/switchtobodyfont question
  2008-11-26 11:43 setup/switchtobodyfont question Alan STONE
  2008-11-26 15:03 ` Alan STONE
@ 2008-11-26 15:24 ` Wolfgang Schuster
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2008-11-26 15:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 26.11.2008 um 12:43 schrieb Alan STONE:

> The main manual mentions (ch 5 Typography, pg 92):
>
> "In most cases, the command \setupbodyfont is only used once: in the  
> styledefinition.
> Fontswitching is done with \switchtobodyfont. Don't mix these two up  
> because this may
> lead to some rather strange but legitimate effects."
>
> What's recommended when using a product meta-structure  
> (standardmakeup-frontmatter-
> bodypart-appendices-backmatter) where the bodyfont (and in some  
> cases also the top,
> header, footer, bottom fonts change) from one to the other ?
>
> Declare one (1) setupbodyfont and switchtobodyfont from one meta- 
> structure element to the
> other or use a dedicated setupbodyfont for each ?

 From font-ini:

The next two macros are user ones. With \setupbodyfont
one can set the document bodyfont size, font family, style
and/or options defined in files, for example:

\setupbodyfont[cmr,ams,12pt,roman]

This command affects the document as a whole: text, headers
and footers. The second macro however affects only the text:

\switchtobodyfont[10pt]

Both macros look alike. The second one also has to take
all kind of keywords into account.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2008-11-26 15:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-26 11:43 setup/switchtobodyfont question Alan STONE
2008-11-26 15:03 ` Alan STONE
2008-11-26 15:24 ` Wolfgang Schuster

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).