Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente |
fichiers:tds:ou_installer_les_packages [2018/12/04 00:25] – jejust | 5_fichiers:tds:ou_installer_les_packages [2021/12/12 21:32] (Version actuelle) – Mise à jour de liens internes. Ajout de liens externes. Reformatage des tableaux. jejust |
---|
====== Where to install packages ====== | ====== Where to install packages? ====== |
| |
| |
We assume here that you have decided what tree to put your files in, | We assume here that you have decided what tree to put your files in, |
after reading | after reading "[[5_fichiers:tds:la_tds|choosing a TDS tree]]". We will therefore |
"[[FAQ-what-TDS|choosing a TDS tree]]". We will therefore | |
write ''$TEXMF'' for it, and you need to substitute the tree | write ''$TEXMF'' for it, and you need to substitute the tree |
you decided on. | you decided on. |
existing tree(s). Here are some examples of where various sorts of | existing tree(s). Here are some examples of where various sorts of |
files should go: | files should go: |
</code> | |
.sty, .cls or .fd: $TEXMF/tex/<format>/<package>/ | ^ Suffixe ^ Répertoire ^ |
.mf: $TEXMF/fonts/source/<supplier>/<font>/ | | ''.sty'', ''.cls'' ou ''.fd'' | ''$TEXMF/tex/<//format//>/<//package//>/'' | |
.tfm: $TEXMF/fonts/tfm/<supplier>/<font>/ | | ''.mf'' | ''$TEXMF/fonts/source/<//supplier//>/<//font//>/'' | |
.vf: $TEXMF/fonts/vf/<supplier>/<font>/ | | ''.tfm'' | ''$TEXMF/fonts/tfm/<//supplier//>/<//font//>/'' | |
.afm: $TEXMF/fonts/afm/<supplier>/<font>/ | | ''.vf'' | ''$TEXMF/fonts/vf/<//supplier//>/<//font//>/'' | |
.pfb: $TEXMF/fonts/type1/<supplier>/<font>/ | | ''.afm'' | ''$TEXMF/fonts/afm/<//supplier//>/<//font//>/'' | |
.ttf: $TEXMF/fonts/truetype/<supplier>/<font>/ | | ''.pfb'' | ''$TEXMF/fonts/type1/<//supplier//>/<//font//>/'' | |
.otf: $TEXMF/fonts/opentype/<supplier>/<font>/ | | ''.ttf'' | ''$TEXMF/fonts/truetype/<//supplier//>/<//font//>/'' | |
.pool, .fmt, .base or .mem: $TEXMF/web2c | | ''.otf'' | ''$TEXMF/fonts/opentype/<//supplier//>/<//font//>/'' | |
</code> | | ''.pool'', ''.fmt'', ''.base'' ou ''.mem'' | ''$TEXMF/web2c/'' | |
and for modern systems (those distributed in 2005 or later, using TDS | and for modern systems (those distributed in 2005 or later, using TDS |
v1.1 layouts): | v1.1 layouts): |
</code> | |
.map: $TEXMF/fonts/map/<syntax>/<bundle>/ | ^ Suffixe ^ Répertoire ^ |
.enc: $TEXMF/fonts/enc/<syntax>/<bundle>/ | | ''.map'' | ''$TEXMF/fonts/map/<//syntax//>/<//bundle//>/'' | |
</code> | | ''.enc'' | ''$TEXMF/fonts/enc/<//syntax//>/<//bundle//>/'' | |
(Map and encoding files went to directories under | |
''$TEXMF/dvips/'', | |
| (Map and encoding files went to directories under ''$TEXMF/dvips/'', |
in earlier distributions.) | in earlier distributions.) |
| |
In the lists above <//format//> identifies the format the macros | In the lists above <//format//> identifies the format the macros |
are designed for --- it can be things such as ''plain'', | are designed for --- it can be things such as ''plain'', |
''generic'' (i.e., any format), ''latex'' or | ''generic'' (//i.e.//, any format), ''latex'' or ''context'' |
''context'' (or several less common formats). | (or several less common formats). |
| |
For fonts, <//font//> refers to the font family (such as ''cm'' | For fonts, <//font//> refers to the font family (such as ''cm'' for Knuth's [[wpfr>Computer_Modern|Computer Modern]], |
for Knuth's Computer Modern, ''times'' for Adobe's Times Roman). | ''times'' for Adobe's [[wpfr>Times_New_Roman|Times Roman]]). |
The supplier is usually obvious --- the supplier | The supplier is usually obvious --- the supplier "public" is commonly used for free fonts. |
"public" is commonly used for free fonts. | |
| |
The <//syntax//> (for ''map'' and ''enc'' files) is a | The <//syntax//> (for ''map'' and ''enc'' files) is a categorisation |
categorisation based on the way the files are written; candidates are | based on the way the files are written; candidates are names of programs |
names of programs such as ''dvips'' or ''pdftex''. | such as ''dvips'' or ''pdftex''. |
| |
"Straight" (La)TeX input can take other forms than the | "Straight" (La)TeX input can take other forms than the ''sty'', ''cls'' or ''fd'' listed above, |
''sty'', ''cls'' or ''fd'' listed above, too | too (apart from the 'obvious' ''tex''). Examples are (the obvious) ''tex'', ''lfd'' |
(apart from the 'obvious' ''tex''). Examples are (the | for [[ctanpkg>babel|Babel]] language definitions, ''sto'' and ''clo'' for package and |
obvious) ''tex'', ''lfd'' for [[ctanpkg>babel|babel]] language | class options, ''cfg'' for configuration information, ''def'' for variants |
definitions, ''sto'' and ''clo'' for package and class | (such as the types of devices [[ctanpkg>graphics]] drives). |
options, ''cfg'' for configuration information, | The ''README'' of the package should tell you of any others, though sometimes that information |
''def'' for variants (such as the types of devices | is printed when the package's [[6_distributions:comment_trouver_un_package|comments are stripped]]. |
[[ctanpkg>graphics|graphics]] drives). The ''README'' of the package should | |
tell you of any others, though sometimes that information is printed | |
when the package's [[FAQ-install-unpack|comments are stripped]]. | |
All of these files should live together with the main package files. | All of these files should live together with the main package files. |
| |
the subtree is slightly different: ''doc/latex'' hosts all | the subtree is slightly different: ''doc/latex'' hosts all |
LaTeX documentation directories, but more fundamental things are | LaTeX documentation directories, but more fundamental things are |
covered, e.g., by ''doc/etex'' or ''doc/xetex''. | covered, //e.g.//, by ''doc/etex'' or ''doc/xetex''. |
| |
| |
----- | ----- |
| //Source:// |
| * [[faquk>FAQ-install-where|Where to install packages]] |
| |
//Source:// [[faquk>FAQ-install-where|Where to install packages]] | {{htmlmetatags>metatag-keywords=(LaTeX,installer LaTeX, installer TeXlive,extensions des fichiers LaTeX,formats de fichiers LaTeX) |
| |
{{htmlmetatags>metatag-keywords=(LaTeX,installing) | |
metatag-og:title=(Where to install packages) | metatag-og:title=(Where to install packages) |
metatag-og:site_name=(FAQ LaTeX francophone) | metatag-og:site_name=(FAQ LaTeX francophone) |
}} | }} |
| |