Function: org-texinfo-section

org-texinfo-section is a byte-compiled function defined in ox-texinfo.el.gz.

Signature

(org-texinfo-section SECTION CONTENTS INFO)

Documentation

Transcode a SECTION element from Org to Texinfo.

CONTENTS holds the contents of the section. INFO is a plist holding contextual information.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-texinfo.el.gz
;;;; Section

(defun org-texinfo-section (section contents info)
  "Transcode a SECTION element from Org to Texinfo.
CONTENTS holds the contents of the section.  INFO is a plist
holding contextual information."
  (let ((parent (org-export-get-parent-headline section)))
    (when parent   ;first section is handled in `org-texinfo-template'
      (org-trim
       (concat contents
	       "\n"
	       (and (not (org-export-excluded-from-toc-p parent info))
		    (org-texinfo-make-menu parent info)))))))