all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* exporting drawers: odt versus LaTeX
@ 2018-04-23 16:05 Eric S Fraga
  2018-04-23 21:26 ` Nicolas Goaziou
  0 siblings, 1 reply; 9+ messages in thread
From: Eric S Fraga @ 2018-04-23 16:05 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 976 bytes --]

Hello all,

when I export a drawer to LaTeX, the output from
org-latex-format-drawer-function, which I can re-define, is inserted
directly into the LaTeX document.  In particular, it is not considered a
different paragraph by default.

When I export to odt, the content text passed to the
org-odt-format-drawer-function is already wrapped within a paragraph
style, e.g.:

<text:p text:style-name="Text_20_body">Drawer contents here
</text:p>

This inconsistency is not ideal.  I would prefer the contents to be
passed to the drawer function without this wrapping style.  I don't mind
if the default of the function puts the contents in a paragraph, of
course, but I would like to override this.

I've gone through the code but cannot determine where this is done and
why the ODT export target is treated differently to the LaTeX one.

Any pointers would be welcome.

Thanks,
eric

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-419-g52ba1a

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-04-30 13:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-23 16:05 exporting drawers: odt versus LaTeX Eric S Fraga
2018-04-23 21:26 ` Nicolas Goaziou
2018-04-24  5:37   ` Eric S Fraga
2018-04-24  7:36     ` Nicolas Goaziou
2018-04-24  8:34       ` Eric S Fraga
2018-04-24 21:43         ` Nicolas Goaziou
2018-04-25  6:17           ` Eric S Fraga
2018-04-30 11:46             ` Nicolas Goaziou
2018-04-30 13:36               ` Eric S Fraga

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.