Skip to content

Pass options to document from command line #7

@ericbarefoot

Description

@ericbarefoot

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions