ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: installing a true-type font: can't find ttf2afm
Date: Tue, 5 Nov 2013 18:05:24 +0100	[thread overview]
Message-ID: <CALBOmsbWQQD1H665pJ4UKZ0BC__e2Fa08pPW+1D94MY4-GMU-A@mail.gmail.com> (raw)
In-Reply-To: <52791805.2060009@sil.org>

On Tue, Nov 5, 2013 at 5:08 PM, Lars Huttar  wrote:
> On 11/4/2013 5:32 PM, Wolfgang Schuster wrote:
>> Am 04.11.2013 um 22:56 schrieb Mojca Miklavec:
>>
>>> 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

As I told you: "there were recent changes/improvements in that".

http://www.ntg.nl/pipermail/ntg-context/2013/075428.html

You would need the ConTeXt distribution for that, TeX Live 2013 is too
old. (You can probably still load the simplefonts module explicitly or
write the typescripts yourself - again different syntax.)

Mojca
___________________________________________________________________________________
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 17:05 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
2013-11-05 17:05           ` Mojca Miklavec [this message]
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=CALBOmsbWQQD1H665pJ4UKZ0BC__e2Fa08pPW+1D94MY4-GMU-A@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.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).