03-31-2014, 11:35 AM | #76 |
Member
Posts: 15
Karma: 10
Join Date: Nov 2013
Device: Kobo Touch
|
Je tourne sous Linux... Je n'ai pas compris le début de ton message.
|
03-31-2014, 09:58 PM | #77 |
A curiosus lector!
Posts: 463
Karma: 2015140
Join Date: Jun 2012
Device: Sony PRS-T1, Kobo Touch
|
Bonsoir Bertrand,
Pourrais-tu tout d'abord essayer d'ouvrir ton fichier epub avec le logiciel de décompression qui vient avec ta distro (tu sais pour les fichiers zip)?
Si d'aventure ce fichier n'est pas à l'endroit indiqué, tu devrais néanmoins le repérer facilement par son extension: .css |
04-01-2014, 03:06 AM | #78 |
Member
Posts: 15
Karma: 10
Join Date: Nov 2013
Device: Kobo Touch
|
Bonjour et merci pour tes conseils.
J'ai procédé à l'opération .zip, j'avais déjà vu ce procédé. J'ai le META-INF, mais pas de OEBPS, j'ai un stylesheet.css, à côté du mimetype, qui doit correspondre: Code:
.calibre { display: block; font-size: 1em; padding: 0; margin: 0 5pt } .calibre1 { background-color: transparent; color: #000; display: block; font-family: "Times New Roman"; font-size: 1.29167em; font-weight: bold; line-height: 130%; text-align: center; text-indent: 0; padding: 0; margin: 3cm 0 0.21cm } .calibre2 { display: block; line-height: 1.2; padding: 0; margin: 0 } .calibre3 { padding: 0; margin: 0 } .calibre4 { display: block; padding: 0; margin: 0 } .P-P { background-color: transparent; color: #000; display: block; font-family: "Times New Roman"; font-size: 1em; line-height: 140%; orphans: 1; text-align: justify; text-indent: 0; widows: 1; padding: 0; margin: 0 0 0.247cm } .P-P1 { background-color: transparent; color: #000; display: block; font-family: "Times New Roman"; font-size: 1.66667em; font-weight: bold; line-height: 130%; orphans: 1; page-break-after: auto; page-break-before: auto; text-align: center; text-indent: 0; widows: 1; padding: 0; margin: 2cm 0 0.21cm } .P-P2 { background-color: transparent; color: #000; display: block; font-family: "Times New Roman"; font-size: 1.29167em; font-weight: bold; line-height: 1.2; orphans: 1; text-align: center; text-indent: 0; widows: 1; padding: 0; margin: 0 0 0.25cm } .P-P3 { background-color: transparent; color: #000; display: block; font-family: "Times New Roman"; font-size: 0.75em; font-style: italic; font-weight: normal; line-height: 1.2; orphans: 1; page-break-after: auto; text-align: right; text-indent: 0; widows: 1; padding: 0; margin: 1cm 0 1.499cm } .P-P4 { background-color: transparent; color: #000; display: block; font-family: "Times New Roman"; font-size: 1em; font-style: normal; font-weight: bold; line-height: 130%; text-align: center; text-indent: 0; padding: 0; margin: 2cm 0 4.001cm } .P-P5 { background-color: transparent; color: #000; display: block; font-family: "Times New Roman"; font-size: 0.75em; font-style: italic; font-weight: normal; line-height: 1.2; orphans: 1; page-break-after: auto; page-break-before: auto; text-align: right; text-indent: 0; widows: 1; padding: 0; margin: 1cm 0 1.499cm } .P-P6 { background-color: transparent; color: #000; display: block; font-family: "Times New Roman"; font-size: 1em; font-weight: bold; line-height: 130%; text-align: center; text-indent: 0; padding: 0; margin: 2cm 0 4.001cm } .P-P7 { background-color: transparent; color: #000; display: block; font-family: "Times New Roman"; font-size: 1em; font-style: italic; line-height: 140%; orphans: 1; text-align: justify; text-indent: 0; widows: 1; padding: 0; margin: 0 0 0.247cm } .P-P8 { background-color: transparent; color: #000; display: block; font-family: "Times New Roman"; font-size: 1em; font-style: italic; font-weight: normal; line-height: 1.2; orphans: 1; page-break-after: auto; page-break-before: auto; text-align: center; text-indent: 0; widows: 1; padding: 0; margin: 0.6cm 0 1cm } .P-P9 { background-color: transparent; color: #000; display: block; font-family: "Times New Roman"; font-size: 1em; font-style: normal; line-height: 140%; orphans: 1; text-align: justify; text-indent: 0; widows: 1; padding: 0; margin: 0 0 0.247cm } .S-T { line-height: 1.2; padding: 0; margin: 0 } .S-T1 { background-color: transparent; font-family: "Times New Roman", serif; padding: 0; margin: 0 } .S-T2 { font-style: normal; line-height: 1.2; padding: 0; margin: 0 } .S-T3 { font-style: italic; padding: 0; margin: 0 } .S-T4 { font-style: normal; padding: 0; margin: 0 } Code:
@page { margin-bottom: 5pt; margin-top: 5pt } Last edited by bertrand47; 04-01-2014 at 09:21 AM. |
04-01-2014, 12:24 PM | #79 | ||
A curiosus lector!
Posts: 463
Karma: 2015140
Join Date: Jun 2012
Device: Sony PRS-T1, Kobo Touch
|
Bonjour Bertrand,
J'ai jeté un rapide coup d'oeil à ta css et pour être franc avec toi, c'est pas du beau code. Par ailleurs, le <span class="calibre3"> n'apporte pas grand chose si ce n'est d'encombrer le code de tes fichiers xhtml. En effet, ses valeurs sont: "padding: 0; margin: 0;": il serait bien plus simple pour faire un reset, de mettre ceci, une seule fois, dans la css: Code:
* { margin: 0; padding: 0; } Quote:
Et tu as un joli header 1 avec pas de texte dedans (<h1 class="P-P4" id="calibre_pb_3"><a id="anchor3" class="calibre3"></a><a class="calibre3"></a></h1>). Cool! Nettoyé, voici ce que donne un extrait de l'une de tes pages: Quote:
Bien plus lisible, n'est-ce pas. Écoute je crois qu'il faut que tu fasses des lectures pour mieux comprendre tout cela: epub et css. Voici quelques liens:
Dernière recommandation: il faut t'assurer que ta source (ton texte) pour créer tes epub soit aussi "pure" que possible. L'utilisation des syles y contribue grandement. Bonnes lectures Bertrand. PS Il ne faut pas confondre Axios avec Arios! Sans blague, ton histoire semble vraiment prometteuse. Et tu avais raison: la balise code ne renvoie pas automatiquement le texte à la ligne, c'est pourquoi j'ai utilisé quote. |
||
04-01-2014, 01:17 PM | #80 |
Member
Posts: 15
Karma: 10
Join Date: Nov 2013
Device: Kobo Touch
|
Je te remercie, tout d'abord, Arios pour le temps que tu as passé sur mon problème, ensuite je me pose un certain nombre de questions :
Tout d'abord, je me demande si je dois suivre tes conseils de lecture, sachant que je n'aurai peut-être qu'une fois par an besoin de faire un epub. J'espérais que Calibre le ferait sans problème, et il le fait apparemment, epubcheck me signale que mon fichier est propre... Alors que je constate qu'il ne l'est pas vraiment ! Ma Kobo me le confirme aussi. Ensuite, tu me conseilles de m'assurer que ma source texte soit aussi pure que possible, or elle me semblait l'être, j'utilise les styles dans Libreoffice, mais je commence à en douter aussi. Bref, je vais lire le guide (http://fr.flossmanuals.net/creer-un-epub/index) ... Et merci encore. |
04-02-2014, 03:53 AM | #81 |
Wizard
Posts: 1,820
Karma: 9503859
Join Date: Dec 2012
Location: France
Device: (Sony (J) PRS 650), Kobo Mini, Kobo Glo HD
|
Bon courage Bertrand47
|
04-02-2014, 09:45 AM | #82 | |
A curiosus lector!
Posts: 463
Karma: 2015140
Join Date: Jun 2012
Device: Sony PRS-T1, Kobo Touch
|
Quote:
Bertrand, je comprends ta perplexité: mais peut-être qu'en lisant là-dessus tu y prendras goût? La solution la plus simple serait de faire faire ton epub par une boîte spécialisée dans ce domaine: tu pourrais alors consacrer ton temps à autre chose et la somme requise ne devrait pas être énorme. Cependant puisque tu me dis que ton fichier odt est propre et bien formé, tu pourrais essayer le logiciel que voici: http://amanuensis.pagesperso-orange.fr/ Il y a un fil à son propos ici: https://www.mobileread.com/forums/sho...d.php?t=140855 Le guide qui vient avec ce logiciel (gratuit en passant) est instructif et l'opération de conversion est simple, bien qu'il y ait des paramètres à comprendre et à tester selon tes besoins. Si les résultats avec Amanuensis son identiques à ceux de Calibre (problèmes avec ta Kobo, codes bizarres), tu sauras alors que ce sont certains codes de ta source qui posent problème. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo by FNAC doesn't display book cover | hedkandi | Kobo Reader | 21 | 05-30-2013 05:10 AM |
Glo When will Kobo Glo actually be available in the US? | kukafei | Kobo Reader | 67 | 03-08-2013 06:05 PM |
Kobo by FNAC | kumaryu | Kobo Reader | 3 | 12-09-2012 07:19 PM |
Kobo Glo Vs Kobo Touch Sizes (Want to use my Skindigital cover) | Chocky | Kobo Reader | 3 | 09-25-2012 10:47 AM |
Exemple de livre gratuit à la fnac ? | FlorenceArt | E-Books | 18 | 05-05-2010 05:14 AM |