[texhax] passing package options on the commandline

jtzzaa11-texhax2 at yahoo.com jtzzaa11-texhax2 at yahoo.com
Thu Jan 3 13:48:26 CET 2013


Im using linux and wondering if it's possible to pass options to packages from the commandline.

Specifically, I want to generate a document version where figures are replaced by rectangles. This is achieved with the "draft" option in the graphicx package.

I want to automate this with a shell script, so it'll produce one document version with the figures included, and one in the "draft" mode. so I need to somehow pass the "draft" options to graphicx togetehr with the "latex" command.


TIA




More information about the texhax mailing list