Results 1 to 8 of 8
I'm just starting to learn latex and it is proving quite difficult since i keep getting errors...and errors that don't make sense...
this is a .tex file i'm trying to ...
- 01-16-2006 #1
Latex is being very annoying...
I'm just starting to learn latex and it is proving quite difficult since i keep getting errors...and errors that don't make sense...
this is a .tex file i'm trying to compile:
When i type "pdftex test.tex" this is the output:\documentclass{article}
\begin{document}
blah
\end{document}
and when i open it in xpdf it looks something like this:Code:This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) entering extended mode (./test.tex ! Undefined control sequence. l.1 \documentclass {article} ?(pressed enter) ! Undefined control sequence. l.3 \begin {document} ?(pressed enter again) [1{/usr/share/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] )</usr/share/texmf /fonts/type1/bluesky/cm/cmr10.pfb> Output written on test.pdf (1 page, 6623 bytes). Transcript written on test.log.
i've searched google and various forums with little success. It makes no sense to me why this wouldn't compile properly. Even when i copy and paste from a latex "how to" it does the same thing...article
document
blah
Would someone please put an end to my confusion?Avatar from xkcd.com, a hilarious computer related webcomic.
- 01-16-2006 #2Linux Enthusiast
- Join Date
- Aug 2005
- Location
- Hell
- Posts
- 514
try "pdflatex"
- 01-17-2006 #3
thanks for replying but unfortunately that doesn't work.
this is the output:
I get similar errors when i try to compile a simple document in kile (a WYSIWYG editor)Code:This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) kpathsea: Running mktexfmt pdflatex.fmt fmtutil: format `pdflatex' not available. I can't find the format file `pdflatex.fmt'!
any other suggestions? this is really frustrating...Avatar from xkcd.com, a hilarious computer related webcomic.
- 01-17-2006 #4Linux Enthusiast
- Join Date
- Aug 2005
- Location
- Hell
- Posts
- 514
Are you sure LaTeX is installed properly?
- 01-17-2006 #5It must not be. I went to another computer (SuSE 9.3) and tried pdflatex and it worked... very odd. Oh well. i'll just use that distro.
Originally Posted by spoon!
ThanksAvatar from xkcd.com, a hilarious computer related webcomic.
- 01-17-2006 #6Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
On the problem computer, do you get the problem when you compile from tex to dvi and then convert the dvi to pdf?
Operating System: GNU Emacs
- 01-18-2006 #7
it doesn't work even if i try to compile to dvi
this is the output:$ latex test.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
kpathsea: Running mktexfmt latex.fmt
fmtutil: format `latex' not available.
I can't find the format file `latex.fmt'!Avatar from xkcd.com, a hilarious computer related webcomic.
- 04-24-2008 #8Just Joined!
- Join Date
- Apr 2008
- Posts
- 1
This is a old post but I came across it searching for a solution to the exact same problem with pdflatex in Suse 10.3.
I fixed it by running texhash.
heres a link with a little more detail.
LaTeX Tips: Installing and using custom packages and style files
hope it helps.



