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: syntax for \definesimplefont in TeX Live version of simplefonts
Date: Thu, 14 Nov 2013 10:42:24 -0500	[thread overview]
Message-ID: <5284EF60.7070305@sil.org> (raw)

Hello,
We are using simplefonts, the version included with TeX Live 2013. As
mentioned in another email, we don't have the freedom to experiment with
potentially unstable versions.

I've been reading
http://wiki.contextgarden.net/simplefonts
and have it working well so far with the mainfont, sansfont, and
mainfontfallback.

The part I need help with is for using another font.
http://wiki.contextgarden.net/simplefonts#Defining_other_typefaces_and_fonts
says we can use

  * |\definesimplefont|, defines a font for the use in headers or other
    style elements.
  * |\simplefont|, defines a font for inline use.

Can anyone tell me the syntax for these commands - and for using them?
I tried
 \definesimplefont[titleface][Gentium Basic]
 ...
 \setupbodyfont[titleface]

There are no complaints and the \definesimplefont line, but I don't know
if it's the right syntax. And the \setupbodyfont line is giving the warning
  fonts > typescripts > unknown library 'titleface'



So I'm guessing that the \definesimplefont line is correct, but I just
don't know how to use the defined font.


Help please?


Thanks,
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2013-11-14 15:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-14 15:42 Lars Huttar [this message]
2013-11-14 16:31 ` Wolfgang Schuster
2013-11-14 16:51   ` Lars Huttar
2013-11-14 16:35 ` Aditya Mahajan
2013-11-14 16:50   ` 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=5284EF60.7070305@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).