diff --git a/chertex.sh b/chertex.sh index b10b160..b4f764f 100755 --- a/chertex.sh +++ b/chertex.sh @@ -35,9 +35,42 @@ Rfiletype="R" TeXfiletype="tex" tikzfiles="*.tikz" Rnwfiles="*.Rnw" -auxfiles="*.acn *.acr *.alg *.aux *.bbl *.blg *.dep *.dpth *.fdb* *.figlist *.fls *.glg -*.glo *.gls *.lob *.lof *.log *.lor *.los *.lot *.out *.lox *.makefile *.map *.out *.run* *.slg *.slo -*.sls *-tikzDictionary *.tdo *.toc *.xdy" +# aux files +aux_acn="*.acn" +aux_acr="*.acr" +aux_alg="*.alg" # glossaries +aux_aux="*.aux" +aux_bbl="*.bbl" # bibliography +aux_blg="*.blg" # bibliography +aux_dep="*.dep" +aux_dpth="*.dpth" +aux_fdb="*.fdb*" +aux_fig="*.figlist" +aux_fls="*.fls" +aux_glg="*.glg" +aux_glo="*.glo" # glossaries +aux_gls="*.gls" # glossaries +aux_ist="*.ist" # glossaries (makeindex style file) +aux_lob="*.lob" +aux_lof="*.lof" +aux_log="*.log" +aux_lor="*.lor" +aux_los="*.los" +aux_lot="*.lot" +aux_out="*.out" +aux_lox="*.lox" +aux_make="*.makefile" +aux_map="*.map" +aux_run="*.run*" +aux_slg="*.slg" +aux_slo="*.slo" +aux_sls="*.sls" +aux_tikz="*-tikzDictionary" +aux_tdo="*.tdo" +aux_toc="*.toc" +aux_xdy="*.xdy" # glossaries (xindy) +# all aux files in a string +auxfiles="${aux_acn} ${aux_acr} ${aux_alg} ${aux_aux} ${aux_bbl} ${aux_blg} ${aux_dep} ${aux_dpth} ${aux_fdb} ${aux_fig} ${aux_fls} ${aux_glg} ${aux_glo} ${aux_gls} ${aux_ist} ${aux_lob} ${aux_lof} ${aux_log} ${aux_lor} ${aux_los} ${aux_lot} ${aux_out} ${aux_lox} ${aux_make} ${aux_map} ${aux_run} ${aux_slg} ${aux_slo} ${aux_sls} ${aux_tikz} ${aux_tdo} ${aux_toc} ${aux_xdy}" # depending on number of args and their content, do different things...