Outils pour utilisateurs

Outils du site


issue116:tuto1

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
issue116:tuto1 [2017/01/02 15:40] – créée auntieeissue116:tuto1 [2017/01/12 14:31] (Version actuelle) d52fr
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.+“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.+On peut trouver LaTeX dans les endroits les plus surprenants. Ce n'est pas seulement la capacité d'écrire dans LaTeX, mais aussi la capacité d'exporter des données dans un fichier *.tex qui sera compilé pour produire un très joli fichier .PDF. Le paquet financier Grisbi peut le faire, tout comme Gnumeric. Ce n'est pas inhabituel et j'en ai vu d'autres, mais ils ne me viennent pas à l'esprit pour le moment. Cependant, les programmes n'exportent que le fichier .tex et, pour le compiler, il faut les autres paquets de LaTeX. 
 + 
 +Une application Wiki pour bureau appelée Zim a la capacité d'exporter les fichiers .tex. J'ai trouvé Zim par hasard un jour où je parcourais la liste de logiciels affichée dans le gestionnaire de paquets Synaptic ; Zim me paraissait intéressant. Voici la description de Synaptic : 
 + 
 +« Zim est un éditeur de texte graphique utilisé pour maintenir une collection de pages Wiki. 
 + 
 +**“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, like a task list manager, an equation editor, a tray icon, and support for version control. “All data is stored in plain text files, with wiki formatting. Various plugins provide additional functionality, like a task list manager, an equation editor, a tray icon, and support for version control.
Ligne 16: Ligne 22:
  * 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.+« Chaque page contient des liens vers d'autres pages, un formatage simple et des images en ligne. Les pages sont stockées dans une structure de répertoires, et peut avoir des pièces jointes. Créer de nouvelles pages est aussi simple que de faire des liens vers des pages inexistantes. 
 + 
 +« Toutes les données sont stockées dans des fichiers texte avec un formatage wiki. Divers modules fournissent des fonctionnalités supplémentaires, comme un gestionnaire de liste de tâches, un éditeur d'équations, une icône et la gestion de version. 
 + 
 +« Sim peut être utilisé pour : 
 +   * Garder une archive des notes. 
 +   * Prendre des notes lors de réunions ou de conférences. 
 +   * Organiser des listes de tâches. 
 +   * Faire des brouillons d'entrées de blog ou de courriers électroniques. 
 +   * Faire des "brainstorming" (remue-méninges) ». 
 + 
 +Ainsi, je ne m'attendais pas à autre chose qu'un éditeur de texte qui me permettrait de lier mes fichiers. Un éditeur et un organiseur quelconque. L'export de formats de fichiers dans LaTeX, HTML, MHTML, RST ou Markdown n'est pas mentionné ; ça vient en plus, comme je l'ai découvert plus tard. En fait, plus j'examinais Zim, plus je me rendais compte que cette application fait beaucoup plus que ce qu'en dit 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.
 As for page formatting, click on the Format menu and we find just about everything we need for everyday documents and more: As for page formatting, click on the Format menu and we find just about everything we need for everyday documents and more:
  
 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: 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://github.com/jaap-karssenberg/zim-wiki/wiki/Templates.+https://github.com/jaap-karssenberg/zim-wiki/wiki/Templates.**
  
-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:+Zim a l'aspect de n'importe quel éditeur de texte, avec le formatage de texte comme gras, italique, souligné et barré. La barre de menus en haut contient une icône de lien, une icône de pièce jointe et une icône de calendrier que démarrera une section de journal dans la colonne Index dès que vous cliquez sur un jour dans le calendrier. 
 + 
 +Quant au formatage de pages, cliquez sur le menu Format et vous trouvez à peu près tout ce dont vous aurez besoin pour des documents ordinaires et plus : 
 + 
 +Zim est plein de surprise et, soyez patient, j'arriverai à LaTeX dans quelques minutes. Dans le menu Édition on trouve Modèles, où on peut sélectionner un modèle pour l'aspect de Zim au lancement et un choix de six modèles HTML. On peut choisir parmi trois styles de documents LaTeX, Markdown par défaut et RST. Mais attendez ! Il y a plus encore ! Dans le menu Modèles, il y a un lien pour obtenir davantage de modèles en ligne à : https://github.com/jaap-karssenberg/zim-wiki/wiki/Templates. 
 + 
 +**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:
  
 Eight-Five-Zero Eight-Five-Zero
Ligne 32: Ligne 57:
 Ecodiv-responsive Ecodiv-responsive
  
-Template to export your Zim notebook as a responsive/adaptive website that can be viewed in desktop and mobile devices alike. You can find more information, or download the template, on this github page (https://github.com/ecodiv/Ecodiv-responsive). For an example, see http://ecodiv.org/ and http://notebook.ecodiv.org/+Template to export your Zim notebook as a responsive/adaptive website that can be viewed in desktop and mobile devices alike. You can find more information, or download the template, on this github page (https://github.com/ecodiv/Ecodiv-responsive). For an example, see http://ecodiv.org/ and http://notebook.ecodiv.org/**
  
-Ecodiv-mobile+Autre surprise agréable : des modèles tiers d'export en html 
 + 
 +Il y a des modèles d'export qui vous permettront d'exporter vos fichiers comme un Wiki complet en format HTML. Cette fonction nous donne la possibilité de lancer un site Web instantané sur quelque chose d'aussi petit qu'un Raspberry Pi. Voici un copier/coller du site Web de Zim : 
 + 
 +Eight-Five-Zero 
 + 
 +Un modèle pour exporter du contenu du programme Zim en tant que site Web, conçu pour être réactif sur tous les dispositifs. En particulier, il est conçu comme étant d'abord pour les dispositifs mobiles (la navigation se trouve en bas de l'écran). La navigation sur le côté droit sera activée uniquement si la largeur du dispositif est importante et s'il se trouve en mode paysage. Disponible sur github (https://github.com/jrm4/Eight-Five-Zero) 
 + 
 +Ecodiv-responsive (réactive en Ecodiv) 
 + 
 +Un modèle pour exporter votre cahier Zim en tant que site Web réactif/adaptatif qui s'affichera sur des dispositifs de bureau comme sur des dispositifs mobiles. Pour plus d'informations, ou pour télécharger le modèle, allez sur cette page de github (https://github.com/ecodiv/Ecodiv-responsive). Pour un exemple, regardez http://ecodiv.org/ et http://notebook.ecodiv.org/ 
 + 
 +**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, or to download the template, go to the github page (https://github.com/ecodiv/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, or to download the template, go to the github page (https://github.com/ecodiv/Ecodiv-mobile). 
Ligne 49: Ligne 86:
 • Forward • Forward
 • Give the output file a name and or select the directory it is to go into • Give the output file a name and or select the directory it is to go into
-• Click OK+• Click OK**
  
-Copy the .tex file in whole or part into your LaTeX editor, You will need to provide the preamble. There may be gremlins and you may have to make some edits such as: +Ecodiv-mobile
-• Remove the [1] from the first line. +
-• 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.+
  
-Take care of those gremlins and you should have a very nice .PDF file with all of your formatting intactYour Latex editor will alert you of any changes like this that need to be made. +Modèle pour exporter votre cahier Zim en tant que site Web avec un thème mobileConstruire avec jquerymobile pour créer un site Web qui se focalise sur les dispositifs mobiles, mais dont l'apparence sera bonne aussi sur un ordinateur de bureauLe modèle offre quelques conseils pour personnaliser la conception selon les besoins de l'utilisateurPour davantage de détailsou pour télécharger le modèleallez à la page github (https://github.com/ecodiv/Ecodiv-mobile)
-  +
-I would not want to use Zim as my main LaTeX editorbut it is nice to know that after you have done some work within Zimyou 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 will be using Zim to create an internal website at the law library where I work. Zim automatically saves any edits that you make to the file. I like this feature – I can’t forget to save before closing. To date, it is the best organiser, note taker, journal creator, and back up LaTeX editor, that I have found.+Exporter comme fichier LaTex
  
-Zim is the creation of Jaap Karssenberg . Thank you Jaap.+Oui, le moment est venu de parler de ceci. Voici une courte saisie que j'ai faite dans Zim :
  
 +Pour exporter ceci en tant que fichier LaTex :
 +• Cliquez sur Fichier > Exporter > Page.
 +• Suivant.
 +• Sous Format, sélectionnez LaTeX.
 +• Choisissez un modèle.
 +• Suivant.
 +• Donnez un nom au fichier de sortie ou choisissez un répertoire où le mettre. 
 +• Cliquez sur OK.
  
 +**Copy the .tex file in whole or part into your LaTeX editor, You will need to provide the preamble. There may be gremlins and you may have to make some edits such as:
 +• Remove the [1] from the first line.
 +• 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.
  
 +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.**
  
 +Copier le fichier .tex en entier, ou pas, dans l'éditeur LaTeX. Vous devrez fournir le préambule et il peut y avoir des zombies ; il vous faudra peut-être faire quelques modifications, notamment :
 +• Enlever le [1] de la première ligne.
 +• Remplacer tous les “ ou ‘ avec l'éditeur LaTeX.
 +• Zim traite tous les mots avec des majuscules au milieu comme des liens. Ainsi, il faut diviser un mot comme CanLii (Can Lii) et enlever le code du lien.
  
 +Corrigez les zombies et le résultat devrait être un très joli fichier .PDF comprenant tout le formatage. L'éditeur LaTeX vous préviendra s'il faut faire de telles modifications.
  
 +**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 will be using Zim to create an internal website at the law library where I work. Zim automatically saves any edits that you make to the file. I like this feature – I can’t forget to save before closing. To date, it is the best organiser, note taker, journal creator, and back up LaTeX editor, that I have found.
  
 +Zim is the creation of Jaap Karssenberg . Thank you Jaap.
  
 +This article was written using Zim, LibreOffice, and Shutter on a Raspberry Pi3.
 +**
  
 +Utiliser Zim comme éditeur principal de LaTeX ne me plairait pas, mais c'est bon de savoir qu'après avoir travaillé dans Zim, vous avez la possibilité d'exporter sous format document LaTeX, qui peut être importé dans un document existant ou être un document LaTeX à part entière.
  
-This article was written using Zim, LibreOfficeand Shutter on a Raspberry Pi3.+J'utiliserai Zim pour créer un site Web interne à la bibliothèque de droit où je travaille. Zim enregistre automatiquement toutes modifications que vous faites dans un fichier. J'aime cette fonction : il est impossible d'oublier d'enregistrer un document avant de quitter. Actuellementc'est le meilleur organiseurpreneur de notes, créateur de journal et éditeur LaTeX en cas d'urgence, que j'ai trouvé. 
 + 
 +Zim est la création de Jaap Karssenberg. Sincères remerciements, Jaap.  
 + 
 +Cet article été écrit sur un Raspberry Pi3, avec Zim, LibreOffice, et Shutter.
issue116/tuto1.1483368058.txt.gz · Dernière modification : 2017/01/02 15:40 de auntiee