Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 12-23-2019, 10:46 PM   #16
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,828
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
Quote:
Originally Posted by theducks View Post
... Since EPUB is really just a Zip up bunch of text files (HTML and the lot are plain txt) Un-zip (there is a Unpack tool that will keep the proper EPUB structure upon repacking THE SESSION) the book and use whatever editor you want ...
Is this the Folder Out/In plugins? Or is there another nifty Unpack tool that I'm not aware of (I ask because I am forever learning about nifty tools that I am not aware of ) Thank you
odamizu is offline  
Old 12-23-2019, 11:26 PM   #17
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,070
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by odamizu View Post
Is this the Folder Out/In plugins? Or is there another nifty Unpack tool that I'm not aware of (I ask because I am forever learning about nifty tools that I am not aware of ) Thank you
Nifty tool
IIRC it is from the folk who make Atlantis
https://www.atlantiswordprocessor.co...tweak_epub.htm
But I really like the one Kovid includes with Calibre
theducks is offline  
Advert
Old 12-24-2019, 12:44 AM   #18
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,738
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@The_book - TextPad has saved searches and it can handle large files - Windows only, not free.

BR
BetterRed is offline  
Old 12-24-2019, 12:53 AM   #19
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,828
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
Quote:
Originally Posted by theducks View Post
Nifty tool
IIRC it is from the folk who make Atlantis
https://www.atlantiswordprocessor.co...tweak_epub.htm
But I really like the one Kovid includes with Calibre
Oh! I thought this was something inside Sigil.

For outside Sigil, I love pdurrant's ePub Zip/Unzip Applescript applet (but it is only for Mac).
odamizu is offline  
Old 12-24-2019, 02:37 AM   #20
najgori
Klak
najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'najgori gives new meaning to the word 'superlative.'
 
najgori's Avatar
 
Posts: 174
Karma: 150374
Join Date: Sep 2011
Location: Belgrade, Serbia
Device: many
well, notepad++ is in my view still the best solution for multiple regex editing.
how i do it is to install pythonscript plugin for notepad++.
inside plugin folder is Python Regex Replacements.py file.
there you have couple examples:
----------
editor.rereplace(r"([A-Z]{3})\1", r"\1")
----------
delete those & insert your own.
run script from notepad++ & save it in sigil.
it is very useful for indesign exported epubs .
najgori is offline  
Advert
Old 12-24-2019, 02:55 AM   #21
The_book
Zealot
The_book began at the beginning.
 
Posts: 100
Karma: 10
Join Date: Aug 2019
Device: none
Quote:
Originally Posted by BetterRed View Post
@The_book - TextPad has saved searches and it can handle large files - Windows only, not free.

BR
I'll try it, thank you.
The_book is offline  
Old 12-24-2019, 09:11 AM   #22
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,776
Karma: 6000000
Join Date: Nov 2009
Device: many
Just how large is this single html file? Using regex once to insert split markers and then splitting all at once works even on very large files. How much memory do you have?

Splitting it is the best approach for everyone. Why are you against splitting the file?

If you do not want anything to be "checked" then close the Preview Window as it is WebEngine preview window that is generating that error, not Sigil itself.
KevinH is online now  
Old 12-24-2019, 08:07 PM   #23
The_book
Zealot
The_book began at the beginning.
 
Posts: 100
Karma: 10
Join Date: Aug 2019
Device: none
Quote:
Originally Posted by KevinH View Post
Just how large is this single html file? Using regex once to insert split markers and then splitting all at once works even on very large files. How much memory do you have?

Splitting it is the best approach for everyone. Why are you against splitting the file?

If you do not want anything to be "checked" then close the Preview Window as it is WebEngine preview window that is generating that error, not Sigil itself.
I will try to close the preview window. Thank for your reply.
As for your questions, it's because large file always have many characters like < & > which should be replace before spliting. And after simple replacement of this characters, the xhtml's beginning and ending will be destroyed, so replacement about them also need to be done. So it will use replace more than ones, and looking that slow changing make me anxious.

Last edited by The_book; 12-24-2019 at 08:18 PM.
The_book is offline  
Old 12-24-2019, 09:50 PM   #24
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,776
Karma: 6000000
Join Date: Nov 2009
Device: many
So you have a very large file that is not html? Is that right? Why not save your original file in html format to start? If not, what is generating these extra < & > chars? Is there any way to export your file as html or try to import its native format using one of the plugins for doc files?
KevinH is online now  
Old 12-24-2019, 10:33 PM   #25
The_book
Zealot
The_book began at the beginning.
 
Posts: 100
Karma: 10
Join Date: Aug 2019
Device: none
Quote:
Originally Posted by KevinH View Post
So you have a very large file that is not html? Is that right? Why not save your original file in html format to start? If not, what is generating these extra < & > chars? Is there any way to export your file as html or try to import its native format using one of the plugins for doc files?
I am dealing with large plain text file, and your opinion is helpful. I may try pandoc to conver file to xhtml, importing it into Sigil to deal it. Thank for your suggestion.And I will try text import plugin as well.
The_book is offline  
Old 12-25-2019, 12:17 AM   #26
Dagr
Junior Member
Dagr began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2018
Device: kindle Fire
Another possible work flow here is to load the text file into a markdown editor > export as HTML > load the html into Sigil > search for "chapter" > style the chapter headings and split the file on a line just above the chapter header. You could also change the chapter headings in the mark up editor before the export to HTML. two descent free markdown editors are cutemarked and ghost writer.

Markdown IMHO is far easier to learn than HTML. Once the HTML for the page splits is learned; it can be added to the markdown file.The export to HTML will leave such code as is. Another benefit of Markdown is the formatting is basic enough that it will produce exported HTML files well suited for further EPUB editing. Just another way to skin this cat. HTH
Dagr is offline  
Old 12-25-2019, 12:50 AM   #27
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by The_book View Post
I am dealing with large plain text file, and your opinion is helpful. I may try pandoc to conver file to xhtml, importing it into Sigil to deal it.
You could always toss your TXT into Calibre and do a TXT->EPUB conversion.
Tex2002ans is offline  
Old 12-25-2019, 06:08 AM   #28
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,578
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I'm getting the idea the OP isn't really interested in making an epub from this file. They merely want to use Sigil to edit the file because of its Saved Searches feature.
DiapDealer is online now  
Old 12-25-2019, 04:01 PM   #29
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,738
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by DiapDealer View Post
I'm getting the idea the OP isn't really interested in making an epub from this file. They merely want to use Sigil to edit the file because of its Saved Searches feature.
That's been my feeling since the first post. AFAIK NP++ doesn't have Saved S&R. other than creating a macro for each case. Which is why I eventually suggested TextPad.

BR

Last edited by BetterRed; 12-25-2019 at 04:12 PM.
BetterRed is offline  
Old 12-25-2019, 10:26 PM   #30
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by The_book View Post
I am dealing with large plain text file, and your opinion is helpful. I may try pandoc to conver file to xhtml, importing it into Sigil to deal it. Thank for your suggestion.And I will try text import plugin as well.
Fine. Spend $40 or what-have-you and use NoteTAB Pro, which is pretty damn wonderful and, AFAIK, doesn't have anything around it that should be offputting to you for any reason.

Hitch
Hitch is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to paste as plain-text in Sigil? elenderg Sigil 4 09-28-2016 05:27 PM
Sigil Toc editor Enesco Sigil 16 09-23-2010 06:41 AM
Sigil ePub editor - where is it? Alexander Turcic ePub 3 08-04-2009 05:55 PM


All times are GMT -4. The time now is 09:57 AM.


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