RTF Editor like Wordpad on Ubuntu?
Hi experienced Linux users, I have Ubuntu and I am looking after an editor for RTF.
The installation manager gives big softwares such as Libreoffice or Abiword. But, in Linux, aren't there many Wordpad applications? I found many text editor but they do not give RTF support. Gracias |
RTF is a proprietary Microsoft format, as mentioned at https://en.wikipedia.org/wiki/Rich_Text_Format, so it's not going to get a lot of love in the open source community.
|
Quote:
what is the opensource alternative of RTF which was given by Linux community? |
There isn't one really that is specific to GNU/Linux. If you want a universal format that is cross-platform and cross-application then the OpenDocument Format is the way to go. Even M$ Office can mostly read it, albeit begrudgingly, but will (intentionally) break it still. However, other productivity suites deal with it very well.
Then at the low end there is always plain text, either ASCII or UTF-8. Plain text: it was good enough for Shakespeare ... Hard math based sciences still use LaTeX or similar. Can you give a few details about the problem you are trying to solve? |
Quote:
Latex is much too complex for me. I edited the document under Ubuntu Linux with gedit (in plaintext). I copied on usb stick my document. Using my MacBook I made an RTF document and I could finish my document. |
Ok. If your goal is to only use one of the RTF formats, and specifically one of the RTF formats, then your choice is LibreOffice, Calligra, or AbiWord. You've seen at least two of those already. AbiWord is by far the lightest of the three.
<grumbling> RTF, being vague and not really defined, is a little unsteady for real use. I used to use it a lot and found eventually that, like other M$ formats, it does not withstand the tests of time. About Apple, it has really, really dragged its feet on OpenDocument Format support, but their lightweight editor does now finally support it -- if I recall correctly. </grumbling> |
A simple rich text processor for Linux : Ted https://www.nllgg.nl/Ted/
See post #4 and #7 here http://www.linuxquestions.org/questi...-4175605441/#4 Debian / Ubuntu package = ted_2.23-1debian8_amd64.deb (2.4MB). - |
I've swapped files in RTF with no problems. If you are simply indicating fonts and paragraph types, then there will be no problem. Difficulties only arise if you try anything elaborate, like complicated tables or frames. If you want something quick and easy, then Ted (see last post) is certainly worth looking at, otherwise just export from an ordinary word-processor.
|
Quote:
https://askubuntu.com/a/315997 -> Quote:
|
Quote:
I am so sorry. This link has not a compatible package for Ubuntu. Does Ubuntu have somewhere also Ted for Ubuntu ? Regarding Pandoc and Markdown, they look like programming. I am not a programmer. I didn't know that Linux was so much complicated. I have used about 10 years Microsoft Windows and MAC. I am sorry. |
Quote:
I used to have to use only PFE on Windows, but I had to, to get the task done. Now, there are mebbe a dozen similar tools. Notepad++ is ok, but I don't want to "install" stuff to open a simple Linux formatted file in Windows. It gets easier. |
Quote:
I was looking for just a sort of Wordpad only. |
Quote:
You should know, however, that even though it is by far preferable to use your linux distribution's repositories and packages when installing software, it is still possible to install a linux application from source. If you decide you want to try Ted, let us know and members here will help you. *** EDIT *** I just looked at the Ted web page - they offer .deb packages (debian) which are compatible with Ubuntu. You should have no problem installing with these. On another note, I would give Abiword some more consideration if I were in your situation. Although it IS a complete word processing application, it is extremely lightweight and very well suited to the need you have. Cheers ! |
Most Linux word processors should export to rtf format.
|
Quote:
|
One of the {libre,open}Office products can read RTF documents if that is the concern.
|
|
libreoffice should export RTF. And several other editors. Otherwise markdown (with pandoc to make it human readable / meaningful) is probably the new gold standard for text documents. Try the usuals and see, like gedit, kedit / kate?, koffice, I think even wordgrinder exports RTF files.
In the days of OLD you would export RTF because M$ based things could read it pretty universally. Less relevant these days since most things can output PDF without adobe getting in the way (much). Plus RTF was less likely to be blocked by firewalls, email servers, and anti-virus programs. |
Has anyone come across any better ideas, now that you've had five years to think about it? :) RTF has the advantage of being completely portable across all platforms, and human-editable.
Ted is okay but it's not a great editor. LibreOffice bloats up the file with all sorts of print-layout code that can get really ugly if you have to hand-edit. AbiWord is lightweight but gunks up the RTF something awful (and doesn't respect system colors; I cannot use a glare white workspace). Over on Windows, Wordpad, RoughDraft, and similar dedicated RTF editors do not have these issues. On my everyday setup, I finally gave up and installed WinXP in a VM, so I could have a decent RTF editor again. But I'd still like to have a nice RTF editor for my pinephone (which runs Manjaro). |
Quote:
|
Quote:
There's just no market for folks like you and me that would prefer edit their RTFs by hand. I reluctantly migrated all my RTF docs to LaTeX long ago, both on Linux and on Windows. Reluctantly, because I still feel there are cases where LaTeX is an overkill, while Markdown is not enough, and RTF would hit the sweet spot inbetween the best. Unfortunately, the things I would go down the RTF route for (tables and footnotes) are often too much for either Ted or Pathetic Writer. Heck, even AbiWord sometimes couldn't render accurately the tables I produced in RTF by hand. That would leave only LibreOffice Writer, which is too heavy for the intended use and messes up all my carefully hand-formatted RTF anyway. And if I didn't need advanced table formatting and/or footnotes, I could do it in Markdown, so there's no point in using Ted or PW for me. The bottom line: there's no tool comparable to WordPad on Linux, or at least, I couldn't find one. If your aim is to produce RTF then I guess authoring documents in some other format and then converting them to RTF is a more viable alternative. Depending on what source format you prefer, the converter could be pandoc, latex2rtf, troffcvt, docbook2rtf, or something else. It's much easier to find a good Markdown or LaTeX editor that suites your taste. There are a couple of less known document preparation systems as well that claim to be able to produce RTF output: e.g. UDO, AFT, or SDF. __________ ¹ Pathetic Writer from the Siag Office suite being the only exception I know of. But it was last released 2006. It can still be built from source: I did it on CentOS 8. And if you find Ted limiting, then you'll probably find PW even more so. |
Funny this thread was revived right when I have the same question.
Guess what, though? I haven't logged into LQ in about 15 years, but I did to post to this thread. Insodoing, you know what I found? LQ's signature editor: font size, juxtaposition, wysiwyg -- everything this growing boy needs. hashtag solved! |
Quote:
...oh, LibreOffice's tag nesting bug, where italics adjacent to Track Changes can result in the whole rest of the document turning to strikeout, and there's no fixing it without hand-editing the raw text. You can't just undo the strikeout, because it gets tangled up with Track Changes in varied and creative ways. If I weren't already fairly proficient at hand-editing, I'd have never found the error. (Have seen it multiple times; it's definitely a bug.) An efficient way to de-gunk RTF is to export to HTML 3.x using something like Word Internet Assistant, then import back to RTF. Yes, a 28 year old tool from Microsoft does the best job, precisely because it's dumb as a post and strips out anything it doesn't understand. Word used to export really clean RTF, but that changed when they went to DOCX. That, and ODT (and worse, Pages), are inventions of the devil. I have a client who lost a whole finished novel due to a DOCX's ZIP header getting corrupted (and all the backups were bad the same way. I'm pretty good at dragging data out of broken files, but all that was recoverable was a background image.) ODT is for all practical purposes the same format (ZIP'd XML). .DOC was ugly inside, but the text was always hand-recoverable. FreeOffice and AbiWord both export the ugliest RTF I've ever seen, plus do weird things to line spacing. My cynical little voice opines that back in the day it was a point of Religion that anything Microsoft does, Linux does the opposite, so if MSFT developed an RTF editor, by jolly Linux will never have an RTF editor!! and once the office suites came along, there was no longer a perceived demand, because who wouldn't want a giant office suite and bloated files when all you needed was clean and tidy formatting?? |
|
Quote:
I used Wordpad often on Windows and saved as RTF. When I moved to Linux, I had to use LibreOffice but it produces an RTF file that is bloated, filled with junk. I have a Ryzen 5 3600 3.6 GHz CPU and it took up 2 or 3 min to open certain RTF files generated by LibreOffice. It was just a 20 page document, with some bold and color changes. Nothing fancy. No images. That's a problem that I ran into a few times. Then I started to use the ODT format. This is a zip compressed format but again, certain files become bloating and take +1 min to open. Anyway, if you want to use Wordpad, install WINE on your Ubuntu. You can install it from your AppStore. There is a WINE version of Wordpad. Open the terminal and type wine wordpad Or, if you want the real version, get Microsoft's wordpad.exe and run it with WINE. |
Quote:
On my everyday setup, as noted, I installed WinXP in VirtualBox, and use that to run the various tools I can't live without, including an RTF editor (mostly I use RoughDraft). But neither that nor WINE is suitable for slim or resource-limited setups, and the idea of using WINE on my PinePhone is just comical. It wouldn't even need to be full-featured. KWrite with the ability to handle basic RTF formatting would be great. |
Quote:
I have a C++ class for writing RTF files. I can give it to you if you want to insert it into KWrite Here is an example. Code:
TRTFFile rtfFile; |
Quote:
That's a little beyond my present skillset... really cool that you can, tho :) |
Quote:
Anyway, it looks like it is not really convenient for you. I think you can make wordpad.exe work much easier. |
Quote:
Or even an HTML editor that would export RTF, given that's mostly a tag substitution, with similar requirements for tag nesting. (We did that with a script in WordPerfect 5.0 in 1988, fer ghu's sakes...) I'd settle for Ted if the durn thing would do anything but a glare white workspace. But for me that makes it For Emergency Use Only. |
Quote:
|
Any word-processor should cope with RFT. I've just exported a file from Apache OpenOffice in RTF and reloaded it with no problems.
|
Quote:
Dedicated RTF editors don't add all the print layout codes that fullblown word processors do. Once that's in there, you have to find another tool to clean it out if you want to turn the file into, frex, a clean epub (free of weird formatting glitches, and not fighting with your chosen theme). Or do a hand-edit cleanup, which is just loads of fun, tho has made me lots of money. If you want to know how bad the bloat can get -- typically it's 2-3x the original, but I've seen LibreOffice crank a 500k RTF file into over 500mb, because it had made such a hash of its own added formatting. (This wasn't even a complex file; the only complicated part was Track Changes.) |
Quote:
|
Delphi used to have an RTF component, so I wonder what the Open Source cross-platform Lazarus does in that respect...
A quick search suggests there is a port which might be good enough? Quote:
|
Quote:
Not being a programmer (tho at times an interested bystander), I'd forgotten about Lazarus. Seems they win the award for the most cross-platform IDE ever. Thanks for the reminder; I have pascal source for an ancient (1991) DOS program I can't live without, and someday I'd like to see if it can be compiled in a more modern form. |
Didn't mean to suggest it was pre-compiled - you'll need to install Lazarus and compile it to get the executable.
|
Ah, okay, thanks. Been meaning to install Lazarus regardless! (But not today... busy...)
Should I achieve anything worth saving, I'll report back. More likely someone here will beat me to it. :) |
Quote:
I do remember using KWrite over 10 y ago. It handles text highlighting, which is suitable for programmers but you won't be able to freely bold, underline, italicize, change font for each word or line. |
Quote:
Kate understands how to parse and highlight the formatting code in RTF (and a zillion other formats) but it only displays plain text. I have no idea how hard it is to get from there to a WYSIWYG document display, but seems to me a lot of the guts are already there. |
Quote:
Think in terms of low level programming. If you want to render text, there are certain properties that you want to control: 1. The font 2. color 3. bold 4. italic 5. underline Your code would look something like this ChooseFont("Courrier"); setBold(true); renderText_at_position_xy(0, 0, "bla bla bla"); You also need to keep data structures to know when to switch a properties. You also need to know the line spacing needed. You use whatever API has to offer to get the text height. I've writing a similar program to Kate, with text highlighting long ago, for Windows. It was for writing OpenGL shaders. But the guys of WINE have already written a Wordpad. Maybe they should compile a Linux native version. https://appdb.winehq.org/objectManag...rsion&iId=1757 |
Quote:
I wish the source for my fave RTF editor was available (the program is abandoned). |
All times are GMT -5. The time now is 05:28 PM. |