GeneralProblem compiling. TXC can't find .aux file

LaTeX specific issues not fitting into one of the other forums of this category.
hendreyth
Posts: 6
Joined: Fri Feb 11, 2011 4:47 am

Problem compiling. TXC can't find .aux file

Post by hendreyth »

Hi,

I'm very new to TeX and haven't done any programming, so I hope I've placed this query in the right place. I just downloaded miktex 2.8 as well as texniccentre but I can't get documents to compile. When I try to compile the test document:

Code: Select all

\documentclass{article}
\begin{document}
test
\end{document}
I get the following output:
This is pdfTeX, version 3.1415926-1.40.10 (MiKTex 2.8)
Entering extended mode
(C:/Users/Thomas/Desktop/MiKTex2.8/miktex/bin/test.tex
LaTeX2e <2009/09/24>
Babel <v3.81> and hyphenation patterns for english, dumylang, nohyphenation, german, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded.
(C:\Users\Thomas\Desktop\MiKTeX2.8\tex\latex\base\article.cls
Document Class: article 2007/10/19 v1.9h Standard LaTeX document class
(C:\Users\Thomas\Desktop\MiKTeX2.8\tex\latex\base\size10.clo))
No file test.aux.
[1{C:/ProgramData/MiKTeX/2.8/pdftex/config/pdftex.map}]
! I can't find file 'test.aux'.
\enddocument ...makeatletter \input \jobname .aux
\fi \@dofilelist \ifdim \f...
1.4 \end{document}

Pleas type another input file name
! Emergency stop.
\enddocument ...makeatletter \input \jobname .aux
\fi \@dofilelist \ifdim \f...
1.4 \end{document}

! ==> Fatal error occurred, no output file produced!
I can find the file test.aux (C:\Users\Thomas\Desktop\MiKTeX2.8\miktex\bin\test.aux)
and have tried moving it to slightly different location but that hasn't helped. I'm running Windows Vista and have Adobe Reader 8 (in case that's relevant). I also have similar problems with my other output profiles. Any suggestions regarding what might be causing this would be much appreciated.

Thanks.
Last edited by hendreyth on Sat Feb 12, 2011 1:52 pm, edited 1 time in total.

Recommended reading 2024:

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

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

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Problem compiling. TXC can't find .aux file

Post by frabjous »

There's no reason for it to be looking for an .aux file at all. Is TXC configured to run BibTeX? Your file does not have a bibliography or citations, so it shouldn't be calling BibTeX. Double check your configuration and make sure BibTeX is not selected.
hendreyth
Posts: 6
Joined: Fri Feb 11, 2011 4:47 am

Re: Problem compiling. TXC can't find .aux file

Post by hendreyth »

Thanks for your reply. I selected "Do not use BibTex in this profile" in the LaTeX=>PDF output profile and got exactly the same output when I tried to build again. Also contrary to what I said earlier when I try to build to DVI I get the error: "latex.exe GUI cannot be initialized"
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Problem compiling. TXC can't find .aux file

Post by frabjous »

As for that error, see here.
hendreyth
Posts: 6
Joined: Fri Feb 11, 2011 4:47 am

Re: Problem compiling. TXC can't find .aux file

Post by hendreyth »

thanks again. I actually just found that page myself. Now after I changing my miktex settings I get a massive output listing 105 errors mostly complaining about undefined control sequences (I have attached the log) when going to DVI, but get exactly the same output when trying to build to PDF.
Attachments
test.log
(2.62 KiB) Downloaded 424 times
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Problem compiling. TXC can't find .aux file

Post by frabjous »

The file is really just as simple as what you posted earlier?

Can you compile from the command prompt? Or with a different editor like TeXworks or TeXmaker?
hendreyth
Posts: 6
Joined: Fri Feb 11, 2011 4:47 am

Problem compiling. TXC can't find .aux file

Post by hendreyth »

Yes, the file is really as I posted earlier. When I try to compile with TeXworks i get the following output:
This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
entering extended mode
(C:\Users\Thomas\AppData\Roaming\MiKTeX\2.8\tex\plain\vertex\test.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded.
! Undefined control sequence.
l.1 \topmatter

?
Starting the test.tex file with the command prompt opens Techworks.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem compiling. TXC can't find .aux file

Post by localghost »

I'm wondering about this path.

Code: Select all

C:/Users/Thomas/Desktop/MiKTex2.8/miktex/bin
Can you clarify what this path exactly is and where you installed your MiKTeX system?


Best regards and welcome to the board
Thorsten
hendreyth
Posts: 6
Joined: Fri Feb 11, 2011 4:47 am

Re: Problem compiling. TXC can't find .aux file

Post by hendreyth »

Hi Thorsten, thanks for your reply. I installed MiKTeX2.8 to my desktop ('Thomas' is my username on this computer) for ease of access. The rest of the path is simply where .tex files appeared to be located in the MiKTeX2.8 folder after installation
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem compiling. TXC can't find .aux file

Post by localghost »

hendreyth wrote:[…] I installed MiKTeX2.8 to my desktop ('Thomas' is my username on this computer) for ease of access. […]
So my assumptions have been confirmed. I don't understand why you did this. Perhaps you can explain »ease of access« in this context. What do you want to access easy? However, never ever put LaTeX source files into the installation tree of the TeX system. That's a very uncommon practice and causes trouble. Don't you have a separate hard disk partition for private data where you can put your documents?
Post Reply