The easiest way to explain what I would like to have is to show the desired output
and I would like to get this by writing something like:
\begin{document}
Draw point B \STEP{drawb}. Connect A and B \STEP{connectab}. Draw point A \STEP{drawa}.
The correct order is \REF{drawa} then \REF{drawb} and finally
\REF{connectab}.
\end{document}
The references should be links, so I can jump there by clicking it.
How should \STEP and \REF be defined?
The example is oversimplified. The referenced parts of the text cannot be put into an enumerate environment or whatnot, they are inside some paragraphs and must remain there. I am using latex and the hyperref package.
Feel free to edit the title, I have no idea how to phrase it in consice way.




\REFcommands? – Heiko Oberdiek Oct 01 '12 at 22:04