From 2c3f79783d83f01f70b44eda51da8e57b16877e5 Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Tue, 21 Apr 2020 10:26:10 +0200 Subject: [PATCH] don't add .tex to .tikz If we reach this point, we already checked if the extension is existent. This used to append `.tex` if saving as `.tikz` file, which is unwanted. --- src/output.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/output.jl b/src/output.jl index 1bd5e9f3..7a6c9660 100644 --- a/src/output.jl +++ b/src/output.jl @@ -45,7 +45,6 @@ end eps(fn::AbstractString) = eps(current(), fn) function tex(plt::Plot, fn::AbstractString) - fn = addExtension(fn, "tex") io = open(fn, "w") show(io, MIME("application/x-tex"), plt) close(io)