texmf.cnf 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824
  1. % texmf.cnf for TeXLive/Parabola -- runtime path configuration file for kpathsea.
  2. % Public domain.
  3. %
  4. % If you modify this original file, YOUR CHANGES WILL BE LOST when it is
  5. % updated. Instead, put your changes -- and only your changes, not an
  6. % entire copy! -- in ../../texmf.cnf. That is, if this file is
  7. % installed in /some/path/to/texlive/2018/texmf-dist/web2c/texmf.cnf,
  8. % add your custom settings to /some/path/to/texlive/2018/texmf.cnf.
  9. %
  10. % What follows is a super-summary of what this .cnf file can
  11. % contain. Please read the Kpathsea manual for more information.
  12. %
  13. % Each statement in this file boils down to:
  14. % <variable>[.<program>] [=] <value>
  15. %
  16. % Neither the <variable> nor the <value> may be empty.
  17. % Any identifier (sticking to A-Za-z_ for names is safest) can be assigned.
  18. % The `=' (and surrounding spaces) is optional.
  19. % $foo (or ${foo}) in a value expands to the envvar or cnf value of foo.
  20. % Lines can be continued with a \; no whitespace removal is done.
  21. %
  22. % Earlier entries (in the same or another file) override later ones, and
  23. % an environment variable foo overrides any texmf.cnf definition of foo.
  24. %
  25. % All definitions are read before anything is expanded, so you can use
  26. % variables before they are defined.
  27. %
  28. % If a variable assignment is qualified with `.PROGRAM', it is ignored
  29. % unless the current executable (last filename component of argv[0]) is
  30. % named PROGRAM. This foo.PROGRAM construct is not recognized on the
  31. % right-hand side. For environment variables, use FOO_PROGRAM.
  32. %
  33. % Which file formats use which paths for searches is described in the
  34. % various programs' and the Kpathsea documentation (http://tug.org/kpathsea).
  35. %
  36. % // means to search subdirectories (recursively).
  37. % A leading !! means to look only in the ls-R db, never on the disk.
  38. % In this file, either ; or : can be used to separate path components.
  39. % A leading/trailing/doubled path separator in the paths will be
  40. % expanded into the compile-time default. Probably not what you want.
  41. %
  42. % Brace notation is supported, for example: /usr/local/{mytex,othertex}
  43. % expands to /usr/local/mytex:/usr/local/othertex.
  44. % Part 1: Search paths and directories.
  45. % This is the parent directory of our several trees, i.e.,
  46. % /usr/local/texlive/YYYY in the original TeX Live distribution.
  47. %
  48. % The path definitions here assume the directories are organized
  49. % according to the TeX Directory Structure (http://tug.org/tds).
  50. %
  51. % Redistributors will probably want $SELFAUTODIR/share, i.e., /usr/share.
  52. % Kpathsea sets (in kpathsea/progname.c):
  53. % SELFAUTOLOC (directory of the binary=/usr/local/texlive/YYYY/bin/i386-linux),
  54. % SELFAUTODIR (its parent = /usr/local/texlive/YYYY/bin),
  55. % SELFAUTOPARENT (its grandparent = /usr/local/texlive/YYYY), and
  56. % SELFAUTOGRANDPARENT (its great-grandparent = /usr/local/texlive).
  57. % Sorry for the off-by-one-generation names.
  58. TEXMFROOT = $SELFAUTODIR/share
  59. % The main tree of distributed packages and programs:
  60. TEXMFDIST = $TEXMFROOT/texmf-dist
  61. % We used to have a separate /texmf tree with some core programs and files.
  62. % Keep the variable name.
  63. TEXMFMAIN = $TEXMFDIST
  64. % Local additions to the distribution trees.
  65. TEXMFLOCAL = /usr/local/share/texmf;/usr/share/texmf
  66. % TEXMFSYSVAR, where *-sys store cached runtime data.
  67. TEXMFSYSVAR = /var/lib/texmf
  68. % TEXMFSYSCONFIG, where *-sys store configuration data.
  69. TEXMFSYSCONFIG = /etc/texmf
  70. % Per-user texmf tree(s) -- organized per the TDS, as usual. To define
  71. % more than one per-user tree, set this to a list of directories in
  72. % braces, as described above. (This used to be HOMETEXMF.) ~ expands
  73. % to %USERPROFILE% on Windows, $HOME otherwise.
  74. TEXMFHOME = ~/texmf
  75. % TEXMFVAR, where texconfig/updmap/fmtutil store cached runtime data.
  76. TEXMFVAR = ~/.texlive/texmf-var
  77. % TEXMFCONFIG, where texconfig/updmap/fmtutil store configuration data.
  78. TEXMFCONFIG = ~/.texlive/texmf-config
  79. % This is the value manipulated by tlmgr's auxtrees subcommand in the
  80. % root texmf.cnf. Kpathsea warns about a literally empty string for a
  81. % value, hence the empty braces.
  82. TEXMFAUXTREES = {}
  83. % List all the texmf trees. For an explanation of what they are, see the
  84. % TeX Live manual.
  85. %
  86. % For texconfig to work properly, TEXMFCONFIG and TEXMFVAR should be named
  87. % explicitly and before other trees.
  88. %
  89. % TEXMFLOCAL precedes TEXMFDIST because locally-installed versions
  90. % should take precedence over distribution files -- although it is
  91. % generally a source of confusion to have different versions of a
  92. % package installed, whatever the trees, so try to avoid it.
  93. %
  94. % The odd-looking $TEXMFAUXTREES$TEXMF... construct is so that if no auxtree is
  95. % ever defined (the 99% common case), no extra elements will be added to
  96. % the search paths. tlmgr takes care to end any value with a trailing comma.
  97. TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFDIST}
  98. % Where to look for ls-R files. There need not be an ls-R in the
  99. % directories in this path, but if there is one, Kpathsea will use it.
  100. % By default, this is only the !! elements of TEXMF, so that mktexlsr
  101. % does not create ls-R files in the non-!! elements -- because if an
  102. % ls-R is present, it will be used, and the disk will not be searched.
  103. % This is arguably a bug in kpathsea.
  104. TEXMFDBS = {!!$TEXMFLOCAL,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFDIST}
  105. % The system trees. These are the trees that are shared by all users.
  106. % If a tree appears in this list, the mktex* scripts will use
  107. % VARTEXFONTS for generated files, if the original tree isn't writable;
  108. % otherwise the current working directory is used.
  109. SYSTEXMF = $TEXMFSYSVAR;$TEXMFLOCAL;$TEXMFDIST
  110. % First writable tree here is used by Lua(La)TeX for the font cache.
  111. % LuaLaTeX uses the value here, while ConTeXt uses the same variable but
  112. % from texmfcnf.lua; therefore the two values should be kept in sync.
  113. % (As should everything else in texmf.cnf <-> texmfcnf.lua.)
  114. TEXMFCACHE = $TEXMFSYSVAR;$TEXMFVAR
  115. % Where generated fonts may be written. This tree is used when the sources
  116. % were found in a system tree and either that tree wasn't writable, or the
  117. % varfonts feature was enabled in MT_FEATURES in mktex.cnf.
  118. VARTEXFONTS = $TEXMFVAR/fonts
  119. % On some systems, there will be a system tree which contains all the font
  120. % files that may be created as well as the formats. For example
  121. % TEXMFVAR = /var/lib/texmf
  122. % is used in many distros. In this case, set VARTEXFONTS like this
  123. %VARTEXFONTS = $TEXMFVAR/fonts
  124. % and do not mention it in TEXMFDBS (but _do_ mention TEXMFVAR).
  125. %
  126. % Remove $VARTEXFONTS from TEXMFDBS if the VARTEXFONTS directory is below
  127. % one of the TEXMF directories (avoids overlapping ls-R files).
  128. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  129. % Usually you will not need to edit any of the following variables.
  130. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  131. % WEB2C is for Web2C specific files. The current directory may not be
  132. % a good place to look for them.
  133. WEB2C = $TEXMF/web2c
  134. % TEXINPUTS is for TeX input files -- i.e., anything to be found by \input
  135. % or \openin, including .sty, .eps, etc. We specify paths for all known
  136. % formats, past or present. Not all of them are built these days.
  137. % Plain TeX. Have the command tex check all directories as a last
  138. % resort, we may have plain-compatible stuff anywhere.
  139. TEXINPUTS.tex = .;$TEXMF/tex/{plain,generic,}//
  140. % Fontinst needs to read afm files.
  141. TEXINPUTS.fontinst = .;$TEXMF/{tex,fonts/afm}//
  142. % Other plain-based formats.
  143. TEXINPUTS.amstex = .;$TEXMF/tex/{amstex,plain,generic,}//
  144. TEXINPUTS.csplain = .;$TEXMF/tex/{csplain,plain,generic,}//
  145. TEXINPUTS.eplain = .;$TEXMF/tex/{eplain,plain,generic,}//
  146. TEXINPUTS.ftex = .;$TEXMF/tex/{formate,plain,generic,}//
  147. TEXINPUTS.mex = .;$TEXMF/tex/{mex,plain,generic,}//
  148. TEXINPUTS.texinfo = .;$TEXMF/tex/{texinfo,plain,generic,}//
  149. % LaTeX 2e specific macros are stored in latex/, macros that can only be
  150. % used with 2.09 in latex209/. In addition, we look in the directory
  151. % latex209, useful for macros that were written for 2.09 and do not
  152. % mention 2e at all, but can be used with 2e.
  153. TEXINPUTS.cslatex = .;$TEXMF/tex/{cslatex,csplain,latex,generic,}//
  154. TEXINPUTS.latex = .;$TEXMF/tex/{latex,generic,}//
  155. TEXINPUTS.latex209 = .;$TEXMF/tex/{latex209,generic,latex,}//
  156. TEXINPUTS.olatex = .;$TEXMF/tex/{latex,generic,}//
  157. % MLTeX.
  158. TEXINPUTS.frlatex = .;$TEXMF/tex/{french,latex,generic,}//
  159. TEXINPUTS.frtex = .;$TEXMF/tex/{french,plain,generic,}//
  160. TEXINPUTS.mllatex = .;$TEXMF/tex/{latex,generic,}//
  161. TEXINPUTS.mltex = .;$TEXMF/tex/{plain,generic,}//
  162. % e-TeX.
  163. TEXINPUTS.elatex = .;$TEXMF/tex/{latex,generic,}//
  164. TEXINPUTS.etex = .;$TEXMF/tex/{plain,generic,}//
  165. % pdfTeX.
  166. TEXINPUTS.pdfcslatex = .;$TEXMF/tex/{cslatex,csplain,latex,generic,}//
  167. TEXINPUTS.pdfcsplain = .;$TEXMF/tex/{csplain,plain,generic,}//
  168. TEXINPUTS.pdflatex = .;$TEXMF/tex/{latex,generic,}//
  169. TEXINPUTS.pdfmex = .;$TEXMF/tex/{mex,plain,generic,}//
  170. TEXINPUTS.utf8mex = .;$TEXMF/tex/{mex,plain,generic,}//
  171. TEXINPUTS.pdftex = .;$TEXMF/tex/{plain,generic,}//
  172. TEXINPUTS.pdftexinfo = .;$TEXMF/tex/{texinfo,plain,generic,}//
  173. TEXINPUTS.pdfamstex = .;$TEXMF/tex/{amstex,plain,generic,}//
  174. % pdfeTeX.
  175. TEXINPUTS.pdfelatex = .;$TEXMF/tex/{latex,generic,}//
  176. TEXINPUTS.pdfetex = .;$TEXMF/tex/{plain,generic,}//
  177. % LuaTeX.
  178. TEXINPUTS.luatex = .;$TEXMF/tex/{luatex,plain,generic,}//
  179. TEXINPUTS.luajittex = .;$TEXMF/tex/{luatex,plain,generic,}//
  180. TEXINPUTS.dviluatex = .;$TEXMF/tex/{luatex,plain,generic,}//
  181. TEXINPUTS.lualatex = .;$TEXMF/tex/{lualatex,latex,luatex,generic,}//
  182. TEXINPUTS.luajitlatex = .;$TEXMF/tex/{lualatex,latex,luatex,generic,}//
  183. TEXINPUTS.dvilualatex = .;$TEXMF/tex/{lualatex,latex,luatex,generic,}//
  184. % XeTeX.
  185. TEXINPUTS.xelatex = .;$TEXMF/tex/{xelatex,latex,xetex,generic,}//
  186. TEXINPUTS.xeplain = .;$TEXMF/tex/{xeplain,eplain,plain,xetex,generic,}//
  187. TEXINPUTS.xetex = .;$TEXMF/tex/{xetex,plain,generic,}//
  188. % Omega / Aleph.
  189. TEXINPUTS.aleph = .;$TEXMF/tex/{plain,generic,}//
  190. TEXINPUTS.elambda = .;$TEXMF/tex/{lambda,latex,generic,}//
  191. TEXINPUTS.eomega = .;$TEXMF/tex/{plain,generic,}//
  192. TEXINPUTS.lambda = .;$TEXMF/tex/{lambda,latex,generic,}//
  193. TEXINPUTS.lamed = .;$TEXMF/tex/{lambda,latex,generic,}//
  194. TEXINPUTS.omega = .;$TEXMF/tex/{plain,generic,}//
  195. % p(La)TeX.
  196. TEXINPUTS.ptex = .;$TEXMF/tex/{ptex,plain,generic,}//
  197. TEXINPUTS.platex = .;$TEXMF/tex/{platex,latex,generic,}//
  198. % epTeX, and for pmpost.
  199. TEXINPUTS.eptex = .;$TEXMF/tex/{ptex,plain,generic,}//
  200. TEX.pmpost = eptex
  201. % p(La)TeX-ng
  202. TEXINPUTS.ptex-ng = .;$TEXMF/tex/{uptex,ptex,plain,generic,}//
  203. TEXINPUTS.platex-ng = .;$TEXMF/tex/{uplatex,platex,latex,generic,}//
  204. % (e)up(La)TeX, and for upmpost
  205. TEXINPUTS.uplatex = .;$TEXMF/tex/{uplatex,platex,latex,generic,}//
  206. TEXINPUTS.uptex = .;$TEXMF/tex/{uptex,ptex,plain,generic,}//
  207. TEXINPUTS.euptex = .;$TEXMF/tex/{uptex,ptex,plain,generic,}//
  208. TEX.upmpost = euptex
  209. % pBibTeX bibliographies and style files.
  210. BIBINPUTS.pbibtex = .;$TEXMF/{pbibtex,bibtex}/bib//
  211. BSTINPUTS.pbibtex = .;$TEXMF/{pbibtex,bibtex}/bst//
  212. % upBibTeX bibliographies and style files.
  213. BIBINPUTS.upbibtex = .;$TEXMF/{upbibtex,pbibtex,bibtex}/bib//
  214. BSTINPUTS.upbibtex = .;$TEXMF/{upbibtex,pbibtex,bibtex}/bst//
  215. % ConTeXt.
  216. TEXINPUTS.context = .;$TEXMF/tex/{context,plain,generic,}//
  217. % jadetex.
  218. TEXINPUTS.jadetex = .;$TEXMF/tex/{jadetex,latex,generic,}//
  219. TEXINPUTS.pdfjadetex = .;$TEXMF/tex/{jadetex,latex,generic,}//
  220. % XMLTeX.
  221. TEXINPUTS.xmltex = .;$TEXMF/tex/{xmltex,latex,generic,}//
  222. TEXINPUTS.pdfxmltex = .;$TEXMF/tex/{xmltex,latex,generic,}//
  223. % Miscellany, no longer built.
  224. TEXINPUTS.lamstex = .;$TEXMF/tex/{lamstex,plain,generic,}//
  225. TEXINPUTS.lollipop = .;$TEXMF/tex/{lollipop,plain,generic,}//
  226. TEXINPUTS.frpdflatex = .;$TEXMF/tex/{french,latex,generic,}//
  227. TEXINPUTS.frpdftex = .;$TEXMF/tex/{french,plain,generic,}//
  228. % Earlier entries override later ones, so put this generic one last.
  229. TEXINPUTS = .;$TEXMF/tex/{$progname,generic,}//
  230. % ttf2tfm.
  231. TTF2TFMINPUTS = .;$TEXMF/ttf2pk//
  232. % Metafont, MetaPost inputs.
  233. MFINPUTS = .;$TEXMF/metafont//;{$TEXMF/fonts,$VARTEXFONTS}/source//
  234. MPINPUTS = .;$TEXMF/metapost//
  235. % Dump files (fmt/base/mem) for vir{tex,mf,mp} to read.
  236. % We want to find the engine-specific file, e.g., cont-en.fmt can
  237. % exist under both pdftex/ and xetex/. But just in case some formats
  238. % end up without an engine directory, look directly in web2c/ too.
  239. % We repeat the same definition three times because of the way fmtutil
  240. % is implemented; if we use ${TEXFORMATS}, the mpost/mf/etc. formats
  241. % will not be found.
  242. TEXFORMATS = .;$TEXMF/web2c{/$engine,}
  243. MFBASES = .;$TEXMF/web2c{/$engine,}
  244. MPMEMS = .;$TEXMF/web2c{/$engine,}
  245. %
  246. % As of 2008, pool files don't exist any more (the strings are compiled
  247. % into the binaries), but just in case something expects to find these:
  248. TEXPOOL = .;$TEXMF/web2c
  249. MFPOOL = ${TEXPOOL}
  250. MPPOOL = ${TEXPOOL}
  251. % support the original xdvi. Must come before the generic settings.
  252. PKFONTS.XDvi = .;$TEXMF/%s;$VARTEXFONTS/pk/{%m,modeless}//
  253. VFFONTS.XDvi = .;$TEXMF/%s
  254. PSHEADERS.XDvi = .;$TEXMF/%q{dvips,fonts/type1}//
  255. TEXPICTS.XDvi = .;$TEXMF/%q{dvips,tex}//
  256. % Device-independent font metric files.
  257. VFFONTS = .;$TEXMF/fonts/vf//
  258. TFMFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/tfm//
  259. % The $MAKETEX_MODE below means the drivers will not use a cx font when
  260. % the mode is ricoh. If no mode is explicitly specified, kpse_prog_init
  261. % sets MAKETEX_MODE to /, so all subdirectories are searched. See the manual.
  262. % The modeless part guarantees that bitmaps for PostScript fonts are found.
  263. PKFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/pk/{$MAKETEX_MODE,modeless}//
  264. % Similarly for the GF format, which only remains in existence because
  265. % Metafont outputs it (and MF isn't going to change).
  266. GFFONTS = .;$TEXMF/fonts/gf/$MAKETEX_MODE//
  267. % A backup for PKFONTS and GFFONTS. Not used for anything.
  268. GLYPHFONTS = .;$TEXMF/fonts
  269. % A place to puth everything that doesn't fit the other font categories.
  270. MISCFONTS = .;$TEXMF/fonts/misc//
  271. % font name map files. This isn't just fonts/map// because ConTeXt
  272. % wants support for having files with the same name in the different
  273. % subdirs. Maybe if the programs ever get unified to accepting the same
  274. % map file syntax the definition can be simplified again.
  275. TEXFONTMAPS = .;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//
  276. % BibTeX bibliographies and style files. bibtex8 also uses these.
  277. BIBINPUTS = .;$TEXMF/bibtex/bib//
  278. BSTINPUTS = .;$TEXMF/bibtex/{bst,csf}//
  279. % MlBibTeX.
  280. MLBIBINPUTS = .;$TEXMF/bibtex/bib/{mlbib,}//
  281. MLBSTINPUTS = .;$TEXMF/bibtex/{mlbst,bst}//
  282. % .ris and .bltxml bibliography formats.
  283. RISINPUTS = .;$TEXMF/biber/ris//
  284. BLTXMLINPUTS = .;$TEXMF/biber/bltxml//
  285. % MFT style files.
  286. MFTINPUTS = .;$TEXMF/mft//
  287. % PostScript headers and prologues (.pro); unfortunately, some programs
  288. % also use this for acessing font files (enc, type1, truetype)
  289. TEXPSHEADERS = .;$TEXMF/{dvips,fonts/{enc,type1,type42,type3}}//
  290. TEXPSHEADERS.gsftopk = .;$TEXMF/{dvips,fonts/{enc,type1,type42,type3,truetype}}//
  291. % OSFONTDIR is to provide a convenient hook for allowing TeX to find
  292. % fonts installed on the system (outside of TeX). An empty default
  293. % value would add "//" to the search paths, so we give it a dummy value.
  294. % OSFONTDIR = /usr/share/fonts
  295. % PostScript Type 1 outline fonts.
  296. T1FONTS = .;$TEXMF/fonts/type1//;$OSFONTDIR//
  297. % PostScript AFM metric files.
  298. AFMFONTS = .;$TEXMF/fonts/afm//;$OSFONTDIR//
  299. % TrueType outline fonts.
  300. TTFONTS = .;$TEXMF/fonts/{truetype,opentype}//;$OSFONTDIR//
  301. % OpenType outline fonts.
  302. OPENTYPEFONTS = .;$TEXMF/fonts/{opentype,truetype}//;$OSFONTDIR//
  303. % Type 42 outline fonts.
  304. T42FONTS = .;$TEXMF/fonts/type42//
  305. % Ligature definition files.
  306. LIGFONTS = .;$TEXMF/fonts/lig//
  307. % Dvips' config.* files (this name should not start with `TEX'!).
  308. TEXCONFIG = $TEXMF/dvips//
  309. % Makeindex style (.ist) files.
  310. INDEXSTYLE = .;$TEXMF/makeindex//
  311. % mendex dictionary files. Used internally by mendex and upmendex.
  312. % It is not necessary to introduce a new format in Kpathsea.
  313. INDEXDICTIONARY = .;$TEXMF/makeindex//
  314. % Font encoding files (.enc).
  315. ENCFONTS = .;$TEXMF/fonts/enc//
  316. % CMap files.
  317. CMAPFONTS = .;$TEXMF/fonts/cmap//
  318. % Subfont definition files.
  319. SFDFONTS = .;$TEXMF/fonts/sfd//
  320. % OpenType feature files (.fea).
  321. FONTFEATURES=.;$TEXMF/fonts/fea//
  322. % .cid and .cidmap
  323. FONTCIDMAPS=.;$TEXMF/fonts/cid//
  324. % pdftex config files:
  325. PDFTEXCONFIG = .;$TEXMF/pdftex/{$progname,}//
  326. % Used by DMP (ditroff-to-mpx), called by makempx -troff.
  327. TRFONTS = /usr{/local,}/share/groff/{current/font,site-font}/devps
  328. MPSUPPORT = .;$TEXMF/metapost/support
  329. % For xdvi to find mime.types and .mailcap, if they do not exist in
  330. % ~. These are single directories, not paths.
  331. % (But the default mime.types, at least, may well suffice.)
  332. MIMELIBDIR = /etc
  333. MAILCAPLIBDIR = /etc
  334. % Default settings for the fontconfig library as used by the Windows
  335. % versions of xetex/xdvipdfmx. Not used by xetex on Unixish systems.
  336. % ConTeXT MkIV (all platforms) also use these values.
  337. %
  338. FONTCONFIG_FILE = fonts.conf
  339. FONTCONFIG_PATH = $TEXMFSYSVAR/fonts/conf
  340. FC_CACHEDIR = $TEXMFSYSVAR/fonts/cache
  341. % TeX documentation and source files, for use with texdoc and kpsewhich.
  342. TEXDOCS = $TEXMF/doc//
  343. TEXSOURCES = .;$TEXMF/source//
  344. % Web and CWeb input paths.
  345. WEBINPUTS = .;$TEXMF/web//
  346. CWEBINPUTS = .;$TEXMF/cweb//
  347. % Omega-related fonts and other files.
  348. OFMFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/{ofm,tfm}//
  349. OPLFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/opl//
  350. OVFFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/{ovf,vf}//
  351. OVPFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/ovp//
  352. OTPINPUTS = .;$TEXMF/omega/otp//
  353. OCPINPUTS = .;$TEXMF/omega/ocp//
  354. % Some additional input variables for several programs. If you add
  355. % a program that uses the `other text files' or `other binary files'
  356. % search formats, you'll want to add their variables here as well.
  357. T4HTINPUTS = .;$TEXMF/tex4ht//
  358. %% t4ht utility, sharing files with TeX4ht
  359. TEX4HTFONTSET=alias,iso8859,unicode
  360. TEX4HTINPUTS = .;$TEXMF/tex4ht/base//;$TEXMF/tex4ht/ht-fonts/{$TEX4HTFONTSET}//
  361. % TeXworks editor configuration and settings
  362. TW_LIBPATH = $TEXMFCONFIG/texworks
  363. TW_INIPATH = $TW_LIBPATH
  364. % For security, do not look in . for dvipdfmx.cfg, since the D option
  365. % would allow command execution.
  366. DVIPDFMXINPUTS = $TEXMF/dvipdfmx
  367. % Lua needs to look in TEXINPUTS for lua scripts distributed with packages.
  368. %
  369. % But we can't simply use $TEXINPUTS, since then if TEXINPUTS is set in
  370. % the environment with a colon, say, TEXINPUTS=/some/dir:, the intended
  371. % default expansion of TEXINPUTS will not happen and .lua files under
  372. % the /tex/ will not be found.
  373. %
  374. % So, duplicate the TEXINPUTS.*lualatex values as LUAINPUTS.*lualatex.
  375. % The default LUAINPUTS suffices for luatex and dviluatex.
  376. %
  377. LUAINPUTS.lualatex = .;$TEXMF/scripts/{$progname,$engine,}/{lua,}//;$TEXMF/tex/{lualatex,latex,luatex,generic,}//
  378. LUAINPUTS.dvilualatex = .;$TEXMF/scripts/{$progname,$engine,}/{lua,}//;$TEXMF/tex/{lualatex,latex,luatex,generic,}//
  379. LUAINPUTS = .;$TEXMF/scripts/{$progname,$engine,}/{lua,}//;$TEXMF/tex/{luatex,plain,generic,}//
  380. % Lua needs to look for binary lua libraries distributed with packages.
  381. CLUAINPUTS = .;$SELFAUTOLOC/lib/{$progname,$engine,}/lua//
  382. % Architecture independent executables.
  383. TEXMFSCRIPTS = $TEXMF/scripts/{$progname,$engine,}//
  384. % Other languages.
  385. JAVAINPUTS = .;$TEXMF/scripts/{$progname,$engine,}/java//
  386. PERLINPUTS = .;$TEXMF/scripts/{$progname,$engine,}/perl//
  387. PYTHONINPUTS = .;$TEXMF/scripts/{$progname,$engine,}/python//
  388. RUBYINPUTS = .;$TEXMF/scripts/{$progname,$engine,}/ruby//
  389. %% The mktex* scripts rely on KPSE_DOT. Do not set it in the environment.
  390. % KPSE_DOT = .
  391. % This definition isn't used from this .cnf file itself (that would be
  392. % paradoxical), but the compile-time default in paths.h is built from it.
  393. % The SELFAUTO* variables are set automatically from the location of
  394. % argv[0], in kpse_set_program_name.
  395. %
  396. % This main texmf.cnf file is installed, for a release YYYY, in a
  397. % directory such as /usr/local/texlive/YYYY/texmf-dist/web2c/texmf.cnf.
  398. % Since this file is subject to future updates, the TeX Live installer
  399. % or human administrator may also create a file
  400. % /usr/local/texlive/YYYY/texmf.cnf; any settings in this latter file
  401. % will take precedence over the distributed one.
  402. %
  403. % For security reasons, it is best not to include . in this path.
  404. %
  405. % The idea behind this lengthy definition: for each of
  406. % SELFAUTO{LOC,DIR,PARENT}, look in the directory,
  407. % then the subdirectories share/texmf-local, share/texmf-dist, share/texmf,
  408. % then the subdirectories ./texmf-local, texmf-dist, ./texmf.
  409. % At any given installation, most of these directories will not exist,
  410. % but they all turn out to be useful somewhere.
  411. %
  412. % Special addition -- we want to include one more directory: the
  413. % great-grandparent's texmf-local, because that is how TL is installed
  414. % by default. That is, given a binary
  415. % /usr/local/texlive/YYYY/bin/PLATFORM/kpsewhich, it should find
  416. % /usr/local/texlive/texmf-local/web2c/texmf.cnf. I.e., not under YYYY.
  417. %
  418. % As a result, we cannot use actual brace expansion in the definition,
  419. % since we don't want to scatter ../'s throughout the value. Hence we
  420. % explicitly list every directory. Arguably more understandable anyway.
  421. %
  422. TEXMFCNF = {\
  423. $SELFAUTOLOC,\
  424. $SELFAUTOLOC/share/texmf-local/web2c,\
  425. $SELFAUTOLOC/share/texmf-dist/web2c,\
  426. $SELFAUTOLOC/share/texmf/web2c,\
  427. $SELFAUTOLOC/texmf-local/web2c,\
  428. $SELFAUTOLOC/texmf-dist/web2c,\
  429. $SELFAUTOLOC/texmf/web2c,\
  430. \
  431. $SELFAUTODIR,\
  432. $SELFAUTODIR/share/texmf-local/web2c,\
  433. $SELFAUTODIR/share/texmf-dist/web2c,\
  434. $SELFAUTODIR/share/texmf/web2c,\
  435. $SELFAUTODIR/texmf-local/web2c,\
  436. $SELFAUTODIR/texmf-dist/web2c,\
  437. $SELFAUTODIR/texmf/web2c,\
  438. \
  439. $SELFAUTOPARENT/../texmf-local/web2c,\
  440. $SELFAUTOPARENT,\
  441. \
  442. $SELFAUTOPARENT/share/texmf-local/web2c,\
  443. $SELFAUTOPARENT/share/texmf-dist/web2c,\
  444. $SELFAUTOPARENT/share/texmf/web2c,\
  445. $SELFAUTOPARENT/texmf-local/web2c,\
  446. $SELFAUTOPARENT/texmf-dist/web2c,\
  447. $SELFAUTOPARENT/texmf/web2c\
  448. }
  449. %
  450. % For reference, here is the old brace-using definition:
  451. %TEXMFCNF = {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,}/web2c}
  452. % kpathsea 3.5.3 and later sets these at runtime. To avoid empty
  453. % expansions from binaries linked against an earlier version of the
  454. % library, we set $progname and $engine to something non-empty:
  455. progname = unsetprogname
  456. engine = unsetengine
  457. % Part 2: Options.
  458. % If this option is set to true, `tex a.b' will look first for a.b.tex
  459. % (within each path element), and then for a.b, i.e., we try standard
  460. % extensions first. If this is false, we first look for a.b and then
  461. % a.b.tex, i.e., we try the name as-is first.
  462. %
  463. % Both names are always tried; the difference is the order in which they
  464. % are tried. The setting applies to all searches, not just .tex.
  465. %
  466. % This setting only affects names being looked up which *already* have
  467. % an extension. A name without an extension (e.g., `tex story') will
  468. % always have an extension added first.
  469. %
  470. % The default is true, because we already avoid adding the standard
  471. % extension(s) in the usual cases. E.g., babel.sty will only look for
  472. % babel.sty, not babel.sty.tex, regardless of this setting.
  473. try_std_extension_first = t
  474. % Enable system commands via \write18{...}. When enabled fully (set to
  475. % t), obviously insecure. When enabled partially (set to p), only the
  476. % commands listed in shell_escape_commands are allowed. Although this
  477. % is not fully secure either, it is much better, and so useful that we
  478. % enable it for everything but bare tex.
  479. shell_escape = p
  480. % No spaces in this command list.
  481. %
  482. % The programs listed here are as safe as any we know: they either do
  483. % not write any output files, respect openout_any, or have hard-coded
  484. % restrictions similar to or higher than openout_any=p. They also have
  485. % no features to invoke arbitrary other programs, and no known
  486. % exploitable bugs. All to the best of our knowledge. They also have
  487. % practical use for being called from TeX.
  488. %
  489. shell_escape_commands = \
  490. bibtex,bibtex8,\
  491. extractbb,\
  492. gregorio,\
  493. kpsewhich,\
  494. makeindex,\
  495. repstopdf,\
  496. texosquery-jre8,\
  497. % we'd like to allow:
  498. % dvips - but external commands can be executed, need at least -R1.
  499. % epspdf, ps2pdf, pstopdf - need to respect openout_any,
  500. % and gs -dSAFER must be used and check for shell injection with filenames.
  501. % pygmentize - but is the filter feature insecure?
  502. % ps4pdf - but it calls an unrestricted latex.
  503. % rpdfcrop - maybe ok, but let's get experience with repstopdf first.
  504. % texindy,xindy - but is the module feature insecure?
  505. % ulqda - but requires optional SHA1.pm, so why bother.
  506. % tex, latex, etc. - need to forbid --shell-escape, and inherit openout_any.
  507. % plain "tex" should remain unenhanced.
  508. shell_escape.tex = f
  509. shell_escape.initex = f
  510. % This is used by the Windows script wrapper for restricting searching
  511. % for the purportedly safe shell_escape_commands above to system
  512. % directories.
  513. TEXMF_RESTRICTED_SCRIPTS = \
  514. {!!$TEXMFLOCAL,!!$TEXMFDIST}/scripts/{$progname,$engine,}//
  515. % Do we allow TeX \input or \openin (openin_any), or \openout
  516. % (openout_any) on filenames starting with `.' (e.g., .rhosts) or
  517. % outside the current tree (e.g., /etc/passwd)?
  518. % a (any) : any file can be opened.
  519. % r (restricted) : disallow opening dot files
  520. % p (paranoid) : as `r' and disallow going to parent directories, and
  521. % restrict absolute paths to be under $TEXMFOUTPUT.
  522. openin_any = a
  523. openout_any = p
  524. % Write .log/.dvi/.aux/etc. files here, if the current directory is unwritable.
  525. %TEXMFOUTPUT = /tmp
  526. % If a dynamic file creation fails, log the command to this file, in
  527. % either the current directory or TEXMFOUTPUT. Set to the
  528. % empty string or 0 to avoid logging.
  529. MISSFONT_LOG = missfont.log
  530. % Set to a colon-separated list of words specifying warnings to suppress.
  531. % To suppress everything, use TEX_HUSH = all; this is currently equivalent to
  532. % TEX_HUSH = checksum:lostchar:readable:special
  533. % To suppress nothing, use TEX_HUSH = none or do not set the variable at all.
  534. TEX_HUSH = none
  535. % Allow TeX and MF to parse the first line of an input file for
  536. % the %&format construct.
  537. parse_first_line = t
  538. % But don't parse the first line if invoked as "tex", since we want that
  539. % to remain Knuth-compatible. The src_specials and
  540. % file_line_error_style settings, as well as the options -enctex,
  541. % -mltex, -8bit, etc., also affect this, but they are all off by default.
  542. parse_first_line.tex = f
  543. parse_first_line.initex = f
  544. % Control file:line:error style messages.
  545. file_line_error_style = f
  546. % Enable the mktex... scripts by default? These must be set to 0 or 1.
  547. % Particular programs can and do override these settings, for example
  548. % dvips's -M option. Your first chance to specify whether the scripts
  549. % are invoked by default is at configure time.
  550. %
  551. % These values are ignored if the script names are changed; e.g., if you
  552. % set DVIPSMAKEPK to `foo', what counts is the value of the environment
  553. % variable/config value `FOO', not the `MKTEXPK' value.
  554. %
  555. %MKTEXTEX = 0
  556. %MKTEXPK = 0
  557. %MKTEXMF = 0
  558. %MKTEXTFM = 0
  559. %MKTEXFMT = 0
  560. %MKOCP = 0
  561. %MKOFM = 0
  562. % Used by makempx to run TeX. We use "etex" because MetaPost is
  563. % expecting DVI, and not "tex" because we want first line parsing.
  564. TEX = etex
  565. % Use Japanese eptex for Japanese pmpost.
  566. TEX.pmpost = eptex
  567. % These variables specify the external program called for the
  568. % interactive `e' option. %d is replaced by the line number and %s by
  569. % the current filename. The default is specified at compile-time, and
  570. % we let that stay in place since different platforms like different values.
  571. %TEXEDIT = vi +%d '%s' % default for Unix
  572. %TEXEDIT = texworks --position=+%d "%s" % default for Windows
  573. %MFEDIT = ${TEXEDIT}
  574. %MPEDIT = ${TEXEDIT}
  575. % The default `codepage and sort order' file for BibTeX8, when none is
  576. % given as command line option or environment variable.
  577. BIBTEX_CSFILE = 88591lat.csf
  578. % This variable is specific to Unix, to fall back to case-insensitive
  579. % search in non-system directories if there is no exact match. It is
  580. % enabled by default in texmf.cnf, but not enabled by default at
  581. % compile-time.
  582. %
  583. texmf_casefold_search = 1
  584. % This variable is specific to Windows. It must be set to 0 or 1. The
  585. % default is 0. Setting it to 1 tells the Windows script wrappers to
  586. % use an already installed Perl interpreter if one is found on the
  587. % search path, in preference to the Perl shipped with TeX Live. Thus,
  588. % it may be useful if you both (a) installed a full Perl distribution
  589. % for general use, and (b) need to run Perl programs from TL that use
  590. % additional modules we don't provide. The TL Perl does provide all the
  591. % standard Perl modules.
  592. %
  593. %TEXLIVE_WINDOWS_TRY_EXTERNAL_PERL = 0
  594. % Part 3: Array and other sizes for TeX, Metafont, etc.
  595. %
  596. % If you want to change some of these sizes only for a certain TeX
  597. % variant, the usual dot notation works, e.g.,
  598. % main_memory.hugetex = 20000000
  599. %
  600. % If a change here appears to be ignored, try redumping the format file.
  601. % Memory. Must be less than 8,000,000 total.
  602. %
  603. % main_memory is relevant only to initex, extra_mem_* only to non-ini.
  604. % Thus, have to redump the .fmt file after changing main_memory; to add
  605. % to existing fmt files, increase extra_mem_*. (To get an idea of how
  606. % much, try \tracingstats=2 in your TeX source file;
  607. % web2c/tests/memtest.tex might also be interesting.)
  608. %
  609. % To increase space for boxes (as might be needed by, e.g., PiCTeX),
  610. % increase extra_mem_bot.
  611. %
  612. % For some xy-pic samples, you may need as much as 700000 words of memory.
  613. % For the vast majority of documents, 60000 or less will do.
  614. %
  615. main_memory = 5000000 % words of inimemory available; also applies to inimf&mp
  616. extra_mem_top = 0 % extra high memory for chars, tokens, etc.
  617. extra_mem_bot = 0 % extra low memory for boxes, glue, breakpoints, etc.
  618. % ConTeXt needs lots of memory.
  619. extra_mem_top.context = 2000000
  620. extra_mem_bot.context = 4000000
  621. % Words of font info for TeX (total size of all TFM files, approximately).
  622. % Must be >= 20000 and <= 147483647 (without tex.ch changes).
  623. font_mem_size = 8000000
  624. % Total number of fonts. Must be >= 50 and <= 9000 (without tex.ch changes).
  625. font_max = 9000
  626. % Extra space for the hash table of control sequences.
  627. hash_extra = 600000
  628. % Max number of characters in all strings, including all error messages,
  629. % help texts, font names, control sequences. These values apply to TeX.
  630. pool_size = 6250000
  631. % Minimum pool space after TeX's own strings; must be at least
  632. % 25000 less than pool_size, but doesn't need to be nearly that large.
  633. string_vacancies = 90000
  634. % Maximum number of strings.
  635. max_strings = 500000
  636. % min pool space left after loading .fmt
  637. pool_free = 47500
  638. % Buffer size. TeX uses the buffer to contain input lines, but macro
  639. % expansion works by writing material into the buffer and reparsing the
  640. % line. As a consequence, certain constructs require the buffer to be
  641. % very large, even though most documents can be handled with a small value.
  642. buf_size = 200000
  643. % Hyphenation trie. The maximum possible is 4194303 (ssup_trie_size in
  644. % the sources), but we don't need that much. The value here suffices
  645. % for all known free hyphenation patterns to be loaded simultaneously
  646. % (as TeX Live does).
  647. %
  648. trie_size = 1000000
  649. hyph_size = 8191 % prime number of hyphenation exceptions, >610, <32767.
  650. % http://primes.utm.edu/curios/page.php/8191.html
  651. nest_size = 500 % simultaneous semantic levels (e.g., groups)
  652. max_in_open = 15 % simultaneous input files and error insertions,
  653. % also applies to MetaPost
  654. param_size = 10000 % simultaneous macro parameters, also applies to MP
  655. save_size = 100000 % for saving values outside current group
  656. stack_size = 5000 % simultaneous input sources
  657. % These are Omega-specific.
  658. ocp_buf_size = 500000 % character buffers for ocp filters.
  659. ocp_stack_size = 10000 % stacks for ocp computations.
  660. ocp_list_size = 1000 % control for multiple ocps.
  661. % These work best if they are the same as the I/O buffer size, but it
  662. % doesn't matter much. Must be a multiple of 8.
  663. dvi_buf_size = 16384 % TeX
  664. gf_buf_size = 16384 % MF
  665. % It's probably inadvisable to change these. At any rate, we must have:
  666. % 45 < error_line < 255;
  667. % 30 < half_error_line < error_line - 15;
  668. % 60 <= max_print_line;
  669. % These apply to TeX, Metafont, and MetaPost.
  670. error_line = 79
  671. half_error_line = 50
  672. max_print_line = 79
  673. % Metafont only.
  674. screen_width.mf = 1664
  675. screen_depth.mf = 1200
  676. % BibTeX only (max_strings also determines hash_size and hash_prime).
  677. ent_str_size = 250
  678. glob_str_size = 20000
  679. max_strings.bibtex = 100000
  680. max_strings.bibtex8 = 100000
  681. max_strings.bibtexu = 100000
  682. max_strings.pbibtex = 100000
  683. max_strings.upbibtex = 100000
  684. % GFtype only.
  685. line_length.gftype = 500
  686. max_rows.gftype = 8191
  687. max_cols.gftype = 8191
  688. % Guess input encoding (SJIS vs. Unicode, etc.) in pTeX and friends?
  689. % Default is 1, to guess. Used on Windows only.
  690. guess_input_kanji_encoding = 1