Re: [O] Problem with code blocks and new exporter

2013-02-27 Thread Richard Stanton
I thought I was probably being stupid. Thanks! -Original Message- From: Bastien Guerry [mailto:bastiengue...@gmail.com] On Behalf Of Bastien Sent: Wednesday, February 27, 2013 3:32 PM To: Richard Stanton Cc: emacs-orgmode@gnu.org Subject: Re: Problem with code blocks and new exporter Hi R

Re: [O] Problem with code blocks and new exporter

2013-02-27 Thread Bastien
Hi Richard, Richard Stanton writes: > Code snippet: > > #+begin_src python > a = 5 > #+end_src python ^^ You don't need this. Use this: #+begin_src python a = 5 #+end_src -- Bastien

[O] Problem with code blocks and new exporter

2013-02-27 Thread Richard Stanton
I'm having trouble exporting code blocks with the new exporter. I'm sure I've missed something obvious, but can anyone tell me why the following file doesn't work exporting to LaTeX or HTML? --- Code snippet: #+begin_src python a = 5 #+end_src python When I export this, I

Re: [O] problem with code blocks

2011-08-08 Thread Sebastien Vauban
Hi LanX, LanX wrote: > Thanks for the suggestion, but the problem persists! You see it's easier with an ECM... > Only replacing the "0" with an "a" helps. I don't have that problem. I guess it must have been fixed recently. It clearly is related to [0] being interpreted as a footnote reference.

Re: [O] problem with code blocks

2011-08-07 Thread LanX
Aloha Thomas, Thanks for the suggestion, but the problem persists! Only replacing the "0" with an "a" helps. -- #+LaTeX_CLASS: beamer #+startup: beamer * Lanx ** title #+BEGIN_Example perl grep { $_ ->[a] } # <- 0 fails X{1,2,3} X{1,2,3} X{1

Re: [O] problem with code blocks

2011-08-07 Thread Thomas S. Dye
LanX writes: > Hi > > hier a ECM which fails > > --- > #+LaTeX_CLASS: beamer > #+startup: beamer > > * title > > #+BEGIN_Example: perl > grep { $_ ->[0] } > X{1,2,3} X{1,2,3} X{1,2,3}; > #+END_Example: > --- > > originally I tried Begin_src but I wan

Re: [O] problem with code blocks

2011-08-07 Thread LanX
Sorry forgot to mention that I tried to export it to pdf or latex! 2011/8/8 LanX > Hi > > hier a ECM which fails > > --- > #+LaTeX_CLASS: beamer > #+startup: beamer > > * title > > #+BEGIN_Example: perl > grep { $_ ->[0] } > X{1,2,3} X{1,2,3} X{1,2,3}; > #+END_Example: > -

[O] problem with code blocks

2011-08-07 Thread LanX
Hi hier a ECM which fails --- #+LaTeX_CLASS: beamer #+startup: beamer * title #+BEGIN_Example: perl grep { $_ ->[0] } X{1,2,3} X{1,2,3} X{1,2,3}; #+END_Example: --- originally I tried Begin_src but I wanted to be sure that it has not to do with hi