Hi Kaushal, I am forwarding your message to the Org mode list; you only sent it to me and Nicolas...
Kaushal <kaushal.m...@gmail.com> writes: > I came across > https://lists.gnu.org/archive/html/emacs-orgmode/2014-09/msg00466.html > through this emacs SE page: > http://emacs.stackexchange.com/questions/255/new-line-in-title-of-an-org-mode-exported-html-document > > The question I had asked on stackexchange was: How to export a mid-line > newline consistently in all formats. In paragraphs, all you need to do is end a line with "\\" to force a line break. This works for LaTeX, HTML, and plain text export, at least. This doesn't work in other kinds of syntax, like headlines, but you may not need it there. > But I couldn't figure out how to convey a newline character when exporting > to plain text (ascii). > > I tried, > > #+MACRO: NEWLINE @@latex:\\@@ @@html:<br>@@ @@ascii:\n@@ > > But that simply puts out "\n" verbatim in the exported txt file. I don't know the answer to this specific issue---you might need to create a custom export filter---but hopefully you can just use "\\" instead of a macro like this. Do you need to enforce line breaks *outside of* a paragraph in plain text export? If so, what case are you worried about specifically? Best, Richard OpenPGP Key ID: CF6FA646 Fingerprint: 9969 43E1 CF6F A646 (See http://www.ocf.berkeley.edu/~rwl/encryption.html for more information.)