From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Improving debugging experience of latex errors on export Date: Wed, 7 Sep 2016 15:27:40 +0100 Message-ID: <878tv3n5sz.fsf@ucl.ac.uk> References: <39369403d1484a10a3704090b86e747b@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhy1x-0001q3-Al for emacs-orgmode@gnu.org; Thu, 08 Sep 2016 08:02:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhy1r-0004eV-NK for emacs-orgmode@gnu.org; Thu, 08 Sep 2016 08:02:08 -0400 Received: from mail-he1eur01on0110.outbound.protection.outlook.com ([104.47.0.110]:65171 helo=EUR01-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhy1r-0004eP-Cg for emacs-orgmode@gnu.org; Thu, 08 Sep 2016 08:02:03 -0400 In-Reply-To: <39369403d1484a10a3704090b86e747b@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (Giacomo M.'s message of "Wed, 7 Sep 2016 14:18:05 +0000") 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: Giacomo M Cc: "emacs-orgmode@gnu.org" On Wednesday, 7 Sep 2016 at 14:18, Giacomo M wrote: > I'm using latexmk w/ pdflatex for my org2pdf exports. When I get a "PDF > file produced with errors.", then I go to "*Org PDF LaTeX Output*" > buffer to try to understand what is happening. [...] > I was wondering whether this latex "debugging" setup could be also used > during org export, and how, or more generally how I can improve the > debugging experience of latex export errors. I do pretty much the same as you: go to the LaTeX file to see if I can identify the cause of the error reported in the PDF buffer. There's no easy way to accomplish the same directly from org unfortunately. Sometimes, the context given in the PDF output is enough to point me to the right place in the org file but not often... I look forward to seeing inputs from others on this. I will say, however, that using org means less LaTeX errors than I would usually encounter when writing LaTeX directly! -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.94.1, Org release_8.3.5-1070-g190476