Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
fichiers:tds:la_tds3 [2018/05/22 11:34] – créée joseph.wright | fichiers:tds:la_tds3 [2021/01/17 20:49] (Version actuelle) – Suppression d'un signe de ponctuation inutile dbitouze | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | # Which tree to use | + | ====== |
- | + | ||
In almost all cases, new material that you install should go into the | In almost all cases, new material that you install should go into the | ||
- | '' | + | "local" |
- | reasons | + | reasons |
+ | On a Unix(-alike) system, using TeX Live or teTeX, the root | ||
+ | directory will be named something like ''/ | ||
+ | or ''/ | ||
+ | You can ask such a system where it believes a local tree should be: | ||
- | On a Unix(-alike) system, using TeX& | + | <code bash> |
- | directory will be named something like `/ | + | |
- | or `/ | + | |
- | You can ask such a system where it believes a local tree should be: | + | |
- | ```latex | + | |
kpsewhich -var-value TEXMFLOCAL | kpsewhich -var-value TEXMFLOCAL | ||
- | ``` | + | </ |
the output being the actual path, for example (on the workstation this | the output being the actual path, for example (on the workstation this | ||
author is using today): | author is using today): | ||
- | ```latex | ||
- | / | ||
- | ``` | ||
+ | <code bash> | ||
+ | / | ||
+ | </ | ||
In a MiKTeX installation, | In a MiKTeX installation, | ||
something you specified yourself when you installed MiKTeX in the | something you specified yourself when you installed MiKTeX in the | ||
first place, but you may find you need to create one. The MiKTeX | first place, but you may find you need to create one. The MiKTeX | ||
- | '' | + | "Settings" window ( '' |
- | `Start`& | + | '' |
- | `Programs`→ | + | that tab gives a list of current TDS roots (they' |
- | `MiKTeX`& | + | called '' |
- | `Settings`) | + | '' |
- | has a tab `Roots`; that tab gives a list of current | + | and register it using the window' |
- | TDS roots (they' | + | |
- | `texmf`-anything). | + | |
- | `local` in its name, create an appropriate one (see below), | + | |
- | and register it using the window' | + | |
- | `Add` button. | + | |
- | + | The [[http:// | |
- | The | + | suggests that you should create |
- | [MiKTeX FAQ](http:// | + | |
- | suggests that you should create | + | |
- | `C: Local TeX Files`, which is good if you | + | |
manage your own machine, but often not even possible in corporate, or | manage your own machine, but often not even possible in corporate, or | ||
- | similar, environments& | + | similar, environments |
control over the hard disc of the computer, at all. | control over the hard disc of the computer, at all. | ||
+ | FIXME Ce n'est plus vrai, MiKTeX propose maintenant de s' | ||
So the real criterion is that your local tree should be somewhere that | So the real criterion is that your local tree should be somewhere that | ||
- | _you_, rather than the system, control. | + | //you//, rather than the system, control. |
- | provide a '' | + | provide a "home directory" |
drive; this is a natural home for the user's local tree. Other (often | drive; this is a natural home for the user's local tree. Other (often | ||
academic) environments assume the user is going to provide a memory | academic) environments assume the user is going to provide a memory | ||
- | stick, and will assign it a defined drive letter& | + | stick, and will assign it a defined drive letter |
candidate location. | candidate location. | ||
- | indistinguishable from those of a | + | indistinguishable from those of a [[FAQ-privinst|" |
- | ['' | + | |
You might not wish to use the ' | You might not wish to use the ' | ||
- | | + | |
- | + | | |
- | - | + | |
- | | + | |
- | | + | |
- | | + | |
- | - if you _know_ | + | |
- | | + | |
- | | + | |
- | | + | |
If the system is upgraded (or otherwise re-installed), | If the system is upgraded (or otherwise re-installed), | ||
the TEXMF tree will probably be overwritten or deleted. | the TEXMF tree will probably be overwritten or deleted. | ||
may be what you want, but otherwise it's a powerful incentive to use a | may be what you want, but otherwise it's a powerful incentive to use a | ||
- | tree that is _not_ '' | + | tree that is //not// "part of the installed system". |
The reason one might place upgrades the distribution' | The reason one might place upgrades the distribution' | ||
avoid confusion. | avoid confusion. | ||
- | tree, and then install a new version of the distribution& | + | tree, and then install a new version of the distribution |
have an effect like: | have an effect like: | ||
- | | + | |
- | + | | |
- | - | + | |
- | - you install package version n+1 on the local tree; and | + | |
- | - the updated distribution provides package version n+2. | + | |
In such a situation, you could find yourself using version | In such a situation, you could find yourself using version | ||
- | n+1 (from the local tree) _after_ | + | n+1 (from the local tree) // |
distribution has been installed. | distribution has been installed. | ||
- | |||
If you install in the local tree, the only way to avoid such problems | If you install in the local tree, the only way to avoid such problems | ||
Ligne 100: | Ligne 75: | ||
+ | ----- | ||
+ | //Source:// | ||
+ | * [[faquk> | ||
+ | |||
+ | {{htmlmetatags> | ||
+ | metatag-og: | ||
+ | metatag-og: | ||
+ | }} | ||