From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: user labels in beamer export
Date: Mon, 12 Dec 2016 21:04:00 +0100 [thread overview]
Message-ID: <87r35cap8v.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87inqpz2by.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Mon, 12 Dec 2016 13:47:29 +0000")
Hello,
Eric S Fraga <e.fraga@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
next prev parent reply other threads:[~2016-12-12 20:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-12 13:47 user labels in beamer export Eric S Fraga
2016-12-12 20:04 ` Nicolas Goaziou [this message]
[not found] ` <605a3360101d412aa4dcf2b0e76f47f0@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-12-13 10:03 ` Eric S Fraga
2016-12-13 21:15 ` Nicolas Goaziou
[not found] ` <61aec4fe163c49adbbb2ea2830e52b3f@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-12-14 10:23 ` Eric S Fraga
2016-12-14 12:17 ` Nicolas Goaziou
[not found] ` <0f200b5f27ff4761a441e233197e9685@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-12-14 14:29 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r35cap8v.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).