mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-15 17:00:45 +00:00
Fix typos in org-export-latex.el and whitespace
This commit is contained in:
parent
9bd48ac223
commit
b8801cdbe8
@ -267,7 +267,7 @@ emacs --batch
|
||||
|
||||
;;;###autoload
|
||||
(defun org-export-as-latex-to-buffer (arg)
|
||||
"Call `org-exort-as-latex` with output to a temporary buffer.
|
||||
"Call `org-export-as-latex` with output to a temporary buffer.
|
||||
No file is created. The prefix ARG is passed through to `org-export-as-latex'."
|
||||
(interactive "P")
|
||||
(org-export-as-latex arg nil nil "*Org LaTeX Export*")
|
||||
@ -1267,7 +1267,7 @@ If TIMESTAMPS, convert timestamps, otherwise delete them."
|
||||
(while (re-search-forward "^----+.$" nil t)
|
||||
(replace-match (org-export-latex-protect-string "\\hrule") t t))
|
||||
|
||||
;; Protect LaTeX commands like \commad[...]{...} or \command{...}
|
||||
;; Protect LaTeX commands like \command[...]{...} or \command{...}
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward "\\\\[a-zA-Z]+\\(?:\\[.*\\]\\)?{.*}" nil t)
|
||||
(add-text-properties (match-beginning 0) (match-end 0)
|
||||
|
Loading…
Reference in New Issue
Block a user