LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-27-2005, 11:35 AM   #1
Lise
LQ Newbie
 
Registered: Feb 2005
Posts: 2

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


Hello,
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, 11:59 AM   #2
btmiller
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, 12:05 PM   #3
Lise
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, 12:20 PM   #4
Optimistic
Member
 
Registered: Jun 2004
Location: Germany
Distribution: Debian (testing)
Posts: 276

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

Code:
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.
 
  


Reply



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 05:34 PM
emacs and TeX pfaendtner Linux - Newbie 2 10-19-2004 08:54 AM
Tex eis Linux - Newbie 4 05-24-2004 08:29 AM
Emacs/TeX question guygriffiths Linux - Software 2 04-12-2004 03:10 PM
Is this a troff, groff, TeX, or nroff file? atrionfo Linux - General 1 04-19-2002 05:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:02 PM.

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