[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Correct Way to Customize LaTeX Export?

From: Peter Jones
Subject: [Orgmode] Correct Way to Customize LaTeX Export?
Date: Tue, 08 Sep 2009 14:41:17 -0600
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (darwin)

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

Is there a better way to do stuff like insert a call to hypersetup?

Peter Jones - 303-219-0226
pmade inc.  - http://pmade.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]