From: Michael H. <mh...@it...> - 2008-01-07 21:20:31
|
But are those executables locatable by SL at runtime? I.e. is the executables' folder in the search path that SL "sees"? Just for the heck of it, since you already know where they're being called from, you could test this theory by hard-coding the full path into the script where it calls to those executables and see if it works. Thanks, Michael On Jan 7, 2008, at 12:05 PM, Kristjan Kaljund wrote: > 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 >> > ---------------------------------------------------------------------- > --- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/ > marketplace > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users |