From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Williams Subject: Exporting inline code sections Date: Mon, 13 Aug 2012 15:37:25 -0500 Message-ID: <21A5E1E970CD46459ECBE86D6CC4B28C67323C2F@spexch01.WindLogics.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T11OF-0006SQ-CT for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 16:37:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T11OC-000324-LS for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 16:37:31 -0400 Received: from shrimp.windlogics.com ([216.245.170.164]:10811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T11OC-00031y-Gh for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 16:37:28 -0400 Content-Language: en-US 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" Hi, I noticed that exporting a document to HTML when "exports" is set to "both"= gives an error. Here's an example document: --------------------- #+TITLE: Example Doc #+PROPERTY: exports both The result is src_R{3+4} =3D[1] 7=3D. --------------------- The stack trace looks like this: --------------------- Debugger entered--Lisp error: (void-function nil) nil("%flags") replace-regexp-in-string("%flags" nil "#+BEGIN_SRC R%flags\n3+4\n#+END_SR= C" t t) org-fill-template("#+BEGIN_SRC %lang%flags\n%body\n#+END_SRC" (("lang" . = "R") ("flags") ("body" . "3+4"))) org-babel-exp-code(("R" "3+4" ((:comments . "") (:shebang . "") (:cache .= "") (:padline . "") (:noweb . "") (:tangle . "") (:exports . "both") (:res= ults . "replace") (:session . "none")))) org-babel-exp-do-export(("R" "3+4" ((:comments . "") (:shebang . "") (:ca= che . "") (:padline . "") (:noweb . "") (:tangle . "") (:exports . "both") = (:results . "replace") (:session . "none"))) inline) org-babel-exp-inline-src-blocks(1 83) #[(pair) "=08\211=19A@)\n \"\207" [pair x start end] 4]((src org-babel-exp-inline-src-blocks)) mapcar(#[(pair) "=08\211=19A@)\n \"\207" [pair x start end] 4] ((lob org-babel-exp-lob-one-liners) (src org-= babel-exp-inline-src-blocks))) interblock(1 83) byte-code("\306\307\211\211\211\211\211\211\211\211\211\211=18=19=1A=1B= =1C=1D=1E+=1E,=1E-=1E.=1E/=1E0\310\311!\211=1E1\205) --------------------- I'm still at version 7.8.03, apologies if this has been addressed in a late= r version already. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the inte= nded recipient(s) and may contain confidential and privileged information. = Any unauthorized review, use, disclosure or distribution of any kind is str= ictly prohibited. If you are not the intended recipient, please contact the= sender via reply e-mail and destroy all copies of the original message. Th= ank you.