From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-latex error message when image file not found Date: Wed, 27 Mar 2013 15:42:35 +0100 Message-ID: <87obe4gazo.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKrYy-0002hZ-Ic for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 10:42:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKrYx-0006eO-DV for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 10:42:52 -0400 Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]:62036) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKrYo-0006ZJ-GH for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 10:42:42 -0400 Received: by mail-we0-f179.google.com with SMTP id p43so1627705wea.38 for ; Wed, 27 Mar 2013 07:42:41 -0700 (PDT) In-Reply-To: (John Hendy's message of "Mon, 25 Mar 2013 18:47:25 -0500") 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: John Hendy Cc: emacs-orgmode Hello, John Hendy writes: > 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." You could tweak `org-latex-known-errors' to your needs. Regards, -- Nicolas Goaziou