[luatex] Lua access to pdf back end variables
Hans Hagen
pragma at wxs.nl
Mon Dec 14 13:45:46 CET 2015
On 12/14/2015 12:27 PM, Joseph Wright wrote:
> Hello all,
>
> With the v0.85 release, pdfTeX primitives such as \pdfdecimaldigits are
> removed with TeX access documented using for example
>
> \pdfvariable decimaldigits
>
> Currently, the documentation still lists the Lua access routes as e.g.
> tex.pdfdecimaldigits. Is this likely to change? I'm trying to set up
ah, yes, i'll remove these
> some code to work with LuaTeX both before and after this change but
> without having to globally enable a load of names then tidy them up. Lua
> access seems to be the way to do this *but* I'm not sure if I need
>
> local decimaldigits = tex.pdfdecimaldigits
>
> or
>
> local decimaldigits = tex.decimaldigits or tex.decimaldigits
>
> or ...
i added
pdf.setdegitaldigits(n)
n = pdf.setdegitaldigits()
-----------------------------------------------------------------
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
-----------------------------------------------------------------
More information about the luatex
mailing list