forked from mirrors/org-mode
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>
|
2009-11-27 Carsten Dominik <carsten.dominik@gmail.com>
|
||||||
|
|
||||||
* org-latex.el (org-export-latex-class-options): New variable.
|
* org-latex.el (org-export-latex-class-options): New variable.
|
||||||
|
|
|
@ -398,7 +398,7 @@ referenced sequence."
|
||||||
(skip-chars-backward " \t\n\t")
|
(skip-chars-backward " \t\n\t")
|
||||||
(delete-region (1+ (point)) (match-beginning 0))))))
|
(delete-region (1+ (point)) (match-beginning 0))))))
|
||||||
(unless sort-only
|
(unless sort-only
|
||||||
(replace-match (concat before "[" marker "]"))
|
(replace-match (concat before "[" marker "]") t t)
|
||||||
(and idef
|
(and idef
|
||||||
org-footnote-fill-after-inline-note-extraction
|
org-footnote-fill-after-inline-note-extraction
|
||||||
(fill-paragraph)))
|
(fill-paragraph)))
|
||||||
|
|
|
@ -14485,8 +14485,9 @@ looks only before point, not after."
|
||||||
|
|
||||||
(defun org-inside-latex-macro-p ()
|
(defun org-inside-latex-macro-p ()
|
||||||
"Is point inside a LaTeX macro or its arguments?"
|
"Is point inside a LaTeX macro or its arguments?"
|
||||||
(org-in-regexp
|
(save-match-data
|
||||||
"\\\\[a-zA-Z]+\\*?\\(\\[[^][\n{}]*\\]\\)?\\({[^{}\n]*}\\)?"))
|
(org-in-regexp
|
||||||
|
"\\\\[a-zA-Z]+\\*?\\(\\[[^][\n{}]*\\]\\)?\\({[^{}\n]*}\\)?")))
|
||||||
|
|
||||||
(defun org-try-cdlatex-tab ()
|
(defun org-try-cdlatex-tab ()
|
||||||
"Check if it makes sense to execute `cdlatex-tab', and do it if yes.
|
"Check if it makes sense to execute `cdlatex-tab', and do it if yes.
|
||||||
|
|
Loading…
Reference in New Issue