From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: [bug] Wrong type argument, computation and layout of inline Babel calls Date: Thu, 15 Jan 2015 13:37:05 +0100 Message-ID: <868uh4i5ji.fsf@example.com> References: <86twztqral.fsf@example.com> <86iog95fx4.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello Charles, "Charles C. Berry" wrote: > On Wed, 14 Jan 2015, Sebastien Vauban wrote: >> "Charles C. Berry" wrote: >>> On Wed, 14 Jan 2015, Sebastien Vauban wrote: >>>> This ECM exhibits "wrong type argument". >>>> >>>> Carr=C3=A9 de 7 : >>>> call_square(x=3D7)[:results raw]. >>> >>> Looks like `org-babel-get-lob-one-liner-matches' doesn't always put >>> point in the right place. Try this [...]. >> >> It does solve the "square of 5" problem, in both HTML and >> LaTeX. Thanks. >> >> Though, it does not solve anything regarding the last one ("square of >> 7"): error in HTML, and results "1" in LaTeX... > > It does solve the babel-execute part. > But I didn't copy-and-paste that last `.' which affects export. > > After C-c C-c or org-export-execute-babel-code: > > ,---- > | call_square(x=3D7)[:results raw] 49. > `---- > > What this crestes on export is an ordered list with one element > whose :bullet is followed by an empty paragraph. > > A `feature' not a bug? OK! I do understand the problem with the "1." appearing in the LaTeX document. Fine by me; there are reasons for that behavior. Though, there still remains one problem then: the same code generates a "Wrong type argument: arrayp, nil" error when exporting it to HTML. Best regards, Seb --=20 Sebastien Vauban