浏览代码

ox-latex: Fix b8ade2e79e92dad10f2b045bc55fbeaf133e5598

* lisp/ox-latex.el (org-latex-inline-src-block): Fix
  b8ade2e79e92dad10f2b045bc55fbeaf133e5598.
Nicolas Goaziou 9 年之前
父节点
当前提交
c532ff36aa
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lisp/ox-latex.el

+ 2 - 1
lisp/ox-latex.el

@@ -1728,7 +1728,8 @@ CONTENTS is nil.  INFO is a plist holding contextual information."
   "Transcode an INLINE-SRC-BLOCK element from Org to LaTeX.
 CONTENTS holds the contents of the item.  INFO is a plist holding
 contextual information."
-  (let* ((code (org-element-property :value inline-src-block)))
+  (let* ((code (org-element-property :value inline-src-block))
+	 (separator (org-latex--find-verb-separator code)))
     (case (plist-get info :latex-listings)
       ;; Do not use a special package: transcode it verbatim.
       ((nil) (format "\\texttt{%s}" (org-latex--protect-text code)))