forked from mirrors/org-mode
LaTeX export: Allow figure placement in plain lists
This commit is contained in:
parent
29e646318f
commit
d92b46f6e5
|
@ -1,5 +1,8 @@
|
||||||
2009-11-22 Carsten Dominik <carsten.dominik@gmail.com>
|
2009-11-22 Carsten Dominik <carsten.dominik@gmail.com>
|
||||||
|
|
||||||
|
* org-latex.el (org-export-latex-format-image): Indent figure
|
||||||
|
environment, so that it does not interrupt plain list.
|
||||||
|
|
||||||
* org.el (org-open-at-point): Allow long link descriptions.
|
* org.el (org-open-at-point): Allow long link descriptions.
|
||||||
|
|
||||||
2009-11-21 Carsten Dominik <carsten.dominik@gmail.com>
|
2009-11-21 Carsten Dominik <carsten.dominik@gmail.com>
|
||||||
|
|
|
@ -1639,6 +1639,12 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
|
||||||
\\end{figure}")
|
\\end{figure}")
|
||||||
(t "\\includegraphics[%attr]{%path}")))
|
(t "\\includegraphics[%attr]{%path}")))
|
||||||
|
|
||||||
|
|
||||||
|
(setq figenv (mapconcat 'identity (split-string figenv "\n")
|
||||||
|
(save-excursion (beginning-of-line 1)
|
||||||
|
(looking-at "[ \t]*")
|
||||||
|
(concat "\n" (match-string 0)))))
|
||||||
|
|
||||||
(if (and (not label) (not caption)
|
(if (and (not label) (not caption)
|
||||||
(string-match "^\\\\caption{.*\n" figenv))
|
(string-match "^\\\\caption{.*\n" figenv))
|
||||||
(setq figenv (replace-match "" t t figenv)))
|
(setq figenv (replace-match "" t t figenv)))
|
||||||
|
|
Loading…
Reference in New Issue