issue119:tuto1
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue119:tuto1 [2017/04/03 18:59] – créée auntiee | issue119:tuto1 [2017/04/17 11:55] (Version actuelle) – auntiee | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | LaTeX can be found in the most surprising places. It is not only the ability to compose in LaTeX that can be found, it is the ability to export data in a *.tex file which is then compiled to produce the pretty .PDF file. The financial package Grisbi can do that, as well as Gnumeric. It is not uncommon. I have seen others, they just do not come to mind right now. However the programs export only the .tex file, we need the rest of the LaTeX packages to compile. | + | **LaTeX can be found in the most surprising places. It is not only the ability to compose in LaTeX that can be found, it is the ability to export data in a *.tex file which is then compiled to produce the pretty .PDF file. The financial package Grisbi can do that, as well as Gnumeric. It is not uncommon. I have seen others, they just do not come to mind right now. However the programs export only the .tex file, we need the rest of the LaTeX packages to compile. |
- | The ability to do a .tex export of files can be found in the desktop Wiki application called Zim. You can find Zim in the Ubuntu repositories. I found Zim one day when I was just skimming through the lists of software as they are found in the Synaptic Package Manager, and I thought that Zim looked interesting. Here is the description from Synaptic: | + | The ability to do a .tex export of files can be found in the desktop Wiki application called Zim. You can find Zim in the Ubuntu repositories. I found Zim one day when I was just skimming through the lists of software as they are found in the Synaptic Package Manager, and I thought that Zim looked interesting. Here is the description from Synaptic:** |
- | “Zim is a graphical text editor used to maintain a collection of wiki pages. | + | LaTeX peut être trouvé dans les endroits les plus surprenants. Ce n'est pas seulement la capacité de composer en LaTeX qui peut être trouvée, c'est aussi sa possibilité d' |
+ | |||
+ | La capacité de réaliser un export de fichiers .tex peut être trouvée dans l' | ||
+ | |||
+ | **“Zim is a graphical text editor used to maintain a collection of wiki pages. | ||
“Each page can contain links to other pages, simple formatting, and inline images. Pages are stored in a folder structure, like in an outliner, and can have attachments. Creating a new page is as easy as linking to a nonexistent page. | “Each page can contain links to other pages, simple formatting, and inline images. Pages are stored in a folder structure, like in an outliner, and can have attachments. Creating a new page is as easy as linking to a nonexistent page. | ||
Ligne 16: | Ligne 20: | ||
* Do brainstorming’’ | * Do brainstorming’’ | ||
- | So, all that I was expecting was a text editor that would permit me to link to my files. An editor and some kind of organiser. File format exporting in LaTeX, HTML, MHTML, RST or Markdown is not mentioned, this is a bonus that I found later. In fact, the more I looked into Zim, I realised that this application was much more than as advertised in Synaptic. | + | So, all that I was expecting was a text editor that would permit me to link to my files. An editor and some kind of organiser. File format exporting in LaTeX, HTML, MHTML, RST or Markdown is not mentioned, this is a bonus that I found later. In fact, the more I looked into Zim, I realised that this application was much more than as advertised in Synaptic.** |
- | Zim looks like any other text editor, with text formatting such as bold, italic, underline and strike-through. The top menu bar also has a link icon, an attachment icon, and a calendar icon that will start a journal section on your Index column as soon as you click on a day in the calendar. | + | « Zim est un éditeur de texte graphique utilisé pour maintenir une collection de pages wiki. |
+ | |||
+ | Chaque page contient des liens vers d' | ||
+ | |||
+ | Toutes les données sont stockées dans des fichiers textes avec un formatage wiki. Divers modules fournissent des fonctionnalités supplémentaires, | ||
+ | |||
+ | Zim peut s' | ||
+ | - garder une archive de notes ; | ||
+ | - prendre des notes pendant une conférence ou une présentation ; | ||
+ | - organiser des listes de tâches ; | ||
+ | - faire un brouillon d' | ||
+ | - faire du " | ||
+ | |||
+ | Aussi, tout ce à quoi je m' | ||
+ | |||
+ | |||
+ | **Zim looks like any other text editor, with text formatting such as bold, italic, underline and strike-through. The top menu bar also has a link icon, an attachment icon, and a calendar icon that will start a journal section on your Index column as soon as you click on a day in the calendar. | ||
Ligne 24: | Ligne 44: | ||
- | Zim is full of surprises, and, hang on, I will get to LaTeX in a few minutes. Under the Edit menu we find Templates, where we can select a template to use for the way Zim looks when you open it, and a choice of six HTML templates. We can choose from three LaTeX document styles, default Markdown, and RST. But wait! There is more! In the Templates menu there is a link to get more templates online at: https:// | + | Zim is full of surprises, and, hang on, I will get to LaTeX in a few minutes. Under the Edit menu we find Templates, where we can select a template to use for the way Zim looks when you open it, and a choice of six HTML templates. We can choose from three LaTeX document styles, default Markdown, and RST. But wait! There is more! In the Templates menu there is a link to get more templates online at: https:// |
- | Another Pleasant Surprise: Third-party html export templates | + | Zim ressemble à n' |
+ | |||
+ | Pour le formatage d'une page, cliquez sur le menu Format et vous trouverez à peu près tout le nécessaire pour les documents quotidiens et plus encore : | ||
+ | |||
+ | Zim est plein de surprises et, patientez, j' | ||
+ | |||
+ | **Another Pleasant Surprise: Third-party html export templates | ||
There are export templates that will allow you to export your files as a complete Wiki in HTML format. This feature enables us to run an instant website on something as small as a Raspberry Pi. The following is a cut-and-paste from the Zim web site: | There are export templates that will allow you to export your files as a complete Wiki in HTML format. This feature enables us to run an instant website on something as small as a Raspberry Pi. The following is a cut-and-paste from the Zim web site: | ||
Ligne 32: | Ligne 58: | ||
Eight-Five-Zero | Eight-Five-Zero | ||
- | A template for exporting content from the Zim program as a website. It is designed to be responsive for viewing in all devices. Specifically, | + | A template for exporting content from the Zim program as a website. It is designed to be responsive for viewing in all devices. Specifically, |
- | Ecodiv-responsive | + | Autre surprise agréable : les modèles d' |
+ | |||
+ | Il y a des modèles d' | ||
+ | |||
+ | Eight-Five-Zero | ||
+ | |||
+ | Un modèle pour l' | ||
+ | |||
+ | **Ecodiv-responsive | ||
Template to export your Zim notebook as a responsive/ | Template to export your Zim notebook as a responsive/ | ||
Ligne 40: | Ligne 74: | ||
Ecodiv-mobile | Ecodiv-mobile | ||
- | Template to export your Zim notebook as a website with mobile theme. Build with jquerymobile to create a website with a focus on mobile devices, but which will also look good on the desktop. The template offers some pointers to customize the design to fit the user’s need. For more information, | + | Template to export your Zim notebook as a website with mobile theme. Build with jquerymobile to create a website with a focus on mobile devices, but which will also look good on the desktop. The template offers some pointers to customize the design to fit the user’s need. For more information, |
- | LaTeX Exporting | + | Ecodiv-responsive |
- | + | ||
- | Yes it is about time I got to this. Here is a short entry I made to Zim: | + | |
+ | Modèle pour exporter votre carnet Zim sous forme de site Web adaptable qui peut être vu de la même façon sur des ordinateurs de bureau et sur des mobiles. Vous pouvez trouver plus d' | ||
+ | Ecodiv-mobile | ||
+ | Modèle pour exporter votre carnet Zim comme site Web avec un thème pour mobile. Construit avec jquerymobile pour créer un site Web orienté vers les dispositifs mobiles, mais qui s' | ||
+ | **LaTeX Exporting | ||
+ | Yes it is about time I got to this. Here is a short entry I made to Zim: | ||
Ligne 68: | Ligne 105: | ||
Created Wednesday 31 August 2016 | Created Wednesday 31 August 2016 | ||
\chapter{Hello World} | \chapter{Hello World} | ||
- | \textbf{Some Thoughts on Software Freedom} | + | \textbf{Some Thoughts on Software Freedom}** |
- | There are some things that we have to keep in mind about Free Software. | + | Exportation de LaTeX |
+ | |||
+ | Oui, il est temps que je passe à ce sujet. Voici une courte saisie que j'ai faite dans Zim : | ||
+ | |||
+ | Pour exporter ceci dans un fichier LaTeX : | ||
+ | • Cliquez sur Fichier > Exporter > Page unique | ||
+ | • Suivant | ||
+ | • Sous Format, sélectionnez LaTeX | ||
+ | • Choisissez un modèle | ||
+ | • Suivant | ||
+ | • Donner un nom au fichier de sortie et/ou sélectionnez le répertoire dans lequel le mettre | ||
+ | • Cliquez sur Enregistrer | ||
+ | • Cliquez sur Valider | ||
+ | |||
+ | Voici le fichier que j'ai créé avec le modèle « Part » : | ||
+ | |||
+ | + | ||
+ | \part{Home} | ||
+ | \chapter{Home} | ||
+ | Créé le mercredi 31 Août 2016 | ||
+ | \chapter{Hello World} | ||
+ | \textbf{Quelques idées sur le logiciel libre} | ||
+ | |||
+ | **There are some things that we have to keep in mind about Free Software. | ||
\begin{enumerate}[1] | \begin{enumerate}[1] | ||
Ligne 81: | Ligne 141: | ||
• Remove the [1] from the first line. | • Remove the [1] from the first line. | ||
• Replace any “ or ‘ using your LaTeX editor. | • Replace any “ or ‘ using your LaTeX editor. | ||
- | • Any words that have capitals in the middle of them are treated by Zim as a link. So a word like CanLii will have to be broken up (Can Lii) and the code for the link removed. | + | • Any words that have capitals in the middle of them are treated by Zim as a link. So a word like CanLii will have to be broken up (Can Lii) and the code for the link removed.** |
- | Take care of those gremlins and you should have a very nice .PDF file with all of your formatting intact. Your Latex editor will alert you of any changes like this that need to be made. | + | Nous devons garder quelques idées en mémoire à propos du Logiciel libre. |
+ | |||
+ | \begin{enumerate}[1] | ||
+ | \item « Logiciel libre » veut dire logiciel qui respecte la liberté et la communauté des utilisateurs. En gros, cela signifie que les utilisateurs ont la liberté de faire tourner, copier, distribuer, étudier, modifier et améliorer le logiciel. \textbf{Donc, | ||
+ | \item Dans l' | ||
+ | \item À l' | ||
+ | \end{enumerate} | ||
+ | |||
+ | Copiez le fichier .tex en entier ou en partie dans votre éditeur LaTeX. Vous devrez fournir le préambule. Vous pourriez avoir des bizarreries et vous devrez faire quelques modifications telles que : | ||
+ | • Retirer le [1] de la première ligne. | ||
+ | • Remplacer les " ou ' avec votre éditeur LaTeX. | ||
+ | • Tout mot contenant une majuscule au milieu est considéré par Zim comme un lien. Aussi, un mot comme CanLii devra être coupé(Can Lii) et le code pour le lien supprimé. | ||
+ | |||
+ | **Take care of those gremlins and you should have a very nice .PDF file with all of your formatting intact. Your Latex editor will alert you of any changes like this that need to be made. | ||
I would not want to use Zim as my main LaTeX editor, but it is nice to know that after you have done some work within Zim, you have an option to export in a LaTeX document format that can be imported into an existing document or be a LaTeX document on its own. | I would not want to use Zim as my main LaTeX editor, but it is nice to know that after you have done some work within Zim, you have an option to export in a LaTeX document format that can be imported into an existing document or be a LaTeX document on its own. | ||
Ligne 91: | Ligne 164: | ||
Zim is the creation of Jaap Karssenberg (jaap.karssenberg@gmail.com) Thank you Jaap. | Zim is the creation of Jaap Karssenberg (jaap.karssenberg@gmail.com) Thank you Jaap. | ||
- | This article was written using Zim, LibreOffice, | + | This article was written using Zim, LibreOffice, |
+ | |||
+ | Si vous corrigez ces bizarreries, | ||
+ | |||
+ | Je ne voudrais pas utiliser Zim comme mon éditeur LaTeX principal, mais il est bien de savoir qu' | ||
+ | |||
+ | J' | ||
+ | |||
+ | Zim est une création de Jaap Karssenberg (jaap.karssenberg@gmail.com). Merci Jaap. | ||
+ | |||
+ | Cet article a été écrit avec Zim, LibreOffice et Shutter sur un Raspberry Pi3. |
issue119/tuto1.1491238757.txt.gz · Dernière modification : 2017/04/03 18:59 de auntiee