6

I recently upgraded my org-mode from 8.2 to 8.3. So far all works well, but I ran into the following problem: when creating a LaTeX Beamer presentation in org-mode I used to be able to do the following to get a block without a title:

** :B_block: :PROPERTIES: :BEAMER_env: block :END: Text in block without title 

With Org 8.3 I get the text :B_block: as title of the block instead of not title at all.

Here is a MWE:

#+OPTIONS: toc:nil #+TITLE: A title #+DATE: 2015-09-17 #+AUTHOR: The Presenter #+LATEX_CLASS: beamer #+BEAMER_THEME: Madrid # The following line gives access to the C-c C-b key for headings #+startup: beamer * Introduction ** A block :B_block: :PROPERTIES: :BEAMER_env: block :END: Some text in the block. ** :B_block: :PROPERTIES: :BEAMER_env: block :END: Text in block without title 

With Org 8.2 this gives the following slide: What I used to get and what I like to have

And Org 8.3 gives: What I currently get

I didn't find anything related in the Changelog. Did I miss something or have I found a bug? Or have I made some practical use of a bug that has now been 'fixed' ;-)?

2
  • 3
    It is a "feature". See this thread in the org-mode mailing list: lists.gnu.org/archive/html/emacs-orgmode/2015-08/msg00768.html Commented Sep 18, 2015 at 20:26
  • @rvf0068 actually, in the thread you point, a workaround is suggested using \phantom{dummy} ; but I can't manage to find how to use it exactly :-/ Commented Jan 10, 2017 at 21:24

2 Answers 2

3

I think it works ok if you remove the :B_block: from your headlines.

* Introduction ** A block :PROPERTIES: :BEAMER_env: block :END: Some text in the block. ** :PROPERTIES: :BEAMER_env: block :END: Text in block without title 

leads to:

enter image description here

1
  • Indeed, removing the :B_block: works, in principle. However, in my .emacs I have added a before-save-hook that cleans whitespace. And for your suggestion to work, I need at least one space after the ** header. So, while your suggestion is OK in general, I would like to find a way that works with my setup. Commented Sep 21, 2015 at 19:37
2

The answer that @Lgen gave works as far as the export is concerned, but it breaks visibility cycling (the headline level is lifted). As the thread on the org-mode mailing list suggests, empty headlines are considered evil. So I'd propose to insert something that has no effects export-wise, for example @@latex:@@. With this, you can also keep the tag, which I find useful as a visual marker of blocks in beamer.

** @@latex:@@ :B_block: :PROPERTIES: :BEAMER_env: block :END: Text in block without title 

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.