Skip to content

Commit bf15f3f

Browse files
committed
Update LaTeX data file
1 parent d961553 commit bf15f3f

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

data/latex.dat

-17.9 KB
Binary file not shown.

deps/build.jl

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -393,16 +393,19 @@ function make_tables()
393393
(ver1, ver2), (inf1, inf2))
394394
end
395395

396-
println("Creating tables")
397-
tup = nothing
398-
try
399-
global tup
400-
tup = make_tables()
401-
catch ex
402-
println(sprint(showerror, ex, catch_backtrace()))
403-
end
404396
savfile = joinpath(datapath, "latex.dat")
405-
println("Saving tables to ", savfile)
406-
StrTables.save(savfile, tup[1])
407-
println("Done")
408-
397+
if isfile(savfile)
398+
println("Tables already exist")
399+
else
400+
tup = nothing
401+
println("Creating tables")
402+
try
403+
global tup
404+
tup = make_tables()
405+
catch ex
406+
println(sprint(showerror, ex, catch_backtrace()))
407+
end
408+
println("Saving tables to ", savfile)
409+
StrTables.save(savfile, tup[1])
410+
println("Done")
411+
end

0 commit comments

Comments
 (0)