LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-24-2009, 01:51 AM   #1
sara.y
LQ Newbie
 
Registered: Jul 2009
Posts: 5

Rep: Reputation: 0
.tex to pdf


Hi,

I am working in Suse 11.0, please let me know how I can convert a .tex file to .pdf.

Please let me know if there's a tool to download.

Regards,
 
Old 10-24-2009, 02:16 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
If you don't have the LaTeX packages for your distro installed, then install them. I'm afraid I don't know what these are called under SUSE. Anyway, from the command line, if your .tex file is stuff.tex,you run

latex stuff.tex

and then if all goes well, use

dvipdf stuff.dvi,

which will create a stuff.pdf. You may also be able to use the pdflatex command. If you have Kile (or some other LaTeX editor) installed, then you'll be able to produce your PDF from there.
 
Old 10-24-2009, 05:09 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,483

Rep: Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633
Please use the 'zypper' search and / or the
"Search" in the package manager Yeast2 :

# zypper se latex tetex

.. and install , e.g.
# zypper in texlive-bin-latex-2007

.....
 
Old 10-24-2009, 08:37 AM   #4
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
The one-step program to is pdflatex. But of course I don't know the name of the package in your distro in which this program is included. Be aware of the different graphics handling in pdflatex as opposed to ordinary latex.

jlinkels
 
Old 10-24-2009, 11:37 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,483

Rep: Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633
Suse 11.1

The 'pdflatex' command seems to have changed to 'pdftex' .

'man pdftex' : " pdftex, pdfinitex, pdfvirtex - PDF output from TeX "

' /usr/bin/pdftex ' is provided by the package 'texlive-2007-219.3'
> > 158.2 MB (356.6 MB unpacked.)
.....

Last edited by knudfl; 10-24-2009 at 11:47 AM.
 
Old 10-24-2009, 12:28 PM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello together,

Quote:
Originally Posted by knudfl View Post
Suse 11.1

The 'pdflatex' command seems to have changed to 'pdftex' .
pdftex and pdflatex are something different. If your file.tex is a LaTeX-file you'll have to run the pdflatex command to get a pdf file.

If otherwise your file.tex is a TeX-file you'll have to run the pdftex command to get a pdf file.

Markus
 
  


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
Doxygen tex-to-pdf issues lennyk Red Hat 0 07-29-2009 04:40 AM
vim file.tex !latex file.tex & pdfdvi file.dvi & xpdf -remote sname -reload Mol_Bolom Linux - General 0 07-09-2009 07:46 PM
Generating Pdf/Tex and changing Pdf Permissions nx5000 Linux - Software 3 03-28-2006 04:37 PM
Ever used TeX, post your work. -- Tex Art Gallery barton Linux - Software 2 02-28-2006 02:29 AM
TeX can't find tex.fmt jrdioko Linux - Software 0 11-14-2005 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:14 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
Open Source Consulting | Domain Registration