Skip to content

Commit

Permalink
allow texlive 2016 to produce error messages; fixes #19
Browse files Browse the repository at this point in the history
  • Loading branch information
mykelk committed Sep 16, 2016
1 parent 6c6f772 commit baba140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TikzPictures.jl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function save(f::PDF, tp::TikzPicture)

if !latexSuccess
s = readstring("$(f.filename).log")
if !standaloneWorkaround()
if !standaloneWorkaround() && contains(s, "\\sa@placebox ->\\newpage \\global \\pdfpagewidth")
standaloneWorkaround(true)
save(f, tp)
return
Expand Down

0 comments on commit baba140

Please sign in to comment.