Skip to main content

forget_raw_refstep

Function forget_raw_refstep 

Source
pub fn forget_raw_refstep()
Expand description

Forgets the raw step locally, keeping it for renote_forgotten_raw_refstep: a listing starts, where listings makes \@currentlabel its line number’s (lstmisc.sty:1228 \lst@Init, and \refstepcounter{lstnumber} per line, :1225), so a \label in an unnumbered listing does not name a step made before it (a \refstepcounter{problem} then an lstlisting with (*\label{ln1}*): pdflatex the line’s 2; repro cross-references/listing_label_names_no_step_before_it.tex).