From: Kristjan K. <kri...@gm...> - 2008-01-07 20:05:32
|
Still no luck. Seems to me SL uses commands 'dvips' for postscript and 'pdflatex' for pdf - both run fine from command line, but SL still gives the 'Error!' message. And since there are no logs in SL it's hard to tell where the problem is. But since it runs from command line, I can't blame Latex, seems to have something to do with SL after all. I'd install Linux, but can't, since I need to run some Windows programs on the same machine as well. Any other ideas, anyone? Kristjan Kaljund 2008/1/7, Armaghan Saqib <sa...@le...>: > > On 1/7/08, Kristjan Kaljund <kri...@gm...> wrote: > > That didn't work, even using it from command line gives errors. I > understand > > that dvipdf is no longer developed and replaced with dvipdfm or even > > dvipdfmx, which is the newest and recommended choice. Does anybody know > > which .pl files in SL directory have these commands? Maybe it would be > > sufficient to just edit the command there. Or is there anybody out there > at > > all who has got printing and/or creating pdf working on Windows > > installation? > > Thankful for any hints, > > Staring from line number 838, in SL/Form.pm > > if ($self->{format} eq 'pdf') { > system("pdflatex --interaction=nonstopmode $self->{tmpfile} > > $self->{errfile}"); > while ($self->rerun_latex) { > system("pdflatex --interaction=nonstopmode $self->{tmpfile} > > $self->{errfile}"); > last if ++$r > 4; > } > > $self->{tmpfile} =~ s/tex$/pdf/; > $self->error($self->cleanup) if ! (-f $self->{tmpfile}); > } > > -- > Purpose-built SQL-Ledger Hosting > http://www.ledger123.com/ > > > -- > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > |