Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 02-16-2022, 04:45 AM   #1
yetanotheruser
Junior Member
yetanotheruser began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2022
Device: Pocket Book Touch Lux 5
How to view a txt file as it is?

Hi,

I have installed koreader because my Pocket Book is not able to open txt files (although the manual claims it was but when I try to open a txt file the screen just goes black, not displaying anything). I'm really glad I have found koreader, installation and opening a txt file with it worked flawlessly. However, koreader does not display the file as it is. For example chapter titles are underlined with a line of equals signs in the file but koreader replaces this line of equal signs with three asterisks. It does not look as nice and reduces readability. Also, I am wondering what other things it changes that I haven't noticed yet.

I went through all settings and disabled Style and Style Tweaks. This has changed the spacing of the asterisks but the equals signs are still replaced.

So, how do I display a txt file just the way it is?

I have found the terminal emulator and `cat /mnt/ext1/mybook.txt` works as expected. And as cool as it is that this is possible I would prefer a way which involves less typing.

Thanks in advance
yetanotheruser is offline   Reply With Quote
Old 02-16-2022, 05:09 AM   #2
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
I agree, I think that stuff should be stripped out without mercy.
Frenzie is offline   Reply With Quote
Advert
Old 02-16-2022, 05:35 AM   #3
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,012
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
I convert text files in Calibre, or if they are big and important I format & style in LO Writer (Word is good too), saving as odt for later edits and extra Save As docx for Calibre import.
It doesn't take much effort and makes then much easier to read.
Quoth is offline   Reply With Quote
Old 02-16-2022, 06:12 AM   #4
hius07
Wizard
hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.
 
Posts: 1,179
Karma: 3592925
Join Date: Sep 2014
Location: Ukraine
Device: Kindle
You can try to open it in Text editor: long-press on a file, Open with...
hius07 is offline   Reply With Quote
Old 02-16-2022, 12:36 PM   #5
yetanotheruser
Junior Member
yetanotheruser began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2022
Device: Pocket Book Touch Lux 5
Thank you for your suggestions.

Opening the file in the text editor works but I'm scared I might accidentally change the file, especially because I haven't found a possibility to disable the touch screen with koreader.

Converting the file with Calibre is a good idea. No Libre Office or Word even needed, I can directly convert the file with something like `ebook-convert mybook.txt mybook.epub --input-encoding=utf-8 '--chapter=//*[name()='"'"'h1'"'"' or name()='"'"'h2'"'"']' --chapter-mark=none --page-breaks-before=/ --title 'A book' --authors 'My favorite author' --pubdate 'someday'`. It took my some time to figure out the correct options but now this seems like a feasible workaround. This also has the advantage that now I don't need koreader anymore and can disable the touch screen while reading.

I'll keep koreader installed, of course. Having a text editor and terminal emulator available may come in handy some day.

Thank you.
yetanotheruser is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshooting Kindle PW, txt file problem ProDigit Amazon Kindle 4 02-04-2013 11:14 PM
Txt file display changes? timepiece Amazon Kindle 1 04-29-2011 01:56 PM
Can I edit (or even view) .txt files imported from sdcard? Dragginz enTourage Archive 6 06-30-2010 02:18 PM
How can i convert HTML or txt file to EPUB file ? guguqiaqia ePub 7 05-28-2010 09:15 PM
TXT file reader s0me0ne Reading and Management 0 09-12-2006 09:21 PM


All times are GMT -4. The time now is 11:19 AM.


MobileRead.com is a privately owned, operated and funded community.