From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Restore raw output in LaTeX export from in-line code block Date: Sun, 29 Sep 2013 13:46:13 -0600 Message-ID: <87mwmvqum2.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQMwo-0002v7-KO for emacs-orgmode@gnu.org; Sun, 29 Sep 2013 15:46:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VQMwj-0002xy-74 for emacs-orgmode@gnu.org; Sun, 29 Sep 2013 15:46:30 -0400 Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]:51950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQMwi-0002xk-Qu for emacs-orgmode@gnu.org; Sun, 29 Sep 2013 15:46:25 -0400 Received: by mail-pa0-f42.google.com with SMTP id lj1so4947663pab.15 for ; Sun, 29 Sep 2013 12:46:23 -0700 (PDT) In-Reply-To: (Liam Healy's message of "Sat, 28 Sep 2013 15:19:23 -0400") 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: Liam Healy Cc: Org-mode mailing list Liam Healy writes: > I noticed that raw results from in-line code blocks were disappearing in > the new LaTeX exporter, and bisected the repo to the change 7117ad4f92. I > have created the attached patch to fix the problem and restore the previous > behavior. > > example file > * Test > 1. Inline common lisp raw: src_lisp[:results raw]{(+ 2 2)}, should > say 4. > > > Desired output, restored by patch > \item Inline common lisp raw: 4, should say 4. > Output without patch > \item Inline common lisp raw: , should say 4. > > If this looks right, please apply. > > Liam > Hi Liam, You're actually noticing a symptom of an error in the way lisp code blocks were handling results (conflating the output/results and the scalar/vector distinction). I've just pushed up a fix, please let me know if you continue to see these types of errors. Best, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D