summaryrefslogtreecommitdiffstats
path: root/2025/talks/latex.md
blob: 9cb5e14e67b720036aabbddb2d19d2de6c502d2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[[!meta title="LaTeX export in org-mode: the overhaul"]]
[[!meta copyright="Copyright © 2025 Pedro A. Aranda Gutiérrez"]]
[[!inline pages="internal(2025/info/latex-nav)" raw="yes"]]

<!-- Initially generated with emacsconf-publish-talk-page and then left alone for manual editing -->
<!-- You can manually edit this file to update the abstract, add links, etc. --->


# LaTeX export in org-mode: the overhaul
Pedro A. Aranda Gutiérrez (he, him) - paaguti@gmail.com, <mailto:paaguti@gmail.com>

[[!inline pages="internal(2025/info/latex-before)" raw="yes"]]

During the last year, the LaTeX backend in Org mode has received an overhaul.
The objectives, while keeping backward compatibility, were:

- Better integration of the font-management features and packages with
  lualatex/xelatex
- Reducing the amount of `#+LATEX_HEADER:` lines and avoiding to have to
  include a pure LaTeX file to profit from them
- Flexibility, while using native Emacs Lisp features, like file/directory
  local variables
  
In this talk, I will present the new font management features in the LaTeX
backend and show a couple of examples of what can be achieved.

About the speaker:

After 30 years using Emacs, professionally and for my PhD, I'm currently
quite involved in org-mode, where I'm revamping the LaTeX backend.

## Discussion / notes

- Not a question but I will start using LaTeX fonts in org now
-   Q: How's about video (mp4) support for ox-latex? I start to give
    presentations with many videos. This is something that really push
    me back using ox-latex.
    -   A: Experiment with a LaTeX file and then try to include the
        relevant snippets in #+BEGIN_EXPORT latex
    -   [https://github.com/pdfpc/pdfpc/](https://github.com/pdfpc/pdfpc/){rel="noreferrer noopener"}
        can embed and play videos. For Org, latex fragments work fine.
        -   Thank you for all your information, I will try it and see.
            Thank you.


[[!inline pages="internal(2025/info/latex-after)" raw="yes"]]

[[!inline pages="internal(2025/info/latex-nav)" raw="yes"]]