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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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