Revoking org-latex's license to kill. Hi, I've noticed a sneaky bug when exporting to LaTeX. Org-babel uses top-level #+BABEL: or #+PARAMETERS: lines to set global values for header arguments. When exporting to latex, the latex exporter removes *all* meta-information header lines when exporting the body [1]. Some Babel blocks rely on these lines and the header values they define to control their behavior on export. Does anyone know why these lines are being removed? I've experimented with the attached patch [2] in which the LaTeX exporter *does not* remove these lines. It fixes the babel issues, and I haven't noticed any problems caused by leaving these lines in (I think the lines are now being removed later in the export process). Thanks -- Eric Footnotes: [1] see `org-export-latex-first-lines' and `org-export-kill-licensed-text' [2]