From mboxrd@z Thu Jan 1 00:00:00 1970 From: LanX Subject: Re: problem with code blocks Date: Mon, 8 Aug 2011 01:48:32 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd154aadb010204a9f2f753 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqD58-0006SY-Dm for emacs-orgmode@gnu.org; Sun, 07 Aug 2011 19:48:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqD57-0002PP-Cf for emacs-orgmode@gnu.org; Sun, 07 Aug 2011 19:48:34 -0400 Received: from mail-pz0-f44.google.com ([209.85.210.44]:38100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqD57-0002PL-83 for emacs-orgmode@gnu.org; Sun, 07 Aug 2011 19:48:33 -0400 Received: by pzk36 with SMTP id 36so1499901pzk.17 for ; Sun, 07 Aug 2011 16:48:32 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --000e0cd154aadb010204a9f2f753 Content-Type: text/plain; charset=ISO-8859-1 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: > --------------------------- > > originally I tried Begin_src but I wanted to be sure that it has not to do > with highlighting. > > I get the message "if: Wrong type argument: stringp, nil" > > But deleting the [0] solves the problem > > ----------------------------- > #+BEGIN_Example: perl > grep { $_ -> } > X{1,2,3} X{1,2,3} X{1,2,3}; > #+END_Example: > --------------------------- > > Does org try to find footnotes in code blocks? > > Any help appreciated!!! > > Cheers > Rolf > --000e0cd154aadb010204a9f2f753 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sorry forgot to mention that I tried to export it to pdf or latex!

<= div class=3D"gmail_quote">2011/8/8 LanX <lanx.perl@googlemail.com>
<= blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 2= 04, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi

hier a ECM which fails

-----------------------
#+LaTeX_= CLASS: beamer
#+startup: beamer

* title

#+BEGIN_Example: p= erl
=A0grep { $_ ->[0] }
=A0 X{1,2,3} X{1,2,3} X{1,2,3};
#+END= _Example:
---------------------------

originally I tried Begin_src but I wante= d to be sure that it has not to do with highlighting.

I get the mess= age "if: Wrong type argument: stringp, nil"

But deleting t= he [0] solves the problem

-----------------------------
#+BEGIN_Example: perl
=A0grep { $_ -> }
=A0 X{1,2,3} X{1,2,3} X{1,2,3};
#+END_Example:
---------------------------

Does org try to find footnotes in code blocks?

Any help apprecia= ted!!!

Cheers
=A0Rolf

--000e0cd154aadb010204a9f2f753--