Is it possible to include if-statements in my code to do something like the following:
Code: Select all
IF compiling to PDF THEN
\usepackage{PDFstyle}
\usepackage{hyperref}
ELSE IF compiling to PS THEN
\usepackage{PSstyle}
\usepackage{psfrag}
END IF
IF compiling to PDF THEN
Go to \url{www.latex-community.org}
ELSE IF compiling to PS THEN
Go to {\tt www.latex-community.org}
END IF