# TeXLive

From ScientificComputing

## Contents

## 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 (Euler, old software stack)

Legacy versions | Supported versions | New versions |
---|---|---|

2009 |

Please note that this page refers to installations from the old software stack. There are two software stacks on Euler. Newer versions of software are found in the new software stack.

## Environment modules (Euler, old software stack)

Version | Module load command | Additional modules loaded automatically |
---|---|---|

2009 | module load gcc/4.8.2 texlive/2009 |

Please note that this page refers to installations from the old software stack. There are two software stacks on Euler. Newer versions of software are found in the new software stack.

## 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:

sbatch [Slurm options] --wrap="pdflatex test"Here you need to replace

*[Slurm options]*with Slurm parameters for the resource requirements of the job. Please find a documentation about the parameters of

`sbatch`on the wiki page about the batch system.

## Example

LSF examples are obsolete. They will soon be replaced with Slurm examples.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 ~]$bjobsJOBID 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 ~]$bjobsJOBID 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 ~]$bjobsNo unfinished job found