Thanks a ton! /PA On Thu, 24 Apr 2025 at 10:20, Robert Klein <rokl...@roklein.de> wrote:
> Hi, > > you don't need to usepackage textcomp anymore since the spring 2020 > release of LaTeX, see > https://www.latex-project.org/news/latex2e-news/ltnews31.pdf page three, > right column. > > Best regards > Robert > > On Wed, 23 Apr 2025 16:31:12 +0000 > Ihor Radchenko <yanta...@posteo.net> wrote: > > > Pedro Andres Aranda Gutierrez <paag...@gmail.com> writes: > > > > > This should be the good one. Apologies... > > > > Thanks! > > > > > Subject: [PATCH] Update org-latex-default-packages-alist > > > > > > * lisp/org.el: org-latex-default-packages-alist uses the same > packages > > > > Please follow the changelog format as described in > > https://orgmode.org/worg/org-contribute.html#commit-messages > > (especially when you push commits yourself - I cannot check those in > > advance) > > > > Should be * lisp/org.el (org-latex-default-packages-alist): > > > > > as pandoc. It seems a well-accepted standard for fonts when exporting > > > to any LaTeX flavour. XeTeX and LuaLaTeX use ~unicode-math~. Added > > > ~textcomp~ for PDFLaTeX. > > > > Should be 2 spaces between sentences. > > > > > +*** Font management for =pdflatex=, =lualatex= and =xetex= > > > + > > > +Exporting lo LaTeX and Beamer is closer to [[ > https://github.com/jgm/pandoc/blob/main/data/templates/fonts.latex][~pandoc~ > conventions]]. > > > +~lualatex~ use packages ~unicode-math~ and ~fontspec~. You may need to > > > +fine-tune your mathematical expressions. > > > > As discussed in > > > https://list.orgmode.org/877c3flzv0.fsf@localhost/T/#m56e31ee64e33df06eb8073c57ac0af5aaf4212fd > > this is not a good news entry. > > The news entry should describe changes made in the patch in a way that > > explains to ordinary users how their setup may be affected: > > > > 1. The news entry should reflect actual changes (not future changes) > > > > 2. The news entry should explain potential problems that may occur and > > what users may need to tweak in their configs in order to adapt to > > the changes. > > > > For example, > > > > *** ~amsmath~ package is replaced with ~unicode-math~ when export to PDF > via XeLaTeX and LuaLaTeX > > > > Previously, Org used ~amsmath~ LaTeX package by default when exporting > > to PDF. Now, when using non-default XeLaTeX and LuaLaTeX compilers, > > ~unicode-math~ is used instead. > > > > ~unicode-math~ is a full replacement of ~amsmath~ with better UTF-8 > > support. Most of the users do no need to do anything about this > > change. However, ~unicode-math~ is not a complete copy of ~amsmath~ and > > small typographical differences may appear in the exported documents. > > Also, there is a small possibility that previously working PDF export > > may be broken (due to bugs in ~unicode-math~). > > > > *** ~textcomp~ package is used by default when exporting to PDF via > PDFLaTeX > > > > Previously, some Org entities (e.g. =\texteuro=) might not render > > correctly when exporting to PDF. With ~textcomp~, export should become > > more reliable. > > > > No action should be needed on user side. > > > > -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Sagen's Paradeiser, write BE! Year 1 of the New Koprocracy