1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Marianne Arnold 2010-07-18 14:34:54 +00:00
parent 3663213520
commit c2273cf5e2

View file

@ -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}