Notes on making the LaTeX markup language do what you want it to do.
use pdflatex(1) to create PDF files. See the PdfLatexNotes page for more.
Here is a command that lets you do different things with numbers depending on their magnitude.
\newcommand{\formatnumber}[[1]{ \ifnum#1=0 {\bf zero} \else \ifnum#1<2 {\bf one} \else {\bf two or more}\fi \fi }
! LaTeX Error: Float(s) lost. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.2085 \end{figure} ? [34] ! LaTeX Error: This may be a LaTeX bug. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help.
I got this message when I had a figure at the start of a \subsection with no text before it. Moving the figure down a bit so that some text appeared before it in the input file fixed this.
2 pages link to LaTeXNotes: