ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* using lua fonts
@ 2018-05-03 18:26 Ulrike Fischer
  2018-05-08  8:43 ` Hans Hagen
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Ulrike Fischer @ 2018-05-03 18:26 UTC (permalink / raw)
  To: ntg-context

I'm trying to run one of the examples of fonts-mkiv.pdf

I copied the code from 4.5 Lua fonts to a file
"fonts-demo-rule.lua". This lua file is in the same directory as my
test file.

Then I tried

\definefont
[MyRuleFont]
[file:fonts-demo-rule.lua*default sa 1]

\starttext

{\MyRuleFont So when we use it we get text }

\stoptext

but I get in the log

fonts > defining > forced type 'lua' of 'fonts-demo-rule' not found
fonts > defining > font with asked name 'fonts-demo-rule' is not
found using lookup 'file'
fonts > defining > unknown font 'fonts-demo-rule', loading aborted
fonts > defining > unable to define 'fonts-demo-rule.lua' as
'MyRuleFont--0'

The file itself is found (I can see its path later on). What is
going on here?

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-05-09 11:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03 18:26 using lua fonts Ulrike Fischer
2018-05-08  8:43 ` Hans Hagen
2018-05-08 14:01   ` Ulrike Fischer
2018-05-08 14:17     ` Hans Hagen
2018-05-08 14:46 ` Ulrike Fischer
2018-05-09  1:02 ` Henri Menke
2018-05-09  7:56   ` Hans Hagen
2018-05-09 10:40     ` Ulrike Fischer
2018-05-09 11:05       ` Hans Hagen

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).