[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] org-latex error message when image file not found
From: |
John Hendy |
Subject: |
[O] org-latex error message when image file not found |
Date: |
Mon, 25 Mar 2013 18:47:25 -0500 |
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
- [O] org-latex error message when image file not found,
John Hendy <=