Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-27-2005, 12:35 PM   #1
LQ Newbie
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
how to compile a tex-file ??

I'm a Linux newbie and I can't remember how to compile a .tex-file and turn it into a .dvi-file and a .ps-file using the Shell konsole. Please help. Thanks.
Old 02-27-2005, 12:59 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Use the tex or latex command to turn it into a dvi and then dvips will turn it into a postscript file.
Old 02-27-2005, 01:05 PM   #3
LQ Newbie
Registered: Feb 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for your answer.
I'm afraid I'm pretty bad at this. What exactly should I type in the Shell konsole?
Old 02-27-2005, 01:20 PM   #4
Registered: Jun 2004
Location: Germany
Distribution: Debian (testing)
Posts: 276

Rep: Reputation: 33
This produce a dvi file, you can read it with xdvi.
latex foo.tex
Then (to make a ps file):
dvips foo.dvi
OR (to make a pdf):

dvipdf foo.dvi foo.pdf
LaTeX is really cool---I don't even really use word processors anymore. There is a nice LaTeX plugin for vim that you should check out if you want to do more with LaTeX.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
TeX can't find tex.fmt jrdioko Linux - Software 0 11-14-2005 06:34 PM
emacs and TeX pfaendtner Linux - Newbie 2 10-19-2004 09:54 AM
Tex eis Linux - Newbie 4 05-24-2004 09:29 AM
Emacs/TeX question guygriffiths Linux - Software 2 04-12-2004 04:10 PM
Is this a troff, groff, TeX, or nroff file? atrionfo Linux - General 1 04-19-2002 06:55 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration