* Interesting Bug with LuaTex, \setfontfeature{oldstyle}, colors and tikz
@ 2008-09-17 12:24 holzminister
0 siblings, 0 replies; only message in thread
From: holzminister @ 2008-09-17 12:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi!
I wanted to use colors in my tikz-graphics. The following example
gives a nice red line with "texexec":
>>>
\enableregime[utf-8]
\mainlanguage [de]
\setupcolors[state=start]
\usemodule[tikz]
\definecolor[zeug][r=1, g=0, b=0]
\starttext
\starttikzpicture
\draw [zeug, line width=1ex, cap=round] (-7.65cm,-1mm) -- (7.65cm,-1mm);
\stoptikzpicture
\stoptext
>>>
When I compile my document with "texexec --lua" I get a black line.
Adding "\setfontfeature{oldstyle}" to the preamble causes "texexec
--lua" to break with a failure.
>>>
Package pgfbase: Error! Unsupported color model `'. Sorry.
error: ...text/tex/texmf-context/tex/context/base/font-otf.lua:1998:
attempt to index local 'tfmdata' (a nil value)
.
\endpgfpicture ... \pgf@y }\endgroup \hss \egroup
\pgf@insertlayers \endgrou...
>>>
Does anyone know how this comes?
Regards,
Eyke
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-09-17 12:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-17 12:24 Interesting Bug with LuaTex, \setfontfeature{oldstyle}, colors and tikz holzminister
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).