TeXLive

From ScientificComputing
Jump to: navigation, search

Category

Development, Typesetting

Description

TeX Live is an easy way to get up and running with the TeX document production system. It provides a comprehensive TeX system with binaries for most flavors of Unix, including GNU/Linux, and also Windows. It includes all the major TeX-related programs, macro packages, and fonts that are free software, including support for many languages around the world.

Available versions

Legacy versions Supported versions New versions
2009

Environment modules

Version Module load command Additional modules loaded automatically
2009 module load gcc/4.8.2 texlive/2009

How to submit a job

You can submit a TeXLive job for creating a PDF document from the input file test.tex in batch mode with the following command:
bsub [LSF options] "pdflatex test"
Here you need to replace [LSF options] with LSF parameters for the resource requirements of the job. Please find a documentation about the parameters of bsub on the wiki page about the batch system.

Example

As an example for using TeXLive, we will create a PDF document out of a .tex input file.
[leonhard@euler07 ~]$ cat test.tex
\documentclass[a4paper,12pt]{article}
\begin{document}

The foundations of the rigorous study of \emph{analysis}
were laid in the nineteenth century, notably by the
mathematicians Cauchy and Weierstrass. Central to the
study of this subject are the formal definitions of
\emph{limits} and \emph{continuity}.

Let $D$ be a subset of $\bf R$ and let
$f \colon D \to \mathbf{R}$ be a real-valued function on
$D$. The function $f$ is said to be \emph{continuous} on
$D$ if, for all $\epsilon > 0$ and for all $x \in D$,
there exists some $\delta > 0$ (which may depend on $x$)
such that if $y \in D$ satisfies
\[ |y - x| < \delta \]
then
\[ |f(y) - f(x)| < \epsilon. \]

One may readily verify that if $f$ and $g$ are continuous
functions on $D$ then the functions $f+g$, $f-g$ and
$f.g$ are continuous. If in addition $g$ is everywhere
non-zero then $f/g$ is continuous.

\end{document}
[leonhard@euler07 ~]$ module load gcc/4.8.2 texlive/2009
[leonhard@euler07 ~]$ bsub -n 1 -W 0:10 -R "rusage[mem=150]" "pdflatex test"
Generic job.
Job <35259528> is submitted to queue <normal.4h>.
[leonhard@euler07 ~]$ bjobs
JOBID      USER      STAT  QUEUE      FROM_HOST   EXEC_HOST   JOB_NAME   SUBMIT_TIME
35259528   leonhard  PEND  normal.4h  euler07                 *atex test Jan  9 08:44
[leonhard@euler07 ~]$ bjobs
JOBID      USER      STAT  QUEUE      FROM_HOST   EXEC_HOST   JOB_NAME   SUBMIT_TIME
35259528   leonhard  run   normal.4h  euler07     e3001       *atex test Jan  9 08:44
[leonhard@euler07 ~]$ bjobs
No unfinished job found
PDF document, created with TeXLive 2009. Please click on the picture to see a larger version

License information

TeX Live License

Links

https://www.tug.org/texlive

https://en.wikipedia.org/wiki/TeX_Live