forked from mirrors/org-mode
Merge branch 'maint'
This commit is contained in:
commit
4bc07758a5
|
@ -1097,7 +1097,7 @@ is an integer, build the menu recursively, down to this depth."
|
||||||
(org-export-data (org-export-get-alt-title h info) info)
|
(org-export-data (org-export-get-alt-title h info) info)
|
||||||
(org-texinfo--format-entries entries info))
|
(org-texinfo--format-entries entries info))
|
||||||
(org-texinfo--build-menu h info (1- level))))))
|
(org-texinfo--build-menu h info (1- level))))))
|
||||||
(org-texinfo--menu-entries scope info) "")))))
|
(org-texinfo--menu-entries scope info) "\n")))))
|
||||||
|
|
||||||
(defun org-texinfo--format-entries (entries info)
|
(defun org-texinfo--format-entries (entries info)
|
||||||
"Format all direct menu entries in SCOPE, as a string.
|
"Format all direct menu entries in SCOPE, as a string.
|
||||||
|
@ -1279,9 +1279,11 @@ contextual information."
|
||||||
"Transcode a SECTION element from Org to Texinfo.
|
"Transcode a SECTION element from Org to Texinfo.
|
||||||
CONTENTS holds the contents of the section. INFO is a plist
|
CONTENTS holds the contents of the section. INFO is a plist
|
||||||
holding contextual information."
|
holding contextual information."
|
||||||
(concat contents
|
(org-trim
|
||||||
(let ((parent (org-export-get-parent-headline section)))
|
(concat contents
|
||||||
(and parent (org-texinfo-make-menu parent info)))))
|
"\n"
|
||||||
|
(let ((parent (org-export-get-parent-headline section)))
|
||||||
|
(and parent (org-texinfo-make-menu parent info))))))
|
||||||
|
|
||||||
;;;; Special Block
|
;;;; Special Block
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue