From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Michael Saunders <odradek5@gmail.com>
Subject: Re: typescript
Date: Mon, 15 Mar 2010 22:42:34 +0100 [thread overview]
Message-ID: <4B9EA9CA.6070602@wxs.nl> (raw)
In-Reply-To: <54d7f5601003151432m752aec33lce75f5ca650dcde7@mail.gmail.com>
On 15-3-2010 22:32, Michael Saunders wrote:
> I am trying to get a minimal working example so that I have something
> to tinker with.
>
> C:\contextminimal\tex\texmf-local\type-garamondprem.tex contains only:
>
> \starttypescript [serif] [garamondprem]
> \definetypeface [garamondprem] [rm] [serif]
> [name:garamondpremrpromed] [default]
> \stoptypescript
>
> (garamondpremrpromed is a name returned by mtxrun --script fonts
> --list --all --pattern=*Garamond*.)
>
> I run:
> luatools --generate
> and texmf-local is found.
>
> In my preamble:
> \usetypescriptfile [type-garamondprem]
> \usetypescript [garamondprem]
> \setupbodyfont [garamondprem,12pt]
>
> When I run Context, the result contains only Latin Modern.
you can just put the typescript in the file itself
\starttypescript [serif] [garamondprem]
\definefontsynonym[Serif][name:garamondpremrpromed]
\stoptypescript
\starttypescript [garamondprem]
\definetypeface [garamondprem] [rm] [serif] [garamondprem] [default]
[features=default]
\stoptypescript
\setupbodyfont[garamondprem]
just look in type-otf.mkiv for more examples)
in this case [serif] [garamondprem] is the filter
Hans
-----------------------------------------------------------------
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2010-03-15 21:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-15 21:32 typescript Michael Saunders
2010-03-15 21:35 ` typescript Aditya Mahajan
2010-03-15 21:42 ` Hans Hagen [this message]
2010-03-15 21:46 ` typescript Philipp Gesang
2010-03-15 21:55 ` typescript Hans Hagen
-- strict thread matches above, loose matches on Subject: below --
2008-04-19 11:06 typescript Antoine Junod
2008-04-19 13:13 ` typescript Hans Hagen
2008-04-19 16:39 ` typescript Aditya Mahajan
2008-04-19 17:12 ` typescript Henning Hraban Ramm
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=4B9EA9CA.6070602@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
--cc=odradek5@gmail.com \
/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).