Re: [O] How to suppress \label commands in beamer export
Darlan Cavalcante Moreira writes: > Thanks Eric, > > The ideal case if if I could disable label creation and labels would be > created only when I specifically write a <>, for instance. But I > understand this is hard coded right now. Yes but it should be fairly easy to change (for somebody with a better understanding of the code than I ;-). > If I don't use overlays at all to change the blocks in the right side and > just put them into separates frames, then the figure in the left (when I > put one there) will slight change its vertical position. This is annoying > and it is the reason why overprint is used. The way I get around this type of problem is to [t] align the columns. For some cases, this might not be ideal (e.g. if the figure on the left is small in a vertical sense) but it is often more than "good enough" (TM). HTH, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.7 (release_7.7.239.gd856)
Re: [O] How to suppress \label commands in beamer export
Thanks Eric, The ideal case if if I could disable label creation and labels would be created only when I specifically write a <>, for instance. But I understand this is hard coded right now. If I don't use overlays at all to change the blocks in the right side and just put them into separates frames, then the figure in the left (when I put one there) will slight change its vertical position. This is annoying and it is the reason why overprint is used. I'll try to use overlayarea instead. The overlayarea environment requires two arguments, the width and the height of the area. Overprint is just a more user friendly way to use overlayarea where the width is "all space available" and the height is automatically determined as the height of the largest thing inside the overlayarea. Since overlayarea requires two arguments, like --8<---cut here---start->8--- \begin{overlayarea}{width}{height} \only<1> {lalala} \only<2> {lelele} \end{overlayarea} --8<---cut here---end--->8--- is there a suggested way to map oberlayarea into org-beamer-environments-extra? The only way I can think is to require the user to type "{width}{height}" in the headline (with the curly brackets) and use somethink like "\\begin{overprint}%h" in the template definition. -- Darlan At Fri, 02 Sep 2011 09:41:32 +0100, Eric S Fraga wrote: > > Darlan Cavalcante Moreira 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)
Re: [O] How to suppress \label commands in beamer export
Darlan Cavalcante Moreira 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)
[O] How to suppress \label commands in beamer export
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. In order to reproduce this, export the attached org file to a beamer presentation. Notice how Block 1 and Block 2 (as well as Block 3 and Block 4) have a lot of blank space between them. In fact, this makes Block 2 and Block 4 goes out of the frame. Now, in the .tex file that org created, erase all the \label lines and compile the file again. Notice how the blank space between the blocks changes and now Block 2 and Block 4 fit nicely inside each frame. Note: I use the overprint environment. The attached file has two lines that must be executed in order to make overprint work. Maybe this environment should be added to org-beamer-environments-default. -- Darlan test_org_beamer.org Description: Binary data