Pdflatex "file not found" texlive

  • Context: LaTeX 
  • Thread starter Thread starter XATJEFFMK64
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on the issue of the "file not found" error encountered when using the pdflatex command with TeX Live to compile a .tex document. The user attempted various command formats, including direct file paths, but was unsuccessful. The solution provided emphasizes the importance of enclosing file names with spaces in quotes to ensure proper recognition by the command line. This is a common requirement when dealing with file paths that contain spaces in their names.

PREREQUISITES
  • Familiarity with TeX Live 2023 installation and configuration
  • Basic understanding of command line operations in Windows
  • Knowledge of file path syntax and quoting in command line
  • Experience with TeX document creation and compilation
NEXT STEPS
  • Learn how to properly format file paths in command line environments
  • Explore TeX Live documentation for troubleshooting common issues
  • Investigate the use of quotes in command line commands
  • Practice compiling .tex documents using TeXWorks and pdflatex
USEFUL FOR

This discussion is beneficial for users of TeX Live, particularly those who are new to command line operations and need assistance with compiling LaTeX documents. It is especially useful for educators and content creators looking to convert .tex files into PDFs for online tutorials.

XATJEFFMK64
Messages
1
Reaction score
0
Hello, I'm sorry to burden you with this question it's probably been asked a thousand times, but no matter where I look on the net I can't find a solution.

I have texlive, I wrote the tex document, and saved it, I tried running the tex command line and using pdflatex command but it keeps saying it can't find the file, how exactly do I write the parameters? I've tried

pdflattex Tutorial One.tex

-> file not found

pdflattex c:\Windows\Users\XATJEFFMK64\Desktop\Projects\Tuto rial one.tex

-> file not found.

I just want to write tex documents and turn them into pdf's so I can upload tutorials onto my website, can someone give me a very clear and concise way of doing this?
frown.png
 
Physics news on Phys.org
I'm not really familiar with the TexLive (I use TeXWorks), but have you tried compiling your .tex document?
 
I think the problem is the blank space as part of the name...you need to enclose the entire name into (single or double) quotes two indicate that the two separate strings actually are a single entity, value.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
10
Views
2K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
9K
  • · Replies 2 ·
Replies
2
Views
4K