Hello!

I have a number of custom entries for org-latex-classes, and I noticed that (as of the most recent commit to Org's main branch), part of my configuration appears to be ignored. In particular, this entry seems to produce broken input

("handout"
"\\documentclass[paper=letter,twoside,parskip=half,mpinclude=true]{scrartcl}\n\\setlength{\\marginparwidth}{1.75\\marginparwidth}\n[DEFAULT-PACKAGES]\n[PACKAGES]\n[EXTRA]\n\\usepackage[footnote=true]{snotez}"
 ("\\section{%s}" . "\\section*{%s}")
 ("\\subsection{%s}" . "\\subsection*{%s}")
 ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
 ("\\paragraph{%s}" . "\\paragraph*{%s}")
 ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))

In particular, on export, the class options I declare are omitted:

\documentclass{scrartcl}
\setlength{\marginparwidth}{1.75\marginparwidth}

I would expect:
\documentclass[paper=letter,twoside,parskip=half,mpinclude=true]{scrartcl}
\setlength{\marginparwidth}{1.75\marginparwidth}

The org file I am using is as follows:

#+title:      Test Export File
#+date:       [2026-04-17 Fri 10:18]
#+latex_class: handout
#+options: toc:nil num:t arch:nil todo:nil stat:nil inline:nil
#+latex_header: \setcounter{secnumdepth}{-\maxdimen}

I don't see any obvious changes in ORG-NEWS, and I'm wondering if I've missed something. Any help would be appreciated.

Thanks,

Sam

--
Samuel W. Flint <[email protected]>
https://samuelwflint.com/
4096R/FA13D704
      (F50D 862B 4F65 5943 A8C2  EF0E 86C9 3E7A FA13 D704)
λs.(s s) λs.(s s)
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org


Reply via email to