Issue with tex.hangindent with latest beta 2016-07-08 17:24
Dear list, In some lua code I have in my project, I’ve started getting this error when upgrading to latest beta (used to work fine for lots of versions for months) : attempt to perform arithmetic on field 'hangindent' (a nil value) when using expression: tex.hangindent in lua code. I am quite sure hangindent is not zero for this paragraph (on purpose). Is there a change in way to access hangindent value for a paragraph ? Many thanks Best regards Joseph Canedo
On 7/9/2016 11:19 PM, josephcanedo@gmail.com wrote:
Dear list,
In some lua code I have in my project, I’ve started getting this error when upgrading to latest beta (used to work fine for lots of versions for months) :
attempt to perform arithmetic on field 'hangindent' (a nil value)
when using expression: tex.hangindent in lua code.
I am quite sure hangindent is not zero for this paragraph (on purpose). Is there a change in way to access hangindent value for a paragraph ?
fixed in next binary ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Thanks a lot Hans. From: pragma@wxs.nl Sent: Sunday, July 10, 2016 12:21 PM To: ntg-context@ntg.nl On 7/9/2016 11:19 PM, josephcanedo@gmail.com wrote:
Dear list,
In some lua code I have in my project, I’ve started getting this error when upgrading to latest beta (used to work fine for lots of versions for months) :
attempt to perform arithmetic on field 'hangindent' (a nil value)
when using expression: tex.hangindent in lua code.
I am quite sure hangindent is not zero for this paragraph (on purpose). Is there a change in way to access hangindent value for a paragraph ?
fixed in next binary ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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 ___________________________________________________________________________________
participants (2)
-
Hans Hagen
-
josephcanedo@gmail.com