Is it possible to allow command line options for pdflatex or likewise? I know that there are some for latexmk, but I don't think they actually modify the document. I would like to see if there's a way to define a command-line option that can be piped from the shell and change an option in the \documentclass[]{compact_proposal} call.
Basically the syntax here would be that if you were calling from a makefile or similar, you could say pdflatex --final and it would change \documentclass[draft]{compact_proposal} to \documentclass[final]{compact_proposal}
Is it possible to allow command line options for
pdflatexor likewise? I know that there are some forlatexmk, but I don't think they actually modify the document. I would like to see if there's a way to define a command-line option that can be piped from the shell and change an option in the\documentclass[]{compact_proposal}call.Basically the syntax here would be that if you were calling from a makefile or similar, you could say
pdflatex --finaland it would change\documentclass[draft]{compact_proposal}to\documentclass[final]{compact_proposal}