![]() |
#16 | |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,828
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
![]() |
|
![]() |
![]() |
#17 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
![]() 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 |
|
![]() |
Advert | |
|
![]() |
#18 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
#19 | |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,828
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
For outside Sigil, I love pdurrant's ePub Zip/Unzip Applescript applet (but it is only for Mac). |
|
![]() |
![]() |
#20 |
Klak
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 . |
![]() |
Advert | |
|
![]() |
#21 |
Zealot
![]() Posts: 100
Karma: 10
Join Date: Aug 2019
Device: none
|
|
![]() |
![]() |
#22 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
#23 | |
Zealot
![]() Posts: 100
Karma: 10
Join Date: Aug 2019
Device: none
|
Quote:
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. |
|
![]() |
![]() |
#24 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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?
|
![]() |
![]() |
#25 | |
Zealot
![]() Posts: 100
Karma: 10
Join Date: Aug 2019
Device: none
|
Quote:
|
|
![]() |
![]() |
#26 |
Junior Member
![]() 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 |
![]() |
![]() |
#27 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
|
![]() |
![]() |
#28 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
#29 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,738
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR Last edited by BetterRed; 12-25-2019 at 04:12 PM. |
|
![]() |
![]() |
#30 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
Hitch |
|
![]() |
![]() |
|
![]() |
||||
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 |