4 ms·
I've actually set up something a bit more handrolled and useful for generating new documents. In particular, I factored out the "generate a new template file
by carterschonwald 16y ago
I've actually set up something a bit more handrolled and useful for generating new documents.
In particular, I factored out the "generate a new template file" code that is in a lot of Textmate packages into some ruby scripts that sub in some values into a copy of latex templates that have all the standard goodness I like to have in my initial document.
its pretty light weight, makes it easy to ensure that i can use tex on pretty much any machine or editor with the initial setup I like, and its essentially OS / Editor independent (aside from being cli based).
https://github.com/cartazio/doctemplates https://github.com/cartazio/doctemplates
the useage would be eg:
> memoart "what I want to name the file"
To reiterate: this approach lets me have certain values in the files that are automatically initialized when I am creating a new file, such as commented out lines indicating the file's name and date/year of creation.