I have a huge LaTeX Beamer presentation consisting of multiple parts included as single source files.
Now I'll have to create another presentation which is very similar to the first one, it will contain about 90% of the slides of the first one with some additional material, but not congruent with those whole files.
As I'll have to care and update both for a while in the future, it would be best to create both from the same source code.
How can I realize that? Splitting out everything in single files that are included from different master documents would work, but fragment everything in too many pieces.
Maybe I could use some environment variable set in the SHELL environment/makefile and then conditionally exclude the irrelevant parts of the slides for both?
\defs and\ifxinside the source? Or better using LaTeXifs? – Astrinus Dec 06 '14 at 09:13\includeonlyframes{list,of,frames,to,process}but\input{file} % Commentsis also a good option IMHO. with a consistent naming method of the files and directories, is not too hard to maintain. Then, the main file become a an index where comment/uncomment lines (frames) is very easy. – Fran Dec 06 '14 at 10:26\defs @Astrinus suggested. The method @Fran suggested should also work. – Mike Renfro Dec 06 '14 at 15:41