Bruno BEAUFILS writes:
> On Fri, Feb 17, 2023 at 01:30:37PM +, Ihor Radchenko wrote:
>> Even if we used exit code, what would it achieve?
>
> Knowing if the compilation went well (0 as exit status) or not
> (anything different than 0).
I would not mind.
Patches welcome!
--
Ihor Radchenko
On Fri, Feb 17, 2023 at 01:30:37PM +, Ihor Radchenko wrote:
> Even if we used exit code, what would it achieve?
Knowing if the compilation went well (0 as exit status) or not
(anything different than 0).
> You can do it in batch as well. See `org-sbe'.
I did not know this macro. Thank's to
Jean Louis writes:
>> Even if we used exit code, what would it achieve?
>
> - user wants PDF file
>
> - with exit code other but zero there will be no PDF file
How so? Not in general, but only for certain values of
org-latex-pdf-process.
> - display error or move user straight to LaTeX file to
* Ihor Radchenko [2023-02-17 16:32]:
> Bruno BEAUFILS writes:
>
> > On Fri, Feb 17, 2023 at 10:55:34AM +, Ihor Radchenko wrote:
> >> > How so?
> >>
> >> latexmk -interaction=nonstopmode
> >
> > Still do not get the problem. I though that the exit code of the
> > underlying process was used
Bruno BEAUFILS writes:
> On Fri, Feb 17, 2023 at 10:55:34AM +, Ihor Radchenko wrote:
>> > How so?
>>
>> latexmk -interaction=nonstopmode
>
> Still do not get the problem. I though that the exit code of the
> underlying process was used but after having try to understand some of
> the
On Fri, Feb 17, 2023 at 10:55:34AM +, Ihor Radchenko wrote:
> > How so?
>
> latexmk -interaction=nonstopmode
Still do not get the problem. I though that the exit code of the
underlying process was used but after having try to understand some of
the ox-latel.el I discover that it seems to be
Bruno BEAUFILS writes:
> On Wed, Feb 15, 2023 at 08:37:51PM +, Ihor Radchenko wrote:
>> The problem with LaTeX export is that it is not always possible to know
>> if the process truly finished without errors or not.
>
> How so?
latexmk -interaction=nonstopmode
>> Meanwhile, you can tweak
* Ihor Radchenko [2023-02-15 23:38]:
> Bruno BEAUFILS 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
> >
* Bruno BEAUFILS [2023-02-15 21:52]:
> 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
On Thu, Feb 16, 2023 at 07:47:19PM +0100, Hanno Perrey wrote:
> This is just an (semi-)educated guess as I do not have Emacs in
> front of me right now, but I would expect the org-latex-compile
> would only be called when actually compiling the LaTeX code that is
> to say producing the PDF. As
Bruno BEAUFILS skrev: (16 februari 2023 15:24:37 CET)
>I thought that when creating latex file it should also remove the
>produced latex which could be a majour problem.
>
>In fact it does not, which I do not understand why when looking at the
>code of org-latex-compile. I am surely missing
On Thu, Feb 16, 2023 at 01:20:36PM +0100, Hanno wrote:
> which likely change after the export. It might be just my ingrained
> routines speaking
All replies I received let me discover that this is clearly a question
of habits and routines for some of us :-)
> Fair enough. Just out of curiosity:
Bruno BEAUFILS skrev: (16 februari 2023 11:15:31 CET)
>You just still can export the original source file and convert it to
>latex if needed.
That is true of course, but it is an extra step. I would need to remember it
when creating the PDF as I export often from my notes which likely change
Bruno BEAUFILS writes on Thu 16 Feb 2023 11:03:
> OK but you still can do this by just export the file to LaTeX
> (buffer or file) when needed.
In general, I want to see the final result, if only to check that it
is correct latex (as far as I can see, any crap is happily transformed
into a
On Wed, Feb 15, 2023 at 08:37:51PM +, Ihor Radchenko wrote:
> The problem with LaTeX export is that it is not always possible to know
> if the process truly finished without errors or not.
How so?
> I guess we might make this a user options, if more people are
> interested.
I personnaly
On Thu, Feb 16, 2023 at 06:54:16AM +0100, Hanno Perrey wrote:
> I see the export to PDF as a shortcut only and appreciate having the
> .tex file besides it. As the TeX file is the most reliable way to
> regenerate the exact PDF again later again (even on other peoples'
> machines without Emacs
On Wed, Feb 15, 2023 at 09:52:52PM +0100, alain.coch...@unistra.fr wrote:
> Sometimes I select a part of the .tex and send it to someone who does
> not use Org mode, for inclusion into his own tex file. One can also
> think about doing things that are not (yet) possible with Org mode (or
> that
Bruno BEAUFILS skrev: (15 februari 2023 21:38:55 CET)
>On Wed, Feb 15, 2023 at 09:34:21AM -1000, Thomas S. Dye wrote:
>> I often use the .tex file to track down compilation issues. I don't want
>> Org to delete it.
>
>I get your point. In that case the file must not be removed when the
Bruno BEAUFILS writes on Wed 15 Feb 2023 21:38:
> In all other (more numerous) cases (when everything went well) what
> is the point to have this file in addition to the source and the
> output?
Sometimes I select a part of the .tex and send it to someone who does
not use Org mode, for
On Wed, Feb 15, 2023 at 09:34:21AM -1000, Thomas S. Dye wrote:
> I often use the .tex file to track down compilation issues. I don't want
> Org to delete it.
I get your point. In that case the file must not be removed when the
compilation failed.
In all other (more numerous) cases (when
Bruno BEAUFILS 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
Bruno BEAUFILS writes:
[[PGP Signed Part:Undecided]]
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
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
23 matches
Mail list logo