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 | ||
generalites:glossaire:qu_est_ce_que_texinfo [2018/06/03 14:20] – samcarter | 1_generalites:glossaire:qu_est_ce_que_texinfo [2021/06/22 21:09] (Version actuelle) – Explication sur l'usage de "texinfo" en pratique, avec l'exemple de la documentation de DVIPS. jejust | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== Qu'est-ce que Texinfo? |
- | title: What is Texinfo? | + | |
- | category: background | + | |
- | permalink: / | + | |
- | date: 2014-06-10 | + | |
- | --- | + | |
- | Texinfo | + | Texinfo |
- | both on-line information and printed output. So instead of writing | + | |
- | two different | + | |
- | typeset manual, you need write only one document | + | |
- | the work is revised, you need only revise one document. | + | |
- | convention, | + | |
- | `texinfo` extension. | + | |
- | Texinfo | + | Texinfo |
- | slightly less expressive power. Its appearance is of course rather | + | |
- | similar to any TeX-based macro language, except that its macros | + | |
- | start with `@` rather than the `\` that's more commonly used in | + | |
- | TeX systems. | + | |
- | You can write and format | + | Vous pouvez écrire et convertir des fichiers |
- | Emacs, and read them using the Emacs Info | + | |
- | reader. You can also format | + | |
- | `makeinfo` and read them using `info`, so you're not | + | |
- | dependent on Emacs. | + | |
- | Perl script, | + | |
- | Texinfo | + | |
- | HTML than is LaTeX, | + | |
- | [Converting | + | |
- | avoided. | + | |
- | Finally, of course, you can also print the files, or convert them to | + | Enfin, bien sûr, vous pouvez également imprimer les fichiers, ou les convertir en PDF à l'aide de '' |
- | PDF using pdfTeX. | + | |
+ | ====== Comment lire une documentation au format Texinfo? ====== | ||
+ | |||
+ | Peut-être avez-vous déjà consulté la documentation de '' | ||
+ | <code bash> | ||
+ | man dvips | ||
+ | </ | ||
+ | |||
+ | et la page d'aide affichée vous a dit :-(: | ||
+ | |||
+ | <WRAP column 61ex> | ||
+ | <code text> | ||
+ | NOM | ||
+ | dvips - convertit un fichier TeX DVI en PostScript | ||
+ | |||
+ | DESCRIPTION | ||
+ | CETTE PAGE DE MANUEL EST OBSOLÈTE! Consultez plutôt | ||
+ | la documentation Texinfo. | ||
+ | avec Emacs soit avec le programme info fournit dans | ||
+ | la distribution GNU texinfo à cette adresse: | ||
+ | | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP column 61ex> | ||
+ | <code text> | ||
+ | NAME | ||
+ | dvips - convert a TeX DVI file to PostScript | ||
+ | |||
+ | DESCRIPTION | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP clear /> | ||
+ | |||
+ | |||
+ | $\Reponse$ | ||
+ | <code bash> | ||
+ | info dvips | ||
+ | </ | ||
+ | |||
+ | La documentation demandée s' | ||
+ | avec les touches du clavier, comme dans un document hypertexte. Dans le vocabulaire | ||
+ | de Texinfo, chaque sous-page de la documentation est un « nœud ». | ||
+ | Pour avoir de l'aide sur les possibilités de navigation entre les nœuds, tapez '' | ||
+ | Ceci devrait afficher: | ||
+ | |||
+ | <code text> | ||
+ | Raccourcis Info de base: | ||
+ | |||
+ | H Ferme cette fenêtre d' | ||
+ | q | ||
+ | h Appel du tutoriel Info. | ||
+ | |||
+ | Up Monte d'une ligne. | ||
+ | Down Descend d'une ligne. | ||
+ | PgUp Recule d'une page. | ||
+ | PgDn Avance d'une page. | ||
+ | Home Va au début de ce nœud. | ||
+ | End Va à la fin de ce nœud. | ||
+ | |||
+ | TAB Saute au prochain hyperlien. | ||
+ | RET Suit l' | ||
+ | l | ||
+ | |||
+ | [ Va au nœud précédent de ce document. | ||
+ | ] Va au nœud suivant de ce document. | ||
+ | p Va au nœud précédent de ce niveau. | ||
+ | n Va au nœud suivant de ce niveau. | ||
+ | u | ||
+ | t Va au premier nœud (« top ») de ce document. | ||
+ | d Va au nœud répertoire (« dir ») principal. | ||
+ | |||
+ | 1...9 | ||
+ | 0 | ||
+ | m | ||
+ | f Suit le renvoi spécifié par son nom. | ||
+ | g Va au nœud spécifié par son nom. | ||
+ | |||
+ | / | ||
+ | { | ||
+ | } | ||
+ | i | ||
+ | sélectionne le nœud correspondant à la première entrée. | ||
+ | I | ||
+ | |||
+ | C-g | ||
+ | </ | ||
+ | |||
+ | ----- | ||
+ | // | ||
+ | * [[faquk> | ||
+ | * [[wpfr> | ||
+ | |||
+ | {{htmlmetatags> | ||
+ | metatag-og: | ||
+ | metatag-og: | ||
+ | }} |