ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ulrike Fischer <news3@nililand.de>
To: ntg-context@ntg.nl
Subject: Upvalue error pdfpaperheight
Date: Thu, 15 Oct 2015 11:26:37 +0200	[thread overview]
Message-ID: <1oytsfr60ifqp$.dlg@nililand.de> (raw)

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
___________________________________________________________________________________

             reply	other threads:[~2015-10-15  9:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-15  9:26 Ulrike Fischer [this message]
2015-10-15  9:46 ` Hans Hagen

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='1oytsfr60ifqp$.dlg@nililand.de' \
    --to=news3@nililand.de \
    --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).