[tex-live] tlmgr query

Karl Berry karl at freefriends.org
Sat Jul 25 00:04:21 CEST 2009


            kpsewhich -mode="web2c files" fmtutil.cnf

Norbert, you actually meant -format, not -mode.
(-mode is about MF modes, PK files, etc.)

Also, in TL08, I defined a bunch of special cases in kpsewhich,
including fmtutil.cnf, so that you don't have to define the format.
(This is why the above worked for you. :) I think I may have added one
or two more in 09.  Here's the current list of "known" files, from
kpathsea/kpsewhich.c:

  } else if (FILESTRCASEEQ (name, "config.ps")) {
    ret = kpse_dvips_config_format;
  } else if (FILESTRCASEEQ (name, "dvipdfmx.cfg")) {
    ret = kpse_program_text_format;
  } else if (FILESTRCASEEQ (name, "fmtutil.cnf")) {
    ret = kpse_web2c_format;
  } else if (FILESTRCASEEQ (name, "glyphlist.txt")) {
    ret = kpse_fontmap_format;
  } else if (FILESTRCASEEQ (name, "mktex.cnf")) {
    ret = kpse_web2c_format;
  } else if (FILESTRCASEEQ (name, "pdfglyphlist.txt")) {
    ret = kpse_fontmap_format;
  } else if (FILESTRCASEEQ (name, "pdftex.cfg")) {
    ret = kpse_pdftex_config_format;
  } else if (FILESTRCASEEQ (name, "texmf.cnf")) {
    ret = kpse_cnf_format;
  } else if (FILESTRCASEEQ (name, "updmap.cfg")) {
    ret = kpse_web2c_format;
  } else if (FILESTRCASEEQ (name, "XDvi")) {
    ret = kpse_program_text_format;



More information about the tex-live mailing list