Re: how to get verbatim text with line breaks

2021-11-03 Thread Marco Wahl
"Christopher W. Ryan"  writes:

> I have this in an org file
>
> 0,Mon [start_plus_0] at 03:00 PM
> 30,Mon [start_plus_0] at 03:30 PM
> 60,Mon [start_plus_0] at 04:00 PM
> 90,Mon [start_plus_0] at 04:30 PM
> 120,Mon [start_plus_0] at 05:00 PM
>
> I want to export to ASCII text and have it look exactly like that, 5 lines.
>
> Doing nothing, I get 3 lines
>
> 0,Mon [start_plus_0] at 03:00 PM 30,Mon [start_plus_0] at 03:30 PM
> 60,Mon [start_plus_0] at 04:00 PM 90,Mon [start_plus_0] at 04:30 PM
> 120,Mon [start_plus_0] at 05:00 PM

(info "(org) Paragraphs")

Paragraphs are separated by at least one empty line.  If you need to
enforce a line break within a paragraph, use ‘\\’ at the end of a line.


HTH,
-- 
Marco



how to get verbatim text with line breaks

2021-11-03 Thread Christopher W. Ryan
I have this in an org file

0,Mon [start_plus_0] at 03:00 PM
30,Mon [start_plus_0] at 03:30 PM
60,Mon [start_plus_0] at 04:00 PM
90,Mon [start_plus_0] at 04:30 PM
120,Mon [start_plus_0] at 05:00 PM

I want to export to ASCII text and have it look exactly like that, 5 lines.

Doing nothing, I get 3 lines

0,Mon [start_plus_0] at 03:00 PM 30,Mon [start_plus_0] at 03:30 PM
60,Mon [start_plus_0] at 04:00 PM 90,Mon [start_plus_0] at 04:30 PM
120,Mon [start_plus_0] at 05:00 PM


Trying various source and example blocks gets me partway there:


#+BEGIN_EXAMPLE
0,Mon [start_plus_0] at 03:00 PM
30,Mon [start_plus_0] at 03:30 PM
60,Mon [start_plus_0] at 04:00 PM
90,Mon [start_plus_0] at 04:30 PM
120,Mon [start_plus_0] at 05:00 PM
#+END_EXAMPLE

produces

,
| 0,Mon [start_plus_0] at 03:00 PM
| 30,Mon [start_plus_0] at 03:30 PM
| 60,Mon [start_plus_0] at 04:00 PM
| 90,Mon [start_plus_0] at 04:30 PM
| 120,Mon [start_plus_0] at 05:00 PM

5 lines, but I don't want the leading pipe characters, the comma, or the
4 hyphens


#+BEGIN_VERSE
0,Mon [start_plus_0] at 03:00 PM
30,Mon [start_plus_0] at 03:30 PM
60,Mon [start_plus_0] at 04:00 PM
90,Mon [start_plus_0] at 04:30 PM
120,Mon [start_plus_0] at 05:00 PM
#+END_VERSE

yields

  0,Mon [start_plus_0] at 03:00 PM
  30,Mon [start_plus_0] at 03:30 PM
  60,Mon [start_plus_0] at 04:00 PM
  90,Mon [start_plus_0] at 04:30 PM
  120,Mon [start_plus_0] at 05:00 PM

5 lines, but with undesired indentation


Nor does #+BEGIN_VERBATIM  or #+BEGIN_SRC text   give me what I am
looking for.

Grateful for suggestions.

Thanks

--Chris Ryan