Closed thorehusfeldt closed 1 year ago
I could see situations where people include a separate figure.tex
file containing some tikz, so we'd also want to include .tex
files I think.
So yes, option 2 sound good, but extending it with .tex
also:
problem_statement/**/*.{png,jpg,gif,pdf,svg,tex}
Alternatively we could do 1 but exclude gitignored files. That sounds too complicated though.
We could also just do 1 without excluding anything. That would be simple and least surprising probably, and always works, even though it may contain redundant files.
So… problem_statement/**/*.{tex|png|jpg|pdf|etc}
, except problem_statement/solutions.*.tex
?
I forgot the 4th option:
I think that road leads to heartbreak.
Or 5.: Keep the current situation and only include files problem_statement/*
, and if you want anything deeper you have to copy/symlink them over into problem_statement/
directly
5 it is.
With
bt zip --kattis
, we copyproblem_statement/problem.XY.tex
. Such a file typically includesor
and – since the required images are not copied – therefore won’t compile from the zipped archive.
Solutions:
problem_statetemt/*
. This would typically also pick up things likesolution.en.tex
(which we could explicitly suppress) but also various.aux
,.log
,.tex
,.pgf
, that we don’t wantproblem_statement/**/*.{png|jpg|gif|pdf|etc}
for a well-defined list of image formatsproblem_statement/img/*.{png|jpg|gif|pdf|etc}
I weakly favour 2.