I'm writing some kind of a notebook using \LaTeX.I have a lot of notes.(EDIT: Like, a lot.Almost one per day for the past couple years.They range from very short, single line, notes to very long ones including equations, figures, references, web links, etc.)In order not to recompile all notes whenever I add a new note (EDIT: I used to have a single tex file, but it was becoming too large, and compiling too slow), I now put them into separate folders (EDIT: e.g., YYYY/MM/DD/note.tex), compile only the new ones, and then merge the PDFs together using gs. (EDIT: I'm running "gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=Notebook.pdf -dBATCH "+full_filenames where I build full_filenames in python using os.walk.)