[dev-context] kpse
Hans Hagen
pragma at wxs.nl
Wed Mar 15 12:34:38 CET 2006
Taco Hoekwater wrote:
>
> Hi Hans,
>
> Somehow, it does not find my texmf.cnf.
>
> I get:
>
> [taco at glenlivet ruby]$ ruby tmftools.rb texnansi.enc
> ./base/kpsefast.rb:650:in `basename': cannot convert nil into String
> (TypeError)
> from ./base/kpsefast.rb:650:in `_is_cnf_?'
> from ./base/kpsefast.rb:654:in `find_file'
> from ./tmftools.rb:111:in `main'
> from ./tmftools.rb:110:in `each'
> from ./tmftools.rb:110:in `main'
> from ./tmftools.rb:168:in `send'
> from ./tmftools.rb:168
>
> I what environment settings do I need? I now have:
>
> TEXMFCNF=/opt/tex/texmf.local/web2c:/opt/tex/teTeX/texmf/web2c
> TEXMFLOCAL=/opt/tex/texmf.local
> TEXMFMAIN=/opt/tex/teTeX/texmf
>
> and
>
> [taco at glenlivet ruby]$ kpsewhich texmf.cnf
> /opt/tex/texmf.local/web2c/texmf.cnf
a better definition is:
def _is_cnf_?(filename)
filename == File.basename((@cnffiles.first rescue 'texmf.cnf'))
end
(is in files i sent you in aseparate mail)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the dev-context
mailing list