TeXLive
From ArchWiki
| i18n |
|---|
| Italiano |
Contents |
Introduction
NEW: as of 12 Sept. 2008, TeXLive packages are available in extra for both arches, hence replacing the obsolete tetex. By installing the packages texlive-core (54MB) and its dependency texlive-bin (15MB), you will have a very solid and bleeding-edge typesetting system at your disposal!
Important information
- The installation now goes to /usr instead of /opt/texlive. Upon upgrading from the 2007 packages, you might encounter some error messages about binaries not found under /opt/texlive/bin: you can safely ignore them.
- Instead of upgrading, we strongly suggest you simply remove all your old texlive packages first, and then do a clean install under /usr.
- For reasons of space and because life is too short, we don't provide the documentation. You can consult it online at http://tug.org/texlive/Contents/live/doc.html or on CTAN. Documentation packages might soon be available on [community] though.
- TeXLive (upstream) now provides a tool for incremental updates of CTAN packages. On that basis, we also plan to update our packages on a regular basis (we have written tools that almost automate that task).
- Some tools and utilities included in TeX Live rely on ghostscript, perl, and ruby.
- For help and information about TeXLive see: http://tug.org/texlive/doc.html and http://tug.org/texlive/doc/texlive-en/texlive-en.html
- System-wide configuration files are under /usr/share/texmf-config. User-specific ones should be put under ~/.texlive/texmf-config. $TEXMFHOME is ~/texmf and $TEXMFVAR is ~/.texlive/texmf-var.
- A skeleton of a local texmf tree is at /usr/local/share/texmf: this directory is writable for members of the group tex. Users of TeXLive 2007 should move /opt/texlive/texmf-local accordingly or change the variable $TEXMFLOCAL in /usr/share/texmf/web2c/texmf.cnf
- With the latest update of texlive-core, some new hyphenation patterns cause TeX capacity to be exceeded when some formats are created. In the file /usr/share/texmf/web2c/texmf.cnf, change the line trie_size = 600000 to trie_size = 700000 Then run "sudo fmtutil-sys --missing" and everything will be fine.
List of all texlive-* packages
The texlive packages are arranged into to groups: texlive-most and texlive-lang (NB: the groups texlive-most-doc and texlive-lang-doc are currently not provided but might be re-added to community soon).
The essential package texlive-core contains the basic texmf-dist tree, while texlive-bin contains the binaries, libraries, and the texmf tree. texlive-core is based on the “medium” install scheme of the upstream distribution. All other packages are based on the eponymous collections in TeXLive. The following links bring to a list of the CTAN packages contained in each Arch package.
Group texlive-most
- texlive-bin
- texlive-core
- texlive-bibtexextra
- texlive-fontsextra
- texlive-formatsextra
- texlive-games
- texlive-genericextra
- texlive-htmlxml
- texlive-humanities
- texlive-latex3
- texlive-latexextra
- texlive-music
- texlive-pictures
- texlive-plainextra
- texlive-pstricks
- texlive-publishers
- texlive-science
NB: texlive-omega is no longer provided, and the omega and aleph binaries are not included in texlive-bin. They are unmaintained and obsolete. All files that depend on omega should have been removed. (Note that omega/aleph are still part of the official TeXLive DVD, but will probably disappear next year.)
Group texlive-lang
NB: The latter replaces and provides texlive-lang{african, arab, armenian, croatian, hebrew, indic, mongolian, tibetan, vietnamese}.
TeXLive Local Manager
There is now a new utility provided by Firmicus which allows to conveniently manage a TeXLive installation on Arch Linux. See http://aur.archlinux.org/packages.php?ID=23776 in AUR.
Documentation
Usage: tllocalmgr
tllocalmgr [options] [command] [args]
Running tllocalmgr alone starts the TeXLive local manager shell
for Arch Linux. This shell is capable of command-line completion!
There you can look at the available updates with the command 'status'
and you can install individual CTAN packages using 'install' or 'update'
under $TEXMFLOCAL. This is done by creating a package texlive-local-<pkg>
and installing it with pacman. Note that this won’t interfere with your
standard texlive installation, but files under $TEXMFLOCAL will take
precedence.
Here are the commands available in the shell:
Commands:
status -- Current status of TeXLive installation
shortinfo * -- Print a one-liner description of CTAN packages
info * -- Print info on CTAN packages
update * -- Locally update CTAN packages
install * -- Locally install new CTAN packages
installdoc * -- Locally install documentation of CTAN packages
installsrc * -- Locally install sources of CTAN packages
listfiles * -- List all files in CTAN packages
search * -- Search info on CTAN packages
searchfiles * -- Search for files in CTAN packages
texhash -- Refresh the TeX file database
clean -- Clean local build tree
help -- Print helpful information
quit -- Quit tllocalmgr
The commands followed by * take one of more package names as arguments.
Note that these can be completed automatically by pressing TAB.
You can also run tllocalmgr as a standard command-line program, with
one of the above commands as argument, then the corresponding task will
be performed and the program will exit (except when the command is 'status').
tllocalmgr accepts the following options:
Options: --help Shows this help
--version Show the version number
--forceupdate Force updating the TeXLive database
--skipupdate Skip updating the TeXLive database
--localsearch Search only installed packages
--location #TODO?
--mirror CTAN mirror to use (default is mirror.ctan.org)
--nocolor #TODO
Alternative: TeXLive network install
See http://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-140003
Alternative: TeX Live with loop-mounted DVD ISO
See TeXLive_from_iso (obsolete?)
See Also
For frequently asked qustions about TeX, TeXLive, and how it is packaged on arch, see the TeXLive FAQ. If you are interested in using CJK (Chinese, Japanese, Korean) characters, see this Tutorial