The newdoc repository simplifies initializing LaTeX documnets the meet minimum requirements defined by autodoc, docbld, and tlc-article.
$ cd $HOME
$ git clone git@github.com:Traap/newdoc.git
NEWDOCPATH=${HOME}/git/newdoc
export NEWDOCPATH
function newdoc() {
${newdocPATH}/newdoc
}
Run newdoc to create the scaffolding for a new LaTeX document that is compatible with autodoc, docbld, and tlc-article.
Usage: newdoc [OPTIONS]
OPTIONS
--dir=path/to/dir Directory to create.
--file=fileName File to create.
--title='Your Document Title' Document title to use.
--logo Seed document a logo.
--share Use shared header and footer data.
--help Display this help message.
newdoc --dir report/summary --file=001 --title='Foo' --shared --logo
newdoc --dir report/summary --file=002 --title='Bar' --shared
newdoc --dir report/summary --file=003 --title='Baz'
Option | Files | Destination |
---|---|---|
--file | fileName.tex fileName.texx | path/to/dir/filename path/to/dir/filename/data |
--logo | logo.png | path/to/dir/filename/data |
--shared | additional-layout-shared.tex | path/to/dir/shared/data/additional-layout.tex |
Please refer to my Lightweight Project Mangement for the project management strategy I use.