diff options
author | Mojca Miklavec <mojca.miklavec@gmail.com> | 2012-05-14 17:38:55 +0000 |
---|---|---|
committer | Mojca Miklavec <mojca.miklavec@gmail.com> | 2012-05-14 17:38:55 +0000 |
commit | 15995e10bfc68edf79970c4ea4fbb6678566c46e (patch) | |
tree | 2de7ca2a83f2d37ef043ad7429a5cb945bb79ddb /Master/texmf-dist/tex/context/base/mtx-context-arrange.tex | |
parent | c9a39f716f1e5ec820ed3aab2c9aef25c5a9d730 (diff) |
ConTeXt 2012.05.14 16:00
git-svn-id: svn://tug.org/texlive/trunk@26371 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mtx-context-arrange.tex')
-rw-r--r-- | Master/texmf-dist/tex/context/base/mtx-context-arrange.tex | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/context/base/mtx-context-arrange.tex b/Master/texmf-dist/tex/context/base/mtx-context-arrange.tex index b3d8a4df116..49920293fe6 100644 --- a/Master/texmf-dist/tex/context/base/mtx-context-arrange.tex +++ b/Master/texmf-dist/tex/context/base/mtx-context-arrange.tex @@ -5,7 +5,7 @@ %D subtitle=Arrange Files, %D author=Hans Hagen, %D date=\currentdate, -%D copyright=\PRAGMA] +%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for @@ -25,15 +25,20 @@ % --marking : add cutmarks % --addempty=list : add empty pages at/after (comma separated list) % --printformat : 2UP, etc +% --paperformat=spec : paper*print or paperxprint +% +% example: context --extra=arrange --printformat=2UP --paperformat=A4,A3,landscape myfile % % end help +\input mtx-context-common.tex + \doifdocumentargument {paperoffset} { \definepapersize [offset=\getdocumentargument{paperoffset}] } -\doifdocumentargumentelse {noduplex} {yes} { +\doifdocumentargumentelse {noduplex} { \setuppagenumbering [alternative=doublesided] \setdocumentargument{sided}{doublesided} @@ -41,9 +46,19 @@ \setdocumentargument{sided}{singlesided} } -\setdefaultdocumentargument {textwidth} {0cm} -\setdefaultdocumentargument {backspace} {0cm} -\setdefaultdocumentargument {topspace} {0cm} +\setuppapersize + [\getdocumentargument{paperformat_paper}] + [\getdocumentargument{paperformat_print}] + +% todo: autopapersize +% +% \setuppapersize +% [A4] +% [A3,landscape] + +\setdocumentargumentdefault {textwidth} {0cm} +\setdocumentargumentdefault {backspace} {0cm} +\setdocumentargumentdefault {topspace} {0cm} \setuplayout [backspace=\getdocumentargument{backspace}, |