Fix bug about LaTeX export of QUOTE and VERSE environments. Also allow completion for *_QUOTE *_VERSE and *_SRC keywords.
This commit is contained in:
parent
d5ceac5848
commit
cf9a05052f
|
@ -1,3 +1,11 @@
|
|||
2008-09-05 Bastien Guerry <bzg@altern.org>
|
||||
|
||||
* org.el (org-additional-option-like-keywords): Added keywords for
|
||||
the _QUOTE, _VERSE and _SRC environments.
|
||||
|
||||
* org-export-latex.el (org-export-latex-preprocess): Fix bug when
|
||||
exporting _QUOTE and _VERSE environments.
|
||||
|
||||
2008-09-05 Carsten Dominik <dominik@science.uva.nl>
|
||||
|
||||
* org-remember.el (org-remember-templates): Add nil instead of
|
||||
|
|
|
@ -1122,18 +1122,18 @@ Regexps are those from `org-export-latex-special-string-regexps'."
|
|||
|
||||
;; Convert blockquotes
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward "^#\\+BEGIN_QUOTE" nil t)
|
||||
(while (search-forward "ORG-BLOCKQUOTE-START" nil t)
|
||||
(replace-match "\\begin{quote}" t t))
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward "^#\\+END_QUOTE" nil t)
|
||||
(while (search-forward "ORG-BLOCKQUOTE-END" nil t)
|
||||
(replace-match "\\end{quote}" t t))
|
||||
|
||||
;; Convert verse
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward "^#\\+BEGIN_VERSE" nil t)
|
||||
(while (search-forward "ORG-VERSE-START" nil t)
|
||||
(replace-match "\\begin{verse}" t t))
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward "^#\\+END_VERSE" nil t)
|
||||
(while (search-forward "ORG-VERSE-END" nil t)
|
||||
(replace-match "\\end{verse}" t t))
|
||||
|
||||
;; Convert horizontal rules
|
||||
|
|
|
@ -8022,7 +8022,10 @@ This function can be used in a hook."
|
|||
(defconst org-additional-option-like-keywords
|
||||
'("BEGIN_HTML" "BEGIN_LaTeX" "END_HTML" "END_LaTeX"
|
||||
"ORGTBL" "HTML:" "LaTeX:" "BEGIN:" "END:" "TBLFM"
|
||||
"BEGIN_EXAMPLE" "END_EXAMPLE"))
|
||||
"BEGIN_EXAMPLE" "END_EXAMPLE"
|
||||
"BEGIN_QUOTE" "END_QUOTE"
|
||||
"BEGIN_VERSE" "END_VERSE"
|
||||
"BEGIN_SRC" "END_SRC"))
|
||||
|
||||
(defcustom org-structure-template-alist
|
||||
'(
|
||||
|
|
Loading…
Reference in New Issue