emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-latex error message when image file not found
@ 2013-03-25 23:47 John Hendy
  2013-03-27 14:42 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: John Hendy @ 2013-03-25 23:47 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-27 14:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-25 23:47 org-latex error message when image file not found John Hendy
2013-03-27 14:42 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).