Re: [Orgmode] Beamer export questions/suggestions

2011-02-23 Thread Eric S Fraga
Chris Malone chris.m.mal...@gmail.com writes:

 Hi Derek,

 Re your first question:

 One simple, albeit somewhat hackish way of achieving this would be to
 utilize =org-mode='s #+begin_beamer ... #+end_beamer syntax with =beamer='s
 frame option =plain=   For example:

You don't need to do this.  You can pass options to frames using the
BEAMER_envargs property:

#+begin_src org
** A plain slide
   :PROPERTIES:
   :BEAMER_envargs: [plain]
   :END:
   - a list
   - with few entries
   - but more than I thought
#+end_src

I use this all the time for options such as shrink and allowframebreaks.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.528.gd457)

___
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


Re: [Orgmode] Beamer export questions/suggestions

2011-02-23 Thread Eric S Fraga
Derek Thomas derekctho...@gmail.com writes:

[...]

 My second
 question may be more of a suggestion if the feature is not available.
 I currently use the testpos package in latex to position my figures in
 beamer.  Is there a native org method to specify figure location in
 org-beamer?  If not, it could be a nice feature for those preparing
 presentations in org especially if it had the option to specify
 quadrant location and relative size in a simple manner.  Thanks again,

Well, you can use latex directly in org, either with 

#+begin_latex
\textpos{...}
#+end_latex

or with

#+latex: \textpos{...}

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.528.gd457)

___
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


Re: Re: [Orgmode] Beamer export questions/suggestions

2011-02-23 Thread chris . m . malone

Hi Eric,

Thanks for that useful bit of info!

Chris
On Feb 23, 2011 11:47am, Eric S Fraga e.fr...@ucl.ac.uk wrote:

Chris Malone chris.m.mal...@gmail.com writes:





 Hi Derek,







 Re your first question:







 One simple, albeit somewhat hackish way of achieving this would be to


 utilize =org-mode='s #+begin_beamer ... #+end_beamer syntax with  
=beamer='s



 frame option =plain= For example:





You don't need to do this. You can pass options to frames using the



BEAMER_envargs property:





#+begin_src org



** A plain slide



:PROPERTIES:



:BEAMER_envargs: [plain]



:END:



- a list



- with few entries



- but more than I thought



#+end_src





I use this all the time for options such as shrink and allowframebreaks.





--



: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1



: using Org-mode version 7.4 (release_7.4.528.gd457)


___
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


Re: Re: [Orgmode] Beamer export questions/suggestions

2011-02-23 Thread Derek Thomas
Eric and Chris,

Thanks for your responses.

Eric,

I'm currently using latex directly in org, but this method doesn't
play nicely with export to a regular tex file.  Would it be possible
to use something similar to this?

#+begin_src org
** A plain slide
*** [path/to/fig]
  :PROPERTIES:
  :FIGURE_envargs:
  Figure placement options
  :END:
#+end_src

The ability to specify placement in beamer would allow figures to be
placed correctly in beamer slides and also display inline for general
org export.  Thanks for your help,

Derek
On Wed, Feb 23, 2011 at 12:24 PM,  chris.m.mal...@gmail.com wrote:
 Hi Eric,

 Thanks for that useful bit of info!

 Chris
 On Feb 23, 2011 11:47am, Eric S Fraga e.fr...@ucl.ac.uk wrote:
 Chris Malone chris.m.mal...@gmail.com writes:



  Hi Derek,

 

  Re your first question:

 

  One simple, albeit somewhat hackish way of achieving this would be to

  utilize =org-mode='s #+begin_beamer ... #+end_beamer syntax with
  =beamer='s

  frame option =plain=   For example:



 You don't need to do this.  You can pass options to frames using the

 BEAMER_envargs property:



 #+begin_src org

 ** A plain slide

   :PROPERTIES:

   :BEAMER_envargs: [plain]

   :END:

   - a list

   - with few entries

   - but more than I thought

 #+end_src



 I use this all the time for options such as shrink and allowframebreaks.



 --

 : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1

 : using Org-mode version 7.4 (release_7.4.528.gd457)

 ___
 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





On Wed, Feb 23, 2011 at 12:24 PM,  chris.m.mal...@gmail.com wrote:
 Hi Eric,

 Thanks for that useful bit of info!

 Chris
 On Feb 23, 2011 11:47am, Eric S Fraga e.fr...@ucl.ac.uk wrote:
 Chris Malone chris.m.mal...@gmail.com writes:



  Hi Derek,

 

  Re your first question:

 

  One simple, albeit somewhat hackish way of achieving this would be to

  utilize =org-mode='s #+begin_beamer ... #+end_beamer syntax with
  =beamer='s

  frame option =plain=   For example:



 You don't need to do this.  You can pass options to frames using the

 BEAMER_envargs property:



 #+begin_src org

 ** A plain slide

   :PROPERTIES:

   :BEAMER_envargs: [plain]

   :END:

   - a list

   - with few entries

   - but more than I thought

 #+end_src



 I use this all the time for options such as shrink and allowframebreaks.



 --

 : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1

 : using Org-mode version 7.4 (release_7.4.528.gd457)

 ___
 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



___
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


Re: [Orgmode] Beamer export questions/suggestions

2011-02-23 Thread Eric S Fraga
Derek Thomas derekctho...@gmail.com writes:

 Eric and Chris,

 Thanks for your responses.

 Eric,

 I'm currently using latex directly in org, but this method doesn't
 play nicely with export to a regular tex file.

Why not?  It would be helpful if you could post a minimal example of
what does not work.

  Would it be possible
 to use something similar to this?

 #+begin_src org
 ** A plain slide
 *** [path/to/fig]
   :PROPERTIES:
   :FIGURE_envargs:
   Figure placement options
   :END:
 #+end_src

not as such but you can do the following:

#+begin_src org
** a plain slide
#+attr_latex: width=[0.8\textwidth]
[[file:figure.png]]
#+end_src

and the figure should be included just fine.

-- 
Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)

___
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


Re: [Orgmode] Beamer export questions/suggestions

2011-02-23 Thread Chris Malone
Hi Derek,

In addition to Eric's response, if you wanted to have, say, text on the left
side of the beamer frame and an image on the right, you can use beamer
columns:

#+begin_src org
** Why do we
care?
*** block
:B_ignoreheading:BMCOL:

:PROPERTIES:
:BEAMER_env:
ignoreheading
:BEAMER_col:
0.35

:END:
+ \textcolor{green}{They are
explosions!}
+ Unique location for rp-process
burning
+ Flame propagation under extreme
conditions
+ \alert{Constrain EOS for dense
matter}
*** jim_figure
:B_ignoreheading:BMCOL:

:PROPERTIES:
:BEAMER_env:
ignoreheading
:BEAMER_col:
0.8

:END:
#+ATTR_LaTeX:
width=\textwidth
./images/jim_diagram2.png

\\ \tiny \flushright Lattimer, J.M., \textit{ApSS}, \textbf{308}, 371 (2007)
#+end_src

You can enter in the =:PROPERTIES: yourself, or you can hit =C-c C-b= on the
line containing the particular block and select it as a column.  You can
find more information here:
http://orgmode.org/manual/Beamer-class-export.html

HTH,

Chris

On Wed, Feb 23, 2011 at 2:56 PM, Eric S Fraga e.fr...@ucl.ac.uk wrote:

 Derek Thomas derekctho...@gmail.com writes:

  Eric and Chris,
 
  Thanks for your responses.
 
  Eric,
 
  I'm currently using latex directly in org, but this method doesn't
  play nicely with export to a regular tex file.

 Why not?  It would be helpful if you could post a minimal example of
 what does not work.

   Would it be possible
  to use something similar to this?
 
  #+begin_src org
  ** A plain slide
  *** [path/to/fig]
:PROPERTIES:
:FIGURE_envargs:
Figure placement options
:END:
  #+end_src

 not as such but you can do the following:

 #+begin_src org
 ** a plain slide
 #+attr_latex: width=[0.8\textwidth]
 [[file:figure.png]]
 #+end_src

 and the figure should be included just fine.

 --
 Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)

___
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