mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-05 11:45:52 +00:00
LaTeX export. Fix footnote bug.
This commit is contained in:
parent
0f85963ae2
commit
c0d77694d2
@ -1,3 +1,10 @@
|
||||
2009-11-29 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-footnote.el (org-footnote-normalize): Protect replacement
|
||||
text.
|
||||
|
||||
* org.el (org-inside-latex-macro-p): Save match data.
|
||||
|
||||
2009-11-27 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-latex.el (org-export-latex-class-options): New variable.
|
||||
|
@ -398,7 +398,7 @@ referenced sequence."
|
||||
(skip-chars-backward " \t\n\t")
|
||||
(delete-region (1+ (point)) (match-beginning 0))))))
|
||||
(unless sort-only
|
||||
(replace-match (concat before "[" marker "]"))
|
||||
(replace-match (concat before "[" marker "]") t t)
|
||||
(and idef
|
||||
org-footnote-fill-after-inline-note-extraction
|
||||
(fill-paragraph)))
|
||||
|
@ -14485,8 +14485,9 @@ looks only before point, not after."
|
||||
|
||||
(defun org-inside-latex-macro-p ()
|
||||
"Is point inside a LaTeX macro or its arguments?"
|
||||
(org-in-regexp
|
||||
"\\\\[a-zA-Z]+\\*?\\(\\[[^][\n{}]*\\]\\)?\\({[^{}\n]*}\\)?"))
|
||||
(save-match-data
|
||||
(org-in-regexp
|
||||
"\\\\[a-zA-Z]+\\*?\\(\\[[^][\n{}]*\\]\\)?\\({[^{}\n]*}\\)?")))
|
||||
|
||||
(defun org-try-cdlatex-tab ()
|
||||
"Check if it makes sense to execute `cdlatex-tab', and do it if yes.
|
||||
|
Loading…
Reference in New Issue
Block a user