Статьи про LaTeX
Все символы LaTeX
Титульный лист
jpg и png в eps
csv в pdf
Установка tex в Linux

Установка texlive

Есть два варианта - установить texlive-full, который занимает около 7 Гб или ставить пакеты по мере необходимости.

sudo apt -y install texlive

[sudo] password for andrei: Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libfprint-2-tod1 libllvm10 libllvm11 libssl1.0.0 linux-headers-5.8.0-55-generic linux-hwe-5.8-headers-5.8.0-55 linux-image-5.8.0-55-generic linux-modules-5.8.0-55-generic linux-modules-extra-5.8.0-55-generic shim Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: dvisvgm fonts-lmodern fonts-texgyre libptexenc1 libteckit0 libtexlua53 libtexluajit2 libzzip-0-13 lmodern t1utils tex-common tex-gyre texlive-base texlive-binaries texlive-fonts-recommended texlive-latex-base texlive-latex-recommended tipa Suggested packages: debhelper perl-tk xzdec texlive-fonts-recommended-doc texlive-latex-base-doc texlive-latex-recommended-doc texlive-luatex texlive-pstricks The following NEW packages will be installed: dvisvgm fonts-lmodern fonts-texgyre libptexenc1 libteckit0 libtexlua53 libtexluajit2 libzzip-0-13 lmodern t1utils tex-common tex-gyre texlive texlive-base texlive-binaries texlive-fonts-recommended texlive-latex-base texlive-latex-recommended tipa 0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded. Need to get 85,8 MB of archives. After this operation, 269 MB of additional disk space will be used. Get:1 focal/universe amd64 tex-common all 6.13 [32,7 kB] Get:2 focal/universe amd64 dvisvgm amd64 2.8.1-1build1 [1 048 kB] Get:3 focal/universe amd64 fonts-lmodern all 2.004.5-6 [4 532 kB] Get:4 focal/universe amd64 fonts-texgyre all 20180621-3 [10,2 MB] Get:5 focal/main amd64 libptexenc1 amd64 2019.20190605.51237-3build2 [35,5 kB] Get:6 focal/universe amd64 libteckit0 amd64 2.5.8+ds2-5ubuntu2 [320 kB] Get:7 focal/main amd64 libtexlua53 amd64 2019.20190605.51237-3build2 [105 kB] Get:8 focal/main amd64 libtexluajit2 amd64 2019.20190605.51237-3build2 [235 kB] Get:9 focal/universe amd64 libzzip-0-13 amd64 0.13.62-3.2ubuntu1 [26,2 kB] Get:10 focal/universe amd64 lmodern all 2.004.5-6 [9 474 kB] Get:11 focal/main amd64 t1utils amd64 1.41-3 [56,1 kB] Get:12 focal/universe amd64 tex-gyre all 20180621-3 [6 209 kB] Get:13 focal/universe amd64 texlive-binaries amd64 2019.20190605.51237-3build2 [8 041 kB] Get:14 focal/universe amd64 texlive-base all 2019.20200218-1 [20,8 MB] Get:15 focal/universe amd64 texlive-fonts-recommended all 2019.20200218-1 [4 972 kB] Get:16 focal/universe amd64 texlive-latex-base all 2019.20200218-1 [990 kB] Get:17 focal/universe amd64 texlive-latex-recommended all 2019.20200218-1 [15,7 MB] Get:18 focal/universe amd64 texlive all 2019.20200218-1 [14,4 kB] Get:19 focal/universe amd64 tipa all 2:1.3-20 [2 978 kB] Fetched 85,8 MB in 1min 9s (1244 kB/s) Preconfiguring packages ... Selecting previously unselected package tex-common. (Reading database ... 234756 files and directories currently installed.) Preparing to unpack .../00-tex-common_6.13_all.deb ... Unpacking tex-common (6.13) ... Selecting previously unselected package dvisvgm. Preparing to unpack .../01-dvisvgm_2.8.1-1build1_amd64.deb ... Unpacking dvisvgm (2.8.1-1build1) ... Selecting previously unselected package fonts-lmodern. Preparing to unpack .../02-fonts-lmodern_2.004.5-6_all.deb ... Unpacking fonts-lmodern (2.004.5-6) ... Selecting previously unselected package fonts-texgyre. Preparing to unpack .../03-fonts-texgyre_20180621-3_all.deb ... Unpacking fonts-texgyre (20180621-3) ... Selecting previously unselected package libptexenc1:amd64. Preparing to unpack .../04-libptexenc1_2019.20190605.51237-3build2_amd64.deb ... Unpacking libptexenc1:amd64 (2019.20190605.51237-3build2) ... Selecting previously unselected package libteckit0:amd64. Preparing to unpack .../05-libteckit0_2.5.8+ds2-5ubuntu2_amd64.deb ... Unpacking libteckit0:amd64 (2.5.8+ds2-5ubuntu2) ... Selecting previously unselected package libtexlua53:amd64. Preparing to unpack .../06-libtexlua53_2019.20190605.51237-3build2_amd64.deb ... Unpacking libtexlua53:amd64 (2019.20190605.51237-3build2) ... Selecting previously unselected package libtexluajit2:amd64. Preparing to unpack .../07-libtexluajit2_2019.20190605.51237-3build2_amd64.deb ... Unpacking libtexluajit2:amd64 (2019.20190605.51237-3build2) ... Selecting previously unselected package libzzip-0-13:amd64. Preparing to unpack .../08-libzzip-0-13_0.13.62-3.2ubuntu1_amd64.deb ... Unpacking libzzip-0-13:amd64 (0.13.62-3.2ubuntu1) ... Selecting previously unselected package lmodern. Preparing to unpack .../09-lmodern_2.004.5-6_all.deb ... Unpacking lmodern (2.004.5-6) ... Selecting previously unselected package t1utils. Preparing to unpack .../10-t1utils_1.41-3_amd64.deb ... Unpacking t1utils (1.41-3) ... Selecting previously unselected package tex-gyre. Preparing to unpack .../11-tex-gyre_20180621-3_all.deb ... Unpacking tex-gyre (20180621-3) ... Selecting previously unselected package texlive-binaries. Preparing to unpack .../12-texlive-binaries_2019.20190605.51237-3build2_amd64.deb ... Unpacking texlive-binaries (2019.20190605.51237-3build2) ... Selecting previously unselected package texlive-base. Preparing to unpack .../13-texlive-base_2019.20200218-1_all.deb ... Unpacking texlive-base (2019.20200218-1) ... Selecting previously unselected package texlive-fonts-recommended. Preparing to unpack .../14-texlive-fonts-recommended_2019.20200218-1_all.deb ... Unpacking texlive-fonts-recommended (2019.20200218-1) ... Selecting previously unselected package texlive-latex-base. Preparing to unpack .../15-texlive-latex-base_2019.20200218-1_all.deb ... Unpacking texlive-latex-base (2019.20200218-1) ... Selecting previously unselected package texlive-latex-recommended. Preparing to unpack .../16-texlive-latex-recommended_2019.20200218-1_all.deb ... Unpacking texlive-latex-recommended (2019.20200218-1) ... Selecting previously unselected package texlive. Preparing to unpack .../17-texlive_2019.20200218-1_all.deb ... Unpacking texlive (2019.20200218-1) ... Selecting previously unselected package tipa. Preparing to unpack .../18-tipa_2%3a1.3-20_all.deb ... Unpacking tipa (2:1.3-20) ... Setting up libtexlua53:amd64 (2019.20190605.51237-3build2) ... Setting up libtexluajit2:amd64 (2019.20190605.51237-3build2) ... Setting up dvisvgm (2.8.1-1build1) ... Setting up libzzip-0-13:amd64 (0.13.62-3.2ubuntu1) ... Setting up tex-common (6.13) ... update-language: texlive-base not installed and configured, doing nothing! Setting up libptexenc1:amd64 (2019.20190605.51237-3build2) ... Setting up libteckit0:amd64 (2.5.8+ds2-5ubuntu2) ... Setting up t1utils (1.41-3) ... Setting up fonts-texgyre (20180621-3) ... Setting up texlive-binaries (2019.20190605.51237-3build2) ... update-alternatives: using /usr/bin/xdvi-xaw to provide /usr/bin/xdvi.bin (xdvi.bin) in auto mode update-alternatives: using /usr/bin/bibtex.original to provide /usr/bin/bibtex (bibtex) in auto mode Setting up fonts-lmodern (2.004.5-6) ... Setting up texlive-base (2019.20200218-1) ... mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVEDIST... mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... mktexlsr: Updating /var/lib/texmf/ls-R... mktexlsr: Done. tl-paper: setting paper size for dvips to a4: /var/lib/texmf/dvips/config/ tl-paper: setting paper size for dvipdfmx to a4: /var/lib/texmf/dvipdfmx/dvipdfmx-paper.cfg tl-paper: setting paper size for xdvi to a4: /var/lib/texmf/xdvi/XDvi-paper tl-paper: setting paper size for pdftex to a4: /var/lib/texmf/tex/generic/config/pdftexconfig.tex Setting up tex-gyre (20180621-3) ... Setting up texlive-latex-base (2019.20200218-1) ... Setting up texlive-latex-recommended (2019.20200218-1) ... Setting up lmodern (2.004.5-6) ... Setting up texlive-fonts-recommended (2019.20200218-1) ... Setting up tipa (2:1.3-20) ... Regenerating '/var/lib/texmf/fmtutil.cnf-DEBIAN'... done. Regenerating '/var/lib/texmf/fmtutil.cnf-TEXLIVEDIST'... done. update-fmtutil has updated the following file(s): /var/lib/texmf/fmtutil.cnf-DEBIAN /var/lib/texmf/fmtutil.cnf-TEXLIVEDIST If you want to activate the changes in the above file(s), you should run fmtutil-sys or fmtutil. Setting up texlive (2019.20200218-1) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... Processing triggers for fontconfig (2.13.1-2ubuntu3) ... Processing triggers for desktop-file-utils (0.24-1ubuntu3) ... Processing triggers for mime-support (3.64ubuntu1) ... Processing triggers for gnome-menus (3.36.0-1ubuntu1) ... Processing triggers for libc-bin (2.31-0ubuntu9.2) ... Processing triggers for tex-common (6.13) ... Running updmap-sys. This may take some time... done. Running mktexlsr /var/lib/texmf ... done. Building format(s) --all. This may take some time... done.

Проверка версии

tex --version

TeX 3.14159265 (TeX Live 2019/Debian) kpathsea version 6.3.1 Copyright 2019 D.E. Knuth. There is NO warranty. Redistribution of this software is covered by the terms of both the TeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the TeX source. Primary author of TeX: D.E. Knuth.