[texhax] passing package options on the commandline
daleif at imf.au.dk
Thu Jan 3 13:57:35 CET 2013
this might work (untested)
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/daleif@imf / More information: http://au.dk/en/daleif@imf
From: texhax [texhax-bounces at tug.org] on behalf of jtzzaa11-texhax2 at yahoo.com [jtzzaa11-texhax2 at yahoo.com]
Sent: 03 January 2013 13:48
Subject: [texhax] passing package options on the commandline
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.
TeX FAQ: http://www.tex.ac.uk/faq
Mailing list archives: http://tug.org/pipermail/texhax/
More links: http://tug.org/begin.html
Automated subscription management: http://tug.org/mailman/listinfo/texhax
Human mailing list managers: postmaster at tug.org
More information about the texhax