View Single Post
Old 03-09-2012, 08:55 AM   #5
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 3,463
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
Quote:
Originally Posted by Bobosmite View Post
Is there a more Calibre-compatible text editor other than Word to edit .RTF docs? No matter how I try, I can't seem to get a Word .RTF to convert to .MOBI as it appears on the screen. Maybe with a more basic text editor, I can get better output.
Create a short rtf with several different programs and then open it with text editor, such as notepad or textpad or vim or whatever and observe the differences. Rtf file is plain text file with a few formatting tags. In the past I had scripts to create rtf documents from plain text. I just tacked on header and the last two lines stolen from well formatted Wordpad document, and put tag '/Par' at the end of each paragraph. Worked like a charm. (see http://www.biblioscape.com/rtf15_spec.htm for more details about rtf formatting)
Most Word processors output VERY ugly and convoluted mess instead of clean rtf.
Go ahead. Just create an rtf document with just one sentence in Wordpad and MSWord and perhaps another word processor, open them in Notepad.exe and see the difference.

Wordpad form Windows XP (ver. 5.1) produces *very* nice and clean rtf file. You will have to try out Windows 7 version of Wordpad as I haven't examined its rtf output. Wordpad is included in standard Windows installation, in the Accessories menu.
When working on Linux or FreeBSD, I use "Ted text editor" http://www.nllgg.nl/Ted/ . Despite its name, it is in fact a Word Processor ;-)

The difference between Word Processor and Text editor is that in a Word Processor you can format text to bold, italics, you can format paragraphs, justification, ...
In text editor you just edit plain texts, C source codes, html source codes, configuration files and suchlike.

You can also try OpenOffice.org, or its better fork Libre Office - http://www.libreoffice.org/download/ .
Just do not use rtf format. Use native *.odt format. Calibre can convert odf format. Odt, is even VERY similar to epub. The similarity is so great, that when you rename *.odt to *.odt.epub some programs for reading epubs (for example the one in my e-ink reader) can display the text.

Last edited by kacir; 03-09-2012 at 08:58 AM.
kacir is offline   Reply With Quote