gluttony Posted December 12, 2005 Report Share Posted December 12, 2005 hi, I have just installed latex on my computer, but I can't seem to run latex on my files. I have tried directly from the command line and by using the "Tex" tab in Emacs but in both cases the following error is returned: [paulo@hosts-137-205-164-93 ~]$ latex try bash: latex: command not found can you help? thanks very much in advance Quote Link to comment Share on other sites More sharing options...
neddie Posted December 13, 2005 Report Share Posted December 13, 2005 First thoughts: either it can't find the executable (which would be strange, because mine is in /usr/bin and it should be able to find that) or it wasn't completely installed. Try the following: man latex Does this come up with anything? Or this: rpm -qa | grep tex Here it comes up with several tetex packages, including tetex-latex. Typing latex -version gives a welcome message here, and latex filename.tex produces the dvi file. It may also help to know - what version of Mandriva have you got, and how did you install latex (from downloaded rpm, from urpmi, from source?) Quote Link to comment Share on other sites More sharing options...
gluttony Posted December 13, 2005 Author Report Share Posted December 13, 2005 thanks for the help :) this is what i get with those commands you suggested: [paulo@hosts-137-205-164-93 ~]$ man latex No manual entry for latex [paulo@hosts-137-205-164-93 ~]$ rpm -qa | grep tex perl-Locale-gettext-1.05-1mdk html2text-1.3.2a-3mdk texinfo-4.8-1mdk php-gettext-5.0.4-1mdk aumix-text-2.8-12mdk gettext-base-0.14.5-2mdk [paulo@hosts-137-205-164-93 ~]$ latex -version bash: latex: command not found this seems to me like it hasn't installed properly.... i am running mandriva 2006 and i installed latex from a downloaded iso. I installed it on both my work and home computers and i get the same problem on both. I didn't know you could urpmi latex.... i'll give that a try thanks again Quote Link to comment Share on other sites More sharing options...
gluttony Posted December 13, 2005 Author Report Share Posted December 13, 2005 ok, i removed the installation that i had done from the downloaded iso and installed it by urpmi instead. everything works now! i guess the rule is "always use urpmi when you can"! thanks for the help paul Quote Link to comment Share on other sites More sharing options...
neddie Posted December 13, 2005 Report Share Posted December 13, 2005 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.