Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-06-2020, 02:42 PM   #1
PapaKilo
Connoisseur
PapaKilo began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Jul 2012
Device: Android, kindle
Custom empty ePub

Where can I find a "how to" on creating a custom empty ePub.

I can't seem to find one anywhere.
PapaKilo is offline   Reply With Quote
Old 01-06-2020, 03:13 PM   #2
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: 7,645
Karma: 5433388
Join Date: Nov 2009
Device: many
There ar eno formal docs yet, so simply just give it a try. It will show you the root folder of an empty epub. You will be able to select it, and add subfolders to it, and add marker files to specific folders to tell Sigil wheere you want files of a specific type to go.

If you try to save it for use, it will run a test to make sure your design is sane.

Give it a try. Then take a few moments to write-up a how-to to help us out.
KevinH is offline   Reply With Quote
Advert
Old 01-06-2020, 06:27 PM   #3
PapaKilo
Connoisseur
PapaKilo began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Jul 2012
Device: Android, kindle
Quote:
Originally Posted by KevinH View Post
There ar eno formal docs yet, so simply just give it a try. It will show you the root folder of an empty epub. You will be able to select it, and add subfolders to it, and add marker files to specific folders to tell Sigil wheere you want files of a specific type to go.

If you try to save it for use, it will run a test to make sure your design is sane.

Give it a try. Then take a few moments to write-up a how-to to help us out.
How (where) do I put information in these files/folders that I want to appear in the new ePub?
PapaKilo is offline   Reply With Quote
Old 01-06-2020, 06:59 PM   #4
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: 7,645
Karma: 5433388
Join Date: Nov 2009
Device: many
See the Tools menu.
KevinH is offline   Reply With Quote
Old 01-06-2020, 08:52 PM   #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: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by PapaKilo View Post
How (where) do I put information in these files/folders that I want to appear in the new ePub?
You don't.

The Custom Layout tool is not used to create template epubs that will be pre-populated with content, metadata, images etc... . You're thinking about it the wrong way.

It's used to create the structure that new epubs will use. Css will go in this folder; xhtml will go here (and here and here); the opf will live here; images will go here -- that sort of thing. When all is said and done, the new epubs created from the custom layouts are still going be an opf, an empty xhtml file and an empty ncx (or nav if it's an epub3).

Last edited by DiapDealer; 01-06-2020 at 08:56 PM.
DiapDealer is offline   Reply With Quote
Advert
Old 01-06-2020, 09:21 PM   #6
PapaKilo
Connoisseur
PapaKilo began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Jul 2012
Device: Android, kindle
Quote:
Originally Posted by DiapDealer View Post
You don't.

The Custom Layout tool is not used to create template epubs that will be pre-populated with content, metadata, images etc... . You're thinking about it the wrong way.

It's used to create the structure that new epubs will use. Css will go in this folder; xhtml will go here (and here and here); the opf will live here; images will go here -- that sort of thing. When all is said and done, the new epubs created from the custom layouts are still going be an opf, an empty xhtml file and an empty ncx (or nav if it's an epub3).

Okay, my bad.

Well it still sucks. I would really like it the other way.

Paul
PapaKilo is offline   Reply With Quote
Old 01-06-2020, 09:29 PM   #7
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: 7,645
Karma: 5433388
Join Date: Nov 2009
Device: many
Then set the empty layout, then add the material you want to be in the template and save it as an epub.

When you want to use it as a template, load that epub and do a save-as under a new name.
KevinH is offline   Reply With Quote
Old 01-07-2020, 03:29 AM   #8
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by PapaKilo View Post
I would really like it the other way.
You might find my simple EpubTemplate plugin helpful. Note that it doesn't work with non-standard epubs.
Doitsu is offline   Reply With Quote
Old 01-07-2020, 08:42 AM   #9
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,095
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by KevinH View Post
Then set the empty layout, then add the material you want to be in the template and save it as an epub.

When you want to use it as a template, load that epub and do a save-as under a new name.
+1000000

I use this technique all the time - it works great!
Turtle91 is offline   Reply With Quote
Old 01-10-2020, 07:41 AM   #10
PapaKilo
Connoisseur
PapaKilo began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Jul 2012
Device: Android, kindle
Quote:
Originally Posted by KevinH View Post
Then set the empty layout, then add the material you want to be in the template and save it as an epub.

When you want to use it as a template, load that epub and do a save-as under a new name.
Already do that, was hoping there was a new way.
PapaKilo is offline   Reply With Quote
Old 01-10-2020, 07:43 AM   #11
PapaKilo
Connoisseur
PapaKilo began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Jul 2012
Device: Android, kindle
Quote:
Originally Posted by Doitsu View Post
You might find my simple EpubTemplate plugin helpful. Note that it doesn't work with non-standard epubs.
I'll give it a try.
PapaKilo is offline   Reply With Quote
Old 01-10-2020, 02:50 PM   #12
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
...And if you mark template epub as read only you will not be able to overwrite it with book you are working on - you will have to use "save as" and save it with another file name.

However, if you try to use "save" you will get error "Sigil has encoutered a problem. Sigil may need to close."

Perhaps this error text could be replaced with more descriptive one?
najgori is offline   Reply With Quote
Old 01-10-2020, 06:32 PM   #13
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: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
If we made it more descriptive, it wouldn't work as the generic, catch-all error message it was intended to be.
DiapDealer is offline   Reply With Quote
Old 01-14-2020, 11:27 AM   #14
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
imho generic messages should rhyme or be in form of haiku.
najgori is offline   Reply With Quote
Old 01-14-2020, 12:14 PM   #15
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: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I can work with that!
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding custom column with any lookup-name gives me empty column as a result? Ahu Lee Library Management 16 06-09-2019 12:14 PM
How to add checking for an empty custom column using Quality Check plug-in? pg111 Calibre 11 11-13-2018 12:26 AM
Blank pages (empty articles) in custom recipe xiatian Recipes 11 10-21-2018 02:22 AM
New Metadata class (empty books) and custom columns kiwidude Development 14 03-12-2011 06:47 AM
Spine is empty from epub to mobi webwizard Conversion 1 02-13-2011 08:10 AM


All times are GMT -4. The time now is 12:38 AM.


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