From c2273cf5e2bdf0902d6b375155c49326e623669b Mon Sep 17 00:00:00 2001 From: Marianne Arnold Date: Sun, 18 Jul 2010 14:34:54 +0000 Subject: Fix broken (html) manual: set seriesimg globally in preamble.tex to \specimg if it isn't defined in a target's platform file, otherwise tex tries to check for it and doesn't know which string to take. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27481 a1c6a512-1295-4272-9138-f99709370657 --- manual/preamble.tex | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/manual/preamble.tex b/manual/preamble.tex index 1027a99b36..5394c63bf1 100644 --- a/manual/preamble.tex +++ b/manual/preamble.tex @@ -157,6 +157,13 @@ % \specimg or \seriesimg are possible options set in the platform files % Files will be used in the following order: 1.filename contains \specimg part % 2. filename contains \seriesimg part, 3. filename without the third part + +% set seriesimg if it isn't defined in the platform file to not break manuals +\ifdefined\seriesimg +\else + \newcommand{\seriesimg}{\specimg} +\fi + \newcommand{\screenshot}[3]{ \begin{figure}[H] \begin{center} -- cgit v1.2.3