Re: [PATCH] org.el (org-format-latex-header): put DEFAULT-PACKAGES before PACKAGES

2022-06-17 Thread Ihor Radchenko
Sébastien Miquel writes: > Ihor Radchenko writes: >> Thanks for the clarification! Now, your patch makes much more sense. Can >> you update the commit message explaining the above shortly and linking >> to this thread? > > See attached. Thanks! Applied onto main via 9fb9a2bdf with amendments to

Re: [PATCH] org.el (org-format-latex-header): put DEFAULT-PACKAGES before PACKAGES

2022-06-17 Thread Sébastien Miquel
2001 From: =?UTF-8?q?S=C3=A9bastien=20Miquel?= Date: Mon, 13 Jun 2022 11:04:34 +0200 Subject: [PATCH] org.el (org-format-latex-header): put DEFAULT-PACKAGES before PACKAGES * lisp/org.el (org-format-latex-header): put DEFAULT-PACKAGES before PACKAGES, as per org-latex-packages-alist&#

Re: [PATCH] org.el (org-format-latex-header): put DEFAULT-PACKAGES before PACKAGES

2022-06-16 Thread Ihor Radchenko
Sébastien Miquel writes: > Ihor Radchenko writes: >> We actually have 2 options here: >> 1. Change the docstring >> 2. Change the template >> >> Can moving [PACKAGES] up break the existing configs? It might. >> I am inclined to change the docstring instead. > > Thanks for having a look at this. >

Re: [PATCH] org.el (org-format-latex-header): put DEFAULT-PACKAGES before PACKAGES

2022-06-14 Thread Sébastien Miquel
Hi, Ihor Radchenko writes: We actually have 2 options here: 1. Change the docstring 2. Change the template Can moving [PACKAGES] up break the existing configs? It might. I am inclined to change the docstring instead. Thanks for having a look at this. It makes more sense for a package in PACK

Re: [PATCH] org.el (org-format-latex-header): put DEFAULT-PACKAGES before PACKAGES

2022-06-14 Thread Ihor Radchenko
Sébastien Miquel writes: > The attached patch puts DEFAULT-PACKAGES before PACKAGES in > org-format-latex-header, as per org-latex-packages-alist's and > org-latex-classes' documentations. > ... > -\[PACKAGES] > \[DEFAULT-PACKAGES] > +\[PACKAGES] Thanks! We actually have 2 options here: 1. C

[PATCH] org.el (org-format-latex-header): put DEFAULT-PACKAGES before PACKAGES

2022-06-13 Thread Sébastien Miquel
F-8?q?S=C3=A9bastien=20Miquel?= Date: Mon, 13 Jun 2022 11:04:34 +0200 Subject: [PATCH] org.el (org-format-latex-header): put DEFAULT-PACKAGES before PACKAGES * lisp/org.el (org-format-latex-header): put DEFAULT-PACKAGES before PACKAGES, as per org-latex-packages-alist's documentation. --- lisp/o