emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] beamer export envargs for column not working properly
@ 2010-11-21  0:28 Eric S Fraga
  2010-11-21  8:39 ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Eric S Fraga @ 2010-11-21  0:28 UTC (permalink / raw)
  To: Emacs Org mode mailing list

Hi,

I am trying to create a beamer slide which has two columns.  The second
column should only appear after a while (the 6th uncovering operation).
In latex, I would do:

: \begin{column}<6->{0.4\textwidth}

say.  In org, I would expect to be able to get this latex code generated
by the following:

--8<---------------cut here---------------start------------->8---
***** column heading			      :BMCOL:B_block:
      :PROPERTIES:
      :BEAMER_col: 0.4
      :BEAMER_envargs: c<6->
      :BEAMER_extra: 
      :BEAMER_env: block
      :END:
--8<---------------cut here---------------end--------------->8---

according to the info documentation (Beamer class export).

However, this does not work: the "c<6->" is placed verbatim in
the \begin{block} that comes after the \begin{column}.  Furthermore, if
I ask for the heading to be ignored (instead of defining a block), the
envargs are lost completely!

Thanks,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.104.gf692)

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

* Re: [bug] beamer export envargs for column not working properly
  2010-11-21  0:28 [bug] beamer export envargs for column not working properly Eric S Fraga
@ 2010-11-21  8:39 ` Carsten Dominik
  2010-11-21  9:49   ` Eric S Fraga
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2010-11-21  8:39 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: Emacs Org mode mailing list

Hi Eric,

could you make me a slightly more complete example, with your beamer  
setup?
So a full test file that will show this behavior?

Thanks.

- Carsten

On Nov 21, 2010, at 1:28 AM, Eric S Fraga wrote:

> Hi,
>
> I am trying to create a beamer slide which has two columns.  The  
> second
> column should only appear after a while (the 6th uncovering  
> operation).
> In latex, I would do:
>
> : \begin{column}<6->{0.4\textwidth}
>
> say.  In org, I would expect to be able to get this latex code  
> generated
> by the following:
>
> --8<---------------cut here---------------start------------->8---
> ***** column heading			      :BMCOL:B_block:
>      :PROPERTIES:
>      :BEAMER_col: 0.4
>      :BEAMER_envargs: c<6->
>      :BEAMER_extra:
>      :BEAMER_env: block
>      :END:
> --8<---------------cut here---------------end--------------->8---
>
> according to the info documentation (Beamer class export).
>
> However, this does not work: the "c<6->" is placed verbatim in
> the \begin{block} that comes after the \begin{column}.  Furthermore,  
> if
> I ask for the heading to be ignored (instead of defining a block), the
> envargs are lost completely!
>
> Thanks,
> eric
>
> -- 
> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
> : using Org-mode version 7.3 (release_7.3.104.gf692)
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: [bug] beamer export envargs for column not working properly
  2010-11-21  8:39 ` Carsten Dominik
@ 2010-11-21  9:49   ` Eric S Fraga
  2010-11-26  7:50     ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Eric S Fraga @ 2010-11-21  9:49 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Emacs Org mode mailing list

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

Carsten Dominik <carsten.dominik@gmail.com> writes:

> Hi Eric,
>
> could you make me a slightly more complete example, with your beamer
> setup?  So a full test file that will show this behavior?
>
> Thanks.
>
> - Carsten

Sure.  The attached example has a single slide.  With the file as it is,
i.e. with an ignored heading for the second column of the slide, the
slide overlay directive is thrown away upon export.  

If you change the headline of the second column to be a block heading
(C-c C-b b), on export the overlay directive is not thrown away but it
is attached to the block and not the column.  This is okay in that
accomplishes the same purpose (in this case but not others); however, it
does not match the documentation in any case.

Thanks,
eric


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: single slide org file --]
[-- Type: text/orgmode, Size: 1256 bytes --]

#+TITLE: Presentation with Org-Mode and Beamer 
#+AUTHOR:    Eric S Fraga
#+EMAIL:     e.fraga@ucl.ac.uk
#+DATE:      2010.09.05 00:42:34
#+DESCRIPTION: 
#+KEYWORDS: 
#+LANGUAGE:  en
#+OPTIONS:   H:5 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:nil
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:   
#+LINK_HOME: 

#+startup: oddonly
#+startup: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation]

#+BEAMER_FRAME_LEVEL: 2

#+startup: fninline

#+COLUMNS: %40ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra)

* Introduction
*** A slide with two columns
***** Some notes					      :BMCOL:B_block:
      :PROPERTIES:
      :BEAMER_col: 0.5
      :BEAMER_env: block
      :END:
      - some text
      - and some more
      - and yet more
***** More notes				      :BMCOL:B_ignoreheading:
      :PROPERTIES:
      :BEAMER_col: 0.5
      :BEAMER_env: ignoreheading
      :BEAMER_envargs: c<2->
      :END:
      - some important notes
      - and even more important ones
      - and some maths: $\sin^{2}(x)$

[-- Attachment #3: Type: text/plain, Size: 117 bytes --]


-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.104.gf692)

[-- Attachment #4: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: [bug] beamer export envargs for column not working properly
  2010-11-21  9:49   ` Eric S Fraga
@ 2010-11-26  7:50     ` Carsten Dominik
  2010-11-26  8:19       ` Eric S Fraga
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2010-11-26  7:50 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: Emacs Org mode mailing list


On Nov 21, 2010, at 10:49 AM, Eric S Fraga wrote:

> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> Hi Eric,
>>
>> could you make me a slightly more complete example, with your beamer
>> setup?  So a full test file that will show this behavior?
>>
>> Thanks.
>>
>> - Carsten
>
> Sure.  The attached example has a single slide.  With the file as it  
> is,
> i.e. with an ignored heading for the second column of the slide, the
> slide overlay directive is thrown away upon export.
>
> If you change the headline of the second column to be a block heading
> (C-c C-b b), on export the overlay directive is not thrown away but it
> is attached to the block and not the column.  This is okay in that
> accomplishes the same purpose (in this case but not others);  
> however, it
> does not match the documentation in any case.

Hi Eric,

thank you for the more detailed example.  I think this should
be fixed now.  The documentation was not really wrong, because
it only mentioned c[...] and not c<...>.  But I agree that
there is not reason to no allow this.

Thanks, Eric, for your continuous effort to help improving Org!
We would not have BEAMER export without you, I think - a fact
that is now mentioned in the manual, in the acknowledgement
section.	

Cheers

- Carsten

>
> Thanks,
> eric
>
> <beamertest.org>
> -- 
> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
> : using Org-mode version 7.3 (release_7.3.104.gf692)

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

* Re: [bug] beamer export envargs for column not working properly
  2010-11-26  7:50     ` Carsten Dominik
@ 2010-11-26  8:19       ` Eric S Fraga
  0 siblings, 0 replies; 5+ messages in thread
From: Eric S Fraga @ 2010-11-26  8:19 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Emacs Org mode mailing list

Carsten Dominik <carsten.dominik@gmail.com> writes:

[...]

> Hi Eric,
>
> thank you for the more detailed example.  I think this should
> be fixed now.  The documentation was not really wrong, because
> it only mentioned c[...] and not c<...>.  But I agree that
> there is not reason to no allow this.

Very true!  But thanks for extending this.  I'll try it out later when I
get back to my slides.

> Thanks, Eric, for your continuous effort to help improving Org!
> We would not have BEAMER export without you, I think - a fact
> that is now mentioned in the manual, in the acknowledgement
> section.	

You're very welcome but my contributions are minimal in comparison!  And
it's easy to contribute from such a good starting point.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.99.g9db0.dirty)

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

end of thread, other threads:[~2010-11-26  8:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-21  0:28 [bug] beamer export envargs for column not working properly Eric S Fraga
2010-11-21  8:39 ` Carsten Dominik
2010-11-21  9:49   ` Eric S Fraga
2010-11-26  7:50     ` Carsten Dominik
2010-11-26  8:19       ` Eric S Fraga

Code repositories for project(s) associated with this 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).