Sfoglia il codice sorgente

ox-texinfo: Fix appendix command

* lisp/ox-texinfo.el (org-texinfo-headline): Fix @appendix command.
Nicolas Goaziou 10 anni fa
parent
commit
6326697f4e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lisp/ox-texinfo.el

+ 1 - 1
lisp/ox-texinfo.el

@@ -946,7 +946,7 @@ holding contextual information."
 	 ;; title and the other for the contents.
 	 (section-fmt
 	  (if (org-not-nil (org-element-property :APPENDIX headline))
-	      (concat menu node "appendix\n%s")
+	      (concat menu node "@appendix %s\n%s")
 	    (let ((sec (if (and (symbolp (nth 2 class-sectioning))
 				(fboundp (nth 2 class-sectioning)))
 			   (funcall (nth 2 class-sectioning) level numberedp)