forked from mirrors/org-mode
Added support for blockquote conversion in org-export-latex.el.
Also added *.elc to .gitignore.
This commit is contained in:
parent
1ade1c7c8b
commit
e00ecff463
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -9,6 +9,7 @@
|
||||||
*.cp
|
*.cp
|
||||||
*.cps
|
*.cps
|
||||||
*.dvi
|
*.dvi
|
||||||
|
*.elc
|
||||||
*.fn
|
*.fn
|
||||||
*.fns
|
*.fns
|
||||||
*.html
|
*.html
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
2008-05-06 Bastien Guerry <bzg@altern.org>
|
||||||
|
|
||||||
|
* lisp/org-export-latex.el (org-export-latex-preprocess): Added
|
||||||
|
support for blockquotes.
|
||||||
|
|
||||||
2008-05-05 Carsten Dominik <dominik@science.uva.nl>
|
2008-05-05 Carsten Dominik <dominik@science.uva.nl>
|
||||||
|
|
||||||
* lisp/org.el (org-read-date-analyze): Catch the case where only a
|
* lisp/org.el (org-read-date-analyze): Catch the case where only a
|
||||||
|
|
|
@ -1096,6 +1096,14 @@ Regexps are those from `org-export-latex-special-string-regexps'."
|
||||||
(replace-match (org-export-latex-protect-string
|
(replace-match (org-export-latex-protect-string
|
||||||
(concat (match-string 1) "\\LaTeX{}")) t t)))
|
(concat (match-string 1) "\\LaTeX{}")) t t)))
|
||||||
|
|
||||||
|
;; Convert blockquotes
|
||||||
|
(goto-char (point-min))
|
||||||
|
(while (re-search-forward "^#\\+BEGIN_QUOTE" nil t)
|
||||||
|
(replace-match "\\begin{quote}" t t))
|
||||||
|
(goto-char (point-min))
|
||||||
|
(while (re-search-forward "^#\\+END_QUOTE" nil t)
|
||||||
|
(replace-match "\\end{quote}" t t))
|
||||||
|
|
||||||
;; Convert horizontal rules
|
;; Convert horizontal rules
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(while (re-search-forward "^----+.$" nil t)
|
(while (re-search-forward "^----+.$" nil t)
|
||||||
|
|
Loading…
Reference in a new issue