Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 09-14-2020, 05:01 AM   #1
Thasaidon
Hedge Wizard
Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.
 
Thasaidon's Avatar
 
Posts: 802
Karma: 19999999
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
Next Version

Hi KevinH

Kovid had said he hopes to release the next copy of Calibre this month. ( I will give anyone, who complains about Kovid, if this slips a hard time. Things happen)

Is there likely to be a new version of Sigil before Xmas, to go with the new version of Calibre?

I am a heavy user of both and it would nice to have a new version of each.

Last edited by Thasaidon; 09-14-2020 at 05:02 AM. Reason: Typo
Thasaidon is offline   Reply With Quote
Old 09-14-2020, 07:57 AM   #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: 8,747
Karma: 5706256
Join Date: Nov 2009
Device: many
Probably but no guarantees.
KevinH is offline   Reply With Quote
Advert
Old 09-14-2020, 09:28 PM   #3
Thasaidon
Hedge Wizard
Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.
 
Thasaidon's Avatar
 
Posts: 802
Karma: 19999999
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
Quote:
Originally Posted by KevinH View Post
Probably but no guarantees.
Thank you.

I definitely was NOT asking for a guarantee. Things happen.

I have the greatest respect for the work you and DiapDealer do in maintaining and developing Sigil and do NOT like it when some posters take it for granted or think they are entitled to tell you the line of development you must take.
Thasaidon is offline   Reply With Quote
Old 09-14-2020, 10:53 PM   #4
slightfever
Member
slightfever began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Dec 2019
Location: Japan
Device: iPad
I'm sorry.
I've been sick and couldn't visit this forum.
You're probably angry with me.



Hi KevinH

I have proposed an example.
Have you thought about a new version for your team?

I'll help you.
Please give me a little more time as I prepare.
slightfever is offline   Reply With Quote
Old 09-15-2020, 04:52 AM   #5
slightfever
Member
slightfever began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Dec 2019
Location: Japan
Device: iPad
in epub3
I don't know in epub2

About font-size and font-color
Added as below to CSS
(Size and color are examples)

Code:
 /* font-size */
.font-0em50 { font-size:  0.50em; }
.font-0em60 { font-size:  0.60em; }
.font-0em70 { font-size:  0.70em; }
.font-0em75 { font-size:  0.75em; }
.font-0em80 { font-size:  0.80em; }
.font-0em85 { font-size:  0.85em; }
.font-0em90 { font-size:  0.90em; }
.font-1em   { font-size:  1.00em; }
.font-1em10 { font-size:  1.10em; }
.font-1em15 { font-size:  1.15em; }
.font-1em20 { font-size:  1.20em; }
.font-1em30 { font-size:  1.30em; }
.font-1em40 { font-size:  1.40em; }
.font-1em50 { font-size:  1.50em; }
.font-1em60 { font-size:  1.60em; }
.font-1em70 { font-size:  1.70em; }
.font-1em80 { font-size:  1.80em; }
.font-1em90 { font-size:  1.90em; }
.font-2em   { font-size:  2.00em; }
.font-2em50 { font-size:  2.50em; }
.font-3em   { font-size:  3.00em; }

/* font-color*/
.color-black       { color: #000000; }
.color-dimgray     { color: #696969; }
.color-gray        { color: #808080; }
.color-darkgray    { color: #a9a9a9; }
.color-silver      { color: #c0c0c0; }
.color-gainsboro   { color: #dcdcdc; }
.color-white       { color: #ffffff; }
.color-transparent { color: transparent; }

.color-red         { color: #ff0000; }
.color-blue        { color: #0000ff; }
.color-cyan        { color: #00ffff; }
.color-magenta     { color: #ff00ff; }
.color-orangered   { color: #ff4500; }
.color-yellow   { color: #ffff00; }
.color-green   { color: #008000; }
.color-purple   { color: #800080; }

When decorating

Code:
<span class="font-1em20">text</span>
<span class="color-red">text</span>

Reader may not support font-color.
iBooks can be displayed. (I haven't checked all the colors.)


Since epub uses the same standard as the Web, I think the history of Web development will be helpful.

If you have time, support it please.
slightfever is offline   Reply With Quote
Advert
Old 09-15-2020, 07:11 AM   #6
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,346
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
That looks like CSS that you can add to your personal CSS template - no need to add it to Sigil.

I, on the other hand, would never create a class simply for color or font-size. I adhere to the Keep It Simple Silly methodology and would apply color/size only to a specific class.

Code:
CSS:
p             {font-size:1em; color:black} /*not recommended to put a standardized font-size or color here - just an example*/
p.SpecialPara {font-size:1.8em; color:red}

HTML:
<p>This is a normal paragraph.</p>
<p>This is a normal paragraph.</p>
<p>This is a normal paragraph.</p>
<p>This is a normal paragraph.</p>
<p class="SpecialPara">This is a special paragraph.</p>
<p>This is a normal paragraph.</p>
<p>This is a normal paragraph.</p>
<p>This is a normal paragraph.</p>
instead of:
Code:
HTML:
<p class="font-1em color-black">This is a normal paragraph.</p>
<p class="font-1em color-black">This is a normal paragraph.</p>
<p class="font-1em color-black">This is a normal paragraph.</p>
<p class="font-1em color-black">This is a normal paragraph.</p>
<p class="font-1em80 color-red">This is a special paragraph.</p>
<p class="font-1em color-black">This is a normal paragraph.</p>
<p class="font-1em color-black">This is a normal paragraph.</p>
<p class="font-1em color-black">This is a normal paragraph.</p>

CSS:
 /* font-size */
.font-0em50 { font-size:  0.50em; }
.font-0em60 { font-size:  0.60em; }
.font-0em70 { font-size:  0.70em; }
.font-0em75 { font-size:  0.75em; }
.font-0em80 { font-size:  0.80em; }
.font-0em85 { font-size:  0.85em; }
.font-0em90 { font-size:  0.90em; }
.font-1em   { font-size:  1.00em; }
.font-1em10 { font-size:  1.10em; }
.font-1em15 { font-size:  1.15em; }
.font-1em20 { font-size:  1.20em; }
.font-1em30 { font-size:  1.30em; }
.font-1em40 { font-size:  1.40em; }
.font-1em50 { font-size:  1.50em; }
.font-1em60 { font-size:  1.60em; }
.font-1em70 { font-size:  1.70em; }
.font-1em80 { font-size:  1.80em; }
.font-1em90 { font-size:  1.90em; }
.font-2em   { font-size:  2.00em; }
.font-2em50 { font-size:  2.50em; }
.font-3em   { font-size:  3.00em; }

/* font-color*/
.color-black       { color: #000000; }
.color-dimgray     { color: #696969; }
.color-gray        { color: #808080; }
.color-darkgray    { color: #a9a9a9; }
.color-silver      { color: #c0c0c0; }
.color-gainsboro   { color: #dcdcdc; }
.color-white       { color: #ffffff; }
.color-transparent { color: transparent; }

.color-red         { color: #ff0000; }
.color-blue        { color: #0000ff; }
.color-cyan        { color: #00ffff; }
.color-magenta     { color: #ff00ff; }
.color-orangered   { color: #ff4500; }
.color-yellow   { color: #ffff00; }
.color-green   { color: #008000; }
.color-purple   { color: #800080; }
By NOT giving a class to every paragraph, and only giving one to "special" paragraphs, you keep your code clean. It's MUCH easier to edit when it is clean...plus, if I wanted to change the style of the basic paragraph I only need to change it once, in the CSS, and not have to update the class on EVERY paragraph.

In your example you are using <span> tags, but the concept still applies: You don't need to have a list of all the possible font-sizes/colors in your CSS...just add the ones you need to a specific class for that specific <span>.

Cheers,

Last edited by Turtle91; 09-15-2020 at 07:15 AM.
Turtle91 is offline   Reply With Quote
Old 09-15-2020, 08:16 AM   #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: 8,747
Karma: 5706256
Join Date: Nov 2009
Device: many
No, Sigil is NOT going to include a set of "standard" css just to make things easier for people who do not know or want to learn css.

Epub developers can find css examples many many places on the web and use whatever css they want. And Sigil's clips bar can make adding/using that css quite easy.
KevinH is offline   Reply With Quote
Old 09-15-2020, 09:40 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,725
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by slightfever View Post
Since epub uses the same standard as the Web, I think the history of Web development will be helpful.
You might find my EpubTemplate Sigil plugin helpful. Simply copy your favorite .css file in the plugin resources folder and select Plugins > Edit > EpubTemplate whenever you want to add it to an .epub file.
Doitsu is offline   Reply With Quote
Old 09-15-2020, 10:12 AM   #9
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: 8,747
Karma: 5706256
Join Date: Nov 2009
Device: many
Nice plugin! May I add it to the Sigil plugin index from that link or would you rather create its own plugin thread?

Thanks!


Quote:
Originally Posted by Doitsu View Post
You might find my EpubTemplate Sigil plugin helpful. Simply copy your favorite .css file in the plugin resources folder and select Plugins > Edit > EpubTemplate whenever you want to add it to an .epub file.
KevinH is offline   Reply With Quote
Old 09-15-2020, 11:22 AM   #10
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: 28,552
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Thasaidon View Post
Hi KevinH

Kovid had said he hopes to release the next copy of Calibre this month. ( I will give anyone, who complains about Kovid, if this slips a hard time. Things happen)

Is there likely to be a new version of Sigil before Xmas, to go with the new version of Calibre?

I am a heavy user of both and it would nice to have a new version of each.
Keep in mind that we're probably not talking about a jump from version 1.x to 2.0 this year. Calibre's jump to version 5 (and Python3) is a much larger leap than (I think) we're planning for the immediate future. We may very well see minor version increments in the 1.x series before years-end, though.
DiapDealer is online now   Reply With Quote
Old 09-15-2020, 11:45 AM   #11
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,725
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by KevinH View Post
Nice plugin! May I add it to the Sigil plugin index from that link or would you rather create its own plugin thread?
IMHO, it's a throwaway plugin. I'll double-check the code to make sure that it works with epubs with non-standard structures and create a separate thread for it.
Doitsu is offline   Reply With Quote
Old 09-15-2020, 02:51 PM   #12
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: 8,747
Karma: 5706256
Join Date: Nov 2009
Device: many
Sounds good!

Thank you.

Quote:
Originally Posted by Doitsu View Post
IMHO, it's a throwaway plugin. I'll double-check the code to make sure that it works with epubs with non-standard structures and create a separate thread for it.
KevinH is offline   Reply With Quote
Old 09-15-2020, 06:41 PM   #13
BetterRed
null operator (he/him)
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: 21,711
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by DiapDealer View Post
Keep in mind that we're probably not talking about a jump from version 1.x to 2.0 this year. Calibre's jump to version 5 (and Python3) is a much larger leap than (I think) we're planning for the immediate future. We may very well see minor version increments in the 1.x series before years-end, though.
As evidenced by the 400+ replies to the Beta Test thread

BR
BetterRed is offline   Reply With Quote
Old 09-15-2020, 07:03 PM   #14
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: 8,747
Karma: 5706256
Join Date: Nov 2009
Device: many
Luckily, Sigil has been Python 3 based from the very beginning and Sigil does not have to worry about database/library or reader based functionality either as Calibre does.

So our plan for Sigil is for incremental improvements since we just recently reached 1.0 after many many years. For example, the biggest new features in our next release will be support for multiple language spell checking with some minor refinements in Toolbars and bug fixes.
KevinH is offline   Reply With Quote
Old 09-15-2020, 08:31 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: 28,552
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by BetterRed View Post
As evidenced by the 400+ replies to the Beta Test thread

BR
I've been following along.

It's not version 5, but I've been using the Python 3 version of Calibre on Arch for a while now.
DiapDealer is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get back to version 5.9.2.0.1 on Kindle Oasis 9th with version 5.9.4? filipemep Amazon Kindle 1 03-16-2018 08:42 AM
Kindle preview version not including font but 'live' version does heulwen.jones Kindle Formats 18 01-07-2017 11:01 PM
Latest version of iOS5/iPad-only version temporarily available on App Store kguil Marvin 0 01-05-2014 05:31 AM
How to install prior version of Calibre when newer version installed? SilentSeven Calibre 3 04-13-2011 12:46 PM
Updated Christian Bible Launches eBook Version Before Print Version tubemonkey News 21 12-30-2010 03:53 PM


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


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