From: "Lutz Haseloff" <lutz.haseloff@googlemail.com>
To: ntg-context@ntg.nl
Subject: Widgets with luatex
Date: Tue, 8 Apr 2008 09:59:16 +0200 [thread overview]
Message-ID: <a09128560804080059h3b79d878o160fba7cfca640d1@mail.gmail.com> (raw)
Hi Hans, Hi all,
I try to use widgets with luatex and ConTeXt MKIV.
If i try the example for a choice field from mwidget-s.pdf i get following
error:
javascript : loading script set fld
(C:/context/texmf-context/tex/context/base/java-fld.tex)
! LuaTeX error .../context/texmf-context/tex/context/base/colo-new.lua:429:
bad argument #3 to 'format' (string expected, got no value).
\PDFcolor ...lormodel , \thecolorattribute {#1}))}
\setFDFattributes ...space Tf\space \PDFcolor {#2}
}\doifelsenothing {#3} {\g...
\doFDFpresetchoicefield ...]\setFDFattributes [#5]
\setFDFvalues [#7][#4]\set...
\dopresetfield ...{preset\@@DriverFieldType field}
\fi \fi
\dosetupfield ...fieldoffset \hbox {\typesetfield
}} \vss }}\ifShowFieldLabe...
\dofield ...abel ,\v!frame ,\v!horizontal ][][][]}
\iftrialtypesetting \else ...
...
l.6 Text text \field[Ugly] t
ext text.
?
My minimal testfile is:
% engine=luatex
\setupinteraction[state=start]
\starttext
\setupfield [UglySetup] [width=6em, height=1.2\lineheight, location=low]
\definefield [Ugly] [choice] [UglySetup] [ugly,awful,bad] [ugly]
Text text \field[Ugly] text text.
\stoptext
I use ConTeXt ver: 2008.03.24 23:24 MKIV fmt: 2008.4.2 int: english/english
and luatex Version snapshot-0.25.1-2008040121 (Web2C 7.5.6)
What is the (probabely my) error?
Greetings
Lutz
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2008-04-08 7:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-08 7:59 Lutz Haseloff [this message]
2008-04-08 8:08 ` Hans Hagen
2008-04-08 8:22 ` Lutz Haseloff
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=a09128560804080059h3b79d878o160fba7cfca640d1@mail.gmail.com \
--to=lutz.haseloff@googlemail.com \
--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).