Hello,

Eric S Fraga <e.fr...@ucl.ac.uk> writes:

> If I have the following org,
>
> #+begin_src org
>   ,#+TITLE: LaTeX export minimal test
>   ,* Intro
>   :PROPERTIES:
>   :CUSTOM_ID: introduction
>   :END:
>   This is the first slide.
>   ,* Summary
>   As we saw on slide [[#introduction]], ...
> #+end_src
>
>
> I get the following LaTeX generated:
>
> #+begin_src latex
>   \begin{frame}[label=introduction]{Intro}
>   This is the first slide.
>   \end{frame}
>
>   \begin{frame}[label={sec:orgdc0a2c3}]{Summary}
>   As we saw on slide \ref{sec-1}, \ldots{}
>   \end{frame}
> #+end_src
>
> (elided for size).  Note that internally generated labels of the form
> orgXXXXXX are not generated but instead org generates "sec-1" instead of
> using \ref{introduction}.
>
> 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.

Regards,

-- 
Nicolas Goaziou

Reply via email to