4

I made a multi-level bulleted list in TextEdit that looks something like:

  • foo
    • bar
    • stuff
      • things

However, when I try to convert it to text (via cmd-shift-T, copy and paste, or textutil), the result looks more like:

  • foo
  • bar
  • stuff
  • things

How can I convert to text but preserve the indention?

Chealion
  • 26,327
Dan
  • 247

2 Answers2

1

This is because you are using the RTF only outline formatting that a plain text file can't handle. You can create your outline manually with tabs to indent and type the bullets with option 8 and when you convert to plain text you will get the result you are after.

Edit: I was able to preserve formatting by:

  1. Install PlainClip
  2. Shift click to launch Plain Clip and enable "remove trailing spaces and tabs from each line" and "remove invisible control characters"
  3. Copy from the RTF file
  4. Click on PlainClip
  5. Paste in a new RTF file and convert to TXT
ridogi
  • 2,987
0

Hmm, it looks like catdoc could probably do this. I was hoping that antiword would be able to do it as well, but I don't see any indication that it can either on the website or in the manpage, so maybe not.

SamB
  • 1,070