Re: [O] Enforcing newlines in plain text export

2014-09-27 Thread Alexis
Richard Lawrence writes: > Does anyone know why the behavior of "\\" is presently restricted to > appearing at the end of the line in a paragraph? Does anyone need it > to be exported literally when it appears elsewhere? When exporting code listings in any programming language which uses '\' fo

Re: [O] Enforcing newlines in plain text export

2014-09-27 Thread Kaushal
I needed to have multi line titles exported in all formats consistently and that's when I need to use '\\' mid-line. -- Kaushal Modi On Sep 27, 2014 5:16 PM, "Nicolas Goaziou" wrote: > Hello, > > Richard Lawrence writes: > > > Does anyone know why the behavior of "\\" is presently restricted to

Re: [O] Enforcing newlines in plain text export

2014-09-27 Thread Nicolas Goaziou
Hello, Richard Lawrence writes: > Does anyone know why the behavior of "\\" is presently restricted to > appearing at the end of the line in a paragraph? I certainly can see a good reason for it, although I don't know if it is the historical one. Org syntax is primarily intended for Org docum

Re: [O] Enforcing newlines in plain text export

2014-09-27 Thread Richard Lawrence
Hi Kaushal, Kaushal writes: > I am requesting a consistent solution. > > If "//" at the end of a line inserts newline when exporting in all formats, > then it should do the same when used in between a line too for ALL export > formats. > > Example: #+TITLE: Line one // Line two > > I am simply

Re: [O] Enforcing newlines in plain text export

2014-09-26 Thread Kaushal
I am requesting a consistent solution. If "//" at the end of a line inserts newline when exporting in all formats, then it should do the same when used in between a line too for ALL export formats. Example: #+TITLE: Line one // Line two I am simply trying to explain why we need another solution

Re: [O] Enforcing newlines in plain text export

2014-09-26 Thread Richard Lawrence
Kaushal writes: > Interesting thing is that `\\` work fine at the end of the lines. Yes, this is the behavior documented in the manual. > I need to force line breaks in cases like these > > - > For example, to execute the =example_1= test and run in the {{{NEWLINE}}} > > =/some/long/path/th

Re: [O] Enforcing newlines in plain text export

2014-09-26 Thread Kaushal
> Do you need to enforce line breaks *outside of* a paragraph in plain > text export? If so, what case are you worried about specifically? I forgot to answer this question.. I need to force line breaks in cases like these - For example, to execute the =example_1= test and run in the {{{NEWLI

Re: [O] Enforcing newlines in plain text export

2014-09-26 Thread Kaushal
The reason I switched to using this {{{NEWLINE}}} macro is that I wanted consistent results wherever I used it for any kind of export. Example: - #+TITLE: First Line of Title // Second Line of Title - Above works for only latex > pdf exports. HTML export of above keeps the `//` character