From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: user labels in beamer export Date: Mon, 12 Dec 2016 21:04:00 +0100 Message-ID: <87r35cap8v.fsf@nicolasgoaziou.fr> References: <87inqpz2by.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGWpO-0006Ow-Hv for emacs-orgmode@gnu.org; Mon, 12 Dec 2016 15:04:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGWpK-0001Pr-Tc for emacs-orgmode@gnu.org; Mon, 12 Dec 2016 15:04:02 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:58702) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGWpK-0001PR-Ms for emacs-orgmode@gnu.org; Mon, 12 Dec 2016 15:03:58 -0500 Received: from saiph (unknown [IPv6:2a03:a0a0:0:4301::b3c]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id E6E2A172093 for ; Mon, 12 Dec 2016 21:03:55 +0100 (CET) In-Reply-To: <87inqpz2by.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Mon, 12 Dec 2016 13:47:29 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Emacs Org mode mailing list Hello, Eric S Fraga 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