emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* user labels in beamer export
@ 2016-12-12 13:47 Eric S Fraga
  2016-12-12 20:04 ` Nicolas Goaziou
       [not found] ` <605a3360101d412aa4dcf2b0e76f47f0@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  0 siblings, 2 replies; 7+ messages in thread
From: Eric S Fraga @ 2016-12-12 13:47 UTC (permalink / raw)
  To: Emacs Org mode mailing list

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

I am having problems trying to use user defined labels in org export to
LaTeX (beamer specifically).

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?  I'm up to date with
git version as of a few minutes ago.

Thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.1-125-g93b43e

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-12-14 14:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).