![]() |
#1 |
Connoisseur
![]() Posts: 80
Karma: 10
Join Date: Jul 2012
Location: Florida USA
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. |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,493
Karma: 5703586
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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,318
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
^^^^ +1
I have set the shortcut to open my default epub that has my default files...works great! |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
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. |
![]() |
![]() |
![]() |
#5 |
Witchman
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 628
Karma: 788808
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-24-2018 at 11:08 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() Posts: 80
Karma: 10
Join Date: Jul 2012
Location: Florida USA
Device: Android, kindle
|
|
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() Posts: 80
Karma: 10
Join Date: Jul 2012
Location: Florida USA
Device: Android, kindle
|
|
![]() |
![]() |
![]() |
#8 | |
Connoisseur
![]() Posts: 80
Karma: 10
Join Date: Jul 2012
Location: Florida USA
Device: Android, kindle
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 | |
Connoisseur
![]() Posts: 80
Karma: 10
Join Date: Jul 2012
Location: Florida USA
Device: Android, kindle
|
Quote:
And I don't import much , if any, html if I can help it. |
|
![]() |
![]() |
![]() |
#10 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,635
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#11 |
Witchman
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 628
Karma: 788808
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 10:46 PM. |
![]() |
![]() |
![]() |
#12 | |
Connoisseur
![]() Posts: 80
Karma: 10
Join Date: Jul 2012
Location: Florida USA
Device: Android, kindle
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#13 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 57
Karma: 600000
Join Date: Jan 2018
Device: Galaxy Tab S2
|
|
![]() |
![]() |
![]() |
#14 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 3517858
Join Date: May 2016
Location: Monterrey, Mexico
Device: Samsung Tab-3 7"
|
Quote:
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 09:51 AM. |
|
![]() |
![]() |
![]() |
#15 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Many thanks for this thread!
|
![]() |
![]() |
![]() |
Tags |
customize, new document |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
where are my customized lists? | ChipAHoy | Library Management | 4 | 03-29-2017 12:22 AM |
Customized screensaver | cholia | Kindle Developer's Corner | 1 | 06-02-2015 09:21 PM |
Customized Software for the Kindle | antalics | Kindle Developer's Corner | 2 | 08-14-2013 02:49 PM |
Customized KDP Sample | abeonis | Kindle Formats | 10 | 06-11-2013 08:47 AM |
How to convert a Word document into a Kindle document? | PS Kindle | Kindle Developer's Corner | 2 | 12-08-2009 08:40 PM |