···<date: 2013-01-15, Tuesday>···<from: Aditya Mahajan>···
> On Tue, 15 Jan 2013, Procházka Lukáš Ing. - Pontex s. r. o. wrote: > > >(Finally: I'd like to achieve a Lua function which will copy all > >pages of a .pdf file, keeping size of each page, and adding a > >customizable string with page-in-the-pdf number (with default > >value "<page-i>/<n-pages>"), being placed to the right top corner > >of the i-th page. All to be provided by Lua.) > > A few years ago I wrote a module that, amongst other things, did > this. (The mail purpose of the module was to cut 2 column journal > papers to one column PDF so that they are easy to read on an eink > reader. I haven't used this in a while, so it may not work out of > the box). > > https://github.com/adityam/cut-n-paste/blob/master/tex/context/third/cut-n-paste/t-cut-n-paste.tex It works reliably with recent versions. I use it quite a lot atm for a project that requires compiling several individual documents into larger ones and it has never failed me so far. Thanks, btw, this saves some work! Regards Philipp
pgpWRoNqSGQg8.pgp
Description: PGP signature
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / 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 ___________________________________________________________________________________
