diff options
Diffstat (limited to 'manual')
-rw-r--r-- | manual/preamble.tex | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/manual/preamble.tex b/manual/preamble.tex index 6cdb6e43e5..56771382ad 100644 --- a/manual/preamble.tex +++ b/manual/preamble.tex @@ -38,13 +38,13 @@ \usepackage{graphicx} \usepackage{verbatim} \usepackage{makeidx} -\usepackage{amsmath} -\usepackage{amssymb} \usepackage{fancyvrb} \usepackage{enumerate} -\usepackage{subfigure} \usepackage{color} -\usepackage{booktabs} +\ifpdfoutput{\usepackage{booktabs}}% + {\newcommand{% + \toprule}{}\newcommand{\midrule}{\hline}\newcommand{\bottomrule}{}% + } \usepackage{longtable} \usepackage{url} \urlstyle{sf} @@ -58,6 +58,12 @@ % \draftangle{45} } +% pdf output: try pdf first, then png and jpg as file format +% html output: try png first, then jpg. Ignore pdf files +% this only applies if no file extension is given! +\ifpdfoutput{\DeclareGraphicsExtensions{.pdf,.png,.jpg}}% + {\DeclareGraphicsExtensions{.png,.jpg}} + % fancy header style adjustments \fancyhead{} \fancyfoot{} |