Fix some unwanted empty lines in the manual.
Inside a code environment lines opted out will remain as empty lines. Use a feature of fancyvrb to only show one specific line from the code block to avoid this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29194 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b22b0dc101
commit
20bd747635
1 changed files with 26 additions and 16 deletions
|
@ -41,14 +41,20 @@ files:
|
|||
\item Run mkamsboot.exe, passing the name of the OF and bootloader files that
|
||||
you downloaded, in addition to a name for the output file.
|
||||
|
||||
\begin{code}
|
||||
\opt{fuze}{mkamsboot.exe fuzea.bin bootloader-fuze.sansa patched.bin}
|
||||
\opt{fuzev2}{mkamsboot.exe fuzpa.bin bootloader-fuzev2.sansa patched.bin}
|
||||
\opt{e200v2}{mkamsboot.exe e200pe.bin bootloader-e200v2.sansa patched.bin}
|
||||
\opt{clipv1}{mkamsboot.exe m300a.bin bootloader-clip.sansa patched.bin}
|
||||
\opt{clipv2}{mkamsboot.exe m30pa.bin bootloader-clipv2.sansa patched.bin}
|
||||
\opt{clipplus}{mkamsboot.exe clppa.bin bootloader-clipplus.sansa patched.bin}
|
||||
\opt{c200v2}{mkamsboot.exe c200pa.bin bootloader-c200v2.sansa patched.bin}
|
||||
% The following arguments to the code environment select the correct line out
|
||||
% of the code block. This is necessary as using \opt{} in the code block would
|
||||
% create unwanted empty lines.
|
||||
\begin{code}[firstline=\opt{fuze}{1}\opt{fuzev2}{2}\opt{e200v2}{3}%
|
||||
\opt{clipv1}{4}\opt{clipv2}{5}\opt{clipplus}{6}\opt{c200v2}{7},%
|
||||
lastline=\opt{fuze}{1}\opt{fuzev2}{2}\opt{e200v2}{3}%
|
||||
\opt{clipv1}{4}\opt{clipv2}{5}\opt{clipplus}{6}\opt{c200v2}{7}]
|
||||
mkamsboot.exe fuzea.bin bootloader-fuze.sansa patched.bin
|
||||
mkamsboot.exe fuzpa.bin bootloader-fuzev2.sansa patched.bin
|
||||
mkamsboot.exe e200pe.bin bootloader-e200v2.sansa patched.bin
|
||||
mkamsboot.exe m300a.bin bootloader-clip.sansa patched.bin
|
||||
mkamsboot.exe m30pa.bin bootloader-clipv2.sansa patched.bin
|
||||
mkamsboot.exe clppa.bin bootloader-clipplus.sansa patched.bin
|
||||
mkamsboot.exe c200pa.bin bootloader-c200v2.sansa patched.bin
|
||||
\end{code}
|
||||
|
||||
If mkamsboot.exe does not report success, then retry or abort.
|
||||
|
@ -75,14 +81,18 @@ files:
|
|||
\item Run mkamsboot, passing the name of the OF and bootloader files that
|
||||
you downloaded, in addition to a name for the output file.
|
||||
|
||||
\begin{code}
|
||||
\opt{fuze}{./mkamsboot fuzea.bin bootloader-fuze.sansa patched.bin}
|
||||
\opt{fuzev2}{./mkamsboot fuzpa.bin bootloader-fuzev2.sansa patched.bin}
|
||||
\opt{e200v2}{./mkamsboot e200pe.bin bootloader-e200v2.sansa patched.bin}
|
||||
\opt{clipv1}{./mkamsboot m300a.bin bootloader-clip.sansa patched.bin}
|
||||
\opt{clipv2}{./mkamsboot m30pa.bin bootloader-clipv2.sansa patched.bin}
|
||||
\opt{clipplus}{./mkamsboot clppa.bin bootloader-clipplus.sansa patched.bin}
|
||||
\opt{c200v2}{./mkamsboot c200pa.bin bootloader-c200v2.sansa patched.bin}
|
||||
% See above for the code environment arguments explanation.
|
||||
\begin{code}[firstline=\opt{fuze}{1}\opt{fuzev2}{2}\opt{e200v2}{3}%
|
||||
\opt{clipv1}{4}\opt{clipv2}{5}\opt{clipplus}{6}\opt{c200v2}{7},%
|
||||
lastline=\opt{fuze}{1}\opt{fuzev2}{2}\opt{e200v2}{3}%
|
||||
\opt{clipv1}{4}\opt{clipv2}{5}\opt{clipplus}{6}\opt{c200v2}{7}]
|
||||
./mkamsboot fuzea.bin bootloader-fuze.sansa patched.bin
|
||||
./mkamsboot fuzpa.bin bootloader-fuzev2.sansa patched.bin
|
||||
./mkamsboot e200pe.bin bootloader-e200v2.sansa patched.bin
|
||||
./mkamsboot m300a.bin bootloader-clip.sansa patched.bin
|
||||
./mkamsboot m30pa.bin bootloader-clipv2.sansa patched.bin
|
||||
./mkamsboot clppa.bin bootloader-clipplus.sansa patched.bin
|
||||
./mkamsboot c200pa.bin bootloader-c200v2.sansa patched.bin
|
||||
\end{code}
|
||||
|
||||
If mkamsboot does not report success, then retry or abort.
|
||||
|
|
Loading…
Reference in a new issue