I think I saw in the recent past here something about rearranging the pages of a pdf. However, I cannot find it, therefore I take the liberty to place this question. The idea is to change the pages from 1,2,3,4,etc, into 1,3,2,4,etc. Can it be done with one of the tools in the ConTeXt distribution, or else..? Thanks in advance Hans van der Meer
Hans van der Meer
I think I saw in the recent past here something about rearranging the pages of a pdf. However, I cannot find it, therefore I take the liberty to place this question. The idea is to change the pages from 1,2,3,4,etc, into 1,3,2,4,etc. Can it be done with one of the tools in the ConTeXt distribution, or else..? Thanks in advance
It's described in "Layouts in context". There are plenty of schemas for the imposition. For example: \setuppapersize[A5][A4,landscape] \setuparranging[2UP] % or \setuparranging[2*2*2] \setuppagenumbering[alternative=doublesided] \starttext \dorecurse{20}{\input knuth} \stoptext Then compile with context --arrange source.tex Bests. -- Marco
I am afraid I did not phrase my question clear enough. The problem is producing a rearranged pdf from an existing one. Hans van der Meer On 17 dec. 2011, at 17:50, Marco Pessotto wrote:
Hans van der Meer
writes: I think I saw in the recent past here something about rearranging the pages of a pdf. However, I cannot find it, therefore I take the liberty to place this question. The idea is to change the pages from 1,2,3,4,etc, into 1,3,2,4,etc. Can it be done with one of the tools in the ConTeXt distribution, or else..? Thanks in advance
It's described in "Layouts in context". There are plenty of schemas for the imposition.
For example:
\setuppapersize[A5][A4,landscape] \setuparranging[2UP] % or \setuparranging[2*2*2]
\setuppagenumbering[alternative=doublesided]
\starttext
\dorecurse{20}{\input knuth}
\stoptext
Then compile with context --arrange source.tex
Bests.
-- Marco
___________________________________________________________________________________ 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 ___________________________________________________________________________________
"Meer, H. van der"
I am afraid I did not phrase my question clear enough. The problem is producing a rearranged pdf from an existing one.
Hans van der Meer
AFAIK, nothing bundled. But you can create a new PDF selecting and rearranging the pages. You could use pdfjam, which is LaTeX and Bourne shell based. Some time ago I wrote a perl script for this purpose, emulating pdfjam but without LaTeX (using only ConTeXt). https://gitorious.org/the-anarchist-library-tools/the-anarchist-library-tool... I hope this helps. Cheers -- Marco
Am 17.12.2011 um 18:22 schrieb Meer, H. van der:
I am afraid I did not phrase my question clear enough. The problem is producing a rearranged pdf from an existing one.
http://wiki.contextgarden.net/Imposition#Rearranging_existing_PDFs Wolfgang
participants (4)
-
Hans van der Meer
-
Marco Pessotto
-
Meer, H. van der
-
Wolfgang Schuster