View Single Post
Old 06-28-2016, 02:16 AM   #4
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,739
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Auramazda View Post
the TAB space don't get recognized;
Tabs are ignored in HTML, uses paragraph styles instead.

E.g.

Code:
p {
    margin-top: .25em;
    margin-bottom: .25em;
    text-indent: 1.25em;
    -epub-hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    orphans: 2;
    widows: 2;
}
Quote:
Originally Posted by Auramazda View Post
1 - How set the dimension of the font in the style.css for h1, h2,...?
Like this:

Code:
h1 {
    font-size: 120%;
}

h2 {
    font-size: 100%;
}
Quote:
Originally Posted by Auramazda View Post
2 - How can change font if I need?
Simply add a font-family declaration. E.g.
Code:
body {
    font-family: DejaVuLGCSerif;
}
Quote:
Originally Posted by Auramazda View Post
Also a style.css example with more indication will be usefull.
Check out Jelllby's version of the prince plugin; it comes with a nice example CSS file.
Also have a look at a CSS tutorial.

Quote:
Originally Posted by Auramazda View Post
The plug-in is great but the program princepdf is only 7/10
Actually, the plugin doesn't do anything special, it only calls the prince tool. I.e., all the work is done by prince.

Last edited by Doitsu; 06-28-2016 at 02:35 AM.
Doitsu is offline   Reply With Quote