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 04-23-2018, 06:55 PM   #1
PapaKilo
Enthusiast
PapaKilo began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Jul 2012
Device: Android, kindle
Customized New Document

Is there a way to customize what goes into the document when you click on File - New or open the program.

I sure would like to have it include the css and fonts I use on every new document when I create a new one.

Is it embedded in the code or in an included file that can be changed?

PapaKilo.
PapaKilo is offline   Reply With Quote
Old 04-23-2018, 10:16 PM   #2
KevinH
Wizard
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: 3,107
Karma: 1931746
Join Date: Nov 2009
Device: many
You can load any epub file you choose that has the skeleton / features you want and then simply use save-as to your desired fire name theteby never changing the original epub file.
KevinH is offline   Reply With Quote
Old 04-23-2018, 11:38 PM   #3
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: 1,687
Karma: 11766398
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 6/5/iPad 1,2 & Air/Surface Pro/Kindle PW
^^^^ +1

I have set the shortcut to open my default epub that has my default files...works great!
Turtle91 is offline   Reply With Quote
Old 04-24-2018, 02:30 PM   #4
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 1,102
Karma: 6099999
Join Date: Jul 2012
Device: Kobo Forma, Nook
A few months ago we also had an eerily similar discussion in the topic UUID basics & template.

Everyone chipped in their ideas/methods for template EPUBs.

Doitsu even created a rough-draft Sigil Plugin, EpubTemplate, to make it easy.
Tex2002ans is offline   Reply With Quote
Old 04-24-2018, 11:40 PM   #5
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 435
Karma: 768286
Join Date: May 2013
Location: Philippines
Device: Android S5
@PapaKilo said:
"I sure would like to have it include the css and fonts I use on every new document when I create a new one."

The above comment seems to suggests that you are not importing an epub into Sigil. Are you importing html into Sigil?

There are several Sigil plugin converters that will certainly include css and embedded fonts in the new epub. Diap's DOCXImport plugin or Doitsu's ODTImport(ODT to Epub) might fit your requirement depending on your original doctype. Another plugin you could possibly try is HTML2Epub - which automatically converts various different html doctypes to epub -- this plugin will create a css but will not import embedded fonts. You might also be interested in the TagMechanic or StyleBender plugins for Sigil. Just read the release notes. Have a look at The Sigil Plugin Index for more information. Lots of choice here.

As a last resort you could also try converting your doc to epub using Calibre. With this app, you can certainly choose to embed fonts and import styles how you like before you convert to epub. But, from an app user point of view, Calibre is a wee bit more complicated than Sigil so there will be a learning curve involved if you've never used it before.

Last edited by slowsmile; 04-25-2018 at 12:08 AM.
slowsmile is offline   Reply With Quote
Old 04-25-2018, 04:59 PM   #6
PapaKilo
Enthusiast
PapaKilo began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Jul 2012
Device: Android, kindle
Quote:
Originally Posted by KevinH View Post
You can load any epub file you choose that has the skeleton / features you want and then simply use save-as to your desired fire name theteby never changing the original epub file.
Yeah, I'm doing that. Just lazy and sometimes I forget to Save As.
PapaKilo is offline   Reply With Quote
Old 04-25-2018, 05:00 PM   #7
PapaKilo
Enthusiast
PapaKilo began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Jul 2012
Device: Android, kindle
Quote:
Originally Posted by Turtle91 View Post
^^^^ +1

I have set the shortcut to open my default epub that has my default files...works great!
Interesting, I'll have to try that.
PapaKilo is offline   Reply With Quote
Old 04-25-2018, 05:00 PM   #8
PapaKilo
Enthusiast
PapaKilo began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Jul 2012
Device: Android, kindle
Quote:
Originally Posted by Tex2002ans View Post
A few months ago we also had an eerily similar discussion in the topic UUID basics & template.

Everyone chipped in their ideas/methods for template EPUBs.

Doitsu even created a rough-draft Sigil Plugin, EpubTemplate, to make it easy.
I'll look into this one too.
PapaKilo is offline   Reply With Quote
Old 04-25-2018, 05:04 PM   #9
PapaKilo
Enthusiast
PapaKilo began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Jul 2012
Device: Android, kindle
Quote:
Originally Posted by slowsmile View Post
@PapaKilo said:
"I sure would like to have it include the css and fonts I use on every new document when I create a new one."

The above comment seems to suggests that you are not importing an epub into Sigil. Are you importing html into Sigil?

There are several Sigil plugin converters that will certainly include css and embedded fonts in the new epub. Diap's DOCXImport plugin or Doitsu's ODTImport(ODT to Epub) might fit your requirement depending on your original doctype. Another plugin you could possibly try is HTML2Epub - which automatically converts various different html doctypes to epub -- this plugin will create a css but will not import embedded fonts. You might also be interested in the TagMechanic or StyleBender plugins for Sigil. Just read the release notes. Have a look at The Sigil Plugin Index for more information. Lots of choice here.

As a last resort you could also try converting your doc to epub using Calibre. With this app, you can certainly choose to embed fonts and import styles how you like before you convert to epub. But, from an app user point of view, Calibre is a wee bit more complicated than Sigil so there will be a learning curve involved if you've never used it before.
I do use DocXImport when appropriate. Don't like Calibre css. then I have to go in and change all their code.

And I don't import much , if any, html if I can help it.
PapaKilo is offline   Reply With Quote
Old 04-25-2018, 08:15 PM   #10
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 11,467
Karma: 10584684
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by PapaKilo View Post
[ . . . ] and sometimes I forget to Save As.
I avoid doing that by copying the template I want from my templates directory into my working directory. rename it, and then open it with Sigil. I also have my templates Read only in case I forget to do that

BR
BetterRed is offline   Reply With Quote
Old 04-25-2018, 11:26 PM   #11
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 435
Karma: 768286
Join Date: May 2013
Location: Philippines
Device: Android S5
@PapaKilo...Back in the early days when I uploaded epub, I used templates. First I would create a Word template for novels. Then after creating my epub for the first time as I like it I would save the epub stylesheet as my epub template. You only have to do this once. Thereafter I would create my other novels always using the same Word template and save that to html. Then I would import the html doc into Sigil, convert to epub and just swap out the stylesheet with my original epub template - and the epub would automatically be formatted exactly as I prefer it. The key to this template method is that all the style names used in the Word template must be exactly the same as in my saved epub template. So when I swapped the stylesheets there was no extra css or html formatting needed because it was already done.

Last edited by slowsmile; 04-25-2018 at 11:46 PM.
slowsmile is offline   Reply With Quote
Old 04-25-2018, 11:54 PM   #12
PapaKilo
Enthusiast
PapaKilo began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Jul 2012
Device: Android, kindle
Quote:
Originally Posted by BetterRed View Post
I avoid doing that by copying the template I want from my templates directory into my working directory. rename it, and then open it with Sigil. I also have my templates Read only in case I forget to do that

BR
Good thought! Sometimes I wonder why I don't think of this stuff myself. Oh well, over the hill I guess.
PapaKilo is offline   Reply With Quote
Old 04-26-2018, 03:12 AM   #13
Maui
Connoisseur
Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.
 
Maui's Avatar
 
Posts: 57
Karma: 600000
Join Date: Jan 2018
Device: Galaxy Tab S2
Quote:
Originally Posted by PapaKilo View Post
Yeah, I'm doing that. Just lazy and sometimes I forget to Save As.
make the template read only.
Maui is offline   Reply With Quote
Old 04-26-2018, 10:38 AM   #14
JustinThought
Groupie
JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.
 
JustinThought's Avatar
 
Posts: 158
Karma: 3517858
Join Date: May 2016
Location: Monterrey, Mexico
Device: Samsung Tab-3 7"
Quote:
Originally Posted by Turtle91 View Post
^^^^ +1

I have set the shortcut to open my default epub that has my default files...works great!
Another way that works for me is, I have a folder set that contains my CSS, all the font files I'll be using, and even several pages that are standard between epubs (i.e., the cover page and often the title page as well as the first chapter). Then, open a new, blank document, click the add files button (+), import all the files, and you have a new, custom epub. Also, that way I can have one folder for, say, Heinlein, and another for Koontz, and each has their own individual formats and fonts.
Quote:
Originally Posted by PapaKilo View Post
Yeah, I'm doing that. Just lazy and sometimes I forget to Save As.
Me too. So set the attributes on your template file to read-only. Then you'll get that scary but harmless error message "...Sigil may have to close" when you try to save.

Last edited by JustinThought; 04-26-2018 at 10:51 AM.
JustinThought is offline   Reply With Quote
Old 04-30-2018, 11:24 AM   #15
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,206
Karma: 500084
Join Date: Dec 2012
Device: Kindle
Many thanks for this thread!
Notjohn is offline   Reply With Quote
Reply

Tags
customize, new document

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
where are my customized lists? ChipAHoy Library Management 4 03-29-2017 01:22 AM
Customized screensaver cholia Kindle Developer's Corner 1 06-02-2015 10:21 PM
Customized Software for the Kindle antalics Kindle Developer's Corner 2 08-14-2013 03:49 PM
Customized KDP Sample abeonis Kindle Formats 10 06-11-2013 09:47 AM
How to convert a Word document into a Kindle document? PS Kindle Kindle Developer's Corner 2 12-08-2009 09:40 PM


All times are GMT -4. The time now is 08:56 AM.


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