Re: Using a macro makes pdfetex quits and exits with bad status

Patrice Dumas <[email protected]>
Newsgroups gmane.comp.tex.texinfo.general
Message-ID <[email protected]>
On Thu, Jun 24, 2021 at 11:53:36PM +0200, Christopher Dimech wrote:
> 
> > export TEXINPUTS=/usr/local/share/texmf:$TEXINPUTS
> Error Occurs
> 
> hagbard@fuckup:
> + ~/01cuneus/tdr/06ch
> pdfetex 06a-amcoh.texi
> This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdfetex)
>  restricted \write18 enabled.
> entering extended mode
> (./06a-amcoh.texi
> ! I can't find file `texinfo'.
> l.2 \input texinfo

I did some testing, and it seems that it needs to be

export TEXINPUTS=/usr/local/share/texmf/tex/texinfo:$TEXINPUTS

Alternatively, if /usr/local/share/texmf/ is already in the path but
with the ls-R file indexing (I think that this is shown by 
!!/usr/local/share/texmf/tex// being in
kpsewhich -show-path=tex
), it should be possible to run, as root
mktexlsr /usr/local/share/texmf/

To test which texinfo.tex is found, it seems that 
kpsewhich texinfo.tex
is the best to use, and 
kpsewhich -all texinfo.tex
shows all the files found.

-- 
Pat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.