emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* how to get verbatim text with line breaks
@ 2021-11-03 19:58 Christopher W. Ryan
  2021-11-03 20:23 ` Marco Wahl
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher W. Ryan @ 2021-11-03 19:58 UTC (permalink / raw)
  To: orgmode

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



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

end of thread, other threads:[~2021-11-03 20:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 19:58 how to get verbatim text with line breaks Christopher W. Ryan
2021-11-03 20:23 ` Marco Wahl

Code repositories for project(s) associated with this 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).