LaTeX forum ⇒ GeneralCan't find file error Topic is solved

General information and discussion about TeXnicCenter
tech411
Posts: 3
Joined: Mon Feb 06, 2017 4:21 pm

Can't find file error

Postby tech411 » Mon Feb 06, 2017 4:27 pm

Hello,

I have just installed miktex and texnic center on a new windows 10 computer. When I compile my tex files, I get a " I can't find file .\fileName.tex"

I've tried moving the file but I get the same error.
Last edited by tech411 on Mon Feb 06, 2017 5:48 pm, edited 1 time in total.

User avatar
Stefan Kottwitz
Site Admin
Posts: 8453
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Mon Feb 06, 2017 4:28 pm

Welcome to the forum!

What is the name of your document file?

Stefan
Site admin

tech411
Posts: 3
Joined: Mon Feb 06, 2017 4:21 pm

Postby tech411 » Mon Feb 06, 2017 5:48 pm

I think I've figured it out. When I remove the spaces and specials characters from the file name, it compiles. I will have to do additional testing to confirm.

User avatar
Stefan Kottwitz
Site Admin
Posts: 8453
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Mon Feb 06, 2017 5:53 pm

Very good! Avoid spaces and non-ASCII characters in file names but also in file paths.

Though for graphics, the grffile package can help, regarding images with spaces in file names:

\usepackage{grffile}

Stefan
Site admin

tech411
Posts: 3
Joined: Mon Feb 06, 2017 4:21 pm

Postby tech411 » Mon Feb 06, 2017 7:08 pm

It works. Vielen Dank!


Return to “General”

Who is online

Users browsing this forum: No registered users and 3 guests