Thanks Peter, That will solve the problem, methinks. I'm currently debugging a problem with imagemagick, but when I have the full solution, I'll repost it here, and I'll start a new thread with instructions on using chemfig in mnemosyne 2.0. -John
On Oct 6, 2:51 am, Peter Bienstman <[email protected]> wrote: > On Wednesday, October 05, 2011 07:53:19 PM John Terex wrote: > > > I was thinking of modifying the dvipng command or the latex command > > in config.py to run pdflatex, then pipe the output pdf to imagemagick > > to convert the pdf file to png, but the details far elude my ability. > > First, you need to figure out how to invoke the programs from the command > line. > Say e.g. the correct commands turn out to be > > pdflatex tmp.tex > imagemagick tmp.pdf tmp tmp1.png > > Then you edit config.py to read > > latex = "pdflatex" > dvipng = "imagemagick tmp.pdf tmp tmp1.png" > > Note that mnemosyne will automatically add tmp.tex to the latex command, and > expects the output of dvipng to be the file 'tmp1.png'. > > Cheers, > > Peter -- You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mnemosyne-proj-users?hl=en.
