issue119:tuto1
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 | ||
issue119:tuto1 [2017/04/14 15:27] – d52fr | 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' |
- | **“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. | + | 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. | ||
“All data is stored in plain text files, with wiki formatting. Various plugins provide additional functionality, | “All data is stored in plain text files, with wiki formatting. Various plugins provide additional functionality, | ||
Ligne 17: | Ligne 21: | ||
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 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. | **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 25: | Ligne 45: | ||
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:// | ||
+ | |||
+ | 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 | **Another Pleasant Surprise: Third-party html export templates | ||
Ligne 33: | Ligne 59: | ||
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, | ||
+ | |||
+ | 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 | **Ecodiv-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 |
+ | Ecodiv-mobile | ||
- | **To export this as a LaTeX file: | + | 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: | ||
+ | |||
+ | |||
+ | To export this as a LaTeX file: | ||
• Click on File ----> | • Click on File ----> | ||
• Forward | • Forward | ||
Ligne 63: | 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 |
- | **\begin{enumerate}[1] | + | 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] | ||
\item "Free software” means software that respects users' freedom and community. Roughly, it means that the users have the freedom to run, copy, distribute, study, change and improve the software. \textbf{Thus, | \item "Free software” means software that respects users' freedom and community. Roughly, it means that the users have the freedom to run, copy, distribute, study, change and improve the software. \textbf{Thus, | ||
\item In computer history, take Richard Stallman, Linus Torvalds, and Tim Berners-Lee out of the equation \emph{and the .dot com billionaires don't happen.} | \item In computer history, take Richard Stallman, Linus Torvalds, and Tim Berners-Lee out of the equation \emph{and the .dot com billionaires don't happen.} | ||
Ligne 77: | Ligne 142: | ||
• 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.** | ||
+ | |||
+ | 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. | **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. | ||
Ligne 87: | Ligne 165: | ||
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.1492176446.txt.gz · Dernière modification : 2017/04/14 15:27 de d52fr