On Thu, Sep 29, 2011 at 5:38 PM, john Culleton <j...@wexfordpress.com> wrote:
> On Thu, 29 Sep 2011 17:12:07 +0200
> luigi scarso <luigi.sca...@gmail.com> wrote:
>
>> On Thu, Sep 29, 2011 at 5:10 PM, john Culleton
>> <j...@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.
-- 
luigi
___________________________________________________________________________________
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 via email to