Same problem here -- seeing mistakes in latex/pdf generation. i On Tue, Nov 29, 2022 at 1:27 PM Dominik Schrempf <dominik.schre...@gmail.com> wrote: > > Hi! > > I wanted to chime in here, because sometimes I do have a similar > problem. > > Whenever I export to LaTeX + PDF, it is pretty difficult to see if the > compilation actually worked (or not). This is, because the compilation > happens asynchronously, and so, the message about the compilation > results in the modeling vanishes fast. > > Usually, I open the LaTeX compilation buffer manually, but I think it > would be great if Org Mode was a bit more verbose about the result of > the compilation (not the actual export). Not sure how this would work > though... (Not very helpful, I know). > > Thank you! > Dominik > > alain.coch...@unistra.fr writes: > > > alain.coch...@unistra.fr writes on Tue 29 Nov 2022 12:33: > > > > > I would expect that the mistake be reported in the *Org PDF LaTeX > > > Output* Compilation buffer. So far, what I saw in that buffer was > > > essentially what shows up when I run 'pdflatex org_generated_file.tex' > > > from a terminal. Not this time: the "regular" pdflatex compiles > > > correctly, not the pdflatex that Org uses internally. > > > > > I thought what Org did was simply run pdflatex+bibtex+etc. just as > > > what one would do manually, but apparently there is some difference. > > > > Hum, I correct myself here: the compilation buffer does report the > > mistake (I hadn't looked at it). Also, the manual compilation with > > > > pdflatex org_generated_file.tex > > > > does generate the same pdf provided that I hit <return> many times. > > Also, I see that the message > > > > PDF file produced with errors. > > > > appears in the *Messages* buffer. > > > > So perhaps Org could display this message in the minibuffer instead of > > > > Running /usr/bin/xdg-open /home/cochard/Org/debug3.pdf...done > > > > which leads to the impression that the compilation is OK. >
-- -- A man must either resolve to point out nothing new or to become a slave to defend it. -- Sir Isaac Newton