LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to compile a tex-file ?? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-compile-a-tex-file-295506/)

Lise 02-27-2005 11:35 AM

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

btmiller 02-27-2005 11:59 AM

Use the tex or latex command to turn it into a dvi and then dvips will turn it into a postscript file.

Lise 02-27-2005 12:05 PM

Thanks for your answer.
I'm afraid I'm pretty bad at this. What exactly should I type in the Shell konsole?

Optimistic 02-27-2005 12:20 PM

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.


All times are GMT -5. The time now is 01:21 PM.