From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: problem with code blocks Date: Sun, 07 Aug 2011 13:57:52 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqDES-0007hn-HG for emacs-orgmode@gnu.org; Sun, 07 Aug 2011 19:58:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqDEO-0004CV-SX for emacs-orgmode@gnu.org; Sun, 07 Aug 2011 19:58:12 -0400 Received: from oproxy7-pub.bluehost.com ([67.222.55.9]:58231) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QqDEO-0004C1-Dk for emacs-orgmode@gnu.org; Sun, 07 Aug 2011 19:58:08 -0400 In-Reply-To: (LanX's message of "Mon, 8 Aug 2011 01:45:14 +0200") 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: LanX Cc: emacs-orgmode@gnu.org 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 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 Aloha Rolf, Try removing the colons after Example. The following exports fine here: * Lanx #+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 hth, Tom > Hihier a ECM which fails-----------------------#+LaTeX_CLASS: beamer#+sta= rtup: beamer* title#+BEGIN_Example: perl=C2=A0grep { $_ ->[0] } =C2=A0 X{1,= 2,3} X{1,2,3} X{1,2,3};#+END_Example: > ---------------------------originally I tried Begin_src but I wanted to b= e 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 > =C2=A0grep { $_ -> }=20 > =C2=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 appreciated!!!Chee= rs=C2=A0Rolf --=20 Thomas S. Dye http://www.tsdye.com