diff --git a/make-includes/standard_environment.make b/make-includes/standard_environment.make index 2315364..84581a4 100644 --- a/make-includes/standard_environment.make +++ b/make-includes/standard_environment.make @@ -10,19 +10,31 @@ # # Various environment variables. # -# Set DRAFT to anything to run in draft mode (e.g., make DRAFT=draft xxx). +# Set DRAFT to "draft" to run LaTeX in draft mode (i.e., make DRAFT=draft xxx). # DRAFT= # +# Set PAPER_SIZE to an appropriate LaTeX value to change the paper size +# (e.g., make PAPER_SIZE=letterpaper xxx). +# +ifndef PAPER_SIZE +PAPER_SIZE=a4paper +endif +# +# Set FONT_SIZE to an appropriate LaTeX value to change the font size +# (e.g., make FONT_SIZE=10pt xxx). +# +ifndef FONT_SIZE +FONT_SIZE=12pt +endif +# # Specify LaTeX document options (comma-separated list). # We need to add a comma if there is something there already! # ifdef LATEX_OPTS -ifdef DRAFT LATEX_OPTS+=, endif -endif -LATEX_OPTS+=$(DRAFT) +LATEX_OPTS=$(FONT_SIZE),$(PAPER_SIZE),$(DRAFT) # # List of standard "phony" build targets. #