From 140bf66b908f6c50ea87aa90cc5f314042a25eb5 Mon Sep 17 00:00:00 2001 From: Moshe Piekarski Date: Fri, 26 Jun 2020 19:49:53 -0400 Subject: [PATCH] fix a few manual warnings Change-Id: I6abcceeb84d70e32be203049950c6fe4711e8df8 --- manual/appendix/config_file_options.tex | 2 +- manual/frontpage/frontpage.tex | 2 +- manual/getting_started/main.tex | 6 ++--- manual/intro/main.tex | 4 ++-- .../plugins/images/ss-resistor-240x320x16.png | Bin 0 -> 7050 bytes manual/preamble.tex | 22 +++++++++--------- manual/rockbox_interface/main.tex | 2 +- 7 files changed, 19 insertions(+), 19 deletions(-) create mode 100644 manual/plugins/images/ss-resistor-240x320x16.png diff --git a/manual/appendix/config_file_options.tex b/manual/appendix/config_file_options.tex index ddd41e105d..c70fa974a8 100644 --- a/manual/appendix/config_file_options.tex +++ b/manual/appendix/config_file_options.tex @@ -4,7 +4,7 @@ % define a local version of endhead, as using the output distinction adds % an unwanted newline. endhead breaks with htlatex so we need to remove it % for the html output. -\ifpdfoutput{\newcommand{\localendhead}{\endhead}}% +\Ifpdfoutput{\newcommand{\localendhead}{\endhead}}% {\newcommand{\localendhead}{}} \rowcolors{2}{tbloddrowbgcolor}{tblevenrowbgcolor} \begin{longtable}{>{\raggedright}p{.3\textwidth}>{\raggedright}p{.4\textwidth}p{.2\textwidth}} diff --git a/manual/frontpage/frontpage.tex b/manual/frontpage/frontpage.tex index 1b451d5cbb..d343d4cf0c 100644 --- a/manual/frontpage/frontpage.tex +++ b/manual/frontpage/frontpage.tex @@ -1,7 +1,7 @@ \thispagestyle{empty} \vspace*{0.3cm} \begin{center} -\ifpdfoutput{\includegraphics[width=10cm]{frontpage/rockboxlogo.pdf}} +\Ifpdfoutput{\includegraphics[width=10cm]{frontpage/rockboxlogo.pdf}} {\includegraphics{frontpage/rockbox-web.png}}\\ \vspace{2cm} \huge{\textsf{\textbf{The Rockbox Manual\\for\\\playername}}}\vspace{1cm}\\ diff --git a/manual/getting_started/main.tex b/manual/getting_started/main.tex index f5eba1fae8..4d1798a4c7 100644 --- a/manual/getting_started/main.tex +++ b/manual/getting_started/main.tex @@ -65,7 +65,7 @@ unsupported''. Manufacturer and model names are proper nouns, and thus are written beginning with a capital letter. % write a bit more about names etc. here. -\ifpdfoutput{ +\Ifpdfoutput{ This manual has some parts that are marked with icons on the margin to help you finding important parts or parts you could skip. The following icons are used: @@ -91,14 +91,14 @@ are used: icon shown in the margin on the right. \\ } -}{}% end ifpdfoutput +}{}% end Ifpdfoutput Links to the wiki are abbreviated by the name of the wiki page. Those names are still linked so you can simply follow them like any other link in this manual. If you want to access a wiki page manually go to \wikiicon{} \href{\wikibaseurl}{\wikibaseurl} and type the page name in the ``Go'' box at the top of the page. -\ifpdfoutput{Links to wiki pages are also indicated by the symbol \wikiicon{} +\Ifpdfoutput{Links to wiki pages are also indicated by the symbol \wikiicon{} in front of the page name.}{} \input{getting_started/installation.tex} diff --git a/manual/intro/main.tex b/manual/intro/main.tex index 13b15a0ed5..ef091e4550 100644 --- a/manual/intro/main.tex +++ b/manual/intro/main.tex @@ -18,11 +18,11 @@ % Contributors are listed in the file docs/CREDITS-MANUAL % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\ifpdfoutput{ +\Ifpdfoutput{ \newcommand{\latexbuild}{pdf\LaTeX}} {\newcommand{\latexbuild}{\TeX4ht}} -\ifpdfoutput{\chapter*{\centering{Rockbox\\}}}% +\Ifpdfoutput{\chapter*{\centering{Rockbox\\}}}% {\begin{center}{\Large{Rockbox}}\end{center}} \vspace{1cm} diff --git a/manual/plugins/images/ss-resistor-240x320x16.png b/manual/plugins/images/ss-resistor-240x320x16.png new file mode 100644 index 0000000000000000000000000000000000000000..a940121b7b359fd476a507244e549e0e9b737d74 GIT binary patch literal 7050 zcmeHLc|4TuyVqNmED?rmMHJbKvBd~skYyPAo-lSXTBcMZwo z4+@GicWD0lH52c2jy#4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+pEY@uUnejf5>h)G0d0cUYyD4jEn?i9rl+Zmn5J>I`BrmuQgIY$zIifV zd1hwZxo2^@68(*Bi|zdJBlKytC!I_BFLL0|wpdfxLd%(U{nmo{`zvh0MUV}wj7J4D zDi%Oud6lX{hED`Piom<)37)3N|&s9@nrvzrTN3AuPK2qc3#L&pT-gU6pCRG}fcwIG~ zpK8zf?H-o@gDzBPG9%gkYNUi8LO14R55z@O?uRQ zs0wV`dyn2%c?a#uPD7ywie%wP=Q{S0OPXhW=8i4+R@GYR41P)p|FCJ~puH!G>m9=^ znX!lSC7Ji;g!9C;aKqt)$Ac47^RT{wo}U%09%897KFiKa;kHed39gAlb)Vz2Rfoo| z?Ycis>9fVle~#FBX0ZD7umMzMVdub0v}zgHB;I?Xo@5S{uXFnfum8c!xp-ps2GD4` zFkLXLz09(8v+9nH;i#{3LcWjeml{#Z>M+*EAa0fwTk~a^o)t9hX=aqfU(gGoyH=-z zSAUK_uM0f$FWcP#HQL`k&0>F4uBaG0;Ld_|o;f8YN=AtkwxwBx`?EJ2b={0!0r7eR zn?E{O*2pgpg;jc#Mew;9?fYPF)DN+PfOQ^P9_P1!W&({-Z>T6xE@@y$~rm0jm)=o{>aMjAo zn7u5C{YgsN_58Vx0z^B;ab8@1j~X(zBuN*LJ1y{HQogSpl`@$x(WLA5EpWfkXC?cf zFzo>Mcl`Y8ZI>)|xS$x@H?5BiWs9U-tXp%t?8qnG3|(ebXmAbOJX51|duNGm()6$P z^W3-5p(aCs!wZr_&U6C??p`uKmw(8YcivRHiCpP(aTAQ8N?fF%D(JfGM4NXEtls5_ zKksqaaAuBa17O*hverA_fyh7D@O^{qZ2Fi%qg1zOId6>jiKO^4). -\ifpdfoutput{\newcommand{\caps}[1]{\textsc{#1}}}{\usepackage{soul}} +\Ifpdfoutput{\newcommand{\caps}[1]{\textsc{#1}}}{\usepackage{soul}} \newcommand{\setting}[1]{\caps{#1}} \newcommand{\config}[1]{\texttt{#1}} @@ -314,7 +314,7 @@ % Usage: \wikilink{WebHome} % with "WebHome" being the wiki page name \newcommand{\wikibaseurl}{http://www.rockbox.org/wiki/} -\ifpdfoutput{\newcommand{\wikiicon}{\Pointinghand}} +\Ifpdfoutput{\newcommand{\wikiicon}{\Pointinghand}} {\newcommand{\wikiicon}{}} \newcommand{\wikilink}[1]{\wikiicon{}\href{\wikibaseurl#1}{#1}} %\newcommand{\wikilink}[1]{\url{http://www.rockbox.org/wiki/#1}} @@ -355,15 +355,15 @@ % Use the reference to handle get a flexible reference command % usage \reference{ref_section} -\ifpdfoutput{% +\Ifpdfoutput{% \newcommand{\reference}[1]{% section~\ref{#1} (page~\pageref{#1})% }} {\newcommand{\reference}[1]{section~\ref{#1}}} % special HTML output adjustments -\ifpdfoutput{}{\setlength{\parindent}{0mm}} -\ifpdfoutput{}{\renewcommand{\Forward}[1]{$\triangleright${}#1}} +\Ifpdfoutput{}{\setlength{\parindent}{0mm}} +\Ifpdfoutput{}{\renewcommand{\Forward}[1]{$\triangleright${}#1}} \newcommand{\btnfnt}[1]{\textbf{#1}} %\hfuzz=2pt diff --git a/manual/rockbox_interface/main.tex b/manual/rockbox_interface/main.tex index f11246f162..cbd24ea085 100644 --- a/manual/rockbox_interface/main.tex +++ b/manual/rockbox_interface/main.tex @@ -5,7 +5,7 @@ % include the front image. Using \specimg makes this fairly easy, % but requires to use the exact value of \specimg in the filename! -% The extension is selected in the preamble, so no further \ifpdfoutput +% The extension is selected in the preamble, so no further \Ifpdfoutput % is necessary. % % The check looks for a png file -- we use png for the HTML manual, so that