I'm trying to write a protocol for my Masters (similar to a Bachelors Thesis) which includes chemical formulae which I am attempting to number. My originally tried MWE was this one, it doesn't matter if the image is commented or not, it won't compile either way. I am using TeXMaker, and for compilation I currently use the quickbuild option "LaTeX + dvips + ps2pdf"



Hello World

Now it does work if I either

  1. Comment out the hypperref package or
  2. Change the Document-Type to "article" while still having hyperref enabled

Now the replacement of tags doesn't work either way, but I haven't really attempted to solve that yet, I at first would like my document to work before I tackle that problem.

Since I had other problems (Which I solved on Reddit)regarding the Koma-Scripts, I am using version 3.35, manually installed to MiKTex, but other than that, I am at a loss. Before starting to write I didn't really think about it and updated all my packages, before that my basic template ran without errors. The Error I get is the following:

Process started

This is dvips(k) 2020.1 (MiKTeX21.8) Copyright 2021 Radical Eye Software (www.radicaleye.com)

' TeX output 2021.11.18:0829' -> MWE 2.ps








dvips: Could not find figure file MWE 2; continuing. ]

Process exited with error(s)

And I simply don't know what to do anymore. I don't even know why it is trying to figure "MWE 2" which is the name of my file, and not the name of the Image (which would be PG01).

  • 1
    Unrelated but you shouldn't use dvipdfm as driver option if you actually compile with dvips. Beside this: the preview package used by auto-pst-pdf is currently not compatible with a current latex. This has been reported but it is unclear if and when it will be fixed. Until then one has to remove various code from the hooks, e.g. for your document this should work (without the beamer specific code): tex.stackexchange.com/a/617267/2388. See also github.com/latex3/hyperref/issues/213. Nov 18, 2021 at 8:10
  • 1
    And you then should use pdflatex --shell-escape or auto-pst-pdf wouldn't make much sense. Nov 18, 2021 at 8:14
  • Thank you for the informations. I should have mentioned that I have --shell-escape enabled both for pdfLaTeX and LaTeX. I have inserted the code like this Pasebin but still get the same error. Have I done something wrong there?
    – PaulBins
    Nov 18, 2021 at 8:30
  • 1
    if you really simply use latex + dvips, then you don't need auto-pst-pdf and the preview patches and can remove both. Nov 18, 2021 at 9:21
  • 1
    that is psfrag. auto-pst-pdf is there to allow you to use pdflatex (and so e.g. to include also png or pdf graphics) instead of latex+dvips Nov 18, 2021 at 9:25


You must log in to answer this question.

Browse other questions tagged .