Closed sbillinge closed 6 years ago
Do you have dvipdf on your machine? How do you build PDFs from Tex?
I use MikTex but not sure how to allow regolith to find it? Is there some kind of tex path that needs to be set up?
On Wed, Aug 15, 2018 at 2:21 PM Christopher J. Wright < notifications@github.com> wrote:
Do you have dvipdf on your machine? How do you build PDFs from Tex?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/regro/regolith/issues/206#issuecomment-413288815, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDrUb2DV2Kg_lO_efdtPKLUijizusqSks5uRGabgaJpZM4V-i69 .
What is the command you run for building PDFs? (or command sequence)
either latex or pdflatex works, though I generally build from my winedt IDE
On Wed, Aug 15, 2018 at 3:01 PM Christopher J. Wright < notifications@github.com> wrote:
What is the command you run for building PDFs?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/regro/regolith/issues/206#issuecomment-413300882, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDrUSr3Hwqj6883cY1JnzfJjIiJqhNsks5uRHAkgaJpZM4V-i69 .
The current command sequence is:
self.run(["latex"] + LATEX_OPTS + [base + ".tex"])
self.run(["bibtex"] + [base + ".aux"])
self.run(["latex"] + LATEX_OPTS + [base + ".tex"])
self.run(["latex"] + LATEX_OPTS + [base + ".tex"])
self.run(["dvipdf", base])
Maybe we can provide the option to run pdflatex? @scopatz thoughts?
I have dvips
which could then be converted to pdf with ps2pdf
, or
we could just replace latex
with pdflatex
and remove the
``dvipdf```? Not sure the downsides to that but it would work for me
then.....
On Wed, Aug 15, 2018 at 3:50 PM Christopher J. Wright < notifications@github.com> wrote:
The current command sequence is:
self.run(["latex"] + LATEX_OPTS + [base + ".tex"])self.run(["bibtex"] + [base + ".aux"])self.run(["latex"] + LATEX_OPTS + [base + ".tex"])self.run(["latex"] + LATEX_OPTS + [base + ".tex"])self.run(["dvipdf", base])
Maybe we can provide the option to run pdflatex? @scopatz https://github.com/scopatz thoughts?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/regro/regolith/issues/206#issuecomment-413314510, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDrUVCeVL23vbcg1lNTNn31b_Dm9Hycks5uRHuTgaJpZM4V-i69 .
I think we can inspect for windows and run pdflatex as the last command.
sounds good. It may not be a windows thing per-se, it is my particular setup. But I think my setup is some kind of more or less standard MikTex installation which is very common for windows users, so this could probably work.
S
On Wed, Aug 15, 2018 at 4:09 PM Christopher J. Wright < notifications@github.com> wrote:
I think we can inspect for windows and run pdflatex as the last command.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/regro/regolith/issues/206#issuecomment-413319773, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDrUSLV0MlHAweabwUOOKs9sZdg7kizks5uRH_rgaJpZM4V-i69 .
@CJ-Wright Thanks for looking at this.