I am trying to compile my document on my ubuntu 18.04 system with TikZ's externalization enabled, but it won't generate separate PDFs for the figures. Interestingly, it works smoothing on my Windows system. I am using texstudio (2.12.6 @ ubuntu) calling

pdflatex -synctex=1 -interaction=nonstopmode --shell-escape %.tex

here is a MWE:



    This is a test document.

        \tikzsetnextfilename{testtikzenableMax} %% set filename tikz externalize
            \draw[->] (0,0) -- (10,2);

The process ended normal. So, I searched the whole system but were unable to find a testtikzenableMax.pdf file, nor an .md5 or .dvi file. The bug is killing me as I ran out of ideas nor do I understand, why this should be a system-dependent behavior.

Log-file: TEST.log

UPDATE: TeX Live 2019 (including pdftex 3.14159265-2.6-1.40.20) log-file

  • 1
    Can you please show us your log file? You can take help of sites like pastebin.
    – Niranjan
    Dec 26, 2019 at 12:55
  • @Niranjan, thx nice little website. I uploaded the log-file and added a link in the post above
    – max
    Dec 26, 2019 at 14:51
  • You are trying to find a file with name testtikzenableMax.pdf, but your log says (on line 517) that output is written on TEST.pdf. I suggest you to check the directory (in which you have saved the .tex file) if you find any output file with name TEST.pdf.
    – Niranjan
    Dec 26, 2019 at 15:25
  • Also one important point, LaTeX always generates output files with the same filenames as of the source files.
    – Niranjan
    Dec 26, 2019 at 15:27
  • You seem to have a very old TeX installation. Does updating it help? You may also want to load \usetikzlibrary{babel}.
    – user194703
    Dec 26, 2019 at 17:05


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy