ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Lars Huttar <lars_huttar@sil.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: difference between TeX behavior and ConTeXt
Date: Mon, 01 Dec 2008 11:03:13 -0600	[thread overview]
Message-ID: <493418D1.6070704@sil.org> (raw)
In-Reply-To: <492E6F20.1010508@elvenkind.com>

On 11/27/2008 3:57 AM, Taco Hoekwater wrote:
> 
> Lars Huttar wrote:
>> something like this:
>>
>> 	switch to a serif style
>>
>> (if that's what \rm means in ConTeXt -- I still don't know for sure).
> 
> \rm in ConTeXT means: switch to the internal style group named "rm"
> (and likewise for \ss -> "ss" etc.)
> 
> Whether "rm" points to a group of fonts that actually have serifs
> attached to the glyph shapes depends totally on the specific typescript
> that is being used in the document (usually they will, and I think all
> the predefined typescripts are set up that way, but that is not a
> requirement at all).
> 
> The basic idea is that the style "rm" switches to the font set used
> for the main portion of the text. "ss" is the style for supporting
> texts, like section heads and headers/footers. "tt" is useful for
> fixed-width text, (this gets it own special group because it is very
> often needed in manuals). "hw", and "cg" are variations for different
> forms of supporting texts, these are rarely used.
> 
> Does it make more sense now?
> 

Thank you, that helps a lot. I understand now that \rm is more abstract
than I'd initially thought... more powerful but also harder to predict.
Nevertheless useful generalizations can be made (as you showed) that are
helpful in learning the system.

I think it would be worthwhile to explain that in the manual you are
writing (if it doesn't already... sorry, I'm on a tight deadline now and
can't recheck!)... that the style "rm" switches to the font set used for
the main portion of the text, which typically is a serif font. I think
it would also be helpful to note that this switch does not (normally?)
affect italicization, because some TeX-world users will be coming in
with wrong expectations regarding "rm" and italics.

Best wishes,
Lars
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2008-12-01 17:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-25 21:21 Lars Huttar
2008-11-25 21:27 ` Aditya Mahajan
2008-11-25 22:09   ` Lars Huttar
2008-11-25 23:37     ` Rory Molinari
2008-11-26  4:30       ` Lars Huttar
2008-11-26  7:34         ` Peter Münster
2008-11-26  8:41         ` Marcin Borkowski
2008-11-26  9:57           ` Hans Hagen
2008-11-26 13:43           ` Lars Huttar
2008-11-26 14:02             ` Lars Huttar
2008-11-26 14:11             ` Taco Hoekwater
2008-11-26 18:51               ` Lars Huttar
2008-11-27  9:57                 ` Taco Hoekwater
2008-12-01 17:03                   ` Lars Huttar [this message]
2008-11-26  9:55         ` Hans Hagen
2008-11-25 21:29 ` Lars Huttar
2008-11-26  4:15   ` Idris Samawi Hamid ادريس سماوي حامد
2008-11-26  6:26     ` Lars Huttar

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=493418D1.6070704@sil.org \
    --to=lars_huttar@sil.org \
    --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).