mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-24 14:32:51 +00:00
Fix LaTeX spelled as Latex
etc/ORG-NEWS (Non-floating minted listings in LaTeX export): * lisp/ob-latex.el: (org-babel-execute:latex): * lisp/org-element.el: * lisp/ox-ascii.el: * lisp/ox-html.el: * lisp/ox-latex.el: * lisp/ox-md.el: * lisp/ox-odt.el: * testing/examples/ob-maxima-test.org (LaTeX output): * testing/lisp/test-org-element.el (test-org-element/cache): Spell LaTeX correctly.
This commit is contained in:
parent
4f6bf89547
commit
eb6379a417
|
@ -332,7 +332,7 @@ When the block type starts from the upper case, structure template
|
|||
will now insert =#+BEGIN_TYPE=. Previously, lower-case =#+begin_type= was inserted unconditionally.
|
||||
*** New ox-latex tabbing support for tables.
|
||||
|
||||
Latex tables can now be exported to the latex tabbing environment
|
||||
LaTeX tables can now be exported to the latex tabbing environment
|
||||
tabbing environment]].
|
||||
This is done by adding =#+ATTR_LATEX: :mode tabbing= at the top
|
||||
of the table.
|
||||
|
@ -4284,7 +4284,7 @@ parameters specific to some pre-defined translators, e.g.,
|
|||
~:environment~ and ~:booktabs~ for ~orgtbl-to-latex~. See translators
|
||||
docstrings (including ~orgtbl-to-generic~) for details.
|
||||
|
||||
*** Non-floating minted listings in Latex export
|
||||
*** Non-floating minted listings in LaTeX export
|
||||
|
||||
It is not possible to specify =#+attr_latex: :float nil= in conjunction
|
||||
with source blocks exported by the minted package.
|
||||
|
|
|
@ -141,7 +141,7 @@ exporting the literal LaTeX source."
|
|||
(org-trim body))
|
||||
|
||||
(defun org-babel-execute:latex (body params)
|
||||
"Execute a block of Latex code with Babel.
|
||||
"Execute a block of LaTeX code with Babel.
|
||||
This function is called by `org-babel-execute-src-block'."
|
||||
(setq body (org-babel-expand-body:latex body params))
|
||||
(if (cdr (assq :file params))
|
||||
|
|
|
@ -2462,7 +2462,7 @@ CDR is a plist containing `:key', `:value', `:begin', `:end',
|
|||
(org-element-property :value keyword)))
|
||||
|
||||
|
||||
;;;; Latex Environment
|
||||
;;;; LaTeX Environment
|
||||
|
||||
(defconst org-element--latex-begin-environment
|
||||
"^[ \t]*\\\\begin{\\([A-Za-z0-9*]+\\)}"
|
||||
|
@ -3412,7 +3412,7 @@ CONTENTS is the contents of the object."
|
|||
(format "/%s/" contents))
|
||||
|
||||
|
||||
;;;; Latex Fragment
|
||||
;;;; LaTeX Fragment
|
||||
|
||||
(defun org-element-latex-fragment-parser ()
|
||||
"Parse LaTeX fragment at point, if any.
|
||||
|
|
|
@ -1549,7 +1549,7 @@ information."
|
|||
keyword info)))))
|
||||
|
||||
|
||||
;;;; Latex Environment
|
||||
;;;; LaTeX Environment
|
||||
|
||||
(defun org-ascii-latex-environment (latex-environment _contents info)
|
||||
"Transcode a LATEX-ENVIRONMENT element from Org to ASCII.
|
||||
|
@ -1561,7 +1561,7 @@ information."
|
|||
latex-environment info)))
|
||||
|
||||
|
||||
;;;; Latex Fragment
|
||||
;;;; LaTeX Fragment
|
||||
|
||||
(defun org-ascii-latex-fragment (latex-fragment _contents info)
|
||||
"Transcode a LATEX-FRAGMENT object from Org to ASCII.
|
||||
|
|
|
@ -2969,7 +2969,7 @@ CONTENTS is nil. INFO is a plist holding contextual information."
|
|||
((string= "listings" value) (org-html-list-of-listings info))
|
||||
((string= "tables" value) (org-html-list-of-tables info))))))))
|
||||
|
||||
;;;; Latex Environment
|
||||
;;;; LaTeX Environment
|
||||
|
||||
(defun org-html-format-latex (latex-frag processing-type info)
|
||||
"Format a LaTeX fragment LATEX-FRAG into HTML.
|
||||
|
@ -3086,7 +3086,7 @@ CONTENTS is nil. INFO is a plist holding contextual information."
|
|||
info caption label)))))
|
||||
(t (org-html--wrap-latex-environment latex-frag info caption label)))))
|
||||
|
||||
;;;; Latex Fragment
|
||||
;;;; LaTeX Fragment
|
||||
|
||||
(defun org-html-latex-fragment (latex-fragment _contents info)
|
||||
"Transcode a LATEX-FRAGMENT object from Org to HTML.
|
||||
|
|
|
@ -2600,7 +2600,7 @@ CONTENTS is nil. INFO is a plist holding contextual information."
|
|||
(otherwise "\\lstlistoflistings")))))))))
|
||||
|
||||
|
||||
;;;; Latex Environment
|
||||
;;;; LaTeX Environment
|
||||
|
||||
(defun org-latex--environment-type (latex-environment)
|
||||
"Return the TYPE of LATEX-ENVIRONMENT.
|
||||
|
@ -2658,7 +2658,7 @@ CONTENTS is nil. INFO is a plist holding contextual information."
|
|||
(insert caption)
|
||||
(buffer-string))))))
|
||||
|
||||
;;;; Latex Fragment
|
||||
;;;; LaTeX Fragment
|
||||
|
||||
(defun org-latex-latex-fragment (latex-fragment _contents _info)
|
||||
"Transcode a LATEX-FRAGMENT object from Org to LaTeX.
|
||||
|
|
|
@ -486,7 +486,7 @@ channel."
|
|||
(_ (org-export-with-backend 'html keyword contents info))))
|
||||
|
||||
|
||||
;;;; Latex Environment
|
||||
;;;; LaTeX Environment
|
||||
|
||||
(defun org-md-latex-environment (latex-environment _contents info)
|
||||
"Transcode a LATEX-ENVIRONMENT object from Org to Markdown.
|
||||
|
@ -501,7 +501,7 @@ CONTENTS is nil. INFO is a plist holding contextual information."
|
|||
latex-frag)
|
||||
latex-frag))))
|
||||
|
||||
;;;; Latex Fragment
|
||||
;;;; LaTeX Fragment
|
||||
|
||||
(defun org-md-latex-fragment (latex-fragment _contents info)
|
||||
"Transcode a LATEX-FRAGMENT object from Org to Markdown.
|
||||
|
|
|
@ -1986,7 +1986,7 @@ information."
|
|||
(ignore))))))))
|
||||
|
||||
|
||||
;;;; Latex Environment
|
||||
;;;; LaTeX Environment
|
||||
|
||||
;; (eval-after-load 'ox-odt '(ad-deactivate 'org-format-latex-as-mathml))
|
||||
;; (advice-add 'org-format-latex-as-mathml ; FIXME
|
||||
|
@ -2007,7 +2007,7 @@ CONTENTS is nil. INFO is a plist holding contextual information."
|
|||
(org-odt-do-format-code latex-frag info)))
|
||||
|
||||
|
||||
;;;; Latex Fragment
|
||||
;;;; LaTeX Fragment
|
||||
|
||||
;; (when latex-frag ; FIXME
|
||||
;; (setq href (propertize href :title "LaTeX Fragment"
|
||||
|
|
|
@ -79,7 +79,7 @@ m: genmatrix (lambda([i,j], i+j-1), 3, 3)$
|
|||
write_data(m, "/dev/stdout")$
|
||||
#+end_src
|
||||
|
||||
* Latex output
|
||||
* LaTeX output
|
||||
#+begin_src maxima :exports both :results latex :results verbatim
|
||||
assume(x>0);
|
||||
tex(ratsimp(diff(%e^(a*x), x)));
|
||||
|
|
|
@ -1680,7 +1680,7 @@ Paragraph"
|
|||
(= (org-element-property :end (org-element-at-point)) (point-max)))))
|
||||
|
||||
|
||||
;;;; Latex Environment
|
||||
;;;; LaTeX Environment
|
||||
|
||||
(ert-deftest test-org-element/latex-environment-parser ()
|
||||
"Test `latex-environment' parser."
|
||||
|
@ -1745,7 +1745,7 @@ e^{i\\pi}+1=0
|
|||
(= (org-element-property :end (org-element-at-point)) (point-max)))))
|
||||
|
||||
|
||||
;;;; Latex Fragment
|
||||
;;;; LaTeX Fragment
|
||||
|
||||
(ert-deftest test-org-element/latex-fragment-parser ()
|
||||
"Test `latex-fragment' parser."
|
||||
|
|
Loading…
Reference in a new issue