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: Re: installing a true-type font: can't find ttf2afm
Date: Tue, 05 Nov 2013 11:08:37 -0500	[thread overview]
Message-ID: <52791805.2060009@sil.org> (raw)
In-Reply-To: <D61F89A0-D125-427D-93F9-7323DB2A34CB@gmail.com>

On 11/4/2013 5:32 PM, Wolfgang Schuster wrote:
> Am 04.11.2013 um 22:56 schrieb Mojca Miklavec <mojca.miklavec.lists@gmail.com>:
>
>> That TTF should work as well. The only difference is that you might
>> need slightly different commands to set it up (there were recent
>> changes/improvements in that, other users should tell you how exactly
>> that can be done). 
>
> Make your choice:
>
> \definefontfamily [gentium-basic] [serif] [Gentium Basic]
> \definefontfamily [gentium-book]  [serif] [Gentium Book Basic]
> \definefontfamily [gentium-plus]  [serif] [Gentium Plus]
>
> \starttext
>
> {\switchtobodyfont[gentium-basic]Upright \it Italic \bf Bold \bi BoldItalic}
>
> {\switchtobodyfont[gentium-book]Upright \it Italic \bf Bold \bi BoldItalic}
>
> {\switchtobodyfont[gentium-plus]Upright \it Italic \bf Bold \bi BoldItalic}
>
> \stoptext
>
>

Thanks for the suggestion.
I don't know if I'm doing something wrong, but when I try to compile the
above with mkiv, I get "Undefined control sequence" on line 1:

l.1 \definefontfamily

[gentium-basic] [serif] [Gentium Basic]


ConTeXt ver: 2013.05.28 00:36 MKIV current fmt: 2013.10.11 int:
english/english


Nor can I find \definefontfamily in the ref man or on the wiki.


Regards,

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-05 16:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-04 19:55 Lars Huttar
2013-11-04 20:34 ` Mojca Miklavec
2013-11-04 21:46   ` Lars Huttar
2013-11-04 21:54     ` Hans Hagen
2013-11-04 21:56     ` Mojca Miklavec
2013-11-04 22:32       ` Wolfgang Schuster
2013-11-05 16:08         ` Lars Huttar [this message]
2013-11-05 17:05           ` Mojca Miklavec
2013-11-05 18:25             ` Lars Huttar
2013-11-05 23:37               ` Wolfgang Schuster
2013-11-05 18:55       ` Lars Huttar
2013-11-06 17:25         ` Hans Hagen

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=52791805.2060009@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).