Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 10:12 AM   #11641
Demanih
Junior Member
Demanih began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2019
Device: note4
I checked that if you save the book in "epub", the formatting is preserved, but if you save it in "txt" (or then convert it to txt in calibre), the formatting is lost and everything becomes one line (((
Is there any way to fix this?

Thank you.

Quote:
Originally Posted by JimmXinu View Post
Okay, ficbook is a bit weird--instead of using HTML tags to format story text, they use newline whitespace which requires unusual CSS to show.
Demanih is offline   Reply With Quote
Old Today, 10:38 AM   #11642
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,508
Karma: 81408765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quick question: In the AO3 section of personal.ini, I add_to_exclude_metadata some entries (e.g. I exclude "Star Trek: Strange New Worlds" as it's often double-tagged next to The Original Series).

In the case I want to have them for specific stories, is there a way to undo this in a storyUrl section? (Include would mean excluding all the other entries.)

Last edited by ownedbycats; Today at 11:23 AM.
ownedbycats is offline   Reply With Quote
Advert
Old Today, 11:51 AM   #11643
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,254
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Multi-reply

Quote:
Originally Posted by Demanih View Post
I checked that if you save the book in "epub", the formatting is preserved, but if you save it in "txt" (or then convert it to txt in calibre), the formatting is lost and everything becomes one line (((
Is there any way to fix this?
Ah. I assume everyone downloads to epub.

There isn't a fix for this in the current code. This is really ficbook being very weird.

I confirm that neither FFF's text output nor Calibre's Convert to TXT apply the unusual CSS ficbook uses during the txt output. I had hoped changing the <div> tag to a <pre> tag would work with Calibre's Convert, but it doesn't.

I might be able to add an option specifically in adapter_ficbooknet to change whitespace to tags. You'll likely lose the paragraph indents, though.

Quote:
Originally Posted by ownedbycats View Post
Quick question: In the AO3 section of personal.ini, I add_to_exclude_metadata. In the case I want to have them for specific stories, is there a way to undo this in a storyUrl section? (Include would mean excluding all the other entries.)
No. That's a known limitation of add_to_X.
JimmXinu is online now   Reply With Quote
Old Today, 01:32 PM   #11644
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,254
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2026-01-27
- adapter_storiesonlinenet: Site changed, get series number from series page now.
- adapter_ficbooknet: Add replace_text_formatting option to replace CSS paragraphing with tags, for txt output.

@Demanih - New replace_text_formatting option is on by default for ficbook using FFF's txt output. You will need to add it to your personal.ini under [ficbook.net] if you want to output epubs and then use Calibre Convert.
JimmXinu is online now   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 527 08-15-2025 02:36 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 06:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 01:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 07:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 01:37 PM.


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