0

Are there any text editors which can read in a plain-text file containing an ASCII table and render the table wih convenient table-editing tools such as "add row," "auto-fit column width," "delete column," etc? At my job we use MS Word's track changes feature to track changes in very long documents, which is unwieldy and inconvenient. I would love to convert our documents to plain text and use SVN or git to version them and easily see diffs. However, that requires converting our tables to plain text. Fortunately, that problem is already solved - MS Word has a "table-to-text feature, and this tool http://www.sensefulsolutions.com/2010/10/format-text-as-table.html can be used to translate MS Word's output to nicely formatted ASCII tables. While that would be a great way to get all our docs to plain text format, it would be prohibitively inconvenient to actually edit ASCII tables - adding and deleting rows, widening columns when necessary, etc. Are there any text editors or plugins which can do this kind of table manipulation on ASCII plain-text tables?

1

Notepad++ has some basic column editing features, but it's not going to be anywhere near as convenient as Word.

I think a better alternative might be to convert to CSV or similar, use a spreadsheet program (e.g. Excel) to edit, and just always save as CSV. This would probably make the transition for users easier, and allow you to have reasonable diffs.

  • I don't have enough rep to upvote your answer, but thanks for the response! The notepad++ features are cool, but yeah I think I'd basically need something with near-MS Word functionality for table editing that can operate on plain text the way that notepad++ does. If I was just creating tables, then the Excel/CSV route would be great - however, our docs have both paragraph-style and bulleted prose alongside with tables. Also, I think CSV would be hard to read - it would be nice for the docs to be readable without loading the tables into excel. Plz let me know if you have other suggestions! – user1473131 Jul 10 '13 at 21:44
0

Emacs plus Org mode (http://orgmode.org/) does what you need. The tables can also act as spreadsheets.

Don't be put off by Emacs' reputation for being difficult to learn, that only applies when trying to do the really complicated things. For simple text editing Emacs and Org mode are really easy and tables are very straightforward.

Org mode can export to pdf and html so you can easily continue editing in another editor if necessary.

  • The user doesn't state they are using linux and so I'm presuming they need a windows tool for this. While they could use emacs I'm sure there must be something easier. – djsmiley2k Sep 25 '16 at 15:17
  • 1
    Emacs and Org mode are the tools I use on Windows for recording the work I do as a software developer and it is very easy. Emacs is not a Linux program and there are binaries for pretty much every platform you can think of. As far as I am concerned Emacs is a Windows tool just as much as it is a Unix tool. – Kevin Whitefoot Sep 25 '16 at 18:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.