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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________