summaryrefslogtreecommitdiff
path: root/gnu/packages/tex.scm
AgeCommit message (Expand)Author
2021-07-21gnu: TeX Live: Add texlive-latex-l3backend...* gnu/packages/tex.scm (texlive-latex-l3backend): New public variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Thiago Jung Bauermann
2021-07-21gnu: TeX Live: Update to TeX Live 2021...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> Thiago Jung Bauermann
2021-07-21gnu: TeX Live: Use IniTeX to build a couple of packages...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> Thiago Jung Bauermann
2021-07-18gnu: texlive-union: Export and formally deprecate....This is a followup to 04a0b1e09abce99857e7930336421ca6d15ae630. * gnu/packages/tex.scm (texlive-union): Define using 'define-deprecated/alias' and export. Ludovic Courtès
2021-07-18Merge branch 'master' into core-updatesLudovic Courtès
2021-07-15gnu: Add texlive-libkpathsea....* gnu/packages/tex.scm (texlive-libkpathsea): New variable. Leo Prikler
2021-07-10gnu: Add texlive-preprint....* gnu/packages/tex.scm (texlive-preprint): New variable. Julien Lepiller
2021-07-09gnu: Add bibtool....* gnu/packages/tex.scm (bibtool): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Ivan Gankevich
2021-07-06gnu: Disable more LuaJIT components on powerpc64le systems....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. Chris Marusich
2021-07-05gnu: texlive: Fix Texinfo markup in descriptions....* gnu/packages/tex.scm (texlive-latex-atveryend)[description]: Fix Texinfo markup. (texlive-generic-etexcmds)[description]: Likewise. (texlive-generic-kvdefinekeys)[description]: Likewise. Ludovic Courtès
2021-06-26gnu: Add texlive-latex-ebproof....* gnu/packages/tex.scm (texlive-latex-ebproof): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Xinglu Chen
2021-06-19Merge branch 'master' into core-updates...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 Marius Bakke
2021-06-14gnu: Rename qtbase to qtbase-5....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. Maxim Cournoyer
2021-06-06gnu: texlive-latex-tools: Provide array-2016-10-06.sty....* gnu/packages/tex.scm (texlive-latex-tools)[arguments]: Add phase that makes array.sty available with a different name. Marius Bakke
2021-06-06gnu: Add texlive-latex-tocloft....* gnu/packages/tex.scm (texlive-latex-tocloft): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-latex-stackengine....* gnu/packages/tex.scm (texlive-latex-stackengine): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-latex-newunicodechar....* gnu/packages/tex.scm (texlive-latex-newunicodechar): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-latex-hanging....* gnu/packages/tex.scm (texlive-latex-hanging): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-latex-etoc....* gnu/packages/tex.scm (texlive-latex-etoc): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-tex-gyre....* gnu/packages/tex.scm (texlive-tex-gyre): New public variable. Marius Bakke
2021-06-06gnu: texlive-graphics-def: Propagate missing dependency....* gnu/packages/tex.scm (texlive-graphics-def)[propagated-inputs]: New field. Add TEXLIVE-LATEX-EPSTOPDF-PKG. Marius Bakke
2021-06-06gnu: texlive-hyperref: Don't propagate texlive-oberdiek....* 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. Marius Bakke
2021-06-06gnu: texlive-base: Propagate texlive-kpathsea....* gnu/packages/tex.scm (texlive-base)[propagated-inputs]: Add TEXLIVE-KPATHSEA. Marius Bakke
2021-06-06gnu: Add texlive-latex-rerunfilecheck....* gnu/packages/tex.scm (texlive-latex-rerunfilecheck): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-generic-uniquecounter....* gnu/packages/tex.scm (texlive-generic-uniquecounter): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-generic-pdfescape....* gnu/packages/tex.scm (texlive-generic-pdfescape): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-latex-kvoptions....* gnu/packages/tex.scm (texlive-latex-kvoptions): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-generic-kvsetkeys....* gnu/packages/tex.scm (texlive-generic-kvsetkeys): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-generic-kvdefinekeys....* gnu/packages/tex.scm (texlive-generic-kvdefinekeys): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-generic-gettitlestring....* gnu/packages/tex.scm (texlive-generic-gettitlestring): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-generic-etexcmds....* gnu/packages/tex.scm (texlive-generic-etexcmds): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-generic-bitset....* gnu/packages/tex.scm (texlive-generic-bitset): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-generic-bigintcalc....* gnu/packages/tex.scm (texlive-generic-bigintcalc): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-generic-intcalc....* gnu/packages/tex.scm (texlive-generic-intcalc): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-generic-atbegshi....* gnu/packages/tex.scm (texlive-generic-atbegshi): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-latex-letltxmacro....* gnu/packages/tex.scm (texlive-latex-letltxmacro): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-latex-pdftexcmds....* gnu/packages/tex.scm (texlive-latex-pdftexcmds): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-generic-ltxcmds....* gnu/packages/tex.scm (texlive-generic-ltxcmds): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-generic-infwarerr....* gnu/packages/tex.scm (texlive-generic-infwarerr): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-latex-hycolor....* gnu/packages/tex.scm (texlive-latex-hycolor): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-latex-epstopdf-pkg....* gnu/packages/tex.scm (texlive-latex-epstopdf-pkg): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-latex-auxhook....* gnu/packages/tex.scm (texlive-latex-auxhook): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-latex-atveryend....* gnu/packages/tex.scm (texlive-latex-atveryend): New public variable. Marius Bakke
2021-06-06gnu: simple-texlive-package: Fix shebang patching....* gnu/packages/tex.scm (simple-texlive-package)[arguments]: Copy the working directory instead of the source directory to the output. Marius Bakke
2021-06-06gnu: Add texlive-latex-bookmark....* gnu/packages/tex.scm (texlive-latex-bookmark): New public variable. Marius Bakke
2021-06-06gnu: Add texlive-latex-refcount....* gnu/packages/tex.scm (texlive-latex-refcount): New public variable. Marius Bakke
2021-06-06gnu: TeX Live: Update to 2020.0....* 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. Marius Bakke
2021-05-22gnu: Remove 'texlive-amsfonts/patched'....* 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. Marius Bakke
2021-05-09Merge branch 'master' into core-updates... 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 Marius Bakke
2021-05-05gnu: Add texlive-amsfonts/patched....* gnu/packages/tex.scm (texlive-amsfonts/patched): New variable. Ricardo Wurmus