ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: john Culleton <john@wexfordpress.com>
To: ntg-context@ntg.nl
Subject: Re: Finding Minion and Myriad
Date: Thu, 29 Sep 2011 12:41:04 -0400	[thread overview]
Message-ID: <20110929124104.749c94f6@sda8.wexfordpress.net> (raw)
In-Reply-To: <CAG5iGsCWp=qcQZ317tUGUctu3YAY2cPgs1v0W+k899a5UnB0AQ@mail.gmail.com>

On Thu, 29 Sep 2011 18:13:12 +0200
luigi scarso <luigi.scarso@gmail.com> wrote:

> On Thu, Sep 29, 2011 at 5:38 PM, john Culleton
> <john@wexfordpress.com> wrote:
> > On Thu, 29 Sep 2011 17:12:07 +0200
> > luigi scarso <luigi.scarso@gmail.com> wrote:
> >
> >> On Thu, Sep 29, 2011 at 5:10 PM, john Culleton
> >> <john@wexfordpress.com> wrote:
> >> >
> >> > These two fonts are in /usr/share/fonts/OTF.
> >> > In that directory they are listed in fonts.dir.
> >> > I want to use simplefonts to use Minion as the base font.
> >> > I ran the various commands described in the Wiki page:
> >> >
> >> > http://wiki.contextgarden.net/Fonts_in_LuaTeX
> >> > and got the two fonts listed in the font database.
> >> >
> >> > I put the following in my MKIV context file:
> >> > ...
> >> > \usemodule[simplefonts] % load the module
> >> > \setmainfont[minionproregular] %
> >> >
> >> > %\whitespace[line]
> >> >
> >> > \usetypescript[serif,sans][hanging][pure]
> >> > \setupalign[hanging]
> >> > \setupbodyfont[minionproregular,14pt]
> >> > ...
> >> > Now I get a new error message:
> >> > -------------------------
> >> > mtx-context.lua:675: attempt to call field 'locate_format' (a nil
> >> > value)
> >> >
> >> > Any suggestions?
> >> which context version ?
> > 2011.05.18 18:04
> >
> > As delivered with TeXLive 2011.
> hm, quite old but possible right.
> Can you try
> 1)mkdir texmf-project/test
> 2)## copy Minion  fonts onto texmf-project/test
> 3) cd texmf-project/test
> 4) mtxrun --script fonts --reload
> 5) mtxrun --generate
> 6) context test.tex
> where test.tex is
> 
> \usemodule[simplefonts] % load the module
> \setmainfont[minionproregular] %
> 
> %\whitespace[line]
> 
> \usetypescript[serif,sans][hanging][pure]
> \setupalign[hanging]
> 
> 
> \starttext
> 
> \input knuth
> 
> \stoptext
> 
> in latest suite is ok.

Now that works! The error message went away. The program compiles a pdf
file using the Minion Pro font.  But the same test.tex program in the
parent directory came up with the same error. So long as I run context
etc. in that new directory,  including my own document book.tex
I get good results. When I move to another directory the world goes
crazy again.

I am ready for your next instruction, Sensei Luigi :<)

-- 
John Culleton
Wexford Press
"Create Book Covers with Scribus"
http://www.booklocker.com/books/4055.html
___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2011-09-29 16:41 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-29 15:10 john Culleton
2011-09-29 15:12 ` luigi scarso
2011-09-29 15:38   ` john Culleton
2011-09-29 16:13     ` luigi scarso
2011-09-29 16:32       ` Wolfgang Schuster
2011-09-29 16:41       ` john Culleton [this message]
2011-09-29 17:54         ` luigi scarso
2011-09-29 15:19 ` Wolfgang Schuster
2011-09-29 15:54   ` Alan Braslau
2011-09-29 16:19   ` john Culleton
2011-09-29 16:22     ` luigi scarso
2011-09-29 19:07       ` john Culleton
2011-09-29 19:07         ` Wolfgang Schuster
2011-09-29 20:29           ` john Culleton
2011-09-29 20:36             ` Wolfgang Schuster
2011-10-03 20:04               ` john Culleton
2011-10-03 20:11                 ` Wolfgang Schuster
2011-10-03 23:29                   ` john Culleton
2011-10-03 23:29                     ` Mojca Miklavec
2011-10-04  8:20                     ` luigi scarso
2011-09-30  7:31             ` luigi scarso

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=20110929124104.749c94f6@sda8.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).