On Thu, 29 Sep 2011 18:22:17 +0200 luigi scarso <luigi.sca...@gmail.com> wrote:
> On Thu, Sep 29, 2011 at 6:19 PM, john Culleton > <j...@wexfordpress.com> wrote: > > On Thu, 29 Sep 2011 17:19:27 +0200 > > Wolfgang Schuster <schuster.wolfg...@googlemail.com> wrote: > > > >> > >> Am 29.09.2011 um 17:10 schrieb john Culleton: > >> > >> > > >> > 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] > >> > >> To use the fonts which are shipped with Adobe Reader you can use > >> two different methods. > >> > >> Method 1: > >> > >> \usemodule[simplefonts] > >> > >> \setmainfont[Minion Pro][protrusion=quality] > >> > >> \setupalign[hanging] > >> > >> \starttext\showframe > >> \input tufte > >> \stoptext > >> > > > > Put that exact text in a file test.tex, ran > > context test.tex > > and got the same error message: > > mtx-context.lua:675: attempt to call field 'locate_format' (a nil > > value) > > > > This message cropped up after I ran some of the scripts in the wiki. > > I seem to have messed something up in that process. > > > > Unless I receive other directions here I am considering reinstalling > > texlive-2011. > I strongly suggest to you to install latest suite (was standalone was > minimals ) into a separate dir > (ie /opt/luatex/suite-2011-09-29) > and eventually copy the fonts you need into that folder. > You can always use the TeXLive in a separate shell OK. Can you give me the url that points to the latest Context suite? The offerings I see are dated 2010 etc. I run Slackware Linux 13.37. -- 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 ___________________________________________________________________________________