Joseph Wright avatar Joseph Wright committed 71c3e73

Remove setting of paper size

This is handled by geometry, which does a better job than us!

In particular, removing this fixes issue #29, which was caused by
a bad page size setting!

Comments (0)

Files changed (1)


-  % The following code was send to me by Rolf Niepraschk
-   \@ifundefined{Gin@driver}{}%
-   {%
-     \ifx\Gin@driver\@empty\else%
-       \filename@parse{\Gin@driver}\@tempswafalse%
-       \def\reserved@a{dvips}%
-       \ifx\filename@base\reserved@a\@tempswatrue\fi%
-       \def\reserved@a{dvipdfm}%
-       \ifx\filename@base\reserved@a\@tempswatrue\fi%
-       \if@tempswa%
-         \AtBeginDvi{%
-           \special{papersize=\the\paperwidth,\the\paperheight}}%
-       \fi%
-       \def\reserved@a{pdftex}%
-       \ifx\filename@base\reserved@a
-         \pdfpagewidth\paperwidth\pdfpageheight\paperheight%
-       \fi%
-       \def\reserved@a{vtex}%
-       \ifx\filename@base\reserved@a
-         \mediawidth\paperwidth\mediaheight\paperheight%
-       \fi%
-     \fi
-   }
- }
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.