summaryrefslogtreecommitdiff
path: root/gnu/packages/tex.scm
Commit message (Collapse)AuthorAgeFilesLines
* gnu: TeX Live: Update to TeX Live 2021Thiago Jung Bauermann2021-07-211-113/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use version 20210325 for the tarballs, which is the latest one available on the historical releases repository. And use subversion tag 2021.3 which is the latest one available as well. TeX Live dropped support for using the system’s poppler library after the 2020 version. Quoting from `m4/kpse-xpdf-flags.m4`: # Support for our semi-homegrown libs/xpdf library. This is derived # from xpdf source code, but xpdf does not distribute it as a library. # It is used by pdftex (and nothing else) to read PDF images. # Other engines use the semi-homegrown pplib library (q.v.) for that. # The well-known poppler library is also originally derived from xpdf # source code, but has been greatly revised and extended. TL used to # (sort of) support poppler as the system xpdf, but after the TL 2020 # release we dropped this, because we switched XeTeX to use pplib, and # nothing else used poppler. (No engines ever used poppler to generate # their PDF output). # # poppler is aggressively developed, with requirements for new compilers # and language versions. That's fine for them, but since we don't need # anything new, it has become too time-consuming and problematic to # continue to support it in the TL sources, when we don't have any # requirement for it. Therefore the main change in this commit is making the texlive-bin package use the embedded pplib and xpdf libraries. Another noteworthy change is to texlive-latex-l3packages, which now needs to ship a few pre-generated files that cannot be reproduced during the build process (the comments in the package definition have more details). * guix/build-system/texlive.scm (%texlive-tag): Set to “texlive-2021.3”. (%texlive-revision): Set to 59745. * gnu/packages/tex.scm (hyph-utf8-scripts, texlive-docstrip, texlive-unicode-data texlive-hyphen-base, texlive-metafont, texlive-cm, texlive-courier, texlive-lm, texlive-knuth-lib, texlive-tex-plain, texlive-hyphen-finnish, texlive-hyphen-german, texlive-hyph-utf8, texlive-dehyph-exptl, texlive-kpathsea, texlive-latex-fancyvrb, texlive-graphics-def, texlive-latex-graphics, texlive-hyperref, texlive-oberdiek, texlive-latex-tools, texlive-latex-l3kernel, texlive-l3build, texlive-luaotfload, texlive-latex-amsmath, texlive-amscls, texlive-babel, texlive-generic-babel-german, texlive-babel-swedish, texlive-psnfss, texlive-latex-draftwatermark, texlive-latex-etoc, texlive-etoolbox, texlive-latex-polyglossia, texlive-tex-texinfo, texlive-latex-bookmark, texlive-latex-cmap, texlive-latex-fancyhdr, texlive-latex-kvoptions, texlive-latex-eso-pic, texlive-latex-multirow, texlive-latex-parskip, texlive-latex-pdfpages, texlive-metapost, texlive-latex-acmart, texlive-latex-preview, texlive-latex-acronym, texlive-pdftex, texlive-latex-media9, texlive-latex-ocgx2, texlive-latex-ms, texlive-latex-pgf, texlive-latex-pgf-generic, texlive-latex-koma-script, texlive-generic-ltxcmds, texlive-bibtex, texlive-context-base, texlive-context, texlive-beamer, texlive-pstricks, texlive-tools, texlive-latex-xkeyval, texlive-csquotes, texlive-biblatex, texlive-todonotes, texlive-microtype, texlive-caption, texlive-fontaxes, texlive-cabin, texlive-newtx, texlive-xcharter, texlive-adjustbox, texlive-tcolorbox): Update hash. (texlive-extra-src, texlive-texmf-src): Update version to “20210325”. Update hash. (texlive-bin)[source]: Update version to “20210325”. Update hash. Preserve ‘libs/pplib’ and ‘libs/xpdf’. [inputs]: Update hash for ‘texlive-scripts’. Remove ‘poppler’. [arguments]: Remove “--with-system-poppler” and “--with-system-xpdf” from ‘#:configure-flags’. Remove build phase ‘use-code-for-new-poppler’. (texlive-hyphen-schoolfinnish): Add public variable. (texlive-hyphen-macedonian): Add 8bit patterns. Update hash. (texlive-latex-base)[template]: Update hash. [arguments]: Set ‘LUAINPUTS’ environment variable in build phase. [native-inputs]: Update hash for ‘texlive-luatexconfig’. [propagated-inputs]: Add ‘texlive-hyphen-schoolfinnish’, ‘texlive-latex-l3kernel’ and ‘texlive-latex-l3packages’. (texlive-latex-l3packages)[source]: Use ‘texlive-origin’. Update hash. Add generated files. [arguments]: Adjust paths for ‘TEXINPUTS’ environment variable. Add build phase ‘copy-generated-files’. (texlive-texmf, texlive): Update version to “20210325”. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: TeX Live: Use IniTeX to build a couple of packagesThiago Jung Bauermann2021-07-211-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The package texlive-latex-base in TeX Live 2021 will depend on texlive-latex-l3kernel and texlive-latex-l3packages. Therefore we need to remove their build dependency on texlive-latex-base to avoid a circular dependency. l3kernel and l3packages don’t need LaTeX during build, just IniTeX. So to make them use it, modify texlive-build-system to allow disabling the #:texlive-latex-base and #:tex-format parameters, and also add a #:tex-engine parameter. We also need to add texlive-docstrip as a native input, which was previously provided by texlive-latex-base. * gnu/packages/tex.scm (texlive-latex-l3kernel, texlive-latex-l3packages)[arguments]: Add ‘#:tex-engine’, ‘#:tex-format’ and ‘#:texlive-latex-base’ parameters. [native-inputs]: Add ‘texlive-docstrip’. * guix/build-system/texlive.scm (lower)[build-inputs]: Don’t add ‘texlive-latex-base’ if its keyword parameter is false. (texlive-build): Add ‘tex-engine’ keyword parameter. [builder]: If a ‘tex-engine’ parameter was passed, use it. Otherwise, use ‘tex-format’ as the engine. * guix/build/texlive-build-system.scm (compile-with-latex): Add ‘engine’ parameter. If the ‘format’ parameter is false, add “-ini” option to the command line. (build): Add ‘tex-engine’ parameter. Pass it down to ‘compile-with-latex’. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: texlive-union: Export and formally deprecate.Ludovic Courtès2021-07-181-2/+3
| | | | | | | This is a followup to 04a0b1e09abce99857e7930336421ca6d15ae630. * gnu/packages/tex.scm (texlive-union): Define using 'define-deprecated/alias' and export.
* Merge branch 'master' into core-updatesLudovic Courtès2021-07-181-0/+119
|\
| * gnu: Add texlive-libkpathsea.Leo Prikler2021-07-151-0/+33
| | | | | | | | * gnu/packages/tex.scm (texlive-libkpathsea): New variable.
| * gnu: Add texlive-preprint.Julien Lepiller2021-07-101-0/+25
| | | | | | | | * gnu/packages/tex.scm (texlive-preprint): New variable.
| * gnu: Add bibtool.Ivan Gankevich2021-07-091-0/+31
| | | | | | | | | | | | * gnu/packages/tex.scm (bibtool): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
| * gnu: Add texlive-latex-ebproof.Xinglu Chen2021-06-261-0/+30
| | | | | | | | | | | | * gnu/packages/tex.scm (texlive-latex-ebproof): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* | gnu: Disable more LuaJIT components on powerpc64le systems.Chris Marusich2021-07-061-1/+3
| | | | | | | | | | | | | | | | | | Fixes: <https://bugs.gnu.org/49218>. * gnu/packages/tex.scm (texlive-bin)[#:configure-flags]: Add "--disable-luajithbtex" on powerpc64le systems. (texlive-latex-base)[#:phases][build]: Add "mfluajit" to the disabled-formats list on powerpc64le systems.
* | gnu: texlive: Fix Texinfo markup in descriptions.Ludovic Courtès2021-07-051-4/+4
| | | | | | | | | | | | | | * gnu/packages/tex.scm (texlive-latex-atveryend)[description]: Fix Texinfo markup. (texlive-generic-etexcmds)[description]: Likewise. (texlive-generic-kvdefinekeys)[description]: Likewise.
* | Merge branch 'master' into core-updatesMarius Bakke2021-06-191-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: this merge actually changes the 'curl' and 'python-attrs' derivations, as part of solving caf4a7a2770ef4d05a6e18f40d602e51da749ddc and 12964df69a99de6190422c752fef65ef813f3b6b respectively. 4604d43c0e (gnu: gnutls@3.6.16: Fix cross-compilation.) was ignored because it cannot currently be tested. Conflicts: gnu/local.mk gnu/packages/aidc.scm gnu/packages/boost.scm gnu/packages/curl.scm gnu/packages/nettle.scm gnu/packages/networking.scm gnu/packages/python-xyz.scm gnu/packages/tls.scm
| * gnu: Rename qtbase to qtbase-5.Maxim Cournoyer2021-06-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This change was automated via the following command: $ git ls-files | xargs sed -i 's/,qtbase)/,qtbase-5)/g' $ git ls-files | xargs sed -i 's/inherit qtbase)/inherit qtbase-5)/g' $ git ls-files | xargs sed -i 's/package-version qtbase)/package-version qtbase-5)/g' $ git checkout etc # to clear some spurious changes This is done so the qtbase package can be upgraded to version 6 in the following commit.
* | gnu: texlive-latex-tools: Provide array-2016-10-06.sty.Marius Bakke2021-06-061-1/+13
| | | | | | | | | | * gnu/packages/tex.scm (texlive-latex-tools)[arguments]: Add phase that makes array.sty available with a different name.
* | gnu: Add texlive-latex-tocloft.Marius Bakke2021-06-061-0/+17
| | | | | | | | * gnu/packages/tex.scm (texlive-latex-tocloft): New public variable.
* | gnu: Add texlive-latex-stackengine.Marius Bakke2021-06-061-0/+17
| | | | | | | | * gnu/packages/tex.scm (texlive-latex-stackengine): New public variable.
* | gnu: Add texlive-latex-newunicodechar.Marius Bakke2021-06-061-0/+16
| | | | | | | | * gnu/packages/tex.scm (texlive-latex-newunicodechar): New public variable.
* | gnu: Add texlive-latex-hanging.Marius Bakke2021-06-061-0/+16
| | | | | | | | * gnu/packages/tex.scm (texlive-latex-hanging): New public variable.
* | gnu: Add texlive-latex-etoc.Marius Bakke2021-06-061-0/+31
| | | | | | | | * gnu/packages/tex.scm (texlive-latex-etoc): New public variable.
* | gnu: Add texlive-tex-gyre.Marius Bakke2021-06-061-0/+39
| | | | | | | | * gnu/packages/tex.scm (texlive-tex-gyre): New public variable.
* | gnu: texlive-graphics-def: Propagate missing dependency.Marius Bakke2021-06-061-0/+2
| | | | | | | | | | * gnu/packages/tex.scm (texlive-graphics-def)[propagated-inputs]: New field. Add TEXLIVE-LATEX-EPSTOPDF-PKG.
* | gnu: texlive-hyperref: Don't propagate texlive-oberdiek.Marius Bakke2021-06-061-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/tex.scm (texlive-hyperref)[propagated-inputs]: Remove TEXLIVE-OBERDIEK. Add TEXLIVE-GENERIC-ATBEGSHI, TEXLIVE-GENERIC-BITSET, TEXLIVE-GENERIC-ETEXCMDS, TEXLIVE-GENERIC-GETTITLESTRING, TEXLIVE-GENERIC-IFTEX, TEXLIVE-GENERIC-INFWARERR, TEXLIVE-GENERIC-INTCALC, TEXLIVE-GENERIC-KVDEFINEKEYS, TEXLIVE-GENERIC-LTXCMDS, TEXLIVE-GENERIC-PDFESCAPE, TEXLIVE-LATEX-AUXHOOK, TEXLIVE-LATEX-ATVERYEND, TEXLIVE-LATEX-HYCOLOR, TEXLIVE-LATEX-KVOPTIONS, TEXLIVE-LATEX-LETLTXMACRO, TEXLIVE-LATEX-PDFTEXCMDS, TEXLIVE-LATEX-REFCOUNT, and TEXLIVE-LATEX-RERUNFILECHECK.
* | gnu: texlive-base: Propagate texlive-kpathsea.Marius Bakke2021-06-061-0/+1
| | | | | | | | | | * gnu/packages/tex.scm (texlive-base)[propagated-inputs]: Add TEXLIVE-KPATHSEA.
* | gnu: Add texlive-latex-rerunfilecheck.Marius Bakke2021-06-061-0/+22
| | | | | | | | * gnu/packages/tex.scm (texlive-latex-rerunfilecheck): New public variable.
* | gnu: Add texlive-generic-uniquecounter.Marius Bakke2021-06-061-0/+20
| | | | | | | | * gnu/packages/tex.scm (texlive-generic-uniquecounter): New public variable.
* | gnu: Add texlive-generic-pdfescape.Marius Bakke2021-06-061-0/+16
| | | | | | | | * gnu/packages/tex.scm (texlive-generic-pdfescape): New public variable.
* | gnu: Add texlive-latex-kvoptions.Marius Bakke2021-06-061-0/+19
| | | | | | | | * gnu/packages/tex.scm (texlive-latex-kvoptions): New public variable.
* | gnu: Add texlive-generic-kvsetkeys.Marius Bakke2021-06-061-0/+17
| | | | | | | | * gnu/packages/tex.scm (texlive-generic-kvsetkeys): New public variable.
* | gnu: Add texlive-generic-kvdefinekeys.Marius Bakke2021-06-061-0/+15
| | | | | | | | * gnu/packages/tex.scm (texlive-generic-kvdefinekeys): New public variable.
* | gnu: Add texlive-generic-gettitlestring.Marius Bakke2021-06-061-0/+17
| | | | | | | | * gnu/packages/tex.scm (texlive-generic-gettitlestring): New public variable.
* | gnu: Add texlive-generic-etexcmds.Marius Bakke2021-06-061-0/+21
| | | | | | | | * gnu/packages/tex.scm (texlive-generic-etexcmds): New public variable.
* | gnu: Add texlive-generic-bitset.Marius Bakke2021-06-061-0/+21
| | | | | | | | * gnu/packages/tex.scm (texlive-generic-bitset): New public variable.
* | gnu: Add texlive-generic-bigintcalc.Marius Bakke2021-06-061-0/+18
| | | | | | | | * gnu/packages/tex.scm (texlive-generic-bigintcalc): New public variable.
* | gnu: Add texlive-generic-intcalc.Marius Bakke2021-06-061-0/+15
| | | | | | | | * gnu/packages/tex.scm (texlive-generic-intcalc): New public variable.
* | gnu: Add texlive-generic-atbegshi.Marius Bakke2021-06-061-0/+18
| | | | | | | | * gnu/packages/tex.scm (texlive-generic-atbegshi): New public variable.
* | gnu: Add texlive-latex-letltxmacro.Marius Bakke2021-06-061-0/+18
| | | | | | | | * gnu/packages/tex.scm (texlive-latex-letltxmacro): New public variable.
* | gnu: Add texlive-latex-pdftexcmds.Marius Bakke2021-06-061-0/+20
| | | | | | | | * gnu/packages/tex.scm (texlive-latex-pdftexcmds): New public variable.
* | gnu: Add texlive-generic-ltxcmds.Marius Bakke2021-06-061-0/+16
| | | | | | | | * gnu/packages/tex.scm (texlive-generic-ltxcmds): New public variable.
* | gnu: Add texlive-generic-infwarerr.Marius Bakke2021-06-061-0/+17
| | | | | | | | * gnu/packages/tex.scm (texlive-generic-infwarerr): New public variable.
* | gnu: Add texlive-latex-hycolor.Marius Bakke2021-06-061-0/+16
| | | | | | | | * gnu/packages/tex.scm (texlive-latex-hycolor): New public variable.
* | gnu: Add texlive-latex-epstopdf-pkg.Marius Bakke2021-06-061-0/+18
| | | | | | | | * gnu/packages/tex.scm (texlive-latex-epstopdf-pkg): New public variable.
* | gnu: Add texlive-latex-auxhook.Marius Bakke2021-06-061-0/+16
| | | | | | | | * gnu/packages/tex.scm (texlive-latex-auxhook): New public variable.
* | gnu: Add texlive-latex-atveryend.Marius Bakke2021-06-061-0/+20
| | | | | | | | * gnu/packages/tex.scm (texlive-latex-atveryend): New public variable.
* | gnu: simple-texlive-package: Fix shebang patching.Marius Bakke2021-06-061-1/+1
| | | | | | | | | | * gnu/packages/tex.scm (simple-texlive-package)[arguments]: Copy the working directory instead of the source directory to the output.
* | gnu: Add texlive-latex-bookmark.Marius Bakke2021-06-061-0/+17
| | | | | | | | * gnu/packages/tex.scm (texlive-latex-bookmark): New public variable.
* | gnu: Add texlive-latex-refcount.Marius Bakke2021-06-061-0/+19
| | | | | | | | * gnu/packages/tex.scm (texlive-latex-refcount): New public variable.
* | gnu: TeX Live: Update to 2020.0.Marius Bakke2021-06-061-212/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build-system/texlive.scm (%texlive-tag): Set to 2020.0. (%texlive-revision): Set to 54632. * gnu/packages/tex.scm (texlive-extra-src, texlive-texmf-src, texlive-bin, texlive-texmf, texlive): Update to 20200406. (texlive-bin)[source](patches): Remove. [arguments]: Adjust poppler compatibility phase for new upstream patches. * gnu/packages/tex.scm (hyph-utf8-scripts, texlive-docstrip, texlive-unicode-data texlive-hyphen-base, texlive-dvips, texlive-metafont-base, texlive-fontinst, texlive-fontname, texlive-tex-plain, texlive-hyphen-bulgarian, texlive-hyphen-chinese, texlive-hyphen-hungarian, texlive-hyphen-latin, texlive-hyphen-sanskrit, texlive-hyphen-spanish, texlive-hyph-utf8, texlive-kpathsea, texlive-latexconfig, texlive-latex-base, texlive-union, texlive-latex-filecontents, texlive-latex-fancyvrb, texlive-graphics-def, texlive-latex-graphics, texlive-latex-oberdiek, texlive-latex-tools, texlive-latex-l3kernel, texlive-latex-l3packages, texlive-latex-fontspec, texlive-latex-amsmath, texlive-latex-babel, texlive-latex-draftwatermark, texlive-etoolbox, texlive-latex-geometry, texlive-latex-polyglossia, texlive-latex-supertabular, texlive-tex-texinfo, texlive-latex-appendix, texlive-latex-colortbl, texlive-latex-listings, texlive-inconsolata, texlive-latex-enumitem, texlive-latex-multirow, texlive-latex-overpic, texlive-latex-parskip, texlive-latex-pdfpages, texlive-libertine, texlive-latex-titlesec, texlive-metapost, texlive-latex-acmart, texlive-latex-wasysym, texlive-latex-preview, texlive-latex-acronym, texlive-pdftex, texlive-latex-media9, texlive-latex-ocgx2, texlive-latex-ms, texlive-generic-ulem, texlive-latex-pgf, texlive-latex-koma-script, texlive-generic-listofitems, texlive-bibtex, texlive-context-base, texlive-beamer, texlive-pstricks, texlive-marginnote, texlive-iftex, texlive-tools, texlive-siunitx, texlive-booktabs, texlive-csquotes, texlive-biblatex, texlive-microtype, texlive-caption, texlive-ydoc, texlive-courier, texlive-hyperref, texlive-fontspec, texlive-l3build, texlive-luaotfload, texlive-babel, texlive-tipa, texlive-jknappen, texlive-wasy, texlive-context, texlive-cabin, texlive-fourier, texlive-mweights, texlive-newtx, texlive-xcharter, texlive-tcolorbox): Update hashes. (texlive-hyphen-bulgarian): Don't include removed files. (texlive-hyphen-hungarian, texlive-hyphen-sanskrit): Adjust for directory rename. (texlive-hyphen-chinese, texlive-hyphen-latin): Add more files. (texlive-hyphen-macedonian): New public variable. (texlive-metafont-base)[source]: Switch to SVN-MULTI-FETCH. [arguments]: Adjust for extra source files. (texlive-latex-base)[arguments]: Disable more formats. [propagated-inputs]: Add TEXLIVE-HYPHEN-MACEDONIAN. (texlive-fontinst): Don't include "scripts/texlive/fontinst.sh". (texlive-generic-iftex): New public variable. (texlive-iftex, texlive-generic-ifxetex): Deprecate in favor of TEXLIVE-GENERIC-IFTEX. (texlive-latex-oberdiek)[propagated-inputs]: Change from TEXLIVE-GENERIC-IFXETEX to TEXLIVE-GENERIC-IFTEX. (texlive-latex-xkeyval)[native-inputs]: Likewise. (texlive-default-updmap.cfg): Remove variable. * gnu/packages/patches/texlive-bin-poppler-0.83.patch, gnu/packages/patches/texlive-bin-poppler-0.86.patch: Delete files. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* | gnu: Remove 'texlive-amsfonts/patched'.Marius Bakke2021-05-221-151/+2
| | | | | | | | | | | | | | | | * gnu/packages/tex.scm (texlive-amsfonts)[arguments]: Add the fix from 'texlive-amsfonts/patched'. (texlive-amsfonts/patched): Remove variable. * gnu/packages/python-xyz.scm (python-nbconvert)[native-inputs]: Change from TEXLIVE-AMSFONTS/PATCHED to TEXLIVE-AMSFONTS.
* | Merge branch 'master' into core-updatesMarius Bakke2021-05-091-1/+514
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gnu/local.mk gnu/packages/bioinformatics.scm gnu/packages/django.scm gnu/packages/gtk.scm gnu/packages/llvm.scm gnu/packages/python-web.scm gnu/packages/python.scm gnu/packages/tex.scm guix/build-system/asdf.scm guix/build/emacs-build-system.scm guix/profiles.scm
| * gnu: Add texlive-amsfonts/patched.Ricardo Wurmus2021-05-051-0/+150
| | | | | | | | * gnu/packages/tex.scm (texlive-amsfonts/patched): New variable.
| * gnu: Add texlive-eurosym.Ricardo Wurmus2021-05-041-0/+23
| | | | | | | | * gnu/packages/tex.scm (texlive-eurosym): New variable.