[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| -t papertype
| This sets the paper type to papertype. The paper
| type should be defined in one of the configuration
| files, along with the appropriate code to select
| it. (Currently known types include letter, legal,
| ledger, a4, a3, ) You can also specify -t land
| scape, which rotates a document by 90 degrees. To
| rotate a document whose size is not letter, you can
| use the -t option twice, once for the page size,
| and once for landscape. The upper left corner of
|
| Calling dvips -t us -o 'crashit.ps' 'crashit.dvi'
| This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com)
| ' TeX output 2000.09.07:2347' -> crashit.ps
| dvips: no match for papersize
I think we sould fix this by having all external program encapsulated
in a class/module.
In this case a DVIPS class something like this:
class DVIPS {
dvips(PAPERTYPE, OUTPUTTYPE, FILE, ...);
bool run() const;
};
Where PAPERTYPE is the usual paper type enum and we can translate this
to the approp. string inside the DVIPS class.
Or there is possibly an easier solution.
Lgb