LinuxQuestions.org
Review your favorite Linux distribution.
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, 12:35 PM   #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, 12:59 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,159

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
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
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, 01:20 PM   #4
Optimistic
Member
 
Registered: Jun 2004
Location: Germany
Distribution: Debian (testing)
Posts: 276

Rep: Reputation: 31
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


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


All times are GMT -5. The time now is 10:46 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration