[web2py] Re: WindowsError 2 and markmin2pdf

2011-07-27 Thread Massimo Di Pierro
You have to do it in two steps. - step one you call markmin2latex and save the output in a file (sample.tex) - step two: from gluon.contrib.markmin.markmin2pdf import latex2pdf latex = open('sample.tex','rb') latex2pdf(latex, pdflatex='pdflatex', passes=3) and replace the ;pdflatex' with the comm

Re: [web2py] Re: WindowsError 2 and markmin2pdf

2011-07-27 Thread Martin Weissenboeck
2011/7/26 Massimo Di Pierro > It requires latex. Do you have pdflatex installed on windows? No. During the last hours I have tried to get a (small?) pdflatex package, but I have only found complete Latex packages (1GB and so on). Today I am at Crete/Greece and the data connection is very poor.

[web2py] Re: WindowsError 2 and markmin2pdf

2011-07-26 Thread Massimo Di Pierro
It requires latex. Do you have pdflatex installed on windows? How do you run it from shell? On Jul 26, 1:00 pm, Martin Weissenboeck wrote: > Hi, > > I wanted to learn more markmin. > I have the examples from the documentation, markmin2html and markmin2latex > work fine: > > >>> from markmin2html