From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Stenhaug Subject: Re: Bug: Corrupted export of tables to LaTeX math mode [8.3.6 (8.3.6-7-g4d7d52-elpaplus @ c:/Users/thoma/.emacs.d/elpa/org-plus-contrib-20161017/)] Date: Mon, 24 Oct 2016 21:51:14 +0200 Message-ID: <86y41d34r1.fsf@gmail.com> References: <8660omb7ue.fsf@gmail.com> <871sz9egi6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bylHG-00050B-KF for emacs-orgmode@gnu.org; Mon, 24 Oct 2016 15:51:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bylHD-0001nx-Iz for emacs-orgmode@gnu.org; Mon, 24 Oct 2016 15:51:22 -0400 Received: from mail-lf0-x230.google.com ([2a00:1450:4010:c07::230]:38610) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bylHD-0001nW-Av for emacs-orgmode@gnu.org; Mon, 24 Oct 2016 15:51:19 -0400 Received: by mail-lf0-x230.google.com with SMTP id d20so5049947lfj.5 for ; Mon, 24 Oct 2016 12:51:18 -0700 (PDT) Received: from dora.eklatla (005033004139.mbb.telenor.dk. [5.33.4.139]) by smtp.gmail.com with ESMTPSA id 79sm3308326lja.16.2016.10.24.12.51.15 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 Oct 2016 12:51:15 -0700 (PDT) In-Reply-To: <871sz9egi6.fsf@gmail.com> (Nick Dokos's message of "Fri, 21 Oct 2016 13:52:49 -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" To: emacs-orgmode@gnu.org Nick Dokos writes: > I can reproduce this and I think the problem is that the table > includes the empty line after it and that gets carried into the data > that org-export-data passes into org-latex-matrices. That seems to be the case; for each empty line between the table and the first nonempty line, an empty line is added before the \] in the latex output. > and the data has a ":beg 8 :end 44" specification that correspond to > the '#' and the 'w' of the whoops. > > However, it's hard to debug: when I try to edebug org-export-data I > get the attached backtrace, presumably > because the cl-macrolet in org-export-data confuses edebug: I couldn't make anything of that either. :) Any ideas where I should look next? Best regards, Thomas Stenhaug