[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Different exporters behave differently re exporter-specific lines
From: |
Thibault Polge |
Subject: |
Different exporters behave differently re exporter-specific lines |
Date: |
Tue, 29 Oct 2019 14:24:26 +0100 |
User-agent: |
mu4e 1.3.2; emacs 27.0.50 |
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
signature.asc
Description: PGP signature
- Different exporters behave differently re exporter-specific lines,
Thibault Polge <=