On Monday, 12 Dec 2016 at 20:04, Nicolas Goaziou wrote: [...] >> I have org-latex-prefer-user-labels set to t. >> >> Am I doing something wrong or is this a bug in org? > > The latter. I fixed it on maint. Thank you. Thank you! This now works (using CUSTOM_ID). Now for another related question. Should the following work? #+begin_src org ,#+TITLE: LaTeX export minimal test ,* <> Intro This is the first slide. ,* Summary As we saw on slide [[introduction]], ... #+end_src I get this LaTeX code in this case, again with org-latex-prefer-user-labels set to t. #+begin_src latex \begin{frame}[label={sec:org3f12c9c}]{\label{org9590917} Intro} This is the first slide. \end{frame} \begin{frame}[label={sec:orgfd595e1}]{Summary} As we saw on slide \ref{introduction}, \ldots{} \end{frame} #+end_src Should probably have asked both questions at the same time but did not want to confuse the issue! Thanks again, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.1-134-g727478