Re: latex on command prompt?

David Allsopp <[email protected]>
Newsgroups gmane.comp.tex.miktex
Organization MetaStack Solutions Ltd.
Message-ID <[email protected]>
Schut, Koos J J (Koos) wrote:
> Seems there is a GUI now to use. It is a nice attempt at making things
> easier for some audience. However I have problems with quite a lot of
> GUI's in that they rarely do what I want, and seldom what I expect them
> to.

Agreed :o)

> How can I run latex from the command prompt? I have tons of tex/latex
> projects and have always ran them from the command prompt. What do I need
> to set to make that work with
> MikTex 2.9 fully installed in C:\Program Files\miktex_2.9
> on Windows XP

If it installed correctly/normally, you just need to open a command prompt and run [pdf|xe]latex same as you presumably have on other systems before. The MiKTeX installer should have added its binaries directory to your PATH but if it didn't for some reason then you'll want to add the miktex\bin subdirectory of your MiKTeX root to PATH.

>From the command prompt, you could try either:

	tex story\bye

or

	latex sample2e

to see if default documents (and the commands) are working correctly before trying your own.


David

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps 
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.