Re: Exporting user labels to non-latex backends

2024-05-17 Thread Stefano Ghirlanda
Thanks! I was just under the impression that #+name: was the preferred way of labeling things and I was surprised it did not work as I expected on some backends. I was surprised to see that #+name: eq:x gives a different result from \label{eq:x} as I understood the two things to be equivalent.

Re: Exporting user labels to non-latex backends

2024-05-17 Thread Ihor Radchenko
Stefano Ghirlanda writes: > There may be an issue with using #+name: labels when exporting to > non-latex backends. For example: > ... > #+name: eq:x > \begin{equation} >x = 1 > \end{equation} > > cref:eq:x > --- > > exports with a mix of org labels and user labels: > > --- > \begin{equation}