I am trying to run Bibulous with Texmaker on Windows because I want to experiment with it, and I believe I am really close.
Indeed, the only thing I cannot do is to tell Texmaker to run the Python file
bibulous.py on the
.aux file during my
pdflatex(x2) compilation loop: I get
Error : could not start the command : python.exe "C:\acertainpath\bibulous.py" "thesis".aux
Following the WinEdt/Texmaker examples, I replaced the BibteX command by
python.exe "C:\acertainpath\bibulous.py" %.aux. But maybe that is not the way to do. I am not entirely familiar on how to run things in Python from Windows, nevertheless I made more experiments, and here are some hints:
I have Python 3.5 installed, it is in the
AppDatafolder. I added it to the
PATH(as it was proposed during the install process). Now I can run python from the
But then when I just try to run in the
python C:\acertainpath\bibulous.pyI get
line 1162 except Exception, err:. I tried to look in the file but couldn't figure out anything.
I must add that if I run
print("Hello World!"), Python works, so I don't think the error comes from Python itself.
So then I had the idea to run it with Cygwin that I have installed for other reasons. Well, it works with it!
I can, by just putting the
.auxfiles obtained from a
pdflatexrun in Texmaker, along with the
mybst.bsttemplate file, the
bibulous.pyall in the Cygwin folder, and running
python bibulous.py thesis.aux, get the output files necessary (the
If I put them back in
C:\acertainpathwhere my thesis and
bibulous.pywere originally, running
pdflatex(x2) gives me my pdf!
I also want to say that if I run in Cygwin
python bibulous.py(the equivalent of what I tried in point 1. in
cmd), it works, and by that I mean Bibulous exectues and of course then fails because there is no
.auxfile, but it works.
So in the end I feel like it's the way I call it from Windows (and so also from Texmaker) that is at fault. Maybe I should do something else here?