Nicolas Goaziou writes: > Rasmus writes: > >> Nicolas Goaziou writes: >> >>> However, "tab:orgtable1" or "sec:orgheadline1" are fine, IMO, since >>> "org" part can keep the label out of userland. >> >> That's fine with me as well. > > Fair enough. Do you want to take care of extending `org-latex--label' > appropriately? Can we have conditional dependence on texmathp? If so, maybe something like the attached, though the latex-environment part is ugly. Results areq pretty ugly. E.g. for headline, table, figure, latex-math env, latex-env: \ref{sec:orgheadline1}, \ref{tab:orgtable1}, \ref{fig:orgparagraph1}, \ref{eq:orglatexenvironment1}, \ref{orglatexenvironment2} —Rasmus -- Vote for proprietary math!