emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: emacs-orgmode@gnu.org
Subject: Re: exporting drawers: odt versus LaTeX
Date: Mon, 23 Apr 2018 23:26:51 +0200	[thread overview]
Message-ID: <87wowxobqc.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87bme929jf.fsf@gmail.com> (Eric S. Fraga's message of "Mon, 23 Apr 2018 17:05:08 +0100")

Hello,

Eric S Fraga <esflists@gmail.com> writes:

> 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.

Both are treated similarly, really. The difference comes from the fact
that LaTeX has no markup for paragraph. Therefore,

  :drawer:
  Paragraph 1

  Paragraph 2
  :end:

will become

  Paragraph 1

  Paragraph 2

in LaTeX, but

  <p>Paragraph 1</p>

  <p>Paragraph 2</p>

in HTML...

You could write a drawer filter trimming paragraph markup if the drawer
consists of a single paragraph (e.g., no blank line).

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2018-04-23 21:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-23 16:05 exporting drawers: odt versus LaTeX Eric S Fraga
2018-04-23 21:26 ` Nicolas Goaziou [this message]
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=87wowxobqc.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --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).