28 May
2005
28 May
'05
2:52 p.m.
Hello, Hans Hagen wrote:
Ok, the following works: \special{papersize=\the\paperwidth,\the\paperheight}
how about adding something to spec-tr: \definespecial\dosetuppaper#1#2#3% {\special{papersize=#2,#3}} Ok. By the way, inserting in pt, cm or mm all works; i.e. this simple definition is ok, one does not need to convert to cm.
is this special official? Hmm, I don't know how official it is, but it is used by hyperref and documented, e.g. at http://www.ifi.uni-klu.ac.at/Public/Documentation/dvips/dvips_3.html; this document is for dvips version 5.58f (January 1995). One can thus expect that is is actually supported by most installed TeXs ;)
Tobias