emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: user labels in beamer export
Date: Tue, 13 Dec 2016 10:03:10 +0000	[thread overview]
Message-ID: <8737hs404h.fsf@delle7240.chemeng.ucl.ac.uk> (raw)
In-Reply-To: 605a3360101d412aa4dcf2b0e76f47f0@HE1PR01MB1898.eurprd01.prod.exchangelabs.com

[-- Attachment #1: Type: text/plain, Size: 1083 bytes --]

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
  ,* <<introduction>> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

  parent reply	other threads:[~2016-12-13 14:38 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
     [not found] ` <605a3360101d412aa4dcf2b0e76f47f0@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-12-13 10:03   ` Eric S Fraga [this message]
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=8737hs404h.fsf@delle7240.chemeng.ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --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).