* Upvalue error pdfpaperheight
@ 2015-10-15 9:26 Ulrike Fischer
2015-10-15 9:46 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Ulrike Fischer @ 2015-10-15 9:26 UTC (permalink / raw)
To: ntg-context
While trying out some things related to this bug
http://tracker.luatex.org/view.php?id=770
I got this error:
lua error > lua error on line 76 in file
G:/Z-Test/test-utf8.tex:
.../context/tex/texmf-context/tex/context/base/lpdf-mis.lua:351:
attempt to perform arithmetic on upvalue 'pdfpaperheight' (a nil
value)
Imho it could be caused by the newest name changes in luatex 0.81
luatex, version beta-0.81.1 (tex live 2015/w32tex) (rev 5374)
The document which gaves the error is this one:
\setupinteraction[state=start,color=red]
\enabledirectives[destinations.log]
\enabledirectives[references.border]
\starttext
\font\myfont=cmr12\relax
\myfont
\setbox0=\hbox{%
A %
\hbox{%
\pdfstartlink attr{%
/Border[0 0 2]%
/H/I%
/C[1 0 0]%
} user{%
/Subtype/Link%
/A<<%
/Type/Action%
/S/URI%
/URI(http://www.luatex.org/ [^])%
>>%
}%
LuaTeX%
\pdfendlink
} link%
}
\wd0=0pt
\ht0=0pt
\dp0=0pt
\pageheight=100mm
\pagewidth=50mm
\shipout\vbox to \pageheight{%
\hsize=\pagewidth
\vfill
\hbox{%
\kern10mm %
\pdfsave
\pdfsetmatrix{0 1 -1 0}%
\copy0 %
\pdfrestore
}%
\vfill
}
\textreference[myref]{blblbla} \textreference[myref2]{blub}
\about[myref]
\scale[factor=30]{\about[myref]}
\scale[factor=30]{\about[myref2]}
\scale[width=4cm]{\about[myref]}
\scale[width=4cm]{\about[myref2]}
\rotate[rotation=45,offset=2pt]{\about[myref]}
\stoptext
--
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Upvalue error pdfpaperheight
2015-10-15 9:26 Upvalue error pdfpaperheight Ulrike Fischer
@ 2015-10-15 9:46 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2015-10-15 9:46 UTC (permalink / raw)
To: ntg-context
On 10/15/2015 11:26 AM, Ulrike Fischer wrote:
> \setupinteraction[state=start,color=red]
> \enabledirectives[destinations.log]
> \enabledirectives[references.border]
...
thanks for noticing, i'll fix it,
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-15 9:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-15 9:26 Upvalue error pdfpaperheight Ulrike Fischer
2015-10-15 9:46 ` 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).