![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 3274
Join Date: Dec 2011
Device: iPad
|
automatic file split on import
Is it possible to get Sigil to automatically split an HTML file at all CSS page breaks on import? Or if it can't currently do that, could it be added as a preference?
Calibre will do this, and I find it very convenient for importing HTML generated from a word processor -- but then calibre goes on to rewrite all the CSS, which makes the book too hard to edit. |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,753
Karma: 5706256
Join Date: Nov 2009
Device: many
|
Use regex and insert Sigil Split Points then split.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Witchman
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
@AaronShep . . . You could perhaps try installing and using the HTML2Epub plugin. This plugin will import your html into Sigil and convert your html file direct to epub format -- which also certainly includes splitting the html file into separate sections denoted by the heading style that is used throughout. This plugin only works for html files that are specifically derived from MS Word, LibreOffice Writer or Google Drive. Best read the release notes from the above link to find out whether this plugin would suit your needs or not.
Last edited by slowsmile; 03-24-2022 at 09:06 PM. |
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 3274
Join Date: Dec 2011
Device: iPad
|
Thanks for the suggestions!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Import Author And Title From Filename & Import Other Tags And Cover From File | DazJWood | Library Management | 25 | 10-06-2021 10:18 AM |
Can I import single HTML file without automatic ZIP conversion? | Alekskill124 | Library Management | 2 | 06-12-2020 10:56 AM |
Each catalog your settings - automatic import books ? | crnirg | Library Management | 4 | 05-30-2015 06:20 AM |
'File, Import Files' and 'Add File' redundant? | phossler | Editor | 2 | 01-06-2014 12:55 AM |
File split sometimes shows more split lines | DrChiper | Editor | 1 | 12-23-2013 05:38 PM |