From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Bug in export of call lines Date: Mon, 10 Mar 2014 07:14:13 -1000 Message-ID: References: <87ha768d12.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN3mc-0000TQ-Q3 for emacs-orgmode@gnu.org; Mon, 10 Mar 2014 13:14:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WN3mT-0006sJ-WF for emacs-orgmode@gnu.org; Mon, 10 Mar 2014 13:14:34 -0400 Received: from oproxy14-pub.mail.unifiedlayer.com ([67.222.51.224]:34228) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1WN3mT-0006rC-Pv for emacs-orgmode@gnu.org; Mon, 10 Mar 2014 13:14:25 -0400 In-Reply-To: <87ha768d12.fsf@gmail.com> (Nicolas Goaziou's message of "Mon, 10 Mar 2014 13:16:09 +0100") 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: Nicolas Goaziou Cc: Org-mode Aloha Nicolas, Nicolas Goaziou writes: > Hello, > > tsd@tsdye.com (Thomas S. Dye) writes: > >> I've been dusting off a draft paper written when the new export >> framework was still in contrib. Now that I've brought the file >> up-to-date so that it exports asynchronously again, I'm getting an error >> that wasn't there before. > > [...] > >> Note the new line after each call result and the premature termination >> of the {description} environment. > > It would help to see the source of "axe-x-section" and "axe-wt". Do they > insert spurious newline characters? > > Also, you can call (org-export-execute-babel-code) to get what is really > parsed once Babel code is expanded. That's a big help. Thanks. It appears that executing the R code block does insert a newline. This must be the behavior that changed. executing R code block (axe-x-section)... Wrote /var/folders/fp/mgkcqpy17clb6dzh3_xgs0n80000gn/T/babel-78240Cke/ob-= input-78240NlJ "3.7=C2=A0\\texttimes=C2=A02 " executing Emacs-Lisp code block... (results (quote "3.7=C2=A0\\texttimes=C2=A02 ")) Here is the source code: *** Cross-section of a particular tool, in cm #+name: axe-x-section #+header: :var t=3Dfinal-axe-table #+header: :var a=3D"3141" #+header: :results raw #+BEGIN_SRC R w <- t[t[,2]=3D=3Da,16]/10 th <- t[t[,2]=3D=3Da,18]/10 paste0(w, '=C2=A0\\texttimes=C2=A0', th) #+END_SRC #+results: axe-x-section 3.9=C2=A0\texttimes=C2=A02 All the best, Tom --=20 T.S. Dye & Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com