mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-19 21:10:13 +00:00
Honor user-specified width in captioned images
* lisp/org-odt.el (org-odt-format-textbox): Honor user-specified width in captioned images. Fix for bug reported here: http://lists.gnu.org/archive/html/emacs-orgmode/2012-01/msg00641.html
This commit is contained in:
parent
95744ce7f8
commit
5bbc0a593e
|
@ -1763,7 +1763,8 @@ ATTR is a string of other attributes of the a element."
|
||||||
(org-odt-format-tags
|
(org-odt-format-tags
|
||||||
'("<draw:text-box %s>" . "</draw:text-box>")
|
'("<draw:text-box %s>" . "</draw:text-box>")
|
||||||
text (concat (format " fo:min-height=\"%0.2fcm\"" (or height .2))
|
text (concat (format " fo:min-height=\"%0.2fcm\"" (or height .2))
|
||||||
(format " fo:min-width=\"%0.2fcm\"" (or width .2))))
|
(unless width
|
||||||
|
(format " fo:min-width=\"%0.2fcm\"" (or width .2)))))
|
||||||
width nil style extra anchor-type))
|
width nil style extra anchor-type))
|
||||||
|
|
||||||
(defun org-odt-format-inlinetask (heading content
|
(defun org-odt-format-inlinetask (heading content
|
||||||
|
|
Loading…
Reference in a new issue