Is there a package that contains a TeX to PDF converter/renderer available on Ubuntu 12.04?
If not, can you recommend a tool for me to download from elsewhere that can do this that is simple to install?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityIs there a package that contains a TeX to PDF converter/renderer available on Ubuntu 12.04?
If not, can you recommend a tool for me to download from elsewhere that can do this that is simple to install?
At the command line, first install the texlive package if it isn't already installed:
sudo apt-get install texlive
Then use the pdflatex utility to convert the file like this:
pdftex /path/to/myfile.tex
The path /path/to/myfile.tex is, of course, an example path. You would put the path to your own file on your system.
Notice that although the utility is called pdflatex you execute it with the command pdftex (without the la).
There are several settings that you can read about in the help for pdflatex:
pdflatex --help
The setting I use the most is the one to generate the pdf in a different directory:
pdflatex --output-directory=../otherdir /path/to/myfile.tex
The pdflatex utility is also interactive, so that if you forget to supply necessary information it will prompt you to enter it before converting the file.
pdftex file.tex
to pdflatex
but for the uninitiated it might be confusing as you casually switch from the former to the latter in your answer.
As far as I know, you won't find a single standalone binary that will do this for you. The typical utility is called pdflatex
and is part of the TeX Live package. It's in the repositories, so simply opening the terminal and typing the below will install pdflatex
and lots of other essential TeX stuff:
sudo apt-get install texlive
You should try rubber. It is a command-line tool to handle all the tasks associated with compiling TeX documents into pdf, dvi, etc.
For Ubuntu 13.10 I suggest you use texlive-full. It worked for me but I'm non experienced user (:-)
To install it, open a terminal window and type or copy/paste:
sudo apt-get install texlive-full
texlive-full
is just a huge archive that include lots of Latex related packages, including texlive
itself (which in fact is shorthand for texlive-base
). By installing texlive-full
you will get lots of things you probably will never use, like texlive-lang-czechslovak
.
May 16, 2018 at 14:34