On 2013-07-02 at 09:54:37 +0200, David Kastrup wrote: > Tassilo Horn <[email protected]> writes: > > > Reinhard Kotucha <[email protected]> writes: > > > > Hi Reinhard, > > > >> > $ mgs -q -dNOPAUSE -dBATCH > >> > >> In order to test whether the interpreter works you can try > >> > >> mgs -q -dNODISPLAY -c "2 3 mul ==" -c quit > >> > >> or, if you are only interested in the exit status, > >> > >> mgs -q -dNODISPLAY -c "2 3 mul" -c quit > > > > Ok, now I'm using the latter. > > That leaves a non-empty stack, so I'd rather use "2 3 mul pop". Any > reason why that's necessary at all? Why would not just -c quit be > sufficient? After all, quit is interpreted by the PostScript > interpreter just the same as 2 3 mul would be?
Hi David, yes, -c quit is definitely the smallest valid PostScript program I can think of. Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:[email protected] ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- _______________________________________________ bug-auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-auctex
