From 2d2359741a1e232cbe099320dcd739686c2674f1 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Mon, 2 Feb 2009 12:15:57 +0100 Subject: [PATCH] LaTeX export: Do not use "|" as verbatim delimiter This causes problems in tables. You have now two ways to make verbatim things. Use ~xyz~ or =xyz= depending on whether ~ or = might occur in the string...... --- lisp/ChangeLog | 3 +++ lisp/org-export-latex.el | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 49f6fdc45..7099f3605 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2009-02-02 Carsten Dominik + * org-export-latex.el (org-export-latex-emphasis-alist): Use = and + ~ as verbatim delimiters. + * org-exp.el (org-export-html-format-image): New argument PAR-OPEN. (org-export-as-html): Pass par-open to diff --git a/lisp/org-export-latex.el b/lisp/org-export-latex.el index f4d3390b2..02aa4c05d 100644 --- a/lisp/org-export-latex.el +++ b/lisp/org-export-latex.el @@ -165,8 +165,8 @@ to represent the section title." ("/" "\\emph{%s}" nil) ("_" "\\underline{%s}" nil) ("+" "\\texttt{%s}" nil) - ("=" "\\verb|%s|" nil) - ("~" "\\verb|%s|" t)) + ("=" "\\verb=%s=" nil) + ("~" "\\verb~%s~" t)) "Alist of LaTeX expressions to convert emphasis fontifiers. Each element of the list is a list of three elements. The first element is the character used as a marker for fontification.