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


[Orgmode] Beamer export questions/suggestions

2011-02-18 Thread Derek Thomas
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


Re: [Orgmode] [beamer] export a long source block as in several frames

2010-10-06 Thread Eric S Fraga
On Wed, 29 Sep 2010 18:37:50 +0800, zwz zhangwe...@gmail.com wrote:
 
 Now I am preparing a presentation using the beamer feature supported by
 org-mode.
 
 When exporting, I want some long source code (more than one frame can
 contain) to be arranged in several frames rather than partially
 invisible.
 
 I know there's once a discussion on the support of the frame option
 allowframebreaks, but I am thinking would it be good to add the option
 by default when exporting for the frame that contains some source code?

Can I suggest that, as it is so easy to add an option to an individual
frame [1], that it's better for this to be under direct user control?
I don't want framebreaks unless I've asked for them.  In any case, it
would be difficult to ascertain, from the org text directly, whether
the code is actually going to be part of the slide.  E.g. I use a lot
of babel in my slides and, more often than not, I don't export the
code, just the results.

cheers,
eric

Footnotes: 
[1]   key sequence C-c C-x p envarg TAB [allowframebreaks] RET
which you could obviously add to a single keystroke, via fset say

-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
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


[Orgmode] [beamer] export a long source block as in several frames

2010-09-29 Thread zwz
Now I am preparing a presentation using the beamer feature supported by
org-mode.

When exporting, I want some long source code (more than one frame can
contain) to be arranged in several frames rather than partially
invisible.

I know there's once a discussion on the support of the frame option
allowframebreaks, but I am thinking would it be good to add the option
by default when exporting for the frame that contains some source code?


___
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


[Orgmode] beamer export question

2010-08-27 Thread Robert Goldman
I have been outlining a beamer presentation using BEAMER_FRAME_LEVEL: 0
so that I could have some flexibility in deciding what is and isn't a frame.

I had a piece of my outline where there's a lot of detail, so the slides
are at level 4 ().  I was disappointed to find that the level 3
heading above the level 4 frames /also/ got turned into a frame,
although it was not flagged as one.

Is there some way to make the exporter turn this level three headline
into a subsubsection, instead of emitting a bogus frame?

Or should I just tag it as noexport?

thanks!
r

___
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

2010-08-20 Thread Carsten Dominik

Hi Antony,

thanks, this is fixed now (I hope...)

- Carsten

On Aug 19, 2010, at 11:35 PM, Antony Ware wrote:

Hi Carsten - thanks for looking into this. I pulled the latest  
version and the problem was still present.


Here's a minimal setup.

I run

/usr/bin/emacs -Q -l test.el example.org

with test.el containing

(setq load-path (cons ~/.emacs.d/site-lisp/org/lisp load-path))
(setq load-path (cons ~/.emacs.d/site-lisp/org/contrib/lisp load- 
path))

(require 'org-install)
;; The following lines are always needed.  Choose your own keys.
 (add-to-list 'auto-mode-alist '(\\.org\\' . org-mode))
 (global-set-key \C-cl 'org-store-link)
 (global-set-key \C-ca 'org-agenda)
 (global-set-key \C-cb 'org-iswitchb)

(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(case-fold-search nil))

and the example.org containing the org document at the end of http://orgmode.org/manual/Beamer-class-export.html#Beamer-class-export 
:


#+LaTeX_CLASS: beamer
 #+TITLE: Example Presentation
 #+AUTHOR: Carsten Dominik
 #+LaTeX_CLASS_OPTIONS: [presentation]
 #+BEAMER_FRAME_LEVEL: 2
 #+BEAMER_HEADER_EXTRA: \usetheme{Madrid}\usecolortheme{default}
 #+COLUMNS: %35ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Args)  
%4BEAMER_col(Col) %8BEAMER_extra(Ex)


 * This is the first structural section

 ** Frame 1 \\ with a subtitle
 *** Thanks to Eric  
Fraga  :BMCOL:B_block:

 :PROPERTIES:
 :BEAMER_env: block
 :BEAMER_envargs: C[t]
 :BEAMER_col: 0.5
 :END:
 for the first viable beamer setup in Org
 *** Thanks to everyone  
else   :BMCOL:B_block:

 :PROPERTIES:
 :BEAMER_col: 0.5
 :BEAMER_env: block
 :BEAMER_envargs: 2-
 :END:
 for contributing to the discussion
  This will be formatted as a beamer  
note  :B_note:

 ** Frame 2 \\ where we will not use columns
 ***  
Request   :B_block:

 Please test this stuff!
 :PROPERTIES:
 :BEAMER_env: block
 :END:
Cheers,

Tony



On 2010-08-19, at 3:06 PM, Carsten Dominik wrote:



On Aug 19, 2010, at 5:16 PM, Antony Ware wrote:


I've been having a problem exporting to beamer. I've now found the
problem and fixed it, but it was (to my mind) something pretty
obscure, and I think it might be of interest to the list, at least
as a salutary tale.

When I opened an org file such as the example beamer presentation
from the manual (section 12.6.6) and executed C-c C-e d, it kept
generating a .tex file with an article document class, instead of
the expected beamer class.

After a few days of frustrated searching through the manual and
tutorials, and this list, for any clues, I found some advice to run
something like

/usr/bin/emacs -Q -l test.el

with a series of versions of test.el progressively approximating
my .emacs file. I was expecting the problem to lie in one of my org-
or latex-specific settings, but eventually found the cause of the
problem to be that the variable

case-fold-search

was being set to nil (its default value) as one of my custom-set-
variables. I don't remember why. Anyway, according to the
information from C-h v, this makes the setting buffer-local, and for
some reason that fouled up the beamer export. When I commented out
that line, everything worked as advertised.

I'd be interested to hear from anyone who could shed light on why
that might be.


Well,

apparently Org does do a search that relies on case-fold-search
being t.  Normally when this is the case
I try to set this explicitly to t during the function call.
Can you make a minimal example with your setup and a small file which
reproduced the error?

- Carsten





- Carsten




___
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

2010-08-20 Thread Antony Ware
Hi Carsten - thanks for looking into this. I pulled the latest version and the 
problem was still present.

Here's a minimal setup.

I run

/usr/bin/emacs -Q -l test.el example.orghttp://example.org

with test.el containing

(setq load-path (cons ~/.emacs.d/site-lisp/org/lisp load-path))
(setq load-path (cons ~/.emacs.d/site-lisp/org/contrib/lisp load-path))
(require 'org-install)
;; The following lines are always needed.  Choose your own keys.
 (add-to-list 'auto-mode-alist '(\\.org\\'smb://.org//' . org-mode))
 (global-set-key \C-cl 'org-store-link)
 (global-set-key \C-ca 'org-agenda)
 (global-set-key \C-cb 'org-iswitchb)

(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(case-fold-search nil))

and the example.orghttp://example.org containing the org document at the end 
of http://orgmode.org/manual/Beamer-class-export.html#Beamer-class-export:


#+LaTeX_CLASS: beamer
 #+TITLE: Example Presentation
 #+AUTHOR: Carsten Dominik
 #+LaTeX_CLASS_OPTIONS: [presentation]
 #+BEAMER_FRAME_LEVEL: 2
 #+BEAMER_HEADER_EXTRA: \usetheme{Madrid}\usecolortheme{default}
 #+COLUMNS: %35ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Args) 
%4BEAMER_col(Col) %8BEAMER_extra(Ex)

 * This is the first structural section

 ** Frame 1 \\ with a subtitle
 *** Thanks to Eric Fraga  
:BMCOL:B_block:
 :PROPERTIES:
 :BEAMER_env: block
 :BEAMER_envargs: C[t]
 :BEAMER_col: 0.5
 :END:
 for the first viable beamer setup in Org
 *** Thanks to everyone else   
:BMCOL:B_block:
 :PROPERTIES:
 :BEAMER_col: 0.5
 :BEAMER_env: block
 :BEAMER_envargs: 2-
 :END:
 for contributing to the discussion
  This will be formatted as a beamer note  :B_note:
 ** Frame 2 \\ where we will not use columns
 *** Request   :B_block:
 Please test this stuff!
 :PROPERTIES:
 :BEAMER_env: block
 :END:

Cheers,

Tony



On 2010-08-19, at 3:06 PM, Carsten Dominik wrote:


On Aug 19, 2010, at 5:16 PM, Antony Ware wrote:

I've been having a problem exporting to beamer. I've now found the
problem and fixed it, but it was (to my mind) something pretty
obscure, and I think it might be of interest to the list, at least
as a salutary tale.

When I opened an org file such as the example beamer presentation
from the manual (section 12.6.6) and executed C-c C-e d, it kept
generating a .tex file with an article document class, instead of
the expected beamer class.

After a few days of frustrated searching through the manual and
tutorials, and this list, for any clues, I found some advice to run
something like

/usr/bin/emacs -Q -l test.el

with a series of versions of test.el progressively approximating
my .emacs file. I was expecting the problem to lie in one of my org-
or latex-specific settings, but eventually found the cause of the
problem to be that the variable

case-fold-search

was being set to nil (its default value) as one of my custom-set-
variables. I don't remember why. Anyway, according to the
information from C-h v, this makes the setting buffer-local, and for
some reason that fouled up the beamer export. When I commented out
that line, everything worked as advertised.

I'd be interested to hear from anyone who could shed light on why
that might be.

Well,

apparently Org does do a search that relies on case-fold-search
being t.  Normally when this is the case
I try to set this explicitly to t during the function call.
Can you make a minimal example with your setup and a small file which
reproduced the error?

- Carsten


___
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

2010-08-20 Thread Nick Dokos
Antony Ware aw...@ucalgary.ca wrote:

 Hi Carsten - thanks for looking into this. I pulled the latest version and 
 the problem was still present.
 
 Here's a minimal setup.
 
 I run
 
 /usr/bin/emacs -Q -l test.el example.org
 
 with test.el containing
 
 (setq load-path (cons ~/.emacs.d/site-lisp/org/lisp load-path))
 (setq load-path (cons ~/.emacs.d/site-lisp/org/contrib/lisp load-path))
 (require 'org-install)
 ;; The following lines are always needed.  Choose your own keys.
  (add-to-list 'auto-mode-alist '(\\.org\\' . org-mode))
  (global-set-key \C-cl 'org-store-link)
  (global-set-key \C-ca 'org-agenda)
  (global-set-key \C-cb 'org-iswitchb)
 
 (custom-set-variables
   ;; custom-set-variables was added by Custom.
   ;; If you edit it by hand, you could mess it up, so be careful.
   ;; Your init file should contain only one such instance.
   ;; If there is more than one, they won't work right.
  '(case-fold-search nil))
 
 and the example.org containing the org document at the end of 
 http://orgmode.org/manual/Beamer-class-export.html#Beamer-class-export:
 
 #+LaTeX_CLASS: beamer
  #+TITLE: Example Presentation
  #+AUTHOR: Carsten Dominik
  #+LaTeX_CLASS_OPTIONS: [presentation]
  #+BEAMER_FRAME_LEVEL: 2
  #+BEAMER_HEADER_EXTRA: \usetheme{Madrid}\usecolortheme{default}
  #+COLUMNS: %35ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Args) 
 %4BEAMER_col(Col) %8BEAMER_extra(Ex)
  
  * This is the first structural section
  
  ** Frame 1 \\ with a subtitle
  *** Thanks to Eric Fraga  
 :BMCOL:B_block:
  :PROPERTIES:
  :BEAMER_env: block
  :BEAMER_envargs: C[t]
  :BEAMER_col: 0.5
  :END:
  for the first viable beamer setup in Org
  *** Thanks to everyone else   
 :BMCOL:B_block:
  :PROPERTIES:
  :BEAMER_col: 0.5
  :BEAMER_env: block
  :BEAMER_envargs: 2-
  :END:
  for contributing to the discussion
   This will be formatted as a beamer note  :B_note:
  ** Frame 2 \\ where we will not use columns
  *** Request   :B_block:
  Please test this stuff!
  :PROPERTIES:
  :BEAMER_env: block
  :END:
 

I tried your minimal setup (thanks for providing that! it makes it so
easy to test) before and after a pull: it didn't work before but it
*did* work after the pull. I went through a make clean/make/M-x org-reload 
cycle -
maybe you forgot a step?

Version info:
GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2010-05-17 on 
gamaville.dokosmarshall.org
Org-mode version 7.01trans (release_7.01h.181.g4a02)

HTH,
Nick

___
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


[Orgmode] beamer export

2010-08-19 Thread Antony Ware
I've been having a problem exporting to beamer. I've now found the problem and 
fixed it, but it was (to my mind) something pretty obscure, and I think it 
might be of interest to the list, at least as a salutary tale. 

When I opened an org file such as the example beamer presentation from the 
manual (section 12.6.6) and executed C-c C-e d, it kept generating a .tex file 
with an article document class, instead of the expected beamer class.

After a few days of frustrated searching through the manual and tutorials, and 
this list, for any clues, I found some advice to run something like 

/usr/bin/emacs -Q -l test.el

with a series of versions of test.el progressively approximating my .emacs 
file. I was expecting the problem to lie in one of my org- or latex-specific 
settings, but eventually found the cause of the problem to be that the variable

case-fold-search

was being set to nil (its default value) as one of my custom-set-variables. I 
don't remember why. Anyway, according to the information from C-h v, this makes 
the setting buffer-local, and for some reason that fouled up the beamer export. 
When I commented out that line, everything worked as advertised.

I'd be interested to hear from anyone who could shed light on why that might be.

Cheers,

Tony
--
I am running Emacs 23.1.96 (9.0), and org-mode 7.01g. I'm using MacTeX 2009.


___
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

2010-08-19 Thread Carsten Dominik


On Aug 19, 2010, at 5:16 PM, Antony Ware wrote:

I've been having a problem exporting to beamer. I've now found the  
problem and fixed it, but it was (to my mind) something pretty  
obscure, and I think it might be of interest to the list, at least  
as a salutary tale.


When I opened an org file such as the example beamer presentation  
from the manual (section 12.6.6) and executed C-c C-e d, it kept  
generating a .tex file with an article document class, instead of  
the expected beamer class.


After a few days of frustrated searching through the manual and  
tutorials, and this list, for any clues, I found some advice to run  
something like


/usr/bin/emacs -Q -l test.el

with a series of versions of test.el progressively approximating  
my .emacs file. I was expecting the problem to lie in one of my org-  
or latex-specific settings, but eventually found the cause of the  
problem to be that the variable


case-fold-search

was being set to nil (its default value) as one of my custom-set- 
variables. I don't remember why. Anyway, according to the  
information from C-h v, this makes the setting buffer-local, and for  
some reason that fouled up the beamer export. When I commented out  
that line, everything worked as advertised.


I'd be interested to hear from anyone who could shed light on why  
that might be.


Well,

apparently Org does do a search that relies on case-fold-search
being t.  Normally when this is the case
I try to set this explicitly to t during the function call.
Can you make a minimal example with your setup and a small file which  
reproduced the error?


- Carsten


___
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

2010-08-19 Thread Carsten Dominik


On Aug 19, 2010, at 11:06 PM, Carsten Dominik wrote:



On Aug 19, 2010, at 5:16 PM, Antony Ware wrote:

I've been having a problem exporting to beamer. I've now found the  
problem and fixed it, but it was (to my mind) something pretty  
obscure, and I think it might be of interest to the list, at least  
as a salutary tale.


When I opened an org file such as the example beamer presentation  
from the manual (section 12.6.6) and executed C-c C-e d, it kept  
generating a .tex file with an article document class, instead of  
the expected beamer class.


After a few days of frustrated searching through the manual and  
tutorials, and this list, for any clues, I found some advice to run  
something like


/usr/bin/emacs -Q -l test.el

with a series of versions of test.el progressively approximating  
my .emacs file. I was expecting the problem to lie in one of my  
org- or latex-specific settings, but eventually found the cause of  
the problem to be that the variable


case-fold-search

was being set to nil (its default value) as one of my custom-set- 
variables. I don't remember why. Anyway, according to the  
information from C-h v, this makes the setting buffer-local, and  
for some reason that fouled up the beamer export. When I commented  
out that line, everything worked as advertised.


I'd be interested to hear from anyone who could shed light on why  
that might be.


Well,

apparently Org does do a search that relies on case-fold-search
being t.  Normally when this is the case
I try to set this explicitly to t during the function call.
Can you make a minimal example with your setup and a small file  
which reproduced the error?


In fact, I just did put a case-fold-search binding in places where I  
think it was missing.  Could pu pull the latest version and then try  
again *with your original setup*?


Thanks!

- Carsten

___
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