[luatex] Lua access to pdf back end variables

Hans Hagen pragma at wxs.nl
Mon Dec 14 19:43:01 CET 2015

On 12/14/2015 5:54 PM, Joseph Wright wrote:
> On 14/12/2015 12:45, Hans Hagen wrote:
>> 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
> Am I right in understanding that they were removed from the v0.85
> binaries (this seems to be the case).

they were hardcoded entries in the tex table; in fact, one can just 
assign something to that table as it's a normal table, so

tex.foo = 123

is quite valid. Some variables could be read but not set (setting just 
added an antry in the table thereby also obscuring the variable at the 
tex end)

explicit setters/getters behave better (and all backend stuff is (to be) 
in the pdf table/namespace anyway

> Presumably this route will be available in v0.90? It seems that there is

there will probably be a 0.87 in between

> a 'gap' where there is no Lua access to these concepts: is that correct?

indeed (not that big a deal as i suppose in most cases they are set at 
the tex end)


                                           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