emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <esflists@gmail.com>
To: emacs-orgmode@gnu.org
Subject: exporting drawers: odt versus LaTeX
Date: Mon, 23 Apr 2018 17:05:08 +0100	[thread overview]
Message-ID: <87bme929jf.fsf@gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2018-04-23 16:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-23 16:05 Eric S Fraga [this message]
2018-04-23 21:26 ` exporting drawers: odt versus LaTeX 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bme929jf.fsf@gmail.com \
    --to=esflists@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).