diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2006-09-17 20:34:10 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2006-09-17 20:34:10 +0000 |
commit | 1d16d4a4eb9d726c2879a2868d9339cebdfbbedf (patch) | |
tree | 6556b35205e18ac98fa6e6df75fa7186f260b120 /manual | |
parent | 726aaadd5b29db12e986641e8797301e79e1159e (diff) |
- set the default image file extension based on output type
- don't use booktabs on html output
- remove some unused packages
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10980 a1c6a512-1295-4272-9138-f99709370657
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{} |