General! I can't find file `test.tex'.

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
tex_user_001
Posts: 2
Joined: Mon Sep 05, 2022 4:46 pm

! I can't find file `test.tex'.

Post by tex_user_001 »

Hi,

I am trying to build a `tex` document:

\documentclass[12pt]{article}
\begin{document}
Hello world!
$Hello world!$ %math mode
\end{document}


with:

Code: Select all

pdflatex test.tex
but I get:

Code: Select all

This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/Arch Linux) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
! I can't find file `test.tex'.
<*> test.tex
            
(Press Enter to retry, or Control-D to exit)
Please type another input file name: 
the file exists, I am running the command from the directory where the file is located. This whole thing was working a few hours ago and something changed. Does anyone have any idea what is happening?

Cheers.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

tex_user_001
Posts: 2
Joined: Mon Sep 05, 2022 4:46 pm

! I can't find file `test.tex'.

Post by tex_user_001 »

Hi,

I just found the problem. I did:

Code: Select all

export TEXINPUTS=$ALT_HOME/.latex/inputs/
instead of:

Code: Select all

export TEXINPUTS+=:$ALT_HOME/.latex/inputs/
Post Reply