瀏覽代碼

ox-latex: Use :ALT_TITLE: on unnumbered headlines

* lisp/ox-latex.el (org-latex-headline): Use :ALT_TITLE: also on
  unnumbered headlines.

Suggested-by: Marcin Borkowski <mbork@wmi.amu.edu.pl>
<http://permalink.gmane.org/gmane.emacs.orgmode/96860>
Nicolas Goaziou 10 年之前
父節點
當前提交
65bbb1f7c8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ox-latex.el

+ 1 - 1
lisp/ox-latex.el

@@ -1621,7 +1621,7 @@ holding contextual information."
 				  (org-string-match-p "\\<local\\>" v)
 				  (format "\\stopcontents[level-%d]" level)))))
 		    info t)))))
-	  (if (and numberedp opt-title
+	  (if (and opt-title
 		   (not (equal opt-title full-text))
 		   (string-match "\\`\\\\\\(.*?[^*]\\){" section-fmt))
 	      (format (replace-match "\\1[%s]" nil nil section-fmt 1)