Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
2_composition:annexes:index:commandes_de_base2 [2018/05/25 10:59] joseph.wright |
2_composition:annexes:index:commandes_de_base2 [2018/12/04 00:04] (Version actuelle) jejust |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== Generating an index in (La)TeX ====== |
- | section: Adjusting the typesetting | + | |
- | subsection: Typesetting specialities | + | |
- | permalink: /FAQ-makeindex | + | |
- | date: 2014-06-10 | + | |
- | --- | + | |
- | # Generating an index in (La)TeX | ||
Making an index is not trivial; what to index, and how to index it, is | Making an index is not trivial; what to index, and how to index it, is | ||
difficult to decide, and uniform implementation is difficult to | difficult to decide, and uniform implementation is difficult to | ||
achieve. You will need to mark all items to be indexed in your text | achieve. You will need to mark all items to be indexed in your text | ||
- | (typically with `\index` commands). | + | (typically with ''\index'' commands). |
It is not practical to sort a large index within TeX, so a | It is not practical to sort a large index within TeX, so a | ||
Ligne 19: | Ligne 13: | ||
The following programs are available: | The following programs are available: | ||
- | - makeindex Comes with most distributions — a good workhorse, | + | - makeindex Comes with most distributions --- a good workhorse, |
but is not well-arranged to deal with other sort orders than the | but is not well-arranged to deal with other sort orders than the | ||
canonical ASCII ordering. | canonical ASCII ordering. | ||
- | The [`makeindex`](https://ctan.org/pkg/makeindex) documentation is a good source of | + | The [[ctanpkg>makeindex|makeindex]] documentation is a good source of |
- | information on how to create your own index. [`Makeindex`](https://ctan.org/pkg/Makeindex) can | + | information on how to create your own index. [[ctanpkg>Makeindex|Makeindex]] can |
be used with some TeX | be used with some TeX | ||
macro packages other than LaTeX, such as | macro packages other than LaTeX, such as | ||
- | [Eplain](/FAQ-eplain), and TeX (whose macros can | + | [[FAQ-eplain|Eplain]], and TeX (whose macros can |
be used independently with Plain TeX). | be used independently with Plain TeX). | ||
- | - idxtex for LaTeX under VMS; `idxtex` comes | + | - idxtex for LaTeX under VMS; ''idxtex'' comes |
- | with a glossary-maker `glotex`. | + | with a glossary-maker ''glotex''. |
- | - texindex(1) A witty little shell-script using `sed` | + | - texindex(1) A witty little shell-script using ''sed'' |
- | and `awk`; designed for LaTeX under Unix. | + | and ''awk''; designed for LaTeX under Unix. |
- | - texindex(2) The [Texinfo](/FAQ-texinfo) system also offers a program | + | - texindex(2) The [[FAQ-texinfo|Texinfo]] system also offers a program |
- | `texindex`, whose source is to be found in the | + | ''texindex'', whose source is to be found in the |
- | `texinfo` distribution. The [`ltxindex`](https://ctan.org/pkg/ltxindex) package | + | ''texinfo'' distribution. The [[ctanpkg>ltxindex|ltxindex]] package |
provides macros that enable LaTeX users to use this | provides macros that enable LaTeX users to use this | ||
- | `texindex`. | + | ''texindex''. |
- xindy arose from frustration at the difficulty of making a | - xindy arose from frustration at the difficulty of making a | ||
- | multi-language version of `makeindex`. It is designed to | + | multi-language version of ''makeindex''. It is designed to |
- | be a successor to `makeindex`, by a team that included the | + | be a successor to ''makeindex'', by a team that included the |
- | then-current maintainer of `makeindex`. It successfully | + | then-current maintainer of ''makeindex''. It successfully |
- | addresses many of `makeindex`s shortcomings, including | + | addresses many of ''makeindex''s shortcomings, including |
difficulties with collation order in different languages, and it is | difficulties with collation order in different languages, and it is | ||
highly flexible. | highly flexible. | ||
- | `Xindy` itself will work with Unicode (UTF-8) encoded | + | ''Xindy'' itself will work with Unicode (UTF-8) encoded |
- | LaTeX input. A separate application (`texindy`) deals | + | LaTeX input. A separate application (''texindy'') deals |
- | with ''standard'' LaTeX source, processes it and passes | + | with "standard" LaTeX source, processes it and passes |
- | ''sanitised'' text to `Xindy`. | + | "sanitised" text to ''Xindy''. |
+ | |||
+ | ----- | ||
+ | |||
+ | //Source:// [[faquk>FAQ-makeindex|Generating an index in (La)TeX]] | ||
+ | |||
+ | {{htmlmetatags>metatag-keywords=(LaTeX,formatting) | ||
+ | metatag-og:title=(Generating an index in (La)TeX) | ||
+ | metatag-og:site_name=(FAQ LaTeX francophone) | ||
+ | }} | ||