Commit graph

118224 commits

Author SHA1 Message Date
Nicolas Goaziou
582ec648c9
gnu: asymptote: Fix build.
* gnu/packages/plotutils.scm (asymptote)[native-inputs]: Add TEXLIVE-HYPDOC.
2023-07-18 18:16:49 +02:00
Nicolas Goaziou
c9efffe3d0
gnu: chez-web: Fix build.
* gnu/packages/chez.scm (chez-web)[native-inputs]: Add TEXLIVE-CHARTER,
TEXLIVE-CWEB, remove TEXLIVE-EPSF.
[arguments]<#:phases>: Add phases to fix ".tex" issues.
2023-07-18 18:16:48 +02:00
Nicolas Goaziou
e6fc11ae07
gnu: discrover: Fix build.
* gnu/packages/bioinformatics.scm (discrover)[native-inputs]: Add
TEXLIVE-FORLOOP, TEXLIVE-LISTOFITEMS, TEXLIVE-READARRAY.
2023-07-18 18:16:48 +02:00
Nicolas Goaziou
8734aa7b0a
gnu: Add texlive-forloop.
* gnu/packages/tex.scm (texlive-forloop): New variable.
2023-07-18 18:16:48 +02:00
Nicolas Goaziou
213cde14e3
guix: Add linter warning about texlive-updmap.cfg and texlive-tiny.
* guix/lint.scm (check-inputs-should-be-native): Warn when TEXLIVE-UPDMAP.CFG
and TEXLIVE-TINY are not native inputs.
2023-07-18 18:16:47 +02:00
Nicolas Goaziou
7a18bd9e74
gnu: Rationalize texlive-updmap.cfg and texlive-tiny inputs.
TEXLIVE-UPDMAP.CFG and TEXLIVE-TINY should only be used as native inputs.
Also remove texlive packages already provided by them.

* doc/build.scm (pdf-manual):
* gnu/packages/algebra.scm (pari-gp):
* gnu/packages/bioinformatics.scm (discrover):
(phyml):
(velvet):
* gnu/packages/chemistry.scm (yaehmop):
* gnu/packages/chez.scm (stex-bootstrap):
(chez-web):
(chez-sockets):
* gnu/packages/cran.scm (r-prereg):
* gnu/packages/docbook.scm (dblatex):
* gnu/packages/emacs-xyz.scm (emacs-auctex):
* gnu/packages/engineering.scm (fastcap):
* gnu/packages/fsf.scm (book-faif):
* gnu/packages/graphviz.scm (dot2tex):
* gnu/packages/maths.scm (hypre):
* gnu/packages/ocaml.scm (unison):
(ocaml-bibtex2html):
* gnu/packages/plotutils.scm (asymptote):
* gnu/packages/python-xyz.scm (python-nbconvert):
(python-pypandoc):
* gnu/packages/radio.scm (gnuradio):
(libosmo-dsp):
* gnu/packages/statistics.scm (r-with-tests):
* gnu/packages/tex.scm (texlive-makecmds):
(texlive-innerscript):
(teximpatient):
(texlive-xkeyval): Remove texlive packages already provided by
TEXLIVE-UPDMAP.CFG.  Don't add TEXLIVE-TINY or TEXLIVE-UPDMAP.CFG as inputs.
2023-07-18 18:16:47 +02:00
Nicolas Goaziou
f37146969a
gnu: texlive-updmap.cfg: Provide basic scheme.
Packages have to be moved around in the module because they need to be defined
in a particular order : TEXLIVE-SCHEME-BASIC < TEXLIVE-UPDMAP.CFG < any
texlive package making use of TEXLIVE-UPDMAP.CFG.

* gnu/packages/tex.scm (texlive-updmap.cfg): Provide TEXLIVE-SCHEME-BASIC.
2023-07-18 18:16:46 +02:00
Nicolas Goaziou
d5abbf48a4
gnu: Add texlive-cweb.
* gnu/packages/tex.scm (texlive-cweb): New variable.
2023-07-18 18:16:46 +02:00
Nicolas Goaziou
32f9cb3e6b
gnu: texlive-context: Fix package.
* gnu/packages/tex.scm (texlive-context)[source]: Do not fetch third-party Lua
scripts.
[arguments]<#:phases>: Create additional symlinks.
2023-07-18 18:16:46 +02:00
Nicolas Goaziou
7e30fd530e
gnu: texlive-mptopdf: Fix package.
* gnu/packages/tex.scm (texlive-mptopdf)[source]: Only grab specific
"mptopdf.pl" scripts, not all other scripts in the same directory.
[arguments]<#:phases>: Add a phase to use provided Perl.
[inputs]: Add PERL.
2023-07-18 18:16:45 +02:00
Nicolas Goaziou
2e189e8863
guix: texlive importer: Do not pull all "scripts/context/" files.
* guix/import/texlive.scm (texlive-generic-locations): Add "scripts/context/"
since this location is split across multiple packages.
* guix/import/texlive.scm (files->locations): Only single out files from
generic locations, not their sub-directories.  E.g., generic location
"scripts/context/lua/" should not fetch "scripts/context/lua/third/" files.
2023-07-18 18:16:45 +02:00
Nicolas Goaziou
88a3b237f5
gnu: phyml: Fix build.
* gnu/packages/bioinformatics.scm (phyml)[native-inputs]: Add
TEXLIVE-INFWARERR, TEXLIVE-KVOPTIONS and TEXLIVE-PDFTEXCMDS.
2023-07-18 18:16:45 +02:00
Nicolas Goaziou
9eb02049b8
gnu: dot2tex: Fix failing tests.
TeX Live packages needed to build tests are moved to native inputs because
propagating them may not be a good thing.  Use might already be using
monolithic TeX Live, or would may have their TeX Live installation on another system.

* gnu/packages/graphviz.scm (dot2tex)[native-inputs]: Add TeX Live packages
necessary to build documents generated during tests.
[propagated-inputs]: Remove them.
2023-07-18 18:16:44 +02:00
Nicolas Goaziou
df2e9dedba
gnu: texlive-context: Add missing files.
* gnu/packages/tex.scm (texlive-context)[source]: Fix locations to include all
files, including man pages.
2023-07-18 18:16:44 +02:00
Nicolas Goaziou
ca4e92e794
gnu: texlive-pgf: Add missing files.
* gnu/packages/tex.scm (texlive-pgf)[source]: Fix locations.  Previous ones
would not include "tikz.sty" file, among others.
2023-07-18 18:16:43 +02:00
Nicolas Goaziou
944ace7194
guix: Fix sub-directories in texlive importer locations.
* guix/import/texlive.scm (files->locations): When removing a sub-directory,
make sure to actually remove the sub-directory and not the parent.
2023-07-18 18:16:43 +02:00
Nicolas Goaziou
fc91998274
gnu: ocaml-bibtex2html: Improve package style.
* gnu/packages/ocaml.scm (ocaml-bibtex2html)[origin]<uri>: Re-use version.
[arguments]: Use G-expressions.  Remove trailing #T from phases.
[native-inputs]: Remove labels.
2023-07-18 18:16:43 +02:00
Nicolas Goaziou
97a59bbef9
gnu: ocaml-bibtex2html: Fix build.
* gnu/packages/ocaml.scm (ocaml-bibtex2html)[native-inputs]: Add
TEXLIVE-INFWARERR, TEXLIVE-KVOPTINOS, TEXLIVE-PDFTEXCMDS.
2023-07-18 18:16:42 +02:00
Nicolas Goaziou
e8f3b8bdc7
gnu: hypre: Fix error when building documentation.
* gnu/packages/maths.scm (hypre)[native-inputs]: Add TEXLIVE-LATEXMK.
2023-07-18 18:16:42 +02:00
Nicolas Goaziou
1e92db8927
gnu: velvet: Improve package style.
* gnu/packages/bioinformatics.scm (velvet)[arguments]: Use G-expressions.
[native-inputs]: Remove label.
2023-07-18 18:16:42 +02:00
Nicolas Goaziou
42500f1aad
gnu: velvet: Fix error when building documentation.
* gnu/packages/bioinformatics.scm (velvet)[native-inputs]: Add TEXLIVE-GRFEXT,
TEXLIVE-INFWARERR, TEXLIVE-KVOPTIONS and TEXLIVE-KPDFTEXCMDS.
2023-07-18 18:16:41 +02:00
Nicolas Goaziou
fdf09bcd31
gnu: yaehmop: Fix build due to missing TeX Live scripts.
* gnu/packages/chemistry.scm (yaehmop)[native-inputs]: Add missing "latexmk"
and "repstopdf" scripts.
2023-07-18 18:16:41 +02:00
Nicolas Goaziou
169edc0503
gnu: Add propagated packages to texlive-updmap.cfg.
These packages belong to TeX Live's "basic" collection; they are often
expected when building a ".tex" file.  They were silently propagated in the
previous definition of the function.  Note : their definition has to be moved before
TEXLIVE-UPDMAP.CFG in the module.

* gnu/packages/tex.scm (texlive-updmap.cfg): Add TEXLIVE-CM, TEXLIVE-EC,
TEXLIVE-EPSTOPDF-PKG, TEXLIVE-ETEX, TEXLIVE-ETEX-PKG, TEXLIVE-IFPLATFORM,
TEXLIVE-IFTEX, TEXLIVE-TEX.
2023-07-18 18:16:41 +02:00
Nicolas Goaziou
0bdaff9313
gnu: texlive-epstopdf: Add missing "repstopdf" symlink.
* gnu/packages/tex.scm (texlive-epstopdf)[arguments]<#:phases>: Add missing
"repstopdf" symlink.
2023-07-18 18:16:40 +02:00
Nicolas Goaziou
d61cd4aebe
gnu: tex: Comment about the Guix-specific packages in the module.
* gnu/packages/tex.scm: Comment about the Guix-specific packages in the module.
2023-07-18 18:16:40 +02:00
Nicolas Goaziou
350562e9f4
doc: Update TeX Live related documentation.
* doc/guix.texi (Invoking guix import): "texlive.tlpdb" is located in
TEXLIVE-SCRIPTS package.
(Using TeX and LaTeX): Mention collections and schemes as a starting point.
Illustrate it with an updated example.  Update tiny TODO list.  Fix call to
"tlmgr".
2023-07-18 18:16:40 +02:00
Nicolas Goaziou
81ccfeb928
gnu: Add texlive-collection-luatex.
* gnu/packages/tex.scm (texlive-collection-luatex): New variable.
2023-07-18 18:16:39 +02:00
Nicolas Goaziou
bbf868fcdb
gnu: Add texlive-yamlvars.
* gnu/packages/tex.scm (texlive-yamlvars): New variable.
2023-07-18 18:16:39 +02:00
Nicolas Goaziou
40d46e6522
gnu: Add texlive-uninormalize.
* gnu/packages/tex.scm (texlive-uninormalize): New variable.
2023-07-18 18:16:38 +02:00
Nicolas Goaziou
4ee871537b
gnu: Add texlive-typewriter.
* gnu/packages/tex.scm (texlive-typewriter): New variable.
2023-07-18 18:16:38 +02:00
Nicolas Goaziou
e331b87317
gnu: Add texlive-tsvtemplate.
* gnu/packages/tex.scm (texlive-tsvtemplate): New variable.
2023-07-18 18:16:38 +02:00
Nicolas Goaziou
71f2166aab
gnu: Add texlive-truthtable.
* gnu/packages/tex.scm (texlive-truthtable): New variable.
2023-07-18 18:16:37 +02:00
Nicolas Goaziou
7dcb4e9e15
gnu: Add texlive-stricttex.
* gnu/packages/tex.scm (texlive-stricttex): New variable.
2023-07-18 18:16:37 +02:00
Nicolas Goaziou
dd53cac90e
gnu: Add texlive-spelling.
* gnu/packages/tex.scm (texlive-spelling): New variable.
2023-07-18 18:16:37 +02:00
Nicolas Goaziou
4ea050858f
gnu: Add texlive-spacekern.
* gnu/packages/tex.scm (texlive-spacekern): New variable.
2023-07-18 18:16:36 +02:00
Nicolas Goaziou
30b7a6393e
gnu: Add texlive-showkerning.
* gnu/packages/tex.scm (texlive-showkerning): New variable.
2023-07-18 18:16:36 +02:00
Nicolas Goaziou
86556e6bb9
gnu: Add texlive-showhyphenation.
* gnu/packages/tex.scm (texlive-showhyphenation): New variable.
2023-07-18 18:16:36 +02:00
Nicolas Goaziou
07eb98079e
gnu: Add texlive-selnolig.
* gnu/packages/tex.scm (texlive-selnolig): New variable.
2023-07-18 18:16:35 +02:00
Nicolas Goaziou
660afab5fb
gnu: Add texlive-scikgtex.
* gnu/packages/tex.scm (texlive-scikgtex): New variable.
2023-07-18 18:16:35 +02:00
Nicolas Goaziou
165a78e468
gnu: Add texlive-pyluatex.
* gnu/packages/tex.scm (texlive-pyluatex): New variable.
2023-07-18 18:16:35 +02:00
Nicolas Goaziou
ca948a85ed
gnu: Add texlive-plantuml.
* gnu/packages/tex.scm (texlive-plantuml): New variable.
2023-07-18 18:16:35 +02:00
Nicolas Goaziou
e764edcbd0
gnu: Add texlive-placeat.
* gnu/packages/tex.scm (texlive-placeat): New variable.
2023-07-18 18:16:34 +02:00
Nicolas Goaziou
68fba23584
gnu: Add texlive-piton.
* gnu/packages/tex.scm (texlive-piton): New variable.
2023-07-18 18:16:34 +02:00
Nicolas Goaziou
428c0277aa
gnu: Add texlive-penlight.
* gnu/packages/tex.scm (texlive-penlight): New variable.
2023-07-18 18:16:34 +02:00
Nicolas Goaziou
59befed247
gnu: Add texlive-pdfextra.
* gnu/packages/tex.scm (texlive-pdfextra): New variable.
2023-07-18 18:16:33 +02:00
Nicolas Goaziou
7898ba2b5d
gnu: Add texlive-pdfarticle.
* gnu/packages/tex.scm (texlive-pdfarticle): New variable.
2023-07-18 18:16:33 +02:00
Nicolas Goaziou
1e87a0cf99
gnu: Add texlive-optex.
* gnu/packages/tex.scm (texlive-optex): New variable.
2023-07-18 18:16:33 +02:00
Nicolas Goaziou
2bd23d2e26
gnu: Add texlive-librarian.
* gnu/packages/tex.scm (texlive-librarian): New variable.
2023-07-18 18:16:32 +02:00
Nicolas Goaziou
44b1d7a1c4
gnu: Add texlive-odsfile.
* gnu/packages/tex.scm (texlive-odsfile): New variable.
2023-07-18 18:16:32 +02:00
Nicolas Goaziou
159cc00669
gnu: Add texlive-nodetree.
* gnu/packages/tex.scm (texlive-nodetree): New variable.
2023-07-18 18:16:32 +02:00