Menu

#40 eclTex prints the file instead of generating PS under Linux

open
None
5
2004-11-19
2004-11-18
No

EclTex calls
dvips main.dvi
to generate the ps file.

under linux, by default, that command sends the file to
the printer.

One should use
dvips main.dvi -o
instead.

Discussion

  • Ian Hartney

    Ian Hartney - 2004-11-19

    Logged In: YES
    user_id=328016

    okay good to know, ill change it asap. thanks.

     
  • Ian Hartney

    Ian Hartney - 2004-11-19
    • assigned_to: nobody --> mrpsion
     
  • drg006

    drg006 - 2005-08-13

    Logged In: YES
    user_id=1328669

    Here's a little perl script to use as a temporary fix: just
    move dvips to .dvips and save this as dvips (with chmod +x)

    #!/usr/bin/perl
    if (@ARGV) {
    my $dvi = $ARGV[0];
    my $ps = "$dvi.ps";
    $_ = $dvi;
    if (/.dvi$/) {
    s/\.dvi/\.ps/;
    $ps = $_;
    }
    system ".dvips -o $ps $dvi";
    }

     

Log in to post a comment.

MongoDB Logo MongoDB