Difference between revisions of "LaTeX"

From ArchWiki
Jump to navigation Jump to search
(→‎Editors and environments: add gummi gtk application)
(47 intermediate revisions by 29 users not shown)
Line 1: Line 1:
#REDIRECT [[TeX Live]]
{{Article summary start}}
{{Article summary text|Implementations of LaTeX in Arch Linux.}}
{{Article summary heading|Related}}
{{Article summary wiki|TeX Live}}
{{Article summary wiki|TeX Live FAQ}}
{{Article summary wiki|TeX Live and CJK}}
{{Article summary end}}
[[Wikipedia:LaTeX|LaTeX]] is a popular markup language and document preparation system, often used in the sciences. The current implementation in Arch Linux is [[TeX Live]].
== Installation ==
For a standard LaTeX installation, [[Pacman|install]] the {{Pkg|texlive-most}} package group, which includes all of the [[TeX Live]] packages in the [[Official Repositories|official repositories]].
For internationalization support, install the {{Pkg|texlive-lang}} package, which provides various character sets and non-English features.
=== Select packages (alternate) ===
It is also possible to select the individual LaTeX packages you require. Install the {{Pkg|texlive-core}} package, which contains the LaTeX compiler. On its own, {{Pkg|texlive-core}} should be suitable for most needs.
To compile a TeX file install the {{Pkg|texlive-bin}} package.
== Editors and environments ==
While LaTeX can be written in a simple text editor, many people wish to edit LaTeX source in a specialized environment. The following editors, which use various toolkits, are all available in the [[Official Repositories|official repositories]] and can be installed with [[pacman]].
* {{App|gedit|Supports LaTeX syntax highlighting, it is included in {{Grp|gnome-extra}}.|http://www.gnome.org/|{{Pkg|Gedit}}}}
* {{App|Winefish|A very lightweight LaTeX editing suite. It supports highlighting and code completion, compile-from-editor, among other things.|http://developer.berlios.de/projects/winefish/|{{Pkg|winefish}}}}
* {{App|geany|An IDE that includes LaTeX syntax highlighting, building, and shows a list of environments/sections/labels in the sidebar.|http://www.geany.org/|{{pkg|Geany}}}}
* {{App|gummi|Lightweight LaTeX editor. It features a continuous preview mode, integrated BibTeX support, extendable snippet interface and multi-document support.|http://dev.midnightcoding.org/projects/gummi/|{{pkg|gummi}}}}
* {{App|Kile|A user friendly TeX/LaTeX front-end for [[KDE]]|http://kile.sourceforge.net/|{{Pkg|kile}}}}
* {{App|Ktikz|GUI making diagrams with [http://pgf.sourceforge.net/ TikZ/PGF] easier.|http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language/|{{Pkg|ktikz}}}}
* {{App|Vim|[[Vim]] together with {{AUR|vim-latexsuite-git}} can be used as customizable LaTeX environment.|http://www.vim.org|{{Pkg|vim}}}}
* {{App|TeXMaker|A free, modern and cross-platform LaTeX editor for linux, macosx and windows systems that integrates many tools needed to develop documents with LaTeX, in just one application. Also check out {{AUR|TeXWorks}}.|http://www.xm1math.net/texmaker/|{{AUR|TeXMaker}}}}
* {{App|LyX|An advanced open-source [[Wikipedia:WYSIWYM|WYSIWYM]] document processor.|http://www.lyx.org/|{{Pkg|lyx}}}}
* {{App|JabRef|Java GUI frontend for managing BibTeX and other bibliographies. If you have issues with certain features not working in JabRef (like the "Find" command), it may be an incompatibility with Java 7. Try installing Java 6 (i.e. {{pkg|openjdk6}}). This will uninstall {{pkg|jdk7-openjdk}} and {{pkg|jre7-openjdk}}, and all features in JabRef should now work.|http://jabref.sourceforge.net/index.php|{{AUR|jabref-git}}}}
* {{App|TeXmacs|[[Wikipedia:WYSISYW]] (what you see is what you want) editing platform with special features for scientists.|http://www.texmacs.org|{{Pkg|texmacs}}}}
{{Wikipedia|Comparison of TeX editors}}
== Updating babelbib language definitions ==
If you have the very specific problem of babelbib not having the latest language definitions that you need, and you don't want to recompile everything, you can get them manually from http://www.tug.org/texlive/devsrc/Master/texmf-dist/tex/latex/babelbib/ and put them in {{ic|/usr/share/texmf-dist/tex/latex/babelbib/}}. For example:
# cd /usr/share/texmf-dist/tex/latex/babelbib/
# wget http://www.tug.org/texlive/devsrc/Master/texmf-dist/tex/latex/babelbib/romanian.bdf
# wget [...all-other-language-files...]
# wget http://www.tug.org/texlive/devsrc/Master/texmf-dist/tex/latex/babelbib/babelbib.sty
Afterwards, you need to run texhash to update the TeX database:
{{bc|# texhash}}
== See also ==
* [[TeX Live]]

Latest revision as of 11:24, 7 November 2015

Redirect to: