Function: org-texinfo-quote-block

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

Signature

(org-texinfo-quote-block QUOTE-BLOCK CONTENTS INFO)

Documentation

Transcode a QUOTE-BLOCK element from Org to Texinfo.

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

Source Code

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

(defun org-texinfo-quote-block (quote-block contents _info)
  "Transcode a QUOTE-BLOCK element from Org to Texinfo.
CONTENTS holds the contents of the block.  INFO is a plist
holding contextual information."
  (let ((tag (org-export-read-attribute :attr_texinfo quote-block :tag))
	(author (org-export-read-attribute :attr_texinfo quote-block :author)))
    (format "@quotation%s\n%s%s\n@end quotation"
	    (if tag (concat " " tag) "")
	    contents
	    (if author (concat "\n@author " author) ""))))