From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: fonts/tetex
Date: Fri, 05 Apr 2002 19:42:03 +0200 [thread overview]
Message-ID: <5.1.0.14.1.20020405193622.038dea00@server-1> (raw)
In-Reply-To: <02040423111500.08183@levana>
At 11:11 PM 4/4/2002 +0200, Patrick Gundlach wrote:
>Hi,
>
>one other question:
>
>why do I have to say \switchtobodyfont [rm] in order to switch to the new
>font? The \showbodyfont looks ok but everything is typeset in the old \rm
>(cmr)
>
>by the way: what is the preferred method to switch the \rm style only? I
>would like to be able to say \usetypescript[times] and have the \rm
>changed, but leave the \ss and \tt alone. So it would stay at cmss and
>cmtt, unless I issue a changing command.
>
>
>file a.tex:
>
>\enableregime [il1]
>\setupencoding[default=ec]
>\usetypescriptfile[type-tetex]
>\usetypescript[tetex]
>\starttext
>\switchtobodyfont [rm]% <----------------- this line
>The quick brown fox jumps over the 1234567890 lazy dog öäü ß ÖÄÜ
>\showcharacters
>\showbodyfont
>\stoptext
>
>
>
>file type-tetex.tex:
>%% do not use :) except for experiments
>%% Patrick Gundlach
>%% Last Change: Thu Apr 4 23:00:30 2002
>
>% Times-Roman
>\starttypescript [tetexnames][ec]
or [serif][tetextimes][ec]
> \definefontsynonym [Times-Roman] [ptmr8t] [encoding=ec]
> \definefontsynonym [Times-Italic] [ptmri8t] [encoding=ec]
> \definefontsynonym [Times-Bold] [ptmb8t] [encoding=ec]
> \definefontsynonym [Times-BoldItalic] [ptmbi8t] [encoding=ec]
> \definefontsynonym [Times-Slanted] [ptmro8t] [encoding=ec]
> \definefontsynonym [Times-BoldSlanted][ptmbo8t] [encoding=ec]
> \definefontsynonym [Times-Caps] [ptmrc8t] [encoding=ec]
> \definefontsynonym [Times-BoldCaps] [ptmbc8t] [encoding=ec]
>\stoptypescript
>\starttypescript[serif][tetextimes][name]
> \definefontsynonym [Serif] [Times-Roman]
> \definefontsynonym [SerifItalic] [Times-Italic]
> \definefontsynonym [SerifBold] [Times-Bold]
> \definefontsynonym [SerifBoldItalic] [Times-BoldItalic]
> \definefontsynonym [SerifSlanted] [Times-Slanted]
> \definefontsynonym [SerifBoldSlanted][Times-BoldSlanted]
> \definefontsynonym [SerifCaps] [Times-Caps]
> \definefontsynonym [SerifBoldCaps] [Times-BoldCaps]
>\stoptypescript
not needed:
>\starttypescript [tetex]
> \usetypescript[tetexnames][ec]
> \usetypescript[serif][tetextimes][name]% mapping Serif-> Times-Roman
> \usetypescript[serif][default][size]% type-siz.tex
>\stoptypescript
better:
\usetypescript[tetexnames][ec]
\definetypeface[patrick][rm][serif][tetextimes][default][encoding=ec]
\setupbodyfont[patrick,10pt]
(untested)
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
fall-back web server:
www.pragma-ade.nl
-------------------------------------------------------------------------
next prev parent reply other threads:[~2002-04-05 17:42 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-30 9:45 fonts/tetex Patrick Gundlach
2002-03-30 10:38 ` fonts/tetex Henning Hraban Ramm
2002-04-03 9:10 ` fonts/tetex Patrick Gundlach
2002-04-03 11:22 ` fonts/tetex Siep
2002-04-03 11:54 ` fonts/tetex Patrick Gundlach
2002-03-30 12:56 ` fonts/tetex Hans Hagen
2002-04-03 12:39 ` fonts/tetex Patrick Gundlach
2002-04-03 16:54 ` fonts/tetex Henning Hraban Ramm
2002-04-03 18:35 ` fonts/tetex Patrick Gundlach
2002-04-03 20:49 ` fonts/tetex Frans Goddijn
2002-04-04 15:50 ` fonts/tetex Magnus Lie Hetland
2002-04-04 16:45 ` fonts/tetex Bill McClain
2002-04-04 17:00 ` fonts/tetex Frans Goddijn
2002-04-05 17:43 ` fonts/tetex Hans Hagen
2002-04-04 8:45 ` fonts/tetex Hans Hagen
2002-04-04 11:24 ` fonts/tetex Nigel King
2002-04-04 12:12 ` fonts/tetex Hans Hagen
2002-04-04 12:13 ` fonts/tetex Patrick Gundlach
2002-04-04 14:32 ` fonts/tetex Frans Goddijn
2002-04-04 15:06 ` fonts/tetex Nigel King
2002-04-04 16:35 ` fonts/tetex Patrick Gundlach
2002-04-04 17:15 ` fonts/tetex Patrick Gundlach
2002-04-04 21:11 ` fonts/tetex Patrick Gundlach
2002-04-05 17:42 ` Hans Hagen [this message]
2002-04-05 19:27 ` fonts/tetex Patrick Gundlach
2002-04-07 8:24 ` fonts/tetex Hans Hagen
2002-04-08 7:14 ` fonts/tetex Patrick Gundlach
2002-04-12 8:25 ` fonts/tetex Patrick Gundlach
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=5.1.0.14.1.20020405193622.038dea00@server-1 \
--to=pragma@wxs.nl \
--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).