-
-
Notifications
You must be signed in to change notification settings - Fork 167
Open
Description
When latex fails to compile a TikZ image for inclusion in hardcopy the user gets two warnings:
- Image file production failed. at [PG]/lib/LaTeXImage.pm line 265.
- Error generating graph for [WW]/htdocs/tmp/...
There doesn't appear to be a way to access the actual error messages produced by latex when trying to generate the image. In LaTeXImage.pm the temp files are all deleted regardless of whether the compilation was successful.
Two thoughts:
- Add a conditional to LaTeXImage.pm that preserves the temp files if compilation failed or if
preserve_temp_filesis set. - If compilation fails for an image, then return the contents of the latex.err file in addition to the "Image file production failed" warning.
Metadata
Metadata
Assignees
Labels
No labels