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 Prochaine révision Les deux révisions suivantes | ||
5_fichiers:obtenir_la_liste_des_fichiers_utilises [2018/05/24 19:09] joseph.wright |
5_fichiers:obtenir_la_liste_des_fichiers_utilises [2018/12/04 00:29] jejust |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== All the files used by this document ====== |
- | section: How do I do…? | + | |
- | subsection: Document management | + | |
- | permalink: /FAQ-filesused.html | + | |
- | date: 2014-06-10 | + | |
- | --- | + | |
- | # All the files used by this document | ||
When you're sharing a document with someone else (perhaps as part of a | When you're sharing a document with someone else (perhaps as part of a | ||
Ligne 12: | Ligne 6: | ||
have the same set of auxiliary files, as well as the document in | have the same set of auxiliary files, as well as the document in | ||
question. Your correspondent obviously needs the same set of files | question. Your correspondent obviously needs the same set of files | ||
- | (if you use the [`url`](https://ctan.org/pkg/url) package, she has to have [`url`](https://ctan.org/pkg/url) | + | (if you use the [[ctanpkg>url|url]] package, she has to have [[ctanpkg>url|url]] |
too, for example). But suppose you have a bug-free version of the | too, for example). But suppose you have a bug-free version of the | ||
- | `shinynew` package but her copy is still the unstable | + | ''shinynew'' package but her copy is still the unstable |
original; until you both realise what is happening, such a situation | original; until you both realise what is happening, such a situation | ||
can be very confusing. | can be very confusing. | ||
- | The simplest solution is the LaTeX `\listfiles` command. This | + | The simplest solution is the LaTeX ''\listfiles'' command. This |
places a list of the files used and their version numbers in the log | places a list of the files used and their version numbers in the log | ||
file. If you extract that list and transmit it with your file, it can | file. If you extract that list and transmit it with your file, it can | ||
be used as a check-list in case that problems arise. | be used as a check-list in case that problems arise. | ||
- | Note that `\listfiles` only registers things that are input by the | + | Note that ''\listfiles'' only registers things that are input by the |
- | ''standard'' LaTeX mechanisms (`\documentclass`, `\usepackage`, | + | "standard" LaTeX mechanisms (''\documentclass'', ''\usepackage'', |
- | `\include`, `\includegraphics` and so on). | + | ''\include'', ''\includegraphics'' and so on). |
- | The `\input` command, as modified by LaTeX and used, with | + | The ''\input'' command, as modified by LaTeX and used, with |
LaTeX syntax, as: | LaTeX syntax, as: | ||
- | ```latex | + | |
+ | <code latex> | ||
\input{mymacros} | \input{mymacros} | ||
- | ``` | + | </code> |
- | records file details for `mymacros.tex`, but if you use TeX | + | records file details for ''mymacros.tex'', but if you use TeX |
- | primitive syntax for `\input`, as: | + | primitive syntax for ''\input'', as: |
- | ```latex | + | |
+ | <code latex> | ||
\input mymacros | \input mymacros | ||
- | ``` | + | </code> |
- | `mymacros.tex` _won't_ be recorded, and so won't listed by | + | ''mymacros.tex'' //won't// be recorded, and so won't listed by |
- | `\listfiles` — you've bypassed the mechanism that records its use. | + | ''\listfiles'' --- you've bypassed the mechanism that records its use. |
- | The [`snapshot`](https://ctan.org/pkg/snapshot) package helps the owner of a LaTeX document | + | The [[ctanpkg>snapshot|snapshot]] package helps the owner of a LaTeX document |
obtain a list of the external dependencies of the document, in a form | obtain a list of the external dependencies of the document, in a form | ||
that can be embedded at the top of the document. The intended use of | that can be embedded at the top of the document. The intended use of | ||
Ligne 45: | Ligne 41: | ||
has application in document exchange situations too. | has application in document exchange situations too. | ||
- | The `bundledoc` system uses the [`snapshot`](https://ctan.org/pkg/snapshot) to produce an | + | The ''bundledoc'' system uses the [[ctanpkg>snapshot|snapshot]] to produce an |
- | archive (e.g., `tar.gz` or `zip`) of the files needed by your | + | archive (e.g., ''tar.gz'' or ''zip'') of the files needed by your |
document; it comes with configuration files for use with | document; it comes with configuration files for use with | ||
- | TeX Live-`Unix` and `MiKTeX`. It's plainly useful when | + | TeX Live-''Unix'' and ''MiKTeX''. It's plainly useful when |
you're sending the first copy of a document. | you're sending the first copy of a document. | ||
- | The `mkjobtexmf` finds which files are used in a ''job'', | + | The ''mkjobtexmf'' finds which files are used in a "job", |
- | either via the `-recorder` option of TeX, or by using the | + | either via the ''-recorder'' option of TeX, or by using the |
- | (Unix) command `strace` to keep an eye on what TeX is | + | (Unix) command ''strace'' to keep an eye on what TeX is |
doing. The files thus found are copied (or linked) to a directory | doing. The files thus found are copied (or linked) to a directory | ||
which may then be saved for transmission or archiving. | which may then be saved for transmission or archiving. | ||
+ | |||
+ | ----- | ||
+ | |||
+ | //Source:// [[faquk>FAQ-filesused|All the files used by this document]] | ||
+ | |||
+ | {{htmlmetatags>metatag-keywords=(LaTeX,usage) | ||
+ | metatag-og:title=(All the files used by this document) | ||
+ | metatag-og:site_name=(FAQ LaTeX francophone) | ||
+ | }} | ||