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 13:25:56 -0500	[thread overview]
Message-ID: <52793834.30402@sil.org> (raw)
In-Reply-To: <CALBOmsbWQQD1H665pJ4UKZ0BC__e2Fa08pPW+1D94MY4-GMU-A@mail.gmail.com>

On 11/5/2013 12:05 PM, Mojca Miklavec wrote:
> On Tue, Nov 5, 2013 at 5:08 PM, Lars Huttar  wrote:
>> On 11/4/2013 5:32 PM, Wolfgang Schuster wrote:
>>>
>>> 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
>

Thanks again for your responses.

I did try loading the simplefonts module explicitly, but
definefontfamily is still undefined.

I'm working on a large, production project, and the deadline is too
close to risk using unstable releases. Is there a context release since
Wolfgang's new version of simplefonts, that has been declared stable?
Given that his new version came out less than a month ago, it seems
unlikely.

Maybe I can get TTFs working using mtxrun, as Hans suggested. It seems
to be working on Windows; I need to try the same on Linux with our
custom font.

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 18:25 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
2013-11-05 18:25             ` Lars Huttar [this message]
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=52793834.30402@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).