Function: org-html--unlabel-latex-environment
org-html--unlabel-latex-environment is a byte-compiled function
defined in ox-html.el.gz.
Signature
(org-html--unlabel-latex-environment LATEX-FRAG)
Documentation
Change environment in LATEX-FRAG string to an unnumbered one.
For instance, change an equation environment to equation*.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
(defun org-html--unlabel-latex-environment (latex-frag)
"Change environment in LATEX-FRAG string to an unnumbered one.
For instance, change an `equation' environment to `equation*'."
(replace-regexp-in-string
"\\`[ \t]*\\\\begin{\\([^*]+?\\)}"
"\\1*"
(replace-regexp-in-string "^[ \t]*\\\\end{\\([^*]+?\\)}[ \r\t\n]*\\'"
"\\1*"
latex-frag nil nil 1)
nil nil 1))