From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: user labels in beamer export Date: Tue, 13 Dec 2016 10:03:10 +0000 Message-ID: <8737hs404h.fsf@delle7240.chemeng.ucl.ac.uk> References: <87inqpz2by.fsf@ucl.ac.uk> <605a3360101d412aa4dcf2b0e76f47f0@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGoDU-00049D-Te for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 09:38:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGoDR-000850-OU for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 09:38:04 -0500 Received: from mail-db5eur01on0094.outbound.protection.outlook.com ([104.47.2.94]:56544 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGoDR-00084M-EY for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 09:38:01 -0500 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 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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=3D{sec:org3f12c9c}]{\label{org9590917} Intro} This is the first slide. \end{frame} \begin{frame}[label=3D{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 =2D-=20 : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.1-134-g727478 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWE/HXgAKCRDIkZPY//z2 fahNAJ47qtZ3wXS4pQQHRpTo3q5re6MdlACeLPnNs0Mi7xvdyF7nq3hcAcf94ZQ= =y7pf -----END PGP SIGNATURE----- --=-=-=--