Hello, On 2024-03-17 19:05, Nasser Alkmim writes: > Hi Alan, how did you effectively solve the problem? Here is the contents of my export-init file: (setq user-emacs-directory "/Users/schmitta/projets/plain-emacs-config/") (add-to-list 'load-path (expand-file-name "straight/build/org/" user-emacs-directory)) (setq-default indent-tabs-mode nil) (setq org-latex-src-block-backend 'minted) (setq org-latex-pdf-process '("latexmk -pdflatex='%latex --shell-escape -8bit' -pdf -quiet %f")) (setq org-export-async-debug t) (require 'ox-beamer) (add-to-list 'org-beamer-environments-extra '("onlyenv" "O" "\\begin{onlyenv}%a" "\\end{onlyenv}")) Best, Alan