lua-error when asking for the fontame
![](https://secure.gravatar.com/avatar/4da8dbbf92ebc6723a2215b6043a25c7.jpg?s=120&d=mm&r=g)
Hello, today I updated ConTeXt to the version of 2019-03-05. While testing a type-script I got an error, when I ask for the font name. lua error > lua error on line 1 in file /test.tex: ...ext/tex/texmf-context/tex/context/base/mkiv/font-syn.lua:519: bad argument #1 to 'lower' (string expected, got nil) MWE: \setupbodyfont[pagella,rm,12pt] \starttext This text is written in \font\fontname \stoptext
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 3/8/2019 11:16 PM, Willi Egger wrote:
\setupbodyfont[pagella,rm,12pt] \starttext This text is written in \font\fontname \stoptext
This text is written in \fontname\font
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/6e50a7aa57f5569d881f204f124d96ef.jpg?s=120&d=mm&r=g)
On Sat, 9 Mar 2019 10:12:06 +0100
Hans Hagen
On 3/8/2019 11:16 PM, Willi Egger wrote:
\setupbodyfont[pagella,rm,12pt] \starttext This text is written in \font\fontname \stoptext
This text is written in \fontname\font
We also have: \fontclass \the\globalbodyfontsize Alan
![](https://secure.gravatar.com/avatar/4da8dbbf92ebc6723a2215b6043a25c7.jpg?s=120&d=mm&r=g)
Thank you Hans!
On 9 Mar 2019, at 10:12, Hans Hagen
wrote: On 3/8/2019 11:16 PM, Willi Egger wrote:
\setupbodyfont[pagella,rm,12pt] \starttext This text is written in \font\fontname \stoptext
This text is written in \fontname\font
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (3)
-
Alan Braslau
-
Hans Hagen
-
Willi Egger