[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elp
From: |
Jean Louis |
Subject: |
Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)] |
Date: |
Fri, 17 Feb 2023 00:38:05 +0300 |
User-agent: |
Mutt/2.2.9+54 (af2080d) (2022-11-21) |
* Ihor Radchenko <yantar92@posteo.net> [2023-02-15 23:38]:
> Bruno BEAUFILS <bruno@boulgour.com> writes:
>
> > When using the org-latex-export-to-pdf on any foo.org file I get the
> > foo.pdf file produced the right way but I also get the foo.tex file.
> >
> > I think that the whole point of exporting to pdf is only to get the pdf
> > file, avoiding the need to keep the latex one.
> >
> > I guess that one of org-latex-compile or org-latex-export-to-pdf
> > function should remove the source LaTeX file if the compile went well.
>
> The problem with LaTeX export is that it is not always possible to know
> if the process truly finished without errors or not.
It is possible to know it always.
System commands `latex' or `pdflatex' will emit error status, you may
inspect it in shell with:
$ echo $?
The function `org-latex-compile' does not check for error status, but
it could. In general, external processes shall always be checked for
exit statuses.
It is matter of programming design if you wish or miss to get error
statuses and check for them.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
- Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)], (continued)
- Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)], Ihor Radchenko, 2023/02/15
- Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)], Bruno BEAUFILS, 2023/02/16
- Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)], Ihor Radchenko, 2023/02/17
- Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)], Bruno BEAUFILS, 2023/02/17
- Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)], Ihor Radchenko, 2023/02/17
- Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)], Jean Louis, 2023/02/17
- Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)], Ihor Radchenko, 2023/02/17
- Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)], Bruno BEAUFILS, 2023/02/17
- [FR] ox-latex: Display exit status of LaTeX compilation command (was: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)]), Ihor Radchenko, 2023/02/18
Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)],
Jean Louis <=
Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)], Jean Louis, 2023/02/16