Make it easier to select draft/final
authorTobias Pape <tobias@netshed.de>
Tue, 25 Mar 2014 02:24:36 +0000 (03:24 +0100)
committerTobias Pape <tobias@netshed.de>
Tue, 25 Mar 2014 02:24:36 +0000 (03:24 +0100)
src/applied-crypto-hardening.tex

index 0bd17b4..724008e 100644 (file)
@@ -3,8 +3,14 @@
 %%% bettercrypto.org
 %%%
 \RequirePackage{fix-cm}
+% change to \iffalse this if you want to make a final version (and remove the DRAFT watermark)
+\iftrue
+\PassOptionsToPackage{final}{graphicx}
+\PassOptionsToPackage{final}{listings}
 \documentclass[draft]{scrreprt}
-%\documentclass{scrreprt}      % uncomment this if you want to make a final version (and remove the DRAFT watermark)
+\else
+\documentclass{scrreprt}
+\fi
 \input{common/system}
 \input{common/style}
 \input{common/commands}