Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-20-2017, 08:45 AM   #1
Barto
Junior Member
Barto began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2015
Device: Kindle Fire, Kindle Paper White, Sony Reader,ADE (Win),BlueFire (And)
'Notes' Semantics in Sigil - usable for file extraction?

Hi all!

Please

I need to extract a certain portion of text (basically contents of a whole chapter) to a separate ePub file that would serve as a demo for potential readers.

So far we have marked one of the files corresponding with the demo chapter prepared in pdf with the 'Notes' semantics in Sigil, but it is not enough. We need to generate a separate ePub file.

Can I take advantage of the 'Notes' semantics in Sigil to do it somehow?

If not, how can I do it?

I would appreciate any suggestions.

THX
Barto
Barto is offline   Reply With Quote
Old 11-20-2017, 08:48 AM   #2
doubleshuffle
Flying Wheels
doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.
 
doubleshuffle's Avatar
 
Posts: 12,035
Karma: 125267587
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
Why don't you just make a copy of your epub and delete all the other files from it? Done in seconds.
doubleshuffle is offline   Reply With Quote
Old 11-20-2017, 09:21 AM   #3
Barto
Junior Member
Barto began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2015
Device: Kindle Fire, Kindle Paper White, Sony Reader,ADE (Win),BlueFire (And)
Of course you are right, but I treat this as a measure of last resort

I have around 3000 files to run this operation on... :/
Barto is offline   Reply With Quote
Old 11-20-2017, 09:45 AM   #4
doubleshuffle
Flying Wheels
doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.
 
doubleshuffle's Avatar
 
Posts: 12,035
Karma: 125267587
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
Oh, I see. Good luck then...
doubleshuffle is offline   Reply With Quote
Old 11-20-2017, 10:07 AM   #5
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: 21,177
Karma: 115533574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I know of no turnkey solution for batch sample-epub creation from existing epubs. Sigil itself is not geared toward batch processing to begin with. So there wouldn't even be any way to add the "note" semantic in bulk; let alone batch-create new epubs from them.

Last edited by DiapDealer; 11-20-2017 at 10:10 AM.
DiapDealer is online now   Reply With Quote
Old 11-21-2017, 01:57 AM   #6
AlanHK
Fanatic
AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40
 
AlanHK's Avatar
 
Posts: 503
Karma: 73392
Join Date: Apr 2014
Device: PW-3, Android phone
Since an ePub is a zip file:

You can unzip each zip to a folder
delete all the xhtml files except say the cover, front matter, the chapter you want.

rezip.
You should get a readable ePub, if the reader app isn't too fussy. ePubcheck will of course tell you there are missing files referenced.

If your internal filenames are consistent you might be able to automate this.
AlanHK is offline   Reply With Quote
Old 11-21-2017, 08:27 AM   #7
Barto
Junior Member
Barto began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2015
Device: Kindle Fire, Kindle Paper White, Sony Reader,ADE (Win),BlueFire (And)
Do I have to do this using ePubPack or does 7zip suffice?
Barto is offline   Reply With Quote
Reply

Tags
demo file, notes, semantics, sigil

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil Error Message: Book File Would Not Open in Sigil fkustaa Sigil 5 03-18-2017 01:54 AM
Fully Automated ebook file parsing, ISBN extraction, Titel Extraction and metadata isbnread Reading and Management 0 02-20-2017 11:20 AM
Create mobi file with notes. yngve Kindle Formats 2 02-23-2014 02:54 PM
Help with Semantics in Sigil tmyke70 Sigil 23 05-30-2012 03:10 PM
Is anyone taking class notes with Sigil? Logseman Sigil 5 02-05-2011 05:32 PM


All times are GMT -4. The time now is 06:54 PM.


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