From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Darlan Cavalcante Moreira <darcamo@gmail.com>
Cc: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: How to suppress \label commands in beamer export
Date: Fri, 02 Sep 2011 09:41:32 +0100 [thread overview]
Message-ID: <87ehzzuyir.fsf@ucl.ac.uk> (raw)
In-Reply-To: <4e5fbabd.a184ec0a.4c77.0671@mx.google.com> (Darlan Cavalcante Moreira's message of "Thu, 01 Sep 2011 14:02:49 -0300")
Darlan Cavalcante Moreira <darcamo@gmail.com> writes:
> I'm trying to convert a presentation I've done in beamer to org-mode. I'm
> going to improve this presentation and add more stuff to it. I'd like to do
> it in org-mode.
>
> However, org adds \label{sec-numbers} in the generated tex file after all
> environments and this adds some blank space between the blocks in the final
> presentation. I understand this extra blank space is more like a latex
> issue, but I couldn't find a way to stop org-mode from creating the \label
> lines.
Having looked at the code, there definitely does not appear to be any
way to turn these off. It would be straightforward to modify the code
--8<---------------cut here---------------start------------->8---
(when label
(insert (mapconcat (lambda (l) (format "\\label{%s}" l))
label-list "\n") "\n"))
--8<---------------cut here---------------end--------------->8---
or, more likely, the code in =org-export-latex-subcontent= which
actually defines =label=? This could be made optional depending on the
num: #+OPTION, say? But it may not be straightforward because labels
are not only due to sectioning, if I understand the code correctly...
However, the problem with spacing appears to be because of some
interaction between labels and overprint. I wonder if maybe there is an
easier way (in the meantime) to accomplish what you want without
overprint? Just curious...
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.7 (release_7.7.238.gc51b7)
next prev parent reply other threads:[~2011-09-02 9:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-01 17:02 How to suppress \label commands in beamer export Darlan Cavalcante Moreira
2011-09-02 8:41 ` Eric S Fraga [this message]
2011-09-02 12:14 ` Darlan Cavalcante Moreira
2011-09-02 12:51 ` 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=87ehzzuyir.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=darcamo@gmail.com \
--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).