From: Hans Hagen <pragma@wxs.nl>
To: ConTeXt list <ntg-context@ntg.nl>
Subject: Re: urw garamond typescript
Date: Thu, 24 Apr 2008 10:10:43 +0200 [thread overview]
Message-ID: <48104083.8040604@wxs.nl> (raw)
In-Reply-To: <20080424071113.GA20068@gaston.couberia.bzh>
Peter Münster wrote:
> Great, now it works! (with luatex-r1188 and context-beta)
>
>
> The typescript from Hans at the end of this message works fine.
> Some questions for my understanding:
> - Why 2 \starttypescript-\stoptypescript sections, and not 1?
taste and acess to verbose fontname
> - What does "\setups[font:fallback:serif]" mean?
just grep for font:fallback in type*
> - What is \definetypeface for?
to make a collection out of font with diifferent styles
> - What is the meaning of each parameter of \definetypeface?
see mfonts.pdf
> - Why does the third \starttypescript only have one parameter and no
> [serif]?
lazynessa, after all, gamamond is a serif
> After playing around with the typescript, I got the following minmal
> typescript, that seems to give the same result:
>
> \starttypescript [urwgaramond]
> \definefontsynonym [Serif] [file:GaramondNo8-Reg]
> \definefontsynonym [SerifBold] [file:GaramondNo8-Med]
> \definefontsynonym [SerifItalic] [file:GaramondNo8-Ita]
> \definefontsynonym [SerifBoldItalic] [file:GaramondNo8-MedIta]
> \definetypeface [\typescriptone] [] [serif] [\typescriptone]
> \stoptypescript
> \usetypescript[urwgaramond]
> \setupbodyfont[urwgaramond]
>
> I strongly believe, that Hans' typescript is better, could somebody explain
> why?
in a document with multiple fonts it may be handy to be able to say:
\definedfont[Garamond-Regular*default at 36pt]Some Big Title
> Cheers, Peter
>
>
>
>
> % engine=luatex
> \definefontfeature[complete][liga=yes,kern=yes,compose=yes,tlig=yes,trep=yes]
>
> \starttypescript [serif] [urwgaramond]
> \setups[font:fallback:serif]
> \definefontsynonym [Serif] [Garamond-Regular]
> \definefontsynonym [SerifBold] [Garamond-Medium]
> \definefontsynonym [SerifItalic] [Garamond-Italic]
> \definefontsynonym [SerifBoldItalic] [Garamond-MediumItalic]
> \stoptypescript
>
> \starttypescript [serif] [urwgaramond]
> \definefontsynonym [Garamond-Regular] [file:GaramondNo8-Reg]
> [features=complete]
> \definefontsynonym [Garamond-Medium] [file:GaramondNo8-Med]
> [features=complete]
> \definefontsynonym [Garamond-Italic] [file:GaramondNo8-Ita]
> [features=complete]
> \definefontsynonym [Garamond-MediumItalic] [file:GaramondNo8-MedIta]
> [features=complete]
> \stoptypescript
>
> \starttypescript [urwgaramond]
> \definetypeface [\typescriptone] [rm] [serif] [urwgaramond] [default]
> \stoptypescript
>
> \usetypescript[urwgaramond]
> \setupbodyfont[urwgaramond]
>
> \starttext
> \rm\input knuth
>
> \it\input knuth
>
> \bf\input knuth
>
> \bi\input knuth
> \stoptext
>
>
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-04-24 8:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-24 7:11 Peter Münster
2008-04-24 8:10 ` Hans Hagen [this message]
2008-04-24 11:00 ` Peter Münster
2008-04-24 11:14 ` Wolfgang Schuster
2008-04-24 11:35 ` Peter Münster
2008-04-24 11:54 ` Wolfgang Schuster
2008-04-24 12:30 ` Peter Münster
2008-04-24 13:12 ` Hans Hagen
2008-04-24 13:23 ` Wolfgang Schuster
2008-04-24 13:33 ` Hans Hagen
2008-04-26 19:06 ` Henning Hraban Ramm
2008-04-26 19:53 ` Hans Hagen
2008-04-26 22:15 ` Idris Samawi Hamid
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=48104083.8040604@wxs.nl \
--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).