ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Error in simplefonts
Date: Tue, 12 Oct 2010 13:36:04 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.01.1010121335110.22642@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <alpine.LNX.2.01.1010102126250.26058@ybpnyubfg.ybpnyqbznva>

On Sun, 10 Oct 2010, Aditya Mahajan wrote:

> Hi Wolfgang,
>
> \definesimplefont fails in the latest beta. Minimal example:
>
> \usemodule  [simplefonts][size=10pt]
> \setmainfont[Fontin][expansion=quality,protrusion=quality]
>
> \definesimplefont [NameFont]    [FontinBold][size=16pt]
>
> \starttext
> \NameFont A
> \stoptext
>
> ... gives
>
>
> <+ 
> /opt/context-minimals/texmf-context/tex/context/third/simplefonts/t-simplefonts.lua>)
> ! LuaTeX error <main ctx instance>:1: attempt to index field 'define' (a nil 
> value)
> stack traceback:
>        <main ctx instance>:1: in main chunk.
>
> system          > error on line 5 in file test.tex: LuaTeX error  ...
>
> 1     \usemodule  [simplefonts][size=10pt]
> 2
> 3     \setmainfont[Fontin][expansion=quality,protrusion=quality]
> 4
> 5 >>  \definesimplefont [NameFont]    [FontinBold][size=16pt]
> 6
> 7     \starttext
> 8     \NameFont A
> 9     \stoptext
>
>
> \dodefinesimplefont ...1("\luaescapestring {#2}")}
>                                                  \ifcase \scaledfontmode 
> \r...
> l.5 ...efont [NameFont]    [FontinBold][size=16pt]

Does anyone else get this error or is it something wrong on my machine?

Aditya
___________________________________________________________________________________
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:[~2010-10-12 17:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-11  1:28 Aditya Mahajan
2010-10-12 17:36 ` Aditya Mahajan [this message]
2010-10-12 17:48   ` Otared Kavian
2010-10-12 18:51     ` Aditya Mahajan
2010-10-13 10:22 ` Wolfgang Schuster
2010-10-13 14:14   ` Aditya Mahajan

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=alpine.LNX.2.01.1010121335110.22642@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --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).