Function: org-latex-inline-src-block
org-latex-inline-src-block is a byte-compiled function defined in
ox-latex.el.gz.
Signature
(org-latex-inline-src-block INLINE-SRC-BLOCK CONTENTS INFO)
Documentation
Transcode an INLINE-SRC-BLOCK element from Org to LaTeX.
CONTENTS holds the contents of the item. INFO is a plist holding contextual information.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-latex.el.gz
;;;; Inline Src Block
(defun org-latex-inline-src-block (inline-src-block _contents info)
"Transcode an INLINE-SRC-BLOCK element from Org to LaTeX.
CONTENTS holds the contents of the item. INFO is a plist holding
contextual information."
(let ((code (org-element-property :value inline-src-block))
(lang (org-element-property :language inline-src-block)))
(pcase (plist-get info :latex-src-block-backend)
((or `verbatim (guard (not lang))) (org-latex--text-markup code 'code info))
(`minted (org-latex-inline-src-block--minted info code lang))
(`engraved (org-latex-inline-src-block--engraved info code lang))
(`listings (org-latex-inline-src-block--listings info code lang))
(oldval
(warn "Please update `org-latex-src-block-backend' to %s"
(if oldval "listings" "verbatim"))
(if oldval
(org-latex-inline-src-block--listings info code lang)
(org-latex--text-markup code 'code info))))))