I recently started exporting some org headlines to LaTeX. I poked around but couldn't find the best way to customize the output, e.g. add a call to hypersetup. The best I came up with was:
,---- | (setq org-export-latex-classes | '(("article" | "\\documentclass[11pt]{article} | \\usepackage[utf8]{inputenc} | \\usepackage[T1]{fontenc} | \\usepackage{graphicx} | \\usepackage{longtable} | \\usepackage{soul} | \\usepackage{hyperref} | \\hypersetup{ | hyperindex=true, | plainpages=false, | colorlinks=true, | linkcolor=black | }" | ("\\section{%s}" . "\\section*{%s}") | ("\\subsection{%s}" . "\\subsection*{%s}") | ("\\subsubsection{%s}" . "\\subsubsection*{%s}") | ("\\paragraph{%s}" . "\\paragraph*{%s}") | ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))) `---- But by doing that, I would have to update this variable when pulling down a new org version that might have changed the default value of org-export-latex-classes. Is there a better way to do stuff like insert a call to hypersetup? -- Peter Jones - 303-219-0226 pmade inc. - http://pmade.com _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode