View Single Post
Old 10-03-2019, 01:55 PM   #5
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
Quote:
Originally Posted by Turtle91 View Post
Glad you got it working!

I'm guessing the issue was when you loaded it into Sigil. If it doesn't load properly,
for whatever reason, you'll have issues. As you know, all files - images, stylesheets, fonts, html files, etc. - that are used by the epub need to be incorporated (loaded) into the epub so it knows where it's at. The exception to this is external links (like to a website or something).

Sorry, I'm not sure what you are referring to when you say "that lower right hand corner panel", my setup must be different than yours. Do you have a name for that panel/window?

FWIW, I have Sigil setup with a template blank epub. It has the basic pages that are common to most of the books I do (html cover page, copyright, About the Author, etc.) plus a stylesheet with all the default CSS and a default content.opf. This is all saved as "template.epub". Then when I open the file I immediately save-as with a new name into my working folder and start the whole editing process. This saves some of the repetitive work and lets me get straight to the important parts.

Cheers,
Thanks Dion. That's a brilliant suggestion with the template and I'm definitely doing it. What I run into trouble sometimes (and I suppose I would with the template too) is I copy and paste the contents from the previous epub what was in the About the Author, CopyrightPage, etc. So let's say I do your template.epub and I delete everything in the content of say the AboutTheAuthor page. Then I copy and paste everything from the previous AboutTheAuthor page, but then the stuff at the top (screenshot) sometimes is different and it causes problems.

I think I figured that out. Just take whatever is in the <body> tags and add it to just under </head> tag.

Then the only thing I would need to be concerned about would be if the stuff at the top changed. Or would Sigil automatically update that stuff every time I opened the template?

I just set up a template.epub. One more question--I don't have to do anything with as you say the default content.opf. It's just there, right?

And how do I open the original html file into the epub template?

Thanks again!
Attached Thumbnails
Click image for larger version

Name:	stuff.png
Views:	111
Size:	22.6 KB
ID:	173933  

Last edited by Gregg Bell; 10-03-2019 at 07:30 PM. Reason: one more question and yet one more
Gregg Bell is offline   Reply With Quote