Im trying to make my own template and run in to some od failures about outdated or deprecated packages. Most of my code i copyed from here so my question is: Whats your sugestions to get a up to date template with my own font/color definitions for Headers sections and subsections? Im running MacTex and use XeLaTeX.
I'm using templates to write letters and contracts (being a lawyer). I'm using each of them every day. It turned out to be the easiest way to have short templates with just the structure, mainly settings of the documentclass, encoding, fonts and such basic things.
The rest is stored in code snippets, if necessary. OK, I simply don't forget to load array or booktabs for tabulars. But for pdfpages there is a code snippet to avoid forgetting
Before I update my texlive-installation I have a look at the change log of the KOMA-script bundle, which I use for structure and which is really important. Changes here take some time, e.g. the switch from the documentclass scrlttr2 for letters to documentclass scrartcl plus the scrletter package.
So don't put a lot of stuff into your templates, rather keep them clean and lean. The rest of your code goes into code snippets, which are "optional", they depend on the need of your current project.
Thus you can see quite fast, why you get which error or warning. Read the message and have a look at the docu of the package:
texdoc packagename on the command line / terminal will bring up the PDF.