suvayu ali <fatkasuv...@gmail.com> wrote: > Hi, > > I think there is a regression bug in latex export. The > > #+LATEX_CLASS_OPTIONS: a4paper > > directive is supposed to generate the following latex code: > > \documentclass{a4paper,article} > > Instead it generates: > > \documentclassa4paper{article} > > A minimal example is attached. >
I don't think it's a regression - at least I could only find two commits that touched the relevant code (lines 1397-1405 in org-latex.el) and they are from 2008 and 2009. Also the latex syntax is \documentclass[a4paper]{article} and an example in the beamer section of the manual (info "(org) Beamer class export") makes me believe that the expectation is that you'll enter #+LATEX_CLASS_OPTIONS: [a4paper] including the square brackets. Nick