Rasmus <rasmus.p...@gmail.com> writes: [...]
> Org populates every section with a label. I would > like to \ref or \vref these. I could predict \label's, but this a rather > fragile solution. When I use "Org-links" I get a text link suitable > for e.g. html. I want to use \ref to get a number. One solution is > > ,---- > | * section > | #+latex: \label{sec:sec} > `---- > > But there /must/ be a better way to this, eh? Slightly simpler: you can simply use \label{} and \ref{} directly in org text: --8<---------------cut here---------------start------------->8--- * Introduction \label{sec:intro} In section \ref{sec:intro}, we see that... --8<---------------cut here---------------end--------------->8--- Much cleaner than having to put in latex directives to org. Obviously, the label need not be on the headline; it could just as well be on the next line. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.646.g57806)