Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 01-20-2010, 02:04 PM   #16
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,113
Karma: 4315826
Join Date: Oct 2007
Location: Link÷png, Sweden
Device: Nexus 7, Nexus 5, iPad 2, Kindle PW
Quote:
Originally Posted by Elfwreck View Post
Using em for margins instead of points means that when the font size is increased, so are the margins, making readers who prefer a large font stuck reading two or three words in the center of a mostly-blank page.
Maybe, if it is implemented this way. Bu the CSS standard says you should not use em here so I assume it is not well defined what will happen.
tompe is offline  
Old 01-20-2010, 02:11 PM   #17
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,654
Karma: 5072002
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
Quote:
Originally Posted by tompe View Post
Maybe, if it is implemented this way. Bu the CSS standard says you should not use em here so I assume it is not well defined what will happen.
It is very well defined what will happen and that is why the CSS standard says not to use it.

Dale
DaleDe is offline  
Old 01-20-2010, 02:14 PM   #18
Elfwreck
Grand Sorcerer
Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.
 
Elfwreck's Avatar
 
Posts: 5,142
Karma: 24387938
Join Date: Nov 2008
Location: SF Bay Area, California, USA
Device: CliÚ; PRS-505; EZR Pocket Pro, PRS-600, Kobo Mini
Quote:
Originally Posted by zelda_pinwheel View Post
heh. great minds. i was writing at the same time as you were posting.
You knew the technical side of it. All I knew is that the Harlequin freebies look atrocious on M or L, and I really sympathized with people who find the default font too small.
Elfwreck is offline  
Old 01-20-2010, 02:18 PM   #19
zelda_pinwheel
zeldinha zippy zeldissima
zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.
 
zelda_pinwheel's Avatar
 
Posts: 27,828
Karma: 908606
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
Quote:
Originally Posted by Elfwreck View Post
You knew the technical side of it. All I knew is that the Harlequin freebies look atrocious on M or L, and I really sympathized with people who find the default font too small.
ah, are they formatting their margins using ems ? somebody should tell harlequin to quit doing that. i sympathise with those people too. but yes, that's exactly what will happen if you do use them.
zelda_pinwheel is offline  
Old 01-20-2010, 04:09 PM   #20
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,113
Karma: 4315826
Join Date: Oct 2007
Location: Link÷png, Sweden
Device: Nexus 7, Nexus 5, iPad 2, Kindle PW
Quote:
Originally Posted by DaleDe View Post
It is very well defined what will happen and that is why the CSS standard says not to use it.

Dale
Not in 2.1 at least: "The page context has no notion of fonts, so 'em' and 'ex' units are not allowed. ". Since they are not alllowed it is unspecified what happens if they are used. It would be correct to turn off the reader when you see an em in a @page specification.
tompe is offline  
Old 01-20-2010, 05:35 PM   #21
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,654
Karma: 5072002
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
Quote:
Originally Posted by tompe View Post
Not in 2.1 at least: "The page context has no notion of fonts, so 'em' and 'ex' units are not allowed. ". Since they are not alllowed it is unspecified what happens if they are used. It would be correct to turn off the reader when you see an em in a @page specification.
thanks, I hadn't thought of the @page wouldn't know about fonts although I would expect it to have a notion of the default font size, perhaps not.

Dale
DaleDe is offline  
Old 01-20-2010, 06:02 PM   #22
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by akratic View Post
In particular, body { margin-left: 2em; margin-right: 2em; } is recommended, which will only add left and right margins. Extending this example to body { margin: 2em } doesn't work well either, adding top and bottom margins only to the entire book.

After a fair bit of searching on this forum, I discovered that a better approach for margins is: @page { margin: 2em; } which will add margins to every page of the book.
It's not really meant to be exhaustive, just an example. It's what I use, since I only ever add left and right margins.

The "@page" I agree with.

Quote:
Originally Posted by zelda_pinwheel View Post
to further expand on this point, i don't recommend using ems as the unit of measurement for margins, since that is a proportional unit (it is the width of the letter "m" in whatever font size you are using. if the font size itself is defined in ems, 1em is around 16pt). this means that if you enlarge the text, the margin will also be enlarged proportionally. it's better therefore either to use percentage
Good point. Again, I just listed what I use for my books since I practically never zoom in a book. But others will, so it should be changed.

Baah, now I have bugs in the documentation as well, as if those in the code weren't enough...
Valloric is offline  
Old 01-20-2010, 06:07 PM   #23
zelda_pinwheel
zeldinha zippy zeldissima
zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.
 
zelda_pinwheel's Avatar
 
Posts: 27,828
Karma: 908606
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
Quote:
Originally Posted by Valloric View Post
Baah, now I have bugs in the documentation as well, as if those in the code weren't enough...
aw ! don't feel bad, i'm sure you can count on us to find and report (at length) any bugs in the documentation. we only report because we care, you know.
zelda_pinwheel is offline  
Old 01-20-2010, 06:09 PM   #24
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by zelda_pinwheel View Post
we only report because we care, you know.
Of course, the more bug reports are filed, the better off Sigil will be for everyone.
Valloric is offline  
Old 01-22-2010, 08:22 AM   #25
avresbo
Member
avresbo began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jan 2010
Device: cool-er
.... and where can I find a manual for dummies?
avresbo is offline  
Old 01-27-2010, 01:08 AM   #26
lene1949
Wizard
lene1949 ought to be getting tired of karma fortunes by now.lene1949 ought to be getting tired of karma fortunes by now.lene1949 ought to be getting tired of karma fortunes by now.lene1949 ought to be getting tired of karma fortunes by now.lene1949 ought to be getting tired of karma fortunes by now.lene1949 ought to be getting tired of karma fortunes by now.lene1949 ought to be getting tired of karma fortunes by now.lene1949 ought to be getting tired of karma fortunes by now.lene1949 ought to be getting tired of karma fortunes by now.lene1949 ought to be getting tired of karma fortunes by now.lene1949 ought to be getting tired of karma fortunes by now.
 
lene1949's Avatar
 
Posts: 1,957
Karma: 213930
Join Date: Oct 2009
Location: Ipswich, Queensland, Australia
Device: Kindle 2, Sony PRS 650, Ipod Touch
I have a really, really badly formatted epup book... Can Sigel help me with that, or is it better just to convert to RTF, edit and then convert back to epup using Calibre?
lene1949 is offline  
Old 01-27-2010, 08:00 AM   #27
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by lene1949 View Post
I have a really, really badly formatted epup book... Can Sigel help me with that, or is it better just to convert to RTF, edit and then convert back to epup using Calibre?
Well that depends entirely on the book. Try it in Sigil and see.
Valloric is offline  
Old 01-27-2010, 08:15 AM   #28
pdurrant
The Ghost Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 32,219
Karma: 89021440
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by zelda_pinwheel View Post
it's better therefore either to use percentage (which is proportional as well, but to the size of the display) for example :
body {margin : 15%;}
or
@page {margin : 15%;}

or use pixels (this is a fixed unit and will not vary proportionally), for instance
body {margin : 20px;}
or
@page {margin : 20px;}
I wouldn't recommend using pixels. That's because the margin the user sees now depends on the resolution of the display. Set a 20px margin, and on a 72dpi screen display the margin will be just over 1/4 inch. On a 166dpi eInk screen they'll be just under 1/8 inch. On a 200dpi eInk screen they'll be 1/10 inch. And on some future 600dpi display they'll be just 1/30 inch.

It's better to use a percentage, but my preference is to use an absolute size unit, like points (pt - 1/72 inch), picas (pc - 1/12 inch), mm, cm or inches (in). All these are supported in the ePub flavour of XHTML/CSS.
pdurrant is offline  
Old 01-27-2010, 04:43 PM   #29
zelda_pinwheel
zeldinha zippy zeldissima
zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.
 
zelda_pinwheel's Avatar
 
Posts: 27,828
Karma: 908606
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
Quote:
Originally Posted by pdurrant View Post
I wouldn't recommend using pixels. That's because the margin the user sees now depends on the resolution of the display. Set a 20px margin, and on a 72dpi screen display the margin will be just over 1/4 inch. On a 166dpi eInk screen they'll be just under 1/8 inch. On a 200dpi eInk screen they'll be 1/10 inch. And on some future 600dpi display they'll be just 1/30 inch.

It's better to use a percentage, but my preference is to use an absolute size unit, like points (pt - 1/72 inch), picas (pc - 1/12 inch), mm, cm or inches (in). All these are supported in the ePub flavour of XHTML/CSS.
good point (ar ar ar). i hadn't thought about that, although i should have because in daffy's great experiment thread i explained how pixel size varies depending on resolution in the same post as i was talking about margins. i tend to use a percentage, personally ; it seems logical to use something which is proportional to the size of the display. it seems weird to me to use any kind of "physical" measurements (pts, mm, etc.) for digital media even if it can work, but that's probably just my own little neurosis.
zelda_pinwheel is offline  
Old 01-27-2010, 05:39 PM   #30
pdurrant
The Ghost Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 32,219
Karma: 89021440
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by zelda_pinwheel View Post
it seems weird to me to use any kind of "physical" measurements (pts, mm, etc.) for digital media even if it can work, but that's probably just my own little neurosis.
I know what you mean, but in this case it's probably the right thing to do - the margin is there to give a little gap between the edge of the display and the start of the text to cope with slight mis-alignments, shadows from bezels, etc. This probably needs to be the same (small) amount whatever size of display, or size of text.
pdurrant is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Classic Bought a Badly Formatted Book From B&N lionel47 Barnes & Noble NOOK 11 05-22-2010 04:31 PM
Unutterably Silly How To Write Badly Well Madam Broshkina Lounge 4 11-04-2009 08:26 AM
Properly formatted PDFs to Epub AgentBEATS Calibre 10 11-01-2009 11:02 PM
Action Sala, George Augustus: Strange Adventures of Captain Dangerous 3 ePUB v1 13 jan 2009 mtravellerh ePub Books 0 01-13-2009 01:05 PM
Action Sala, George Augustus: Strange Adventures of Captain Dangerous 2 ePUB v1 12 jan 2009 mtravellerh ePub Books 0 01-12-2009 06:39 AM


All times are GMT -4. The time now is 10:53 PM.


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