[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals-release/org 7575678: ox-latex: Fix texttt usage in head
From: |
ELPA Syncer |
Subject: |
[elpa] externals-release/org 7575678: ox-latex: Fix texttt usage in headlines |
Date: |
Tue, 6 Apr 2021 07:57:09 -0400 (EDT) |
branch: externals-release/org
commit 75756789597fbcae219909caad85a6d4c4b536c2
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Commit: Nicolas Goaziou <mail@nicolasgoaziou.fr>
ox-latex: Fix texttt usage in headlines
* lisp/ox-latex.el (org-latex-headline): Properly call
`org-latex--protect-texttt' on verbatim objects.
Reported-by: Greg Minshall <minshall@umich.edu>
<http://lists.gnu.org/r/emacs-orgmode/2021-04/msg00134.html>
---
lisp/ox-latex.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index 932f385..af79c7a 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -1961,8 +1961,8 @@ holding contextual information."
;; commands (like \section, etc.), and this causes compilation
to fail.
;; So, within headings it's a good idea to replace any
instances of \verb
;; with \texttt.
- (code . (lambda (_ c _) (org-latex--protect-texttt c)))
- (verbatim . (lambda (_ c _) (org-latex--protect-texttt c))))))
+ (code . (lambda (o _ _) (org-latex--protect-texttt
(org-element-property :value o))))
+ (verbatim . (lambda (o _ _) (org-latex--protect-texttt
(org-element-property :value o)))))))
(text
(org-export-data-with-backend
(org-element-property :title headline) section-back-end info))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals-release/org 7575678: ox-latex: Fix texttt usage in headlines,
ELPA Syncer <=