pdf[la]tex problems with config
Since my disk storage has increased from 4Gbytes to 24Gbytes, I can now have in parallel emTeX (which has several very useful features) and TeXLive 6b. Of course, I have on my Win98SE TWO kinds of MSDOS windows, one with emtex/bin in the path and specific emTeX environment variables, the other withour emTeX but with the TeXLive required path and environment. Both still work OK for [la]texing, but I have a problem with pdftex: C:\tmppdftex null This is pdfTeX, Version 3.14159-pre-1.0-unofficial-20010704 (Web2c 7.3.3.1) (d:/emtex/texinput/null.tex Error: pdftex.exe (file pdftex.cfg): cannot open config file Besides, kpsewhich pdftex.cfg yields nothing, while: C:\tmpkpsewhich texmf.cnf e:\TeXLive\texmf-var\web2c/texmf.cnf Note that the above pdftex command works if there is a COPY of pdftex.cfg in the current directory (then, it is found) and not it it has to be taken in the TeXLive subdirectories. Of course, mktexlsr was recently run and, using grep (the DJGPP command) I find that pdftex.cfg duly is within the ls-R files. BUT there is a difference: kpsewhich --help says that *.cnf are searched, but not the *.cfg. Therefore, either there is a bug in pdftex which unduly use kpathsearch to find pdftex.cfg, or I should modify the list of seachable suffixes... but where? Thanks for any help. -- Daniel Taupin, 91400 ORSAY - France E-mail= mailto:[EMAIL PROTECTED] Home/fax: (33)1.60.10.26.44. Rep.: (33)1.60.10.04.13, fax (work) (33)1.69.15.60.86
Re: pdf[la]tex problems with config
Since my disk storage has increased from 4Gbytes to 24Gbytes, I can now have in parallel emTeX (which has several very useful features) and TeXLive 6b contains parts of teTeX, but strictly speakingg, it is not the same. C:\tmppdftex null This is pdfTeX, Version 3.14159-pre-1.0-unofficial-20010704 (Web2c 7.3.3.1) (d:/emtex/texinput/null.tex It seems to me that this environment is not clean from emTeX settings. Error: pdftex.exe (file pdftex.cfg): cannot open config file Besides, kpsewhich pdftex.cfg yields nothing, while: You are calling kpsewhich without the proper flags. kpsewhich has no special detection for *.cfg files and uses teh TEXINPUTS search path. Since pdftex.cfg is not in texmf/tex//, the file is not found. Something like kpsewhich -progname=pdftex pdftex.cfg better simulates what pdftex does. is a difference: kpsewhich --help says that *.cnf are searched, but not the *.cfg. When called without proper options, kpsewhich is doing the right thing in most cases, but for the other cases, you have to be more precise. Thomas
Re: pdf[la]tex problems with config
Besides, kpsewhich pdftex.cfg yields nothing, while: Try kpsewhich -progname=pdftex pdftex.cfg. In my teTeX 1.07 installation, kpsewhich won't find pdftex.cfg unless you specify the program name. Use the environment variable KPATHSEA_DEBUG to debug why pdftex doesn't find the file. Run info '(kpathsea)Debugging' to learn more. /Mats
Re: pdf[la]tex problems with config
Thanks to Fabric Popineau, here is my error: instead of stating: .pdflatex = .;$TEXMF/{pdftex,tex}/{latex,generic,}//;$EMTEXDIR/texinput// .pdftex = .;$TEXMF/{pdftex,tex}/{plain,generic,}//;$EMTEXDIR/texinput// in order to add search in the EMTEXDIR directory when not found in TeXLive's distribution, I unfortunately wrote in texmf.cnf: .pdflatex = .;$TEXMF/{pdftex,tex}/{latex,generic,};$EMTEXDIR/texinput// .pdftex = .;$TEXMF/{pdftex,tex}/{plain,generic,};$EMTEXDIR/texinput// i.e. missing subdirectories search. Mats Bengtsson wrote: Besides, kpsewhich pdftex.cfg yields nothing, while: Try kpsewhich -progname=pdftex pdftex.cfg. In my teTeX 1.07 installation, kpsewhich won't find pdftex.cfg unless you specify the program name. Use the environment variable KPATHSEA_DEBUG to debug why pdftex doesn't find the file. Run info '(kpathsea)Debugging' to learn more. /Mats -- Daniel Taupin, 91400 ORSAY - France E-mail= mailto:[EMAIL PROTECTED] Home/fax: (33)1.60.10.26.44. Rep.: (33)1.60.10.04.13, fax (work) (33)1.69.15.60.86