On Thu, 29 Sep 2011 17:19:27 +0200
Wolfgang Schuster
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. -- John Culleton Wexford Press "Create Book Covers with Scribus" http://www.booklocker.com/books/4055.html