[NTG-context] dvi paper-size

Tobias Burnus tobias.burnus at physik.fu-berlin.de
Sat May 28 14:52:33 CEST 2005


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


More information about the ntg-context mailing list