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  wrote:

> Derek Thomas  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 Eric S Fraga
Derek Thomas  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: 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,   wrote:
> Hi Eric,
>
> Thanks for that useful bit of info!
>
> Chris
> On Feb 23, 2011 11:47am, Eric S Fraga  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,   wrote:
> Hi Eric,
>
> Thanks for that useful bit of info!
>
> Chris
> On Feb 23, 2011 11:47am, Eric S Fraga  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: 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  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: [Orgmode] Beamer export questions/suggestions

2011-02-23 Thread Eric S Fraga
Derek Thomas  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: [Orgmode] Beamer export questions/suggestions

2011-02-23 Thread Eric S Fraga
Chris Malone  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-18 Thread Chris Malone
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:

==
# setup the themes I want to use for the overall look of the beamer talk
#+BEAMER_HEADER_EXTRA:
\usetheme{Madrid}\usecolortheme{default}


* Testing default
style
  test this is in madrid
format


#+begin_beamer


\end{frame}


\begin{frame}[plain]

  this uses beamer syntax and should be
plain
\end{frame}


#+end_beamer

==

The =\end{frame}= line is important because =org-mode= doesn't know how/when
to end the previous frame - it either looks for another heading (i.e. a "*")
or it simply adds an =\end{frame}= before the =\end{document}= upon export.

Ideally, it would be nice to be able to add an =ATTR_LATEX: plain= sort of
tag right before a heading to indicate that this particular frame should
have the =plain= beamer style.  I don't think this is currently done, but it
should be fairly straight forward to implement.  If I have time this weekend
to actually learn more than my rudimentary amount of elisp, then I might try
to make a patch for this feature.  Maybe it should be an =ATTR_BEAMER:= line
instead...

HTH,
Chris
On Fri, Feb 18, 2011 at 3:20 PM, Derek Thomas wrote:

> Before I get to my questions, I would like to commend all those
> involved in the development of org-mode.  I'm a new user and I've been
> amazed by the features, utility, and the support/documentation
> provided.
>
> My first question relates to frames in beamer export.  Is it possible
> to set a tag or otherwise indicate that a frame should appear without
> a title, or as an empty frame (no header or footer)?  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,
>
> Derek
>
> ___
> 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