don't add .tex to .tikz (#2607)
* 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. * Update output.jl * convert symbol to string
This commit is contained in:
parent
d1938c5e94
commit
eba4d2442c
@ -103,7 +103,7 @@ end
|
||||
function addExtension(fn::AbstractString, ext::AbstractString)
|
||||
try
|
||||
oldext = getExtension(fn)
|
||||
if oldext == ext
|
||||
if string(_savemap[oldext]) == ext
|
||||
return fn
|
||||
else
|
||||
return "$fn.$ext"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user