No labels are generated in LaTeX mode unless --section is used.
This causes a LaTeX warning and ??? is output in the processed document.
In HTML mode it works correctly though.
In the attached example, no label is generated for f2, causing the cross-reference from f1 to fail.
Command-line:
robodoc --src labelbug.txt --doc labelbug --singlefile --latex --nopre
Example input file for bug with missing labels