From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: exporting drawers: odt versus LaTeX Date: Mon, 23 Apr 2018 17:05:08 +0100 Message-ID: <87bme929jf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAdxr-0000Dy-Rb for emacs-orgmode@gnu.org; Mon, 23 Apr 2018 12:05:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAdxn-00082e-Ph for emacs-orgmode@gnu.org; Mon, 23 Apr 2018 12:05:15 -0400 Received: from mail-wr0-x230.google.com ([2a00:1450:400c:c0c::230]:39929) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fAdxn-00080w-Iu for emacs-orgmode@gnu.org; Mon, 23 Apr 2018 12:05:11 -0400 Received: by mail-wr0-x230.google.com with SMTP id q3-v6so32793572wrj.6 for ; Mon, 23 Apr 2018 09:05:11 -0700 (PDT) Received: from t3610 ([2.30.180.233]) by smtp.gmail.com with ESMTPSA id b10-v6sm16087501wrn.42.2018.04.23.09.05.09 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Apr 2018 09:05:09 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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.: Drawer contents here 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 =2D-=20 Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-419-g52ba1a --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWt4ENAAKCRDIkZPY//z2 fZMVAKCSbnuTxHVvmSrSK3TVJOaU5oA0rACeIF8Hy1VdQatBAdsYMcPokYdb4aw= =+Vwm -----END PGP SIGNATURE----- --=-=-=--