emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Different exporters behave differently re exporter-specific lines
@ 2019-10-29 13:24 Thibault Polge
  2019-10-29 15:54 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Thibault Polge @ 2019-10-29 13:24 UTC (permalink / raw)
  To: emacs-orgmode

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

I'm not sure how this feature is called, but in Org you can restrict a line
to a given exporter by prepending it with, eg, #+latex:

There's a bug with some exporters f treat these lines as paragraph breaks,
some don't.  For example, the following input:

Hello
#+latex: \TeX{}
World
#+html: Wide Web
!

Is exported to LaTeX as a single line, "Hello TeX World !", but to HTML
as separate paragraphs:

<p>
Hello
</p>
<p>
World
</p>
Wide Web
<p>
!
</p>

I wouldn't except these lines to introduce any paragraphs break.

This is with Emacs built from Git, using Org 9.2.6.

Best regards,
Thibault

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

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

end of thread, other threads:[~2019-10-29 17:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-29 13:24 Different exporters behave differently re exporter-specific lines Thibault Polge
2019-10-29 15:54 ` Nicolas Goaziou
2019-10-29 16:22   ` Thibault Polge
2019-10-29 17:19     ` Nicolas Goaziou
2019-10-29 16:29   ` Fraga, Eric

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