Manipulating \pagenumber with Lua code : example need
![](https://secure.gravatar.com/avatar/6342545a34fa15e02b689496a3fd2443.jpg?s=120&d=mm&r=g)
8 Sep
2010
8 Sep
'10
12:53 p.m.
Hi, I would like to manipulate \pagenumber with Lua code, in order to add an increment to page number, print out (\pagenumber + INC) instead of \pagenumber. I can't found any example in Wiki yet. Some lines of simple code will be very appreciated :) Thanks
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
8 Sep
8 Sep
12:58 p.m.
New subject: Manipulating \pagenumber with Lua code : example need
Am 08.09.2010 um 20:53 schrieb Vnpenguin:
Hi, I would like to manipulate \pagenumber with Lua code, in order to add an increment to page number, print out (\pagenumber + INC) instead of \pagenumber.
I can't found any example in Wiki yet.
Some lines of simple code will be very appreciated :)
You can use TeX for this, e.g.: - \number\numexpr\userpageno+2\relax - \number\numexpr\userpageno*2\relax - ... Wolfgang
5061
Age (days ago)
5061
Last active (days ago)
1 comments
2 participants
participants (2)
-
Vnpenguin
-
Wolfgang Schuster