Re: deleting the temporary files produced by texi2pdf

Gavin Smith <[email protected]>
Newsgroups gmane.comp.tex.texinfo.general
Message-ID <20210622205138.GA16694@mintstar>
On Tue, Jun 22, 2021 at 10:19:19PM +0200, Christopher Dimech wrote:
> 
> Doing as instructed fails to find files containing macros
> 
> texi2pdf --clean 06a-amcoh.texi
> 
> --------
> 
> texi2pdf --clean 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 (/home/hagbard/01cuneus/tdr/06ch/texinfo.tex
> Loading texinfo [version 2020-10-24.12]: pdf, fonts, markup, glyphs,
> page headings, tables, conditionals, indexing, sectioning, toc, environments,
> defuns, macros, cross references, insertions,
> (/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex
> This is `epsf.tex' v2.7.4 <14 February 2011>
> ) localization, formatting, and turning on texinfo input format.)
> ../../.././06a-amcoh.texi:85: I can't find file `../mastaba/ramasutra.texi'.
> @temp ->@input ../mastaba/ramasutra.texi
> 
> @includezzz ...and @input #1 }@expandafter }@temp
>                                                   @popthisfilestack
> l.85 @include ../mastaba/ramasutra.texi
> 
> (Press Enter to retry, or Control-D to exit)
> Please type another input file name:
> ../../.././06a-amcoh.texi:85: Emergency stop.
> @temp ->@input ../mastaba/ramasutra.texi
> 
> @includezzz ...and @input #1 }@expandafter }@temp
>                                                   @popthisfilestack
> l.85 @include ../mastaba/ramasutra.texi
> 
> ../../.././06a-amcoh.texi:85:  ==> Fatal error occurred, no output PDF file pro
> duced!
> Transcript written on 06a-amcoh.log.
> /usr/local/bin/texi2dvi: pdfetex exited with bad status, quitting.

There may be a problem with changing to a temporary directory in texi2dvi,
this should work but I would have to investigate.
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.