Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-04 Thread Dr. Arne Babenhauserheide
Tim Cross writes: > Scott Randby writes: > >> On 6/2/21 8:07 AM, Bruce D'Arcus wrote: >>> On Wed, Jun 2, 2021 at 4:28 AM Tim Cross wrote: >>> The more I think about it, I think the best solution would be to update the code which sets the default and have it check for latexmk. If it

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Colin Baxter
> Stefan Nobis writes: > Colin Baxter writes: >> I really don't understand why the changed is needed. > The upcoming citation support needs a reliable way to run the > required bibliography processor (e.g. biber or bibtex). Therefore > the current default setting that

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Tim Cross
Greg Minshall writes: > Bruce, > >> > I really don't understand why the changed is needed. >> >> I've stated it twice, I believe, but it's now a longer thread, so: >> >> Org is set to get native citation support. >> >> Once that's merged, people who use this feature will be disappointed >>

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Tim Cross
"Dr. Arne Babenhauserheide" writes: > [[PGP Signed Part:Undecided]] > > Scott Randby writes: > >> On 6/2/21 8:07 AM, Bruce D'Arcus wrote: >>> On Wed, Jun 2, 2021 at 4:28 AM Tim Cross wrote: >>> The more I think about it, I think the best solution would be to update the code which

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Tim Cross
Scott Randby writes: > On 6/2/21 8:07 AM, Bruce D'Arcus wrote: >> On Wed, Jun 2, 2021 at 4:28 AM Tim Cross wrote: >> >>> The more I think about it, I think the best solution would be to update >>> the code which sets the default and have it check for latexmk. If it is >>> found, set it as

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Tim Cross
Colin Baxter writes: >> Bruce D'Arcus writes: > > > On Wed, Jun 2, 2021 at 4:28 AM Tim Cross wrote: > >> The more I think about it, I think the best solution would be to > >> update the code which sets the default and have it check for > >> latexmk. If it is found, set it

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Greg Minshall
Bruce, > > I really don't understand why the changed is needed. > > I've stated it twice, I believe, but it's now a longer thread, so: > > Org is set to get native citation support. > > Once that's merged, people who use this feature will be disappointed > to know that when using the natbib or

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Scott Randby
On 6/2/21 12:07 PM, Stefan Nobis wrote> I have --8<---cut here---start->8--- (setq org-latex-pdf-process '("latexmk -f -pdf -%latex -outdir=%o %f")) --8<---cut here---end--->8--- I could not get that setting to work. The

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Stefan Nobis
Colin Baxter writes: > I really don't understand why the changed is needed. The upcoming citation support needs a reliable way to run the required bibliography processor (e.g. biber or bibtex). Therefore the current default setting that only runs latex three times does not suffice. On the

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Bruce D'Arcus
On Wed, Jun 2, 2021 at 12:30 PM Colin Baxter wrote: > > > I'm beginning to think this change of the default should not > happen. From this thread it seems to be that the chances of it breaking > existing work flow is high. I don't see how that follows. Can you clarify? > I really don't

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Robert Pluim
> On Wed, 02 Jun 2021 17:29:49 +0100, Colin Baxter said: Colin> I'm beginning to think this change of the default should not Colin> happen. From this thread it seems to be that the chances of it breaking Colin> existing work flow is high. Colin> I really don't understand

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Colin Baxter
I'm beginning to think this change of the default should not happen. From this thread it seems to be that the chances of it breaking existing work flow is high. I really don't understand why the changed is needed. Best wishes,

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Dr. Arne Babenhauserheide
Scott Randby writes: > On 6/2/21 8:07 AM, Bruce D'Arcus wrote: >> On Wed, Jun 2, 2021 at 4:28 AM Tim Cross wrote: >> >>> The more I think about it, I think the best solution would be to update >>> the code which sets the default and have it check for latexmk. If it is >>> found, set it as the

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Stefan Nobis
Scott Randby writes: > (1) Which one of the above suggestions should I use? I don't want > interactions when I'm exporting. I don't want to have to mess with a > configuration file either. > (2) How many shell commands will org-latex-pdf-process need? Right > now there are three. Replace those

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Scott Randby
On 6/2/21 8:07 AM, Bruce D'Arcus wrote: On Wed, Jun 2, 2021 at 4:28 AM Tim Cross wrote: The more I think about it, I think the best solution would be to update the code which sets the default and have it check for latexmk. If it is found, set it as the default and if it is not found, set the

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Scott Randby
On 6/2/21 1:33 AM, Stefan Nobis wrote: "Bruce D'Arcus" writes: Here's the current command for the "latexmk" option: "latexmk -g -pdf -pdflatex=\"%latex\" -outdir=%o %f" ... and here's what you have, minus shell-escape. "latexmk -f -pdf -%latex -interaction=nonstopmode

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Colin Baxter
> Bruce D'Arcus writes: > On Wed, Jun 2, 2021 at 4:28 AM Tim Cross wrote: >> The more I think about it, I think the best solution would be to >> update the code which sets the default and have it check for >> latexmk. If it is found, set it as the default and if it is not

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Bruce D'Arcus
On Wed, Jun 2, 2021 at 4:28 AM Tim Cross wrote: > The more I think about it, I think the best solution would be to update > the code which sets the default and have it check for latexmk. If it is > found, set it as the default and if it is not found, set the existing > default. This would have

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Juan Manuel Macías
Stefan Nobis writes: > An alternative may be to use latexmk only if citations are found (new > feature, new dependencies). Or a wrapper that checks whether latexmk > is available and works (e.g. trying to call "latexmk --version") and > falls back to the old routine of manually running the engine

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Tim Cross
Stefan Nobis writes: > Tim Cross writes: > >> One reason is that latexmk is not installed on some systems. > > Just after starting to write that this is false nowadays I realized > you are right. :) > > See: https://mg.readthedocs.io/latexmk.html > > For macOS latexmk is distributed with the

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Loris Bennett
Nick Dokos writes: > "Bruce D'Arcus" writes: > >> While testing org-cite a few weeks ago, I noticed by default bibtex >> won't run with natbib export, or biblatex with biblatex export. >> >> Since org has not had native citations, this is not surprising. >> >> But with org-cite coming soon,

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Stefan Nobis
Tim Cross writes: > One reason is that latexmk is not installed on some systems. Just after starting to write that this is false nowadays I realized you are right. :) See: https://mg.readthedocs.io/latexmk.html For macOS latexmk is distributed with the default TeX installation MacTeX for

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-01 Thread Stefan Nobis
"Bruce D'Arcus" writes: > Here's the current command for the "latexmk" option: > "latexmk -g -pdf -pdflatex=\"%latex\" -outdir=%o %f" > ... and here's what you have, minus shell-escape. > "latexmk -f -pdf -%latex -interaction=nonstopmode -output-directory=%o %f" The option

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-01 Thread Vladimir Lomov
Hello, ** Tim Cross [2021-06-02 12:56:59 +1000]: > "Bruce D'Arcus" writes: >> On Tue, Jun 1, 2021 at 9:09 PM Scott Randby wrote: >> >>> As a constant user of Org's LaTeX export capability, this change would break >>> my ability to export to PDF, and it would be difficult for me to fix. I >>>

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-01 Thread Tim Cross
"Bruce D'Arcus" writes: > On Tue, Jun 1, 2021 at 9:09 PM Scott Randby wrote: > >> As a constant user of Org's LaTeX export capability, this change would break >> my ability to export to PDF, and it would be difficult for me to fix. I don't >> support this change. > > Can you explain this,

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-01 Thread Bruce D'Arcus
On Tue, Jun 1, 2021 at 9:09 PM Scott Randby wrote: > As a constant user of Org's LaTeX export capability, this change would break > my ability to export to PDF, and it would be difficult for me to fix. I don't > support this change. Can you explain this, Scott? Why would anything "break'?

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-01 Thread Nick Dokos
"Bruce D'Arcus" writes: > While testing org-cite a few weeks ago, I noticed by default bibtex > won't run with natbib export, or biblatex with biblatex export. > > Since org has not had native citations, this is not surprising. > > But with org-cite coming soon, this will change. > > At the time

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-01 Thread Scott Randby
On 6/1/21 8:00 PM, Tim Cross wrote: "Bruce D'Arcus" writes: While testing org-cite a few weeks ago, I noticed by default bibtex won't run with natbib export, or biblatex with biblatex export. Since org has not had native citations, this is not surprising. But with org-cite coming soon,

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-01 Thread Tim Cross
"Bruce D'Arcus" writes: > While testing org-cite a few weeks ago, I noticed by default bibtex > won't run with natbib export, or biblatex with biblatex export. > > Since org has not had native citations, this is not surprising. > > But with org-cite coming soon, this will change. > > At the

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-01 Thread Bruce D'Arcus
On Tue, Jun 1, 2021 at 1:03 PM Timothy wrote: > > > Bruce D'Arcus writes: > > > Thanks Timothy. > > > > What's your view on modifying current default? > > I think latexmk is a pretty reasonable expectation, and your > justification that it's more important seems sound to me. > > Using the value

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-01 Thread Timothy
Bruce D'Arcus writes: > Thanks Timothy. > > What's your view on modifying current default? I think latexmk is a pretty reasonable expectation, and your justification that it's more important seems sound to me. Using the value seen in my config, I've found that at the least my version of

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-01 Thread Bruce D'Arcus
Thanks Timothy. What's your view on modifying current default? On Tue, Jun 1, 2021, 12:36 PM Timothy wrote: > > Hi Bruce, > > In case it's of interest, I've been quite happy with this: > https://tecosaur.github.io/emacs-config/config.html#compiling > > Bruce D'Arcus writes: > > > While

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-01 Thread Timothy
Hi Bruce, In case it's of interest, I've been quite happy with this: https://tecosaur.github.io/emacs-config/config.html#compiling Bruce D'Arcus writes: > While testing org-cite a few weeks ago, I noticed by default bibtex > won't run with natbib export, or biblatex with biblatex export. > >

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-01 Thread Juan Manuel Macías
Hi Bruce, Bruce D'Arcus writes: > So what do LaTeX users think about changing the default for > "org-latex-pdf-process" to "latexmk"? It sounds like a good idea to me. In fact I have `org-latex-pdf-process' set to latexmk in my ~ /.emacs (with the option to always compile with LuaTeX). Best

suggestion to change default org-latex-pdf-process to latexmk

2021-06-01 Thread Bruce D'Arcus
While testing org-cite a few weeks ago, I noticed by default bibtex won't run with natbib export, or biblatex with biblatex export. Since org has not had native citations, this is not surprising. But with org-cite coming soon, this will change. At the time I suggested changing default to use