numero61:mon_histoire_p._38-41
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
numero61:mon_histoire_p._38-41 [2012/06/12 19:07] – auntiee | numero61:mon_histoire_p._38-41 [2012/06/15 15:15] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 9: | Ligne 9: | ||
You will forgive me if I do not include all the details, for that I would need a completely separate issue. However, I would like to offer you a little insight into my work. Therefore, I will describe an example in this article, the emergence of an article within the EPUB file. And which article is to be better than Ronnie' | You will forgive me if I do not include all the details, for that I would need a completely separate issue. However, I would like to offer you a little insight into my work. Therefore, I will describe an example in this article, the emergence of an article within the EPUB file. And which article is to be better than Ronnie' | ||
- | Comme Ronnie a dit dans le dernier numéro, c'est moi qui ai la responsabilité de m' | + | Comme Ronnie a dit dans le dernier numéro, c'est moi qui ai la responsabilité de m' |
- | De quoi avons-nous besoin pour que le produit fini arrive sur vos appareils ? Eh bien, en résumé nous avons besoin de quatre trucs différents : | + | De quoi avons-nous besoin pour que le produit fini arrive sur vos appareils ? Eh bien, en résumé, nous avons besoin de quatre trucs différents : |
- | * IrfanView | + | * IrfanView |
- | * un éditeur de texte web | + | * un éditeur de texte web ; |
- | * Sigil | + | * Sigil ; |
* Calibre. | * Calibre. | ||
- | Vous me pardonnerez, | + | Vous me pardonnerez, |
- | OK! Let's get it on! Once I got the invitation from Ronnie that I may download the articles from the G-Docs. I do so normally in two versions: ODT, and HTML. | + | **OK! Let's get it on! Once I got the invitation from Ronnie that I may download the articles from the G-Docs. I do so normally in two versions: ODT, and HTML. |
But why in two variants you ask? A legitimate question, but one that we will be answering this within the article. | But why in two variants you ask? A legitimate question, but one that we will be answering this within the article. | ||
Ligne 25: | Ligne 25: | ||
Ok, the two downloads have been completed. Now we can proceed to the next step: the editing of the photos. This is necessary because the authors hand in their screenshots in JPG files as well as in PNG files. That is why I need the HTML download. Each article is located in a separate folder, so I can easily get the pictures from the " | Ok, the two downloads have been completed. Now we can proceed to the next step: the editing of the photos. This is necessary because the authors hand in their screenshots in JPG files as well as in PNG files. That is why I need the HTML download. Each article is located in a separate folder, so I can easily get the pictures from the " | ||
- | Because we want our Full Circle Magazine Mobile Edition to be as small as possible, we have decided to minimize the images within the articles to a maximum height of 300 pixels. | + | Because we want our Full Circle Magazine Mobile Edition to be as small as possible, we have decided to minimize the images within the articles to a maximum height of 300 pixels.** |
- | To achieve this, I use the software " | + | Bon ! Commençons tout de suite ! Dès réception du mail de Ronnie m' |
+ | |||
+ | Mais, dites-vous, pourquoi dans deux formats ? C'est une question légitime, à laquelle je répondrai dans cet article. | ||
+ | |||
+ | OK, les deux téléchargements sont terminés. Nous pouvons maintenant passer à l' | ||
+ | |||
+ | Puisque nous voulons que l' | ||
+ | |||
+ | **To achieve this, I use the software " | ||
When I'm done, I must make one final preparation before I can begin the “real” work, the layout of the EPUB edition. | When I'm done, I must make one final preparation before I can begin the “real” work, the layout of the EPUB edition. | ||
Ligne 35: | Ligne 43: | ||
So I've decided to create the source code in a web editor (I use the editor Scriptly in Windows, and Blue Fish in Linux). For those who are not familiar with HTML Markup Language, there is also Kompozer, available in the Ubuntu Software Center. | So I've decided to create the source code in a web editor (I use the editor Scriptly in Windows, and Blue Fish in Linux). For those who are not familiar with HTML Markup Language, there is also Kompozer, available in the Ubuntu Software Center. | ||
- | But enough of theory. Let's get back to the practice. | + | But enough of theory. Let's get back to the practice.** |
+ | |||
+ | Pour ce faire, je me sers du logiciel « IrfanView ». J' | ||
+ | |||
+ | Quand j'ai terminé, je dois faire un tout dernier préparatif avant de pouvoir commencer le « vrai » travail, c' | ||
+ | |||
+ | Mais, avant de poursuivre, j' | ||
+ | |||
+ | Alors, j'ai décidé de créer le code source dans un éditeur Web (j' | ||
+ | |||
+ | Mais c'est assez pour la théorie ; revenons à la pratique. | ||
- | As I addressed earlier, we need one last little thing before we begin the real work. We create a small web project on our computer. What do we need? Three folders and a CSS file: the three folders bearing the following names: a) Images, b) Styles, and c) Texts. The CSS file, inside the Styles folder, we name " | + | **As I addressed earlier, we need one last little thing before we begin the real work. We create a small web project on our computer. What do we need? Three folders and a CSS file: the three folders bearing the following names: a) Images, b) Styles, and c) Texts. The CSS file, inside the Styles folder, we name " |
Now we have it all together. Let us now have a new file in our Web Editor, which includes the following basic structure: | Now we have it all together. Let us now have a new file in our Web Editor, which includes the following basic structure: | ||
Ligne 55: | Ligne 73: | ||
As you can see, we link the CSS file directly in HTML style. That's no problem for Sigil. And it makes our job much easier. | As you can see, we link the CSS file directly in HTML style. That's no problem for Sigil. And it makes our job much easier. | ||
- | Ok, then. That is enough theory. Let's layout an article! | + | Ok, then. That is enough theory. Let's layout an article!** |
- | Step # 1 | + | Comme j'ai signalé un peu plus tôt, nous avons besoin d'un dernier petit truc avant de commencer le véritable travail. Il faut créer un petit projet Web sur notre ordinateur. De quoi a-t-on besoin ? De trois dossiers et d'un fichier CSS : les dossiers sont appelés : a) Images, b) Styles et c) Textes. Le fichier CSS, à l' |
+ | |||
+ | Nous avons maintenant tout rassemblé. Créons un nouveau fichier dans l' | ||
+ | |||
+ | < | ||
+ | " | ||
+ | <html xmlns=" | ||
+ | < | ||
+ | < | ||
+ | <link href=" | ||
+ | </ | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Comme vous pourrez le voir, le fichier CSS est lié directement dans HTML style. Ce n'est pas un problème pour Sigil et cela rend notre boulot beaucoup plus facile. | ||
+ | |||
+ | Bien. Assez de théorie. Faisons la mise en page d'un article ! | ||
+ | |||
+ | **Step # 1 | ||
Open your folder with the created “webproject”, | Open your folder with the created “webproject”, | ||
Ligne 87: | Ligne 124: | ||
These are the most important things you should have in your EPUB-Layout: | These are the most important things you should have in your EPUB-Layout: | ||
- | Ok, all things are set: We have our ODT, our editor, our CSS-Design, and our pictures ready. | + | Ok, all things are set: We have our ODT, our editor, our CSS-Design, and our pictures ready. |
- | Step # 2 | + | Étape n° 1 : |
+ | |||
+ | Ouvrez le dossier qui contient le « projet Web » que vous venez de créer, votre éditeur Web préféré (comme BlueFish) et l' | ||
+ | |||
+ | Comme vous pouvez voir dans l' | ||
+ | |||
+ | À la place, donc, nous prenons un ODT propre comme celui ci-dessous. | ||
+ | |||
+ | Cela va nous faire gagner beaucoup de temps. Croyez-moi ! | ||
+ | |||
+ | Alors, ces trois éléments étant ouverts, nous pouvons créer un nouveau fichier CSS avec le code ci-dessous, puis commencer notre travail. | ||
+ | |||
+ | h1.headline { | ||
+ | text-align: center; | ||
+ | font-size: xx-large; | ||
+ | font-family: | ||
+ | font-weight: | ||
+ | text-decoration: | ||
+ | } | ||
+ | p.text { | ||
+ | text-align: justify; | ||
+ | font-family: | ||
+ | font-size: | ||
+ | } | ||
+ | div.photos { | ||
+ | text-align: | ||
+ | } | ||
+ | |||
+ | |||
+ | Ce sont les choses les plus importantes qu'il faudrait inclure dans votre mise en page EPUB : les Headlines ou titres (h1.headline), | ||
+ | |||
+ | OK, tout est prêt : notre fichier ODT, l' | ||
+ | |||
+ | **Step # 2 | ||
Now the actual coding begins: for every paragraph in the ODT, I prepare a line with <p class=”text”></ | Now the actual coding begins: for every paragraph in the ODT, I prepare a line with <p class=”text”></ | ||
Ligne 99: | Ligne 169: | ||
Once I am done copying and have the article ready in HTML Source Code, I start Sigil which looks very similar (right). | Once I am done copying and have the article ready in HTML Source Code, I start Sigil which looks very similar (right). | ||
- | Let me give you a short introduction into the software: As you can see, we can find our three folders Texts (in the picture referred to as “Text” because I am writing this article from a German system), Styles (“Formatierung”), | + | Let me give you a short introduction into the software: As you can see, we can find our three folders Texts (in the picture referred to as “Text” because I am writing this article from a German system), Styles (“Formatierung”), |
- | Step #3 | + | Étape n° 2 |
+ | |||
+ | C'est maintenant que commence le codage : pour chaque paragraphe du document ODT, je prépare une ligne avec <p class=" | ||
+ | |||
+ | Ayant fait tout cela, nous pouvons faire des allers-retours entre le document ODT et l' | ||
+ | |||
+ | Quand nous aurons terminé, cela ressemblera à l' | ||
+ | |||
+ | Une fois le copier-coller fini et l' | ||
+ | |||
+ | Permettez-moi de vous faire une courte présentation du logiciel. Comme vous pouvez le voir, nous retrouvons les trois dossiers textes (dans l' | ||
+ | |||
+ | **Step #3 | ||
Ok, we have inserted our HTML Code into Sigil. But we forgot one – well, actually two – things that are rather important: our pictures AND our css-file which gives the layout-design to our article. So how do we get those things into Sigil? That is easy: Sigil has a function to include already existing files into the epub-project you are currently working in. Therefore you need to click on the folder “Styles” (“Formatierungen”) or “Images” (“Bilder”) once with your right mouse button, and say “include existing files”. That will open a popup window to enable you to browse to the location of the web project. | Ok, we have inserted our HTML Code into Sigil. But we forgot one – well, actually two – things that are rather important: our pictures AND our css-file which gives the layout-design to our article. So how do we get those things into Sigil? That is easy: Sigil has a function to include already existing files into the epub-project you are currently working in. Therefore you need to click on the folder “Styles” (“Formatierungen”) or “Images” (“Bilder”) once with your right mouse button, and say “include existing files”. That will open a popup window to enable you to browse to the location of the web project. | ||
- | So! WE ARE DONE! You just finished your first Ebook! Well, not a whole Ebook, but an article inside an Ebook. Just click File => Save (as) now, and give your Ebook a Title. | + | So! WE ARE DONE! You just finished your first Ebook! Well, not a whole Ebook, but an article inside an Ebook. Just click File => Save (as) now, and give your Ebook a Title.** |
- | Conclusion | + | Étape n° 3 |
+ | |||
+ | OK, nous venons d' | ||
+ | |||
+ | Et voilà ! Nous avons terminé ! Vous venez de créer votre premier livre électronique ! D' | ||
+ | |||
+ | **Conclusion | ||
For those of you who want a short list to work with, here are the most important things: | For those of you who want a short list to work with, here are the most important things: | ||
Ligne 119: | Ligne 207: | ||
d) Create a CSS-Design for your Ebook (For Help, see the W3C Short Reference via Google) | d) Create a CSS-Design for your Ebook (For Help, see the W3C Short Reference via Google) | ||
- | e) Prepare a first (x)html Page with some <p> and <div> for Text and pictures | + | e) Prepare a first (x)html Page with some <p> and <div> for Text and pictures** |
- | f) Copy all the Content into the < | + | Conclusion |
- | g) Start Sigil and prepare some “Section.xhtml” chapters | + | Pour ceux qui veulent pouvoir travailler avec une courte liste des tâches à faire, voici les choses les plus importantes : |
- | h) Copy and paste the generated HTML-Source Code from your Web-Editor into the Code-View of Sigil | + | a) Redimensionnez vos images à une hauteur de 300 pixels maximum (il n'est pas recommandé d'en mettre plus ici !). |
- | i) Include your CSS File (into the “Styles”-Folder of Sigil) and Pictures (into the “Images-Folder of Sigil) | + | b) Rassemblez tout le contenu sous format texte. |
+ | |||
+ | c) Créez un « projet Web » qui contient trois dossiers : « Images », « Styles » et « Textes ». | ||
+ | |||
+ | d) Créez un fichier CSS de mise en page (Css-Design) pour votre livre électronique (Si vous avez besoin d' | ||
+ | |||
+ | e)Préparez une première page (X)HTML avec quelques <p> et <div> pour le texte et les images. | ||
+ | |||
+ | **f) Copy all the Content into the < | ||
+ | |||
+ | g) Start Sigil and prepare some “Section.xhtml” chapters. | ||
+ | |||
+ | h) Copy and paste the generated HTML-Source Code from your Web-Editor into the Code-View of Sigil. | ||
+ | |||
+ | i) Include your CSS File (into the “Styles”-Folder of Sigil) and Pictures (into the “Images-Folder of Sigil). | ||
j) Save your Ebook | j) Save your Ebook | ||
- | DONE | + | DONE** |
- | Now you have a short insight into what I do every month to provide you an epub of Full Circle. I hope you enjoyed the article and will enjoy many issues of FCM as an e-publication! | + | f) Copiez tout le contenu à l' |
+ | |||
+ | g) Lancez Sigil et préparez quelques chapitres « Section.xhtml ». | ||
+ | |||
+ | h) Copier/ | ||
+ | |||
+ | i) Incluez votre fichier CSS (dans le dossier « Styles » de Sigil) et vos images (dans le dossier « Images » de Sigil). | ||
+ | |||
+ | j) Enregistrer votre livre électronique. | ||
+ | |||
+ | C'EST FINI. | ||
+ | |||
+ | **Now you have a short insight into what I do every month to provide you an epub of Full Circle. I hope you enjoyed the article and will enjoy many issues of FCM as an e-publication! | ||
For now, I need to get to work converting this issue. But you can read the links I've included below. And, if there are any questions, please don’t hesitate to drop me an email to mobile@fullcirclemagazine.org! | For now, I need to get to work converting this issue. But you can read the links I've included below. And, if there are any questions, please don’t hesitate to drop me an email to mobile@fullcirclemagazine.org! | ||
Useful Links: | Useful Links: | ||
+ | web.sigil.googlecode.com/ | ||
+ | web.sigil.googlecode.com/ | ||
+ | web.sigil.googlecode.com/ | ||
+ | |||
+ | Vous avez maintenant un bref aperçu de ce que je fais chaque mois pour vous fournir le Full Circle en format epub. J' | ||
+ | |||
+ | Pour l' | ||
+ | |||
+ | Liens utiles : | ||
web.sigil.googlecode.com/ | web.sigil.googlecode.com/ | ||
web.sigil.googlecode.com/ | web.sigil.googlecode.com/ | ||
web.sigil.googlecode.com/ | web.sigil.googlecode.com/ | ||
numero61/mon_histoire_p._38-41.1339520839.txt.gz · Dernière modification : 2012/06/12 19:07 de auntiee