]> mj.ucw.cz Git - ucwmac.git/commitdiff
Adjust \pdf[hv]origin in \setuppage
authorMartin Mares <mj@ucw.cz>
Tue, 7 Oct 2014 21:27:38 +0000 (23:27 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 7 Oct 2014 21:27:38 +0000 (23:27 +0200)
\mag might have been called, in which case it is necessary
to redefine the PDF page origin (as explained by pdfTeX manual).

ucwmac.tex

index 2fb1c3ce40d395fe4eaa90a75685dd77e8c3fff7..edabe347dffaafd614e5edb59284eaf2de832484 100644 (file)
@@ -41,6 +41,8 @@
        \voffset=\topmargin
        \advance\voffset by -1truein
        \ifpdf
+               \pdfhorigin=1truein
+               \pdfvorigin=1truein
                \pdfpagewidth=\pagewidth
                \pdfpageheight=\pageheight
        \fi