From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: org-latex error message when image file not found Date: Mon, 25 Mar 2013 18:47:25 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKH6u-00057j-6f for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 19:47:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKH6t-00062f-9j for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 19:47:28 -0400 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:43856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKH6t-00062U-0r for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 19:47:27 -0400 Received: by mail-la0-f42.google.com with SMTP id fe20so12538105lab.1 for ; Mon, 25 Mar 2013 16:47:25 -0700 (PDT) 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: emacs-orgmode When I go to export a file and the image path I've specified is wrong, the minibuffer displays: Process completed with errors: [package error] The actual LaTeX error is: LaTeX Warning: File `./path/to/file.png' not found on input line 180. ! Package pdftex.def Error: File `./path/to/file.png' not found. While not unfathomably useful, I'd love it if this could be parsed into something like "image/file not found" instead of "package error." I connote "package error" with my efforts to switch from a distro-specific (Arch Linux) installation of TexLive to the official installation. I got a lot of "missing package" errors until I finally had everything installed that Org wanted. If I immediately saw a "missing file" error, it might save me having to =C-x C-b *Org TAB RET= to the buffer followed by =M->= to the end of the file to see what the error actually was. In a lot of cases, I'm re-using stuff from other documents and I'd catch the mistake of using the wrong relative path, fix it, and re-export. I figure this to be one of more common LaTeX errors, so thought I'd mention my experience/suggestion. Maybe hard to implement than I realize! Thanks, John