You are not logged in.
Pages: 1
Hi,
I have used latex through Kile for a long time now and I've never had problem with it.
But recently, I've discovered emacs. And now I feel not very free with Kile (my fingers want to use emacs' shortcut!). Then I put my intention in writing in latex through emacs using auctex.
But unfortunately I can't compile my file. Emacs always answers me
ERROR: I can't find file `file.tex'.
--- TeX said ---
! I can't find file `filet.tex'.
--- HELP ---
TeX can't find a file that it needs. If the name of the missing file
has the extension tex, then it is looking for an input file that you
specified---either your main file or another file inserted with an
\input or \include command. If the missing file has the extension sty
, then you have specified a nonexistent document style or style
option.
I have also tried to compile a file in a terminal and I have the same answer.
Do you know where can it come from?
Thanks
EDIT: I have put the entire error message for more precisions.
Last edited by takanuva (2010-07-28 02:39:27)
Offline
Does it really say file.tex in one place and filet.tex in another?
Did you save the buffer before attempting to compile?
Offline
No it says the same name for both (here file.tex is just en example).
Yes the buffer is already saved and the same file can be compiled by Kile.
thanks for answering
Offline
You should be able to just do C-c C-c and it will ask you for the actual command ( I use pdflatex) and it will fill in the blanks and make a nice PDF for you.
The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github
Offline
I will explain what I do.
First I open a tex file with emacs (this can can be compiled with Kile)
Then I try C-c C-c. Emacs ask me
Command: (default LaTeX)
(I can't choose pdflatex, I only have those choice BibTeX Check Clean Clean All File Index LaTeX Other Print Queue Spell View)
Then I choose LateX. And Emacs answer me
LaTeX errors in `*/media/documents/Cours/Math/Stage L3/Moi/ENS_report/project/ENS_report output*'. Use C-c ` to display.
So I try C-c `. And it ask me for a master file (Master file: (default this file)) which the one I want to compile. I select it. And finally I have the error message
ERROR: I can't find file `ENS_report.tex'.
--- TeX said ---
! I can't find file `ENS_report.tex'.
--- HELP ---
TeX can't find a file that it needs. If the name of the missing file
has the extension tex, then it is looking for an input file that you
specified---either your main file or another file inserted with an
\input or \include command. If the missing file has the extension sty
, then you have specified a nonexistent document style or style
option.
If I try on the same file
latex ENS_report.tex
I have the following answer
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Arch Linux)
restricted \write18 enabled.
entering extended mode
! I can't find file `ENS_repport.tex'.
<*> ENS_repport.tex
(Press Enter to retry, or Control-D to exit)
Please type another input file name:
What does it mean?
Thanks
Offline
takanuva --
please post your ~/.emacs file.
I use emacs exclusively for latex (actually xelatex), and also have it set up with scim-bridge to print chinese. All should be accomplished in ~/.emacs.
Offline
Pages: 1