i have this makefile:
FILE=name all: latex $(FILE).tex dvips $(FILE).dvi ps2pdf $(FILE).ps
and i want to add parameter -sPAPERSIZE=a4 for latex, dvips and ps2pdf, how should i do it?
Thank you for your answer
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.Sign up to join this community
This would work:
FILE= name SIZE= -sPAPERSIZE=a4 all: latex $(FILE).tex dvips $(SIZE) $(FILE).dvi ps2pdf $(SIZE) $(FILE).ps
However, this Makefile doesn't really use what Make is designed for. You could as well implement this in a shell script (or batch file).
latex doesn't accept the