From: john Culleton <John@wexfordpress.com>
To: ntg-context@ntg.nl
Subject: Re: default parameter in \definefont
Date: Tue, 26 Feb 2013 10:04:38 -0500 [thread overview]
Message-ID: <20130226100438.4ffd6d0a@localb.wexfordpress.net> (raw)
In-Reply-To: <92717FC7-DF85-45AE-B534-ABA53AFA0B58@gmail.com>
On Tue, 26 Feb 2013 08:18:25 +0100
Wolfgang Schuster <wolfgang.schuster@gmail.com> wrote:
>
> Am 26.02.2013 um 00:00 schrieb john Culleton <John@wexfordpress.com>:
>
> > Some time back Wolfgang advised me to use statements like this:
> > \definefont [titlefont][MyriadPro-Bold*default at 70bp]
> >
> > I cannot find what the *default parameter does. Can someone educate
> > me?
>
> When you use a font in MkIV you have to specify which features of the
> font should be enabled/disabled, to do this you define first a list
> for them with the \definefontfeature command, e.g.
>
> \definefontfeature[myfeatures][liga=yes,onum=yes,___]
>
>
> For the main fonts in the document which are loaded with
> \setupbodyfont these settings are applied in the typescripts, e.g.
>
> \defintfontsynonym[Serif][MyRegularFont][features=myfeatures]
>
> but when you load a single font with \definefont you apply
> the list as argument to the font name after the asterisk.
>
>
> When you want only a bigger version of the serif or sans version of
> your document you can say \definefont[SansBold at 70bp] without
> applying the list of features because the are already set in the
> typescripts.
>
> Wolfgang
Is there a document or documents whare all this knowledge is
dispensed?
I hesitate to trouble you with a string of questions,
one by one. Right now the two critical files are:
\input formatting.tex
-----------------------------------------------
\usemodule [simplefonts]
\definefont [titlefont][MyriadPro-Bold*default at 70bp]
\definefont [subtitle][MyriadPro-Bold*default at 25bp]
\definefont [gauthor][MinionPro-Regular*default at 25bp]
-----------------------------------------------
followed by:
\input title.tex
---------------------------------------------
\startstandardmakeup[align=middle]
\startstyle[titlefont]
Classic COBOL
\stopstyle
\vfil
\style[subtitle]{A Concise Guide}
\vfil
\null
\vfil
\style[gauthor]{John Culleton}
\vfil
\style[subtitle]{Wexford Press}
\stopstandardmakeup
--------------------------------
And the error messages indicate that MKIV cannot find those otf
files but they exist in /usr/share/fonts/OTF. The run completes
but other fonts and sizes are used for the title page.
--
John Culleton
Wexford Press
___________________________________________________________________________________
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:[~2013-02-26 15:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-25 23:00 john Culleton
2013-02-26 7:18 ` Wolfgang Schuster
2013-02-26 15:04 ` john Culleton [this message]
2013-02-26 16:43 ` john Culleton
2013-02-26 16:55 ` Marco Patzer
2013-02-26 17:26 ` john Culleton
2013-02-27 11:19 ` Wolfgang Schuster
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=20130226100438.4ffd6d0a@localb.wexfordpress.net \
--to=john@wexfordpress.com \
--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).