diff --git a/manual/getting_started/sansaAMS_install.tex b/manual/getting_started/sansaAMS_install.tex index 02505b7df5..7ceb7d3d30 100644 --- a/manual/getting_started/sansaAMS_install.tex +++ b/manual/getting_started/sansaAMS_install.tex @@ -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.