Most Current Subversion Book For Kindle

C. Michael Pilato cmpilato at red-bean.com
Fri Jun 1 08:27:41 CDT 2012


Yesterday I tweaked the build to stop trying to use our HTML CSS stylesheet
for ebooks.  The default values that dbtoepub uses aren't bad at all as a
starting point -- certainly no massive margins.  But we may wish to develop
an ebook-specific stylesheet.

On 05/31/2012 06:01 PM, Jens Seidel wrote:
> 2012/5/31 C. Michael Pilato <cmpilato at red-bean.com>:
>> So it sounds like the stylesheets for the epub output format could stand to
>> be massaged.
> You're right, the problem is
> body {
>   margin: 1in;
> }
> in styles.css.
>
> Here is the margin-stuff of another (commercial) ebook:
>
> body{margin-left:3%;margin-right:3%;margin-top:3%;margin-bottom:3%}
> .nomargin{margin:0}
> p{text-indent:1.2em;margin-left:0;margin-right:0;text-align:justify;margin-top:0;margin-bottom:0;font-family:"Times
> New Roman",serif;font-size:109%}
> .p0{text-indent:0;margin-left:0;text-align:center}
> .p2{text-indent:0;margin-left:0}
> .p3{text-indent:0;margin-left:0;margin-bottom:.25em}
>
> 3% seems to be a good value. I only tested  "margin: 0in;" and it was
> nearly OK (much better compared to the original value), but a small
> margin is better as the display is hard to read at the borders
> (shadow, ...).
>
> Jens
>
> _______________________________________________
> svnbook-dev mailing list
> svnbook-dev at red-bean.com
> http://www.red-bean.com/mailman/listinfo/svnbook-dev




More information about the svnbook-dev mailing list