'robots' content='noindex, nofollow'/>
aboutsummaryrefslogtreecommitdiff
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2015, 2016, 2022 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Federico Beffa <beffa@fbengineering.ch>
;;; Copyright © 2016 Thomas Danckaert <post@thomasdanckaert.be>
;;; Copyright © 2016-2023 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017, 2020-2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2018, 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020, 2021 Paul Garlick <pgarlick@tourbillion-technology.com>
;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021-2024 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
;;; Copyright © 2021 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2021 Thiago Jung Bauermann <bauermann@kolabnow.com>
;;; Copyright © 2022 Simon South <simon@simonsouth.net>
;;; Copyright © 2022 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2022 Fabio Natali <me@fabionatali.com>
;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
;;; Copyright © 2023 Thomas Albers Raviola <thomas@thomaslabs.org>
;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
;;; Copyright © 2023 Timothy Sample <samplet@ngyro.com>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages tex)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix gexp)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system copy)
  #:use-module (guix build-system gnu)
  #:use-module (guix build-system perl)
  #:use-module (guix build-system pyproject)
  #:use-module (guix build-system python)
  #:use-module (guix build-system qt)
  #:use-module (guix build-system trivial)
  #:use-module (guix build-system texlive)
  #:use-module (guix utils)
  #:use-module (guix deprecation)
  #:use-module (guix gexp)
  #:use-module (guix git-download)
  #:use-module (guix svn-download)
  #:use-module (gnu packages)
  #:use-module (gnu packages algebra)
  #:use-module (gnu packages aspell)
  #:use-module (gnu packages autotools)
  #:use-module (gnu packages bash)
  #:use-module (gnu packages boost)
  #:use-module (gnu packages compression)
  #:use-module (gnu packages cpp)
  #:use-module (gnu packages digest)
  #:use-module (gnu packages lisp)
  #:use-module (gnu packages fonts)
  #:use-module (gnu packages fontutils)
  #:use-module (gnu packages gd)
  #:use-module (gnu packages ghostscript)
  #:use-module (gnu packages graphviz)
  #:use-module (gnu packages groff)
  #:use-module (gnu packages gtk)
  #:use-module (gnu packages icu4c)
  #:use-module (gnu packages image)
  #:use-module (gnu packages java)
  #:use-module (gnu packages libreoffice)
  #:use-module (gnu packages lua)
  #:use-module (gnu packages maths)
  #:use-module (gnu packages multiprecision)
  #:use-module (gnu packages pdf)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages perl-check)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages plotutils)
  #:use-module (gnu packages python)
  #:use-module (gnu packages python-xyz)
  #:use-module (gnu packages qt)
  #:use-module (gnu packages readline)
  #:use-module (gnu packages ruby)
  #:use-module (gnu packages shells)
  #:use-module (gnu packages tcl)
  #:use-module (gnu packages tls)
  #:use-module (gnu packages base)
  #:use-module (gnu packages gawk)
  #:use-module (gnu packages web)
  #:use-module (gnu packages xml)
  #:use-module (gnu packages xorg)
  #:use-module (gnu packages xdisorg)
  #:use-module (gnu packages texinfo)
  #:use-module (ice-9 ftw)
  #:use-module (ice-9 match)
  #:use-module ((srfi srfi-1) #:hide (zip)))

;;; Commentary:
;;;
;;; Guix provides two different TeX Live systems: one monolithic, the TEXLIVE
;;; package, and the other modular.  This module is about the latter.  It aims
;;; at being as faithful as possible to TeX Live distribution.  Yet, some of
;;; the packages defined here are Guix specific.  The following paragraphs
;;; describe them.
;;;
;;; Source for all TeX Live binaries is located in TEXLIVE-SOURCE, which is
;;; therefore the starting point of any TeX Live update.  This is first used
;;; to build TEXLIVE-LIBKPATHSEA and TEXLIVE-LIBPTEXENC.
;;;
;;; Both TEXLIVE-SOURCE and TEXLIVE-LIBKPATHSEA---which takes care of creating
;;; a search path for GUIX_TEXMF environment variable---are used to compile
;;; TEXLIVE-BIN.  In turn, TEXLIVE-BIN propagates TEXLIVE-SCRIPTS, which
;;; contains core scripts and related files, including "texlive.tldb"
;;; database.  TEXLIVE-BIN is a mandatory native input in the `texlive' build
;;; system.
;;;
;;; Then, the system builds its way towards regular TEXLIVE-LATEX-BIN package,
;;; which is a convenient native input---that can be ignored using
;;; `texlive-latex-bin?' keyword argument---for most TeX Live packages.  For
;;; obvious reasons, packages used to build TEXLIVE-LATEX-BIN must be set it
;;; to `#f'.
;;;
;;; The TEXLIVE-BIN package provides a few Web2C tools, Metafont and some TeX
;;; engines---i.e, TeX, pdfLaTeX, LuaTeX and LuaHBTeX.  The rest of the
;;; binaries are built in separate packages, from TEXLIVE-SOURCE, and possibly
;;; with the help of TEXLIVE-LIBKPATHSEA and TEXLIVE-LIBPTEXENC.  Those
;;; packages inherit their phases from TEXLIVE-BIN.  As a convention, the
;;; package named "texlive-NAME-bin" provides binaries for "texlive-NAME",
;;; TEXLIVE-LATEX-BIN being the obvious exception to this scheme.
;;;
;;; Unlike font map files, TeX formats are not built from a profile hook, as
;;; the process would be too time-consuming, e.g., when invoking "guix shell".
;;; Instead, those are generated when the corresponding package is built.  It
;;; is therefore not possible for the build system to take into consideration
;;; hyphenation rules installed after a given format has been built.  To work
;;; around this, all hyphenations rules are packed into
;;; TEXLIVE-HYPHEN-COMPLETE, and all formats, being built with it, include all
;;; rules right from the start.
;;;
;;; Any other "texlive-NAME" package matches "NAME" TeX Live package, as
;;; defined in the "texlive.tlpdb" database.
;;;
;;; The following piece of art illustrates the bootstrap process of the
;;; modular Guix TeX Live distribution.  All "texlive-" prefixes have been
;;; dropped for brevity.
;;;
;;;
;;;           ,-- libptexenc-----------------------.
;;;           |                                    |
;;;           |                                    |
;;;  source --|                    ,-- all "*-bin" minus latex-bin
;;;    |      |                    |   ___________________________
;;;    |      |                    |               |
;;;    |      `-- libkpathsea --.  |               |
;;;    |                        |--|    (inherit phases from bin)
;;;    `------------------------’  |
;;;                                |
;;;                                |
;;;                                `-- bin -- hyphen-complete, etc. -- latex-bin
;;;                                     |     _____________________
;;;  scripts --------(propagated)-------’               |
;;;                                                     |
;;;                                          (#:texlive-latex-bin? #f)
;;;
;;;
;;; Default font map files are updated in a profile hook (see
;;; `texlive-font-maps' in "profiles.scm").  However, this option is not
;;; available when building documentation for a package.  Consequently, this
;;; module also provides TEXLIVE-UPDMAP.CFG function, which creates a TeX Live
;;; tree with font map files updates.  It should be used exclusively for
;;; package definitions, as a native input.  It is possible to augment that
;;; tree, in particular with additional font packages.
;;;
;;;
;;; Notes about updating TeX Live distribution:
;;; -------------------------------------------
;;;
;;; Thanks to the `texlive' updater, the more tedious part of that task, i.e.,
;;; refreshing version strings, hashes, possibly locations and inputs, is
;;; automated.  Yet, the following additional steps are required, and they can
;;; keep one busy for a while:
;;;
;;; 1. First and foremost, run the updater:
;;;
;;;      ./pre-inst-env guix refresh -t texlive -u
;;;
;;;    This takes care of updating all binaries and all TeX Live packages,
;;;    barring "collections" and "schemes", in a single run.
;;;
;;; 2. Then delete packages absent from the new TeX Live version.  Those are
;;;    usually indicated by a failed update, or, more obviously, by their
;;;    outdated version in the module.
;;;
;;;    Since "collections" and "schemes" are not updated automatically, all
;;;    references to deleted packages must also be cleared from their
;;;    propagated inputs.
;;;
;;; 3. Conversely, import newly integrated packages with, e.g.,
;;;
;;;       ./pre-inst-env guix import texlive -r scheme-full
;;;
;;;    Those must be added to their respective "collections", too.
;;;
;;; 4. Handle inputs issues.  No updater is allowed to create an input field
;;;    in a package if it didn't exist beforehand.  `texlive' updater is no
;;;    exception; it cannot update, e.g., propagated inputs if the relative
;;;    package didn't propagate some inputs already.  Double check updater's
;;;    output, such issues are mentioned, and resolve them manually.
;;;
;;;    Likewise, look for `(list)' artefacts the updater may have scattered
;;;    throughout this module.  They usually appear when all elements have
;;;    been removed from an input field.  In this situation, for aesthetics,
;;;    the whole field can be suppressed.
;;;
;;; 5. Last, but not least, test and fix the new packages, progressively.  For
;;;    example, it is possible to consider the following packages as
;;;    milestones:
;;;
;;;      libkpathsea > bin > latex-bin > scheme-basic > scheme-small
;;;
;;;    Also, for good measure, it is advisable to check some common
;;;    "collections" such as "pictures" and (gulp!) "latexextra".
;;;
;;;    At this point, if all is fine, send the update to the ML and let the CI
;;;    sort the rest out.
;;;
;;;    Don't forget to pat yourself on the back!
;;;
;;;
;;; Code:

(define-syntax-rule (define-deprecated-package old-name name)
  "Define OLD-NAME as a deprecated package alias for NAME."
  (define-deprecated/public old-name name
    (deprecated-package (symbol->string 'old-name) name)))

(define-public texlive-source
  (package
    (name "texlive-source")
    (version "2024.2")
    (source
     (origin
       ;; This could be written as a SVN reference, but with a multi-reference
       ;; the package can benefit from the `texlive' updater.
       (method svn-multi-fetch)
       (uri (svn-multi-reference
             (url (string-append %texlive-repository
                                 "tags/texlive-" version "/Build/source"))
             (revision 70951)
             (locations (list "./"))))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "1qrbdghbi0r43l4yparr3wld98pgb3fmbdwx7yb1hv8cx6wlwl9l"))))
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Source code for all TeX Live programs")
    (description
     "This package fetches the source for all TeX Live programs provided by
the TeX Live repository.  It is meant to be used as a source-only package; it
should not be installed in a profile.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-libkpathsea
  (package
    (name "texlive-libkpathsea")
    (version (package-version texlive-source))
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("kpathsea"))))))
    (build-system gnu-build-system)
    (arguments
     (list
      #:out-of-source? #t
      #:configure-flags
      #~(list "--disable-static"
              "--disable-native-texlive-build"
              "--enable-shared"
              "--with-banner-add=/GNU Guix"
              "--disable-all-pkgs"
              "--enable-kpathsea")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'customize-texmf.cnf
            ;; The default "texmf.cnf" file is provided by this package.
            ;; Every variable of interest is set relatively to the GUIX_TEXMF
            ;; environment variable defined via a search path below.
            ;;
            ;; This phase must happen before the `configure' phase, because
            ;; the value of the TEXMFCNF variable is used at compile time to
            ;; generate "paths.h" file.
            (lambda _
              (substitute* "texk/kpathsea/texmf.cnf"
                (("^TEXMFROOT = .*") "TEXMFROOT = {$GUIX_TEXMF}/..\n")
                (("^TEXMFDIST = .*") "TEXMFDIST = {$GUIX_TEXMF}\n")
                ;; "ls-R" files are to be expected only in the TEXMFDIST
                ;; directories.  However, those are not always present, e.g.,
                ;; when building a package with `texlive-build-system' or when
                ;; generating a profile.  Since both situations need to be
                ;; handled, drop the "!!" prefixes.
                (("^TEXMF = .*")
                 "TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXMFSYSCONFIG,$TEXMFSYSVAR,$TEXMFDIST}\n")
                (("^TEXMFDBS = .*") "TEXMFDBS = {$TEXMFDIST}\n")
                ;; Ignore system-wide cache, which is not writable.  Use local
                ;; one instead, i.e. "$HOME/.texliveYYYY/texmf-var/".
                (("^TEXMFCACHE = .*") "TEXMFCACHE = $TEXMFVAR\n")
                ;; Set TEXMFCNF.  Since earlier values of variables have
                ;; precedence over later ones, insert the desired value first.
                (("^TEXMFCNF =")
                 (string-append
                  "TEXMFCNF = " #$output "/share/texmf-dist/web2c\n"
                  "TEXMFCNF ="))
                ;; Help TeX finding fonts installed on the system.
                (("^OSFONTDIR = .*") "OSFONTDIR = {$XDG_DATA_DIRS}\n")
                ;; Don't truncate lines.
                (("^error_line = .*$") "error_line = 254\n")
                (("^half_error_line = .*$") "half_error_line = 238\n")
                (("^max_print_line = .*$") "max_print_line = 1000\n"))))
          (add-after 'unpack 'patch-directory-traversal
            ;; When ST_NLINK_TRICK is set, kpathsea attempts to avoid work
            ;; when searching files by assuming that a directory with exactly
            ;; two links has no sub-directories.  This assumption does not
            ;; hold in our case, so some directories with symlinked
            ;; sub-directories would not be traversed.
            (lambda _
              (substitute* "texk/kpathsea/config.h"
                (("#define ST_NLINK_TRICK") ""))))
          (replace 'install
            (lambda _
              (with-directory-excursion "texk/kpathsea"
                (invoke "make" "install"))))
          (add-after 'install 'remove-documentation
            ;; Documentation is provided by TEXLIVE-KPATHSEA, in a dedicated
            ;; "doc" output.  Remove duplicates.
            (lambda _
              (with-directory-excursion #$output
                (for-each delete-file-recursively
                          '("share/info" "share/man"))))))))
    (native-search-paths
     (list (search-path-specification
            (variable "GUIX_TEXMF")
            (files '("share/texmf-dist")))))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Path searching library")
    (description
     "Kpathsea is a library whose purpose is to return a filename from a list
of user-specified directories similar to how shells look up executables.")
    (license license:lgpl2.1)))

(define-public texlive-libptexenc
  (package
    (name "texlive-libptexenc")
    (version (package-version texlive-source))
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs with-files?)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append '("." "..") dirs)))
                              (or with-files?
                                  (eq? 'directory (stat:type (stat file))))))))))))
            (delete-other-directories "libs" '() #f)
            (delete-other-directories "utils" '() #f)
            ;; Tests require "texmf.cnf" to be present in the tree.  Also test
            ;; data is spread across multiple directories, which need to be
            ;; preserved.
            (delete-other-directories "texk"
                                      '("bibtex-x" "ptexenc" "kpathsea" "tests"
                                        "web2c")
                                      #f)
            (delete-other-directories "texk/web2c" '("tests") #t)
            (delete-other-directories "texk/bibtex-x" '("tests") #t)
            (with-directory-excursion "texk/kpathsea"
              (for-each
               delete-file-recursively
               (scandir "." (lambda (f)
                              (not (member f '("." ".." "texmf.cnf")))))))))))
    (build-system gnu-build-system)
    (arguments
     (list
      #:out-of-source? #t
      #:configure-flags
      #~(list "--disable-static"
              "--disable-native-texlive-build"
              "--enable-shared"
              "--with-banner-add=/GNU Guix"
              "--disable-all-pkgs")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'install-missing-files
            ;; These two files are not installed (on purpose, see ChangeLog),
            ;; but are required nonetheless if this library is meant to be
            ;; used externally.
            (lambda _
              (with-directory-excursion "texk/ptexenc/ptexenc"
                (let ((inc (string-append #$output "/include/ptexenc")))
                  (for-each (lambda (f) (install-file f inc))
                            '("kanjicnv.h" "unicode-jp.h"))))))
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (when tests?
                (with-directory-excursion "texk/ptexenc"
                  (invoke "make" "check")))))
          (replace 'install
            (lambda* (#:key inputs #:allow-other-keys)
              (with-directory-excursion "texk/ptexenc"
                (invoke "make" "install")))))))
    (native-inputs (list pkg-config texlive-libkpathsea))
    (inputs (list libiconv))
    (home-page "http://tutimura.ath.cx/ptexlive/?ptexenc%2FDetails")
    (synopsis "Library for Japanese pTeX")
    (description
     "This package provides a library for Japanese pTeX and its surrounding tools.")
    (license license:gpl2)))

(define-public texlive-scripts
  (package
    (name "texlive-scripts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (string-append %texlive-repository
                                        "tags/texlive-" version "/Master/"))
                    (revision 70951)
                    (locations
                     (list "texmf-dist/doc/man/man1/fmtutil-sys.1"
                           "texmf-dist/doc/man/man1/fmtutil-sys.man1.pdf"
                           "texmf-dist/doc/man/man1/fmtutil-user.1"
                           "texmf-dist/doc/man/man1/fmtutil-user.man1.pdf"
                           "texmf-dist/doc/man/man1/fmtutil.1"
                           "texmf-dist/doc/man/man1/fmtutil.man1.pdf"
                           "texmf-dist/doc/man/man1/install-tl.1"
                           "texmf-dist/doc/man/man1/install-tl.man1.pdf"
                           "texmf-dist/doc/man/man1/mktexfmt.1"
                           "texmf-dist/doc/man/man1/mktexfmt.man1.pdf"
                           "texmf-dist/doc/man/man1/mktexlsr.1"
                           "texmf-dist/doc/man/man1/mktexlsr.man1.pdf"
                           "texmf-dist/doc/man/man1/mktexmf.1"
                           "texmf-dist/doc/man/man1/mktexmf.man1.pdf"
                           "texmf-dist/doc/man/man1/mktexpk.1"
                           "texmf-dist/doc/man/man1/mktexpk.man1.pdf"
                           "texmf-dist/doc/man/man1/mktextfm.1"
                           "texmf-dist/doc/man/man1/mktextfm.man1.pdf"
                           "texmf-dist/doc/man/man1/texhash.1"
                           "texmf-dist/doc/man/man1/texhash.man1.pdf"
                           "texmf-dist/doc/man/man1/tlmgr.1"
                           "texmf-dist/doc/man/man1/tlmgr.man1.pdf"
                           "texmf-dist/doc/man/man1/updmap-sys.1"
                           "texmf-dist/doc/man/man1/updmap-sys.man1.pdf"
                           "texmf-dist/doc/man/man1/updmap-user.1"
                           "texmf-dist/doc/man/man1/updmap-user.man1.pdf"
                           "texmf-dist/doc/man/man1/updmap.1"
                           "texmf-dist/doc/man/man1/updmap.man1.pdf"
                           "texmf-dist/doc/man/man5/fmtutil.cnf.5"
                           "texmf-dist/doc/man/man5/fmtutil.cnf.man5.pdf"
                           "texmf-dist/doc/man/man5/updmap.cfg.5"
                           "texmf-dist/doc/man/man5/updmap.cfg.man5.pdf"
                           "texmf-dist/dvips/tetex/"
                           "texmf-dist/fonts/enc/dvips/tetex/"
                           "texmf-dist/fonts/map/dvips/tetex/"
                           "texmf-dist/scripts/texlive/fmtutil-sys.sh"
                           "texmf-dist/scripts/texlive/fmtutil-user.sh"
                           "texmf-dist/scripts/texlive/fmtutil.pl"
                           "texmf-dist/scripts/texlive/mktexlsr.pl"
                           "texmf-dist/scripts/texlive/mktexmf"
                           "texmf-dist/scripts/texlive/mktexpk"
                           "texmf-dist/scripts/texlive/mktextfm"
                           "texmf-dist/scripts/texlive/tlmgr.pl"
                           "texmf-dist/scripts/texlive/updmap-sys.sh"
                           "texmf-dist/scripts/texlive/updmap-user.sh"
                           "texmf-dist/scripts/texlive/updmap.pl"
                           "texmf-dist/web2c/fmtutil-hdr.cnf"
                           "texmf-dist/web2c/updmap-hdr.cfg"
                           "texmf-dist/web2c/updmap.cfg"
                           "tlpkg/TeXLive/"
                           "tlpkg/gpg/"
                           "tlpkg/installer/config.guess"
                           "tlpkg/installer/curl/curl-ca-bundle.crt"
                           "tlpkg/texlive.tlpdb"))))
              (file-name (git-file-name name version))
              (sha256
               "0ld5nsns6ms639pig2l5989997n1hg0afs1wh8z9yi7mdhn2ak0p")))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system copy-build-system)
    (arguments
     (list
      #:imported-modules `(,@%copy-build-system-modules
                           (guix build texlive-build-system)
                           (guix build union))
      #:modules '((guix build copy-build-system)
                  ((guix build texlive-build-system) #:prefix tex:)
                  (guix build utils))
      #:install-plan
      #~'(("texmf-dist/dvips/"   "share/texmf-dist/dvips")
          ("texmf-dist/fonts/"   "share/texmf-dist/fonts")
          ("texmf-dist/scripts/" "share/texmf-dist/scripts")
          ("texmf-dist/web2c/"   "share/texmf-dist/web2c")
          ("tlpkg/"              "share/tlpkg"))
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'patch-scripts
            (lambda _
              ;; First patch shell scripts with ".sh" extension.
              (with-directory-excursion "texmf-dist"
                ((assoc-ref tex:%standard-phases 'patch-shell-scripts)))
              ;; Then patch scripts without such extension.
              (let ((dirs (map (compose dirname which)
                               (list "awk" "cat" "grep" "sed"))))
                (substitute*
                    (find-files "texmf-dist/scripts/" "^mktex(mf|pk|tfm)$")
                  (("^version=" m)
                   (format #false "PATH=\"~{~a:~}$PATH\"; export PATH~%~a"
                           dirs m))))
              ;; Make sure that fmtutil can find its Perl modules.
              (substitute* "texmf-dist/scripts/texlive/fmtutil.pl"
                (("\\$TEXMFROOT/")
                 (string-append #$output "/share/")))
              ;; Likewise for updmap.pl.
              (substitute* "texmf-dist/scripts/texlive/updmap.pl"
                (("\\$TEXMFROOT/tlpkg")
                 (string-append #$output "/share/tlpkg")))
              ;; Likewise for the tlmgr.
              (substitute* "texmf-dist/scripts/texlive/tlmgr.pl"
                ((".*\\$::installerdir = \\$Master.*" all)
                 (format #f "  $Master = ~s;~%~a"
                         (string-append #$output "/share")
                         all)))))
          (add-after 'install 'install-doc
            (lambda _
              (let ((doc (string-append #$output:doc "/share/texmf-dist/doc")))
                (mkdir-p doc)
                (copy-recursively "texmf-dist/doc/" doc))))
          (add-after 'install-doc 'link-scripts
            (lambda* (#:key outputs #:allow-other-keys)
              (with-directory-excursion "texmf-dist"
                (apply (assoc-ref tex:%standard-phases 'link-scripts)
                       (list #:outputs outputs
                             #:link-scripts
                             (find-files "scripts"))))
              (with-directory-excursion (string-append #$output "/bin")
                (symlink "fmtutil" "mktexfmt")))))))
    (inputs (list perl))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "TeX Live infrastructure programs")
    (description
     "This package provides core TeX Live scripts such as @code{updmap},
@code{fmtutil}, and @code{tlmgr}.  It is automatically installed alongside
@code{texlive-bin}.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-hyphen-complete
  (package
    (name "texlive-hyphen-complete")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/dehyph-exptl/"
                                     "doc/generic/elhyphen/"
                                     "doc/generic/huhyphen/"
                                     "doc/generic/hyph-utf8/"
                                     "doc/generic/ukrhyph/"
                                     "doc/luatex/hyph-utf8/"
                                     "source/generic/hyph-utf8/"
                                     "source/generic/ruhyphen/"
                                     "source/luatex/hyph-utf8/"
                                     "tex/generic/config/"
                                     "tex/generic/dehyph-exptl/"
                                     "tex/generic/dehyph/"
                                     "tex/generic/hyph-utf8/"
                                     "tex/generic/hyphen/"
                                     "tex/generic/ruhyphen/"
                                     "tex/generic/ukrhyph/"
                                     "tex/luatex/hyph-utf8/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18i12gzlss0myj3c0lb5i0xwpmcffanj1lwyq7pk59ss6mcax2y9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:tex-engine "tex"
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'remove-ruby-byebug-dependency
            ;; Avoid dependency on byebug to reduce package closure
            ;; significantly, see <https://issues.guix.gnu.org/55997>.
            (lambda _
              (substitute* "source/generic/hyph-utf8/lib/tex/hyphen/language.rb"
                (("require 'byebug'") ""))))
          (add-before 'build 'include-docstrip.tex
            (lambda* (#:key inputs native-inputs #:allow-other-keys)
              (let ((docstrip.tex
                     (search-input-file (or native-inputs inputs)
                                        "tex/latex/base/docstrip.tex")))
                (setenv "TEXINPUTS"
                        (string-append (dirname docstrip.tex) ":")))))
          (add-before 'build 'regenerate-converters
            (lambda _
              (let ((root (getcwd)))
                (for-each delete-file
                          (find-files "tex/generic/hyph-utf8/conversions/"))
                (with-directory-excursion "source/generic/hyph-utf8"
                  (substitute* "generate-converters.rb"
                    (("\\$path_root=File.*")
                     (string-append "$path_root=\"" root "\"\n"))
                    ;; Avoid error with newer Ruby.
                    (("#1\\{%") "#1{%%"))
                  (invoke "ruby" "generate-converters.rb")))))
          (add-before 'build 'regenerate-patterns
            (lambda* (#:key inputs #:allow-other-keys)
              (let* ((root (getcwd))
                     (hyph-utf8 (string-append root "/tex/generic/hyph-utf8"))
                     (loaders (string-append hyph-utf8 "/loadhyph"))
                     (patterns (string-append hyph-utf8 "/patterns/txt"))
                     (ptex (string-append hyph-utf8 "/patterns/ptex"))
                     (quote (string-append hyph-utf8 "/patterns/quote")))
                ;; Initial clean-up.  Some files are not generated and need to
                ;; be preserved.
                (for-each delete-file (find-files loaders))
                (let ((preserved (list "hyph-sr-cyrl.hyp.txt"
                                       "hyph-sr-cyrl.pat.txt"
                                       "hyph-de-1901.ec.tex"
                                       "hyph-de-1996.ec.tex"
                                       "hyph-ru.t2a.tex"
                                       "hyph-uk.t2a.tex"
                                       "hyph-zh-latn-pinyin.ec.tex")))
                  (for-each
                   (lambda (directory)
                     (for-each delete-file
                               (find-files directory
                                           (lambda (f _)
                                             (not (member (basename f)
                                                          preserved))))))
                   (list patterns ptex quote)))
                ;; Generate plain patterns.  Write to the local directory.
                ;; Install phase will take care of moving the files to the
                ;; output.
                (with-directory-excursion "source/generic/hyph-utf8/"
                  (substitute* "lib/tex/hyphen/path.rb"
                    (("^([[:blank:]]+)TeXROOT = .*" _ indent)
                     (string-append indent "TeXROOT = \"" root "\"\n")))
                  (substitute* "generate-plain-patterns.rb"
                    ;; Ruby 2 does not need this.
                    (("require 'unicode'") "")
                    (("File\\.join\\(PATH::TXT")
                     (string-append "File.join(\"" patterns "\""))
                    (("File\\.join\\(PATH::QUOTE")
                     (string-append "File.join(\"" quote "\"")))
                  (invoke "ruby" "generate-plain-patterns.rb")
                  ;; Build pattern loaders.
                  (substitute* "generate-pattern-loaders.rb"
                    (("File\\.join\\(PATH::LOADER")
                     (string-append "File.join(\"" loaders "\"")))
                  (invoke "ruby" "generate-pattern-loaders.rb")
                  ;; Build ptex patterns.
                  (substitute* "generate-ptex-patterns.rb"
                    (("File\\.join\\(PATH::PTEX")
                     (string-append "File.join(\"" ptex "\"")))
                  (invoke "ruby" "generate-ptex-patterns.rb"))))))))
    (native-inputs
     (list ruby-2.7
           ruby-hydra-minimal/pinned
           ;; Build phase requires "docstrip.tex" from TEXLIVE-LATEX.
           ;; However, adding this package to native inputs would initiate
           ;; a circular dependency.  To work around this, use TEXLIVE-LATEX
           ;; source, then add "docstrip.tex" to TEXINPUTS before build.
           (package-source texlive-latex)
           texlive-tex))
    (home-page "https://ctan.org/pkg/hyph-utf8")
    (synopsis "Hyphenation patterns expressed in UTF-8")
    (description
     "Modern native UTF-8 engines such as XeTeX and LuaTeX need hyphenation
patterns in UTF-8 format, whereas older systems require hyphenation patterns
in the 8-bit encoding of the font in use (such encodings are codified in the
LaTeX scheme with names like OT1, T2A, TS1, OML, LY1, etc).  The present
package offers a collection of conversions of existing patterns to UTF-8
format, together with converters for use with 8-bit fonts in older systems.

This Guix-specific package provides hyphenation patterns for all languages
supported in TeX Live.  It is a strict super-set of code{hyphen-base} package
and should be preferred to it whenever a package would otherwise depend on
@code{hyph-utf8}.")
    ;; Individual files each have their own license.  Most of these files are
    ;; independent hyphenation patterns.
    (license
     (list license:asl2.0
           license:bsd-3
           license:cc0
           license:expat
           license:gpl2
           license:gpl2+
           license:gpl3+
           license:knuth
           license:lgpl2.1
           license:lgpl2.1+
           license:lgpl3+
           license:lppl
           license:lppl1.0+
           license:lppl1.2+
           license:lppl1.3
           license:lppl1.3+
           license:lppl1.3a+
           license:mpl1.1
           license:public-domain
           license:wtfpl2
           (license:fsf-free
            "/tex/generic/hyph-utf8/patterns/tex/hyph-eu.tex")
           (license:non-copyleft
            "file:///tex/generic/hyph-utf8/patterns/tex/hyph-bg.tex"
            "Ancestral BSD variant")
           (license:non-copyleft
            "file:///tex/generic/hyph-utf8/patterns/tex/hyph-en-us.tex"
            "FSF all permissive license")
           (license:non-copyleft
            "/tex/generic/hyph-utf8/patterns/tex/hyph-no.tex"
            "FSF All permissive license")
           (license:non-copyleft
            "file:///tex/generic/hyph-utf8/patterns/tex/hyph-sa.tex")))))

(define-deprecated-package texlive-dehyph texlive-hyphen-complete)
(define-deprecated-package texlive-generic-dehyph-exptl texlive-hyphen-complete)
(define-deprecated-package texlive-generic-hyph-utf8 texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-afrikaans texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-ancientgreek texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-armenian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-basque texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-belarusian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-bulgarian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-catalan texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-chinese texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-churchslavonic texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-coptic texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-croatian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-czech texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-danish texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-dutch texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-english texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-esperanto texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-estonian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-ethiopic texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-finnish texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-french texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-friulan texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-galician texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-georgian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-german texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-greek texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-hungarian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-icelandic texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-indic texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-indonesian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-interlingua texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-irish texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-italian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-kurmanji texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-latin texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-latvian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-lithuanian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-macedonian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-mongolian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-norwegian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-occitan texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-pali texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-piedmontese texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-polish texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-portuguese texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-romanian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-romansh texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-russian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-sanskrit texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-schoolfinnish texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-serbian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-slovak texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-slovenian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-spanish texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-swedish texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-thai texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-turkish texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-turkmen texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-ukrainian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-uppersorbian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-welsh texlive-hyphen-complete)
(define-deprecated-package texlive-ruhyphen texlive-hyphen-complete)
(define-deprecated-package texlive-ukrhyph texlive-hyphen-complete)

(define-public texlive-bin
  (package
    (name "texlive-bin")
    (version (package-version texlive-source))
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file
                                                   (append '("." "..") dirs)))
                                      (eq? 'directory
                                           (stat:type (stat file)))))))))))
            ;; Delete bundled software, except Lua which cannot easily be used
            ;; as an external dependency, pplib and xpdf which aren't
            ;; supported as system libraries (see m4/kpse-xpdf-flags.m4).
            (delete-other-directories "libs" '("lua53" "luajit" "pplib" "xpdf"))
            ;; Remove all packages: they are installed through their
            ;; respective regular TeX Live package.
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("kpathsea" "tests" "web2c"))
            ;; Tests require the "texmf.cnf" file to still be present in the
            ;; tree.
            (with-directory-excursion "texk/kpathsea"
              (for-each
               delete-file-recursively
               (scandir "." (lambda (f)
                              (not (member f '("." ".." "texmf.cnf")))))))))))
    (build-system gnu-build-system)
    (arguments
     (list
      #:out-of-source? #t
      #:configure-flags
      #~(let ((kpathsea #$(this-package-input "texlive-libkpathsea")))
          (list "--with-banner-add=/GNU Guix"
                "--enable-shared"
                "--disable-native-texlive-build"
                "--disable-static"
                "--disable-linked-scripts"
                "--disable-all-pkgs"
                ;; Help locating external kpathsea.  For some reason
                ;; PKG-CONFIG is unable to find it.
                "--with-system-kpathsea"
                (format #f "--with-kpathsea-includes=~a/include" kpathsea)
                (format #f "--with-kpathsea-libdir=~a/lib" kpathsea)
                "--enable-web2c"
                ;; Disable web2c parts provided in their own packages.  See
                ;; "texk/web2c/ac/web2c.ac" in source.
                "--disable-aleph"
                "--disable-eptex"
                "--disable-euptex"
                "--disable-hitex"
                "--disable-luajithbtex"
                "--disable-luajittex"
                "--disable-mflua"
                "--disable-mfluajit"
                "--disable-mp"
                "--disable-pmp"
                "--disable-ptex"
                "--disable-upmp"
                "--disable-uptex"
                "--disable-web-progs"
                "--disable-xetex"))
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'locate-external-kpathsea
            ;; Despite our best efforts, the configure script below is not
            ;; able to find an external Kpathsea library.  Set include
            ;; directory when appropriate.
            (lambda _
              (when (file-exists? "texk/web2c/configure")
                (substitute* "texk/web2c/configure"
                  (("/usr/include /usr/local/include")
                   (string-append #$(this-package-input "texlive-libkpathsea")
                                  "/include"))))))
          ;; XXX: Fix a failing test where "kpsewhich" location is hard-coded
          ;; in the source tree.
          (add-after 'unpack 'fix-failing-test
            (lambda _
              (substitute* (find-files "texk/" "wcfname\\.test$")
                (("_kpsewhich=.*")
                 (format #f "_kpsewhich=~a/bin/kpsewhich\n"
                         #$(this-package-input "texlive-libkpathsea"))))))
          (add-after 'install 'maybe-clear-symlinks
            ;; XXX: No matter the combination of configure flags, process
            ;; insists on creating those dangling links, resulting in an error
            ;; during `validate-runpath' phase.
            ;;
            ;; Make it specific to TEXLIVE-BIN package by verifying the
            ;; existence of "tex" binary so that packages inheriting from this
            ;; one do not need to remove the phase.
            (lambda _
              (let ((bin (string-append #$output "/bin/")))
                (when (file-exists? (string-append bin "tex"))
                  (with-directory-excursion bin
                    (for-each delete-file
                              '("pbibtex" "pdvitype" "ppltotf" "ptftopl")))))))
          (add-after 'install 'remove-documentation
            ;; Documentation is provided by specific TeX Live packages, in
            ;; a dedicated "doc" output.  Ignore documentation generated when
            ;; building TEXLIVE-BIN and its derivatives.
            (lambda _
              (with-directory-excursion #$output
                (for-each (lambda (d)
                            (when (file-exists? d)
                              (delete-file-recursively d)))
                          '("share/info"
                            "share/man"
                            "share/texmf-dist/doc"))))))))
    (native-inputs (list perl pkg-config))
    (inputs
     (list fontconfig
           harfbuzz
           icu4c
           libpng
           libxt
           zlib
           zziplib))
    (propagated-inputs (list texlive-libkpathsea texlive-scripts))
    (synopsis "TeX Live, a package of the TeX typesetting system")
    (description
     "TeX Live provides a comprehensive TeX document production system.
It includes all the major TeX-related programs, macro packages, and fonts that
are free software, including support for many languages around the world.

This package contains some Web2C binaries and Metafont.  TeX engines, in
addition to TeX itself, are limited to LuaHBTeX, LuaTeX and pdfTeX.  For
a self-sufficient TeX installation, users are advised to add at least a TeX
Live collection or scheme package to their profile instead of this package.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))
    (home-page "https://www.tug.org/texlive/")))

;; This package must be located before `texlive-updmap.cfg' in the module.
(define-public texlive-scheme-basic
  (package
    (name "texlive-scheme-basic")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs (list texlive-collection-basic texlive-collection-latex))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Basic scheme (plain and latex)")
    (description
     "This is the basic TeX Live scheme: it is a small set of files sufficient
to typeset plain TeX or LaTeX documents in PostScript or PDF, using the
Computer Modern fonts.  This scheme corresponds to @code{collection-basic} and
@code{collection-latex}.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-deprecated-package texlive-base texlive-scheme-basic)

(define-public texlive-scheme-bookpub
  (package
    (name "texlive-scheme-bookpub")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-barcodes
           texlive-biber
           texlive-biblatex
           texlive-bookcover
           texlive-caption
           texlive-collection-basic
           texlive-collection-latex
           texlive-enumitem
           texlive-fontspec
           texlive-latexmk
           texlive-lipsum
           texlive-listings
           texlive-markdown
           texlive-memoir
           texlive-microtype
           texlive-minted
           texlive-novel
           texlive-octavo
           texlive-pdfpages
           texlive-pgf
           texlive-qrcode
           texlive-shapes
           texlive-titlesec
           texlive-tocloft
           texlive-tufte-latex
           texlive-willowtreebook))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Book publishing scheme (core LaTeX and add-ons)")
    (description
     "This is a book publishing scheme, containing core (Lua)LaTeX and
selected additional packages likely to be useful for non-technical book
publication.  It does not contain additional fonts (different books need
different fonts, and the packages are large), nor does it contain additional
mathematical or other technical packages.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-scheme-context
  (package
    (name "texlive-scheme-context")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-antt
           texlive-asana-math
           texlive-ccicons
           texlive-collection-context
           texlive-collection-metapost
           texlive-dejavu
           texlive-eulervm
           texlive-gentium-tug
           texlive-iwona
           texlive-kurier
           texlive-ly1
           texlive-manfnt-font
           texlive-marvosym
           texlive-mflogo-font
           texlive-poltawski
           texlive-pxfonts
           texlive-tex-gyre
           texlive-tex-gyre-math
           texlive-txfonts
           texlive-wasy
           texlive-xits))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "ConTeXt scheme")
    (description "This is the TeX Live scheme for installing ConTeXt.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-scheme-full
  (package
    (name "texlive-scheme-full")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-collection-basic
           texlive-collection-bibtexextra
           texlive-collection-binextra
           texlive-collection-context
           texlive-collection-fontsextra
           texlive-collection-fontsrecommended
           texlive-collection-fontutils
           texlive-collection-formatsextra
           texlive-collection-games
           texlive-collection-humanities
           texlive-collection-langarabic
           texlive-collection-langchinese
           texlive-collection-langcjk
           texlive-collection-langcyrillic
           texlive-collection-langczechslovak
           texlive-collection-langenglish
           texlive-collection-langeuropean
           texlive-collection-langfrench
           texlive-collection-langgerman
           texlive-collection-langgreek
           texlive-collection-langitalian
           texlive-collection-langjapanese
           texlive-collection-langkorean
           texlive-collection-langother
           texlive-collection-langpolish
           texlive-collection-langportuguese
           texlive-collection-langspanish
           texlive-collection-latex
           texlive-collection-latexextra
           texlive-collection-latexrecommended
           texlive-collection-luatex
           texlive-collection-mathscience
           texlive-collection-metapost
           texlive-collection-music
           texlive-collection-pictures
           texlive-collection-plaingeneric
           texlive-collection-pstricks
           texlive-collection-publishers
           texlive-collection-xetex))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "TeX Live full scheme (everything)")
    (description
     "This is the full TeX Live scheme: it installs everything available.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-scheme-gust
  (package
    (name "texlive-scheme-gust")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-amslatex-primer
           texlive-amstex
           texlive-antt
           texlive-bibtex8
           texlive-collection-basic
           texlive-collection-context
           texlive-collection-fontsrecommended
           texlive-collection-fontutils
           texlive-collection-langpolish
           texlive-collection-latex
           texlive-collection-latexrecommended
           texlive-collection-metapost
           texlive-collection-plaingeneric
           texlive-collection-xetex
           texlive-comment
           texlive-comprehensive
           texlive-concrete
           texlive-cyklop
           texlive-dvidvi
           texlive-dviljk
           texlive-fontinstallationguide
           texlive-gustprog
           texlive-impatient
           texlive-iwona
           texlive-metafont-beginners
           texlive-metapost-examples
           texlive-poltawski
           texlive-seetexk
           texlive-seminar
           texlive-tds
           texlive-tex4ht
           texlive-texdoc))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "GUST TeX Live scheme")
    (description
     "This is the GUST TeX Live scheme: it is a set of files sufficient to
typeset Polish plain TeX, LaTeX and ConTeXt documents in PostScript or PDF.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-scheme-medium
  (package
    (name "texlive-scheme-medium")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-collection-basic
           texlive-collection-binextra
           texlive-collection-context
           texlive-collection-fontsrecommended
           texlive-collection-fontutils
           texlive-collection-langczechslovak
           texlive-collection-langenglish
           texlive-collection-langeuropean
           texlive-collection-langfrench
           texlive-collection-langgerman
           texlive-collection-langitalian
           texlive-collection-langpolish
           texlive-collection-langportuguese
           texlive-collection-langspanish
           texlive-collection-latex
           texlive-collection-latexrecommended
           texlive-collection-luatex
           texlive-collection-mathscience
           texlive-collection-metapost
           texlive-collection-plaingeneric
           texlive-collection-xetex))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Small scheme with additional packages and languages")
    (description
     "This is the medium TeX Live collection: it contains plain TeX,
LaTeX, many recommended packages, and support for most European languages.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-scheme-minimal
  (package
    (name "texlive-scheme-minimal")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs (list texlive-collection-basic))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Minimal scheme (plain only)")
    (description
     "This is the minimal TeX Live scheme, with support for only plain
TeX. (No LaTeX macros.) LuaTeX is included because Lua scripts are used in TeX
Live infrastructure.  This scheme corresponds exactly to
@code{collection-basic}.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-scheme-small
  (package
    (name "texlive-scheme-small")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-babel-basque
           texlive-babel-czech
           texlive-babel-danish
           texlive-babel-dutch
           texlive-babel-english
           texlive-babel-finnish
           texlive-babel-french
           texlive-babel-german
           texlive-babel-hungarian
           texlive-babel-italian
           texlive-babel-norsk
           texlive-babel-polish
           texlive-babel-portuges
           texlive-babel-spanish
           texlive-babel-swedish
           texlive-collection-basic
           texlive-collection-latex
           texlive-collection-latexrecommended
           texlive-collection-metapost
           texlive-collection-xetex
           texlive-ec
           texlive-eurosym
           texlive-hyphen-complete
           texlive-lm
           texlive-lualibs
           texlive-luaotfload
           texlive-luatexbase
           texlive-revtex
           texlive-synctex
           texlive-times
           texlive-tipa
           texlive-ulem
           texlive-upquote
           texlive-zapfding))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Small scheme (basic, XeTeX, Metapost, and a few languages)")
    (description
     "This is a small TeX Live scheme, corresponding to MacTeX's BasicTeX
variant.  It adds XeTeX, MetaPost, and some recommended packages to
@code{scheme-basic}.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-scheme-tetex
  (package
    (name "texlive-scheme-tetex")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-acronym
           texlive-amslatex-primer
           texlive-bbm
           texlive-bbm-macros
           texlive-bbold
           texlive-bibtex8
           texlive-cmbright
           texlive-collection-basic
           texlive-collection-context
           texlive-collection-fontsrecommended
           texlive-collection-fontutils
           texlive-collection-formatsextra
           texlive-collection-langcjk
           texlive-collection-langcyrillic
           texlive-collection-langczechslovak
           texlive-collection-langenglish
           texlive-collection-langeuropean
           texlive-collection-langfrench
           texlive-collection-langgerman
           texlive-collection-langgreek
           texlive-collection-langitalian
           texlive-collection-langother
           texlive-collection-langpolish
           texlive-collection-langportuguese
           texlive-collection-langspanish
           texlive-collection-latex
           texlive-collection-latexrecommended
           texlive-collection-mathscience
           texlive-collection-metapost
           texlive-collection-pictures
           texlive-collection-plaingeneric
           texlive-collection-pstricks
           texlive-ctie
           texlive-cweb
           texlive-detex
           texlive-dtl
           texlive-dvi2tty
           texlive-dvicopy
           texlive-dvidvi
           texlive-dviljk
           texlive-eplain
           texlive-eulervm
           texlive-gentle
           texlive-lshort-english
           texlive-mltex
           texlive-multirow
           texlive-nomencl
           texlive-patgen
           texlive-pst-pdf
           texlive-rsfs
           texlive-seetexk
           texlive-siunits
           texlive-subfigure
           texlive-supertabular
           texlive-tamethebeast
           texlive-tds
           texlive-tex-refs
           texlive-tie
           texlive-web
           texlive-xpdfopen))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "teTeX scheme (more than medium, but nowhere near full)")
    (description
     "Larger than medium, this TeX Live scheme is nearly equivalent to the
teTeX distribution that was maintained by Thomas Esser.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

;; This package must be located before any package adding it to its native
;; inputs.
(define-public texlive-updmap.cfg
  (lambda* (#:optional (packages '()))
    "Return a 'texlive-updmap.cfg' package which contains the fonts map and
mktex scripts configuration, along with a base set of packages plus additional
PACKAGES.

This function is meant to be used in packages as a native input, to build
documentation in the TeX format."
    (let ((default-packages (list texlive-scheme-basic)))
      (package
        (version (package-version texlive-source))
        (source (package-source texlive-scripts))
        (name "texlive-updmap.cfg")
        (build-system copy-build-system)
        (arguments
         (list
          #:modules '((guix build copy-build-system)
                      (guix build utils)
                      (ice-9 popen)
                      (ice-9 textual-ports))
          #:install-plan
          #~'(("texmf-dist/web2c/updmap.cfg" "share/texmf-config/web2c/")
              ("texmf-dist/web2c/mktex.cnf"  "share/texmf-config/web2c/")
              ("texmf-dist/web2c/map"        "share/texmf-dist/fonts/map"))
          #:phases
          #~(modify-phases %standard-phases
              (add-after 'unpack 'generate-mktex.cnf
                ;; When building a package, mktex programs try to create files
                ;; in TEXMFVAR, which is unavailable.  Force creating those
                ;; files in the working directory instead.
                (lambda _
                  (with-directory-excursion "texmf-dist/web2c"
                    (with-output-to-file "mktex.cnf"
                      (lambda _ (display ": ${MT_DESTROOT=''}"))))))
              (add-before 'install 'regenerate-updmap.cfg
                (lambda _
                  (with-directory-excursion "texmf-dist/web2c"
                    (make-file-writable "updmap.cfg")

                    ;; Disable unavailable map files.
                    (let* ((port (open-pipe* OPEN_WRITE "updmap-sys"
                                             "--syncwithtrees"
                                             "--nohash"
                                             "--cnffile" "updmap.cfg")))
                      (display "Y\n" port)
                      (when (not (zero? (status:exit-val (close-pipe port))))
                        (error "failed to filter updmap.cfg")))

                    ;; Set TEXMFSYSVAR to a sane and writable value; updmap
                    ;; fails if it cannot create its log file.
                    (setenv "TEXMFSYSVAR" (getcwd))

                    ;; Generate maps.
                    (invoke "updmap-sys"
                            "--cnffile"           "updmap.cfg"
                            "--dvipdfmxoutputdir" "map/dvipdfmx/updmap/"
                            "--dvipsoutputdir"    "map/dvips/updmap/"
                            "--pdftexoutputdir"   "map/pdftex/updmap/")))))))
        (native-inputs (list texlive-scripts))
        (propagated-inputs (map (lambda (package)
                                  (list (package-name package) package))
                                (append default-packages packages)))
        (home-page (package-home-page texlive-bin))
        (synopsis "TeX Live fonts map configuration")
        (description "This package contains the fonts map configuration file
generated for the base TeX Live packages as well as, optionally, user-provided
ones.")
        (license (delete-duplicates
                  (fold (lambda (package result)
                          (match (package-license package)
                            ((lst ...)
                             (append lst result))
                            ((? license:license? license)
                             (cons license result))))
                        '()
                        (append default-packages packages))))))))

(define-deprecated-package texlive-tiny texlive-scheme-basic)
(define-deprecated/alias texlive-union texlive-updmap.cfg)
(export texlive-union)

(define-public texlive-12many
  (package
    (name "texlive-12many")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/12many/" "source/latex/12many/"
                                     "tex/latex/12many/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "104vqgl5kqdbwfa5wxj7gpxfrqa3k4ky4806mg6zscd6palf2gi5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/one2many")
    (synopsis "Generalising mathematical index sets")
    (description
     "In the discrete branches of mathematics and the computer sciences, it
will only take some seconds before you're faced with a set like
@samp{@{1,...,m@}}.  Some people write @samp{$1\\ldotp\\ldotp m$}, others
@samp{$\\{j:1\\leq j\\leq m\\}$}, and the journal you're submitting to might
want something else entirely.  The @code{12many} package provides an interface
that makes changing from one to another a one-line change.")
    (license license:lppl)))

(define-public texlive-a2ping
  (package
    (name "texlive-a2ping")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/a2ping.1"
                                     "doc/man/man1/a2ping.man1.pdf"
                                     "doc/support/a2ping/" "scripts/a2ping/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lhmh1rnykmi6i5mklj7fwhndw1xxmwy2xsy8j1px8ishf5czhvq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "a2ping.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/a2ping")
    (synopsis "Advanced PS, PDF, EPS converter")
    (description
     "@command{a2ping} is a Perl script command line utility written for Unix
that converts many raster image and vector graphics formats to EPS or PDF and
other page description formats.  Accepted input file formats are:
PS (PostScript), EPS, PDF, PNG, JPEG, TIFF, PNM, BMP, GIF, LBM, XPM, PCX,
TGA. Accepted output formats are: EPS, PCL5, PDF, PDF1, PBM, PGM, PPM, PS,
markedEPS, markedPS, PNG, XWD, BMP, TIFF, JPEG, GIF, XPM.")
    (license license:gpl3+)))

(define-public texlive-aaai-named
  (package
    (name "texlive-aaai-named")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/aaai-named/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xs2iki0v1mh0kbqjxnv9r24bcfmgj6myfw7h368h8g0s1n8d5v6"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aaai-named")
    (synopsis "BibTeX style for AAAI")
    (description
     "This package provides a BibTeX style derived from the standard master,
presumably for use with the @code{aaai} package.")
    (license license:knuth)))

(define-public texlive-aalok
  (package
    (name "texlive-aalok")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/aalok/" "source/latex/aalok/"
                                     "tex/latex/aalok/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vpvqv60p5v3frdqa5r8k9k4zxk0icma5blw9dr6jhqfzf6lc3jy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aalok")
    (synopsis "LaTeX class file for the Marathi journal @emph{Aalok}")
    (description
     "This package provides the class file for typesetting @emph{Aalok},
a Marathi journal, with LaTeX.")
    (license (list license:gpl3+
                   ;; Aalok (आलोक) copyleft license v1.0+.
                   (license:fsf-free "file://doc/latex/aalok/README.txt")
                   license:fdl1.3+))))

(define-public texlive-aastex
  (package
    (name "texlive-aastex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/aastex/" "doc/latex/aastex/"
                                     "tex/latex/aastex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07kbrv0vhlpdaxqkiwn2q4psldn5p2x5mmpaw70g6pgcbhk7r74h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aastex")
    (synopsis "Macros for manuscript preparation for AAS journals")
    (description
     "The bundle provides a document class for preparing papers for
@acronym{AAS, American Astronomical Society} publications.  Authors who wish
to submit papers to AAS journals are strongly urged to use this class in
preference to any of the alternatives available.")
    (license license:lppl1.3+)))

(define-public texlive-abc
  (package
    (name "texlive-abc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/abc/" "source/latex/abc/"
                                     "tex/latex/abc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vywrv35h65gkxipc7d26k32r04fk61kfkkk9bj3zsmxsw1v3r8d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/abc")
    (synopsis "Support ABC music notation in LaTeX")
    (description
     "The abc package lets you include lines of music written in the ABC Plus
language.  The package will then employ the @code{\\write18} facility to
convert your notation to PostScript (using the established utility
@command{abcm2ps}) and hence to the format needed for inclusion in your
document.")
    (license license:lppl1.2+)))

(define-public texlive-abnt
  (package
    (name "texlive-abnt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/abnt/" "tex/latex/abnt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zjsvp6ng6vf87mmnv18q435h6p3ygs512pk0m05yd8gyrmhmrxr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/abnt")
    (synopsis "Typesetting academic works according to ABNT rules")
    (description
     "The ABNT package provides a clean and practical implementation of the
@acronym{ABNT, Associacao Brasileira de Normas Tecnicas} rules for academic
texts.")
    (license license:lppl1.3c)))

(define-public texlive-abntex2
  (package
    (name "texlive-abntex2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/abntex2/" "bibtex/bst/abntex2/"
                                     "doc/latex/abntex2/" "tex/latex/abntex2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07752n6s2nl4h8j1wg7hjx2wisn505asb1r1i38z7qjbzg7lwqq5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/abntex2")
    (synopsis
     "Typeset technical and scientific Brazilian documents based on ABNT rules")
    (description
     "The bundle provides support for typesetting technical and scientific
Brazilian documents (like academic thesis, articles, reports, research project
and others) based on the @acronym{ABNT, Associacao Brasileira de Normas
Tecnicas} rules.  It replaces the old @code{abntex}.")
    (license license:lppl1.3+)))

(define-public texlive-abntexto
  (package
    (name "texlive-abntexto")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/abntexto/" "tex/latex/abntexto/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p5fkcgcfxqdznigj947dxgpy6vw52ahpqs5j58li0dlgp01k8l9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/abntexto")
    (synopsis "LaTeX class for formatting academic papers in ABNT standards")
    (description
     "This is a LaTeX class created for Brazilian students to facilitate the
use of standards from the @acronym{ABNT, Associacao Brasileira de Normas
Tecnicas} in academic works like TCCs, dissertations, theses.")
    (license license:public-domain)))

(define-public texlive-aboensis
  (package
    (name "texlive-aboensis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/aboensis/"
                                     "fonts/opentype/public/aboensis/"
                                     "tex/latex/aboensis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14333k6bkfywdka3h2a2yd2nw0521q0lwl3x38612j7cb82izyi3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aboensis")
    (synopsis "Late medieval OpenType cursive font")
    (description
     "The package contains the OpenType medieval cursive font Aboensis and
a style file to use it in XeLaTeX documents.  The font is based on @emph{Codex
Aboensis}, that is a law book written in Sweden in the 1430s.  Since medieval
cursive is very difficult to read for modern people, the font is not suitable
for use as an ordinary book font, but is intended for emulating late medieval
manuscripts.

The font contains two sets of initials: lombardic and cursive to go with the
basic alphabet, and there is support for writing two-colored initials and
capitals.  There are also a large number of abbreviation sigla that can be
accessed as ligature substitutions.  The style file contains macros that help
to use the extended features of the font such as initials and two-colored
capitals.  There are also macros to help achieve even pages with consistent
line spacing.")
    (license
     (list license:silofl1.1
           license:lppl1.3c
           license:cc-by4.0
           license:public-domain))))

(define-public texlive-academicons
  (package
    (name "texlive-academicons")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/academicons/"
                                     "fonts/truetype/public/academicons/"
                                     "tex/latex/academicons/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gxgj0ppyrf6pj9qvhk02ybwf68yzlh2110r41iwsai5by2iczhm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/academicons")
    (synopsis "Font containing high quality icons of online academic profiles")
    (description
     "The @code{academicons} package provides access in (La)TeX to 124 high
quality icons of online academic profiles included in the free Academicons
font.  This package requires either the Xe(La)TeX or Lua(La)TeX engine to load
the Academicons font from the system.  The @code{academicons} package provides
the generic @code{\\aiicon} command to access icons, which takes as mandatory
argument the name of the desired icon.  It also provides individual direct
commands for each specific icon.")
    (license (list license:lppl1.3c license:silofl1.1))))

(define-public texlive-accanthis
  (package
    (name "texlive-accanthis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/accanthis/"
                                     "fonts/enc/dvips/accanthis/"
                                     "fonts/map/dvips/accanthis/"
                                     "fonts/opentype/arkandis/accanthis/"
                                     "fonts/tfm/arkandis/accanthis/"
                                     "fonts/type1/arkandis/accanthis/"
                                     "fonts/vf/arkandis/accanthis/"
                                     "tex/latex/accanthis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xpy3bs8wwb6ncw4c8kc5vvddl77rmjwfjq66xw12sc8mgg9grmv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/accanthis")
    (synopsis "Accanthis fonts, with LaTeX support")
    (description
     "Accanthis No.@: 3, designed by Hirwin Harendal, is suitable as an
alternative to fonts such as Garamond, Galliard, Horley old style, Sabon, and
Bembo.  The package provides support files for use with all LaTeX engines.")
    (license (list license:gpl2+ license:lppl))))

(define-public texlive-accents
  (package
    (name "texlive-accents")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/accents/" "tex/latex/accents/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p8g86xbfladz52dwbssmw3w9mbl987d1b740d25miphvj4ia9y9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/accents")
    (synopsis "Multiple mathematical accents")
    (description
     "This package provides a package for multiple accents in mathematics,
with nice features concerning the creation of accents and placement of
scripts.")
    (license license:expat)))

(define-public texlive-accfonts
  (package
    (name "texlive-accfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/accfonts/" "scripts/accfonts/"
                                     "tex/latex/accfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kja24rh0ysljwgkyg9mf47h64ayi2kmb1jb3dmvb42ywvg0w9i7"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "mkt1font" "vpl2ovp" "vpl2vpl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/accfonts")
    (synopsis "Utilities to derive new fonts from existing ones")
    (description
     "The @code{accfonts} package contains three utilities to permit easy
manipulation of fonts, in particular the creation of unusual accented
characters. @command{mkt1font} works on Adobe Type 1 fonts, @command{vpl2vpl}
works on TeX virtual fonts and @command{vpl2ovp} transforms a TeX font to an
Omega one.")
    (license license:gpl3+)))

(define-public texlive-accsupp
  (package
    (name "texlive-accsupp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/accsupp/" "source/latex/accsupp/"
                                     "tex/latex/accsupp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10xdg3gk5madpb131lhc9x2sxzby4rvqycbfzb5kl2zkwr1qw5v7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/accsupp")
    (synopsis "Better accessibility support for PDF files")
    (description
     "Since PDF 1.5 portions of a page can be marked for better accessibility
support.  For example, replacement texts or expansions of abbreviations can be
provided.  This package starts with providing a minimal low-level interface
for programmers; its status is experimental.")
    (license license:lppl1.3c)))

(define-public texlive-abbr
  (package
    (name "texlive-abbr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/abbr/" "tex/generic/abbr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zi5qkgr2nnb3jp5adv42d84w7yav1dw0lgg2vdxfsz03j1bmlsb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/abbr")
    (synopsis "Simple macros supporting abreviations for Plain and LaTeX")
    (description
     "The package provides some simple macros to support abbreviations in
Plain TeX or LaTeX.  It allows writing, e.g., @samp{\\<TEX>} instead of
@samp{\\TeX}, hence frees users from having to escape space after
parameterless macros.")
    (license license:public-domain)))

(define-public texlive-abstyles
  (package
    (name "texlive-abstyles")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/abstyles/"
                                     "bibtex/bst/abstyles/"
                                     "doc/bibtex/abstyles/"
                                     "tex/generic/abstyles/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ij4cp3pydfs4lch0f93gi2q7msafxyqfvv44whw1ppczidicnn2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/abstyles-orig")
    (synopsis "Adaptable BibTeX styles")
    (description
     "This package provides a family of modifications of the standard BibTeX
styles whose behaviour may be changed by changing the user document, without
change to the styles themselves.  The package is largely used nowadays in its
adaptation for working with Babel.")
    (license
     (list license:isc                  ;apreamble
           license:knuth                ;bxabst
           license:public-domain))))    ;docmac

(define-public texlive-acmconf
  (package
    (name "texlive-acmconf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/acmconf/" "source/latex/acmconf/"
                                     "tex/latex/acmconf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j30krvxzps7ka3xzv0qifrzxhxzkr3b3f9gska6najp1dvygs3a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/acmconf")
    (synopsis "Class for ACM conference proceedings")
    (description
     "This class may be used to typeset articles to be published in the
proceedings of @acronym{ACM, Association for Computing Machinery} conferences
and workshops.  The layout produced by the @code{acmconf} class is based on
the ACM's own specification.")
    (license license:lppl)))

(define-public texlive-active-conf
  (package
    (name "texlive-active-conf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/active-conf/"
                                     "source/latex/active-conf/"
                                     "tex/latex/active-conf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12krmwspwkhcwk5q0qf2hldnsk44vd2jfssfdiwm97alicc3cpj1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/active-conf")
    (synopsis "Class for typesetting ACTIVE conference papers")
    (description
     "Active-conf is a class for typesetting papers for the Active conference
on noise and vibration control.  The class is based on @code{article} with
more flexible front-matter, and can be customised for conferences in future
years with a header file.")
    (license license:lppl)))

(define-public texlive-adfathesis
  (package
    (name "texlive-adfathesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/adfathesis/"
                                     "doc/latex/adfathesis/"
                                     "source/latex/adfathesis/"
                                     "tex/latex/adfathesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zi91xc3sbdjvp87zgrb7g3l5hxqig33fchlhg2i8gjya9ij67p6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/adfathesis")
    (synopsis "Australian Defence Force Academy thesis format")
    (description "The package provides the Australian Defence Force Academy
thesis format.  The bundle also includes a BibTeX style file.")
    (license license:public-domain)))

(define-public texlive-adforn
  (package
    (name "texlive-adforn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/adforn/"
                                     "fonts/afm/arkandis/adforn/"
                                     "fonts/enc/dvips/adforn/"
                                     "fonts/map/dvips/adforn/"
                                     "fonts/tfm/arkandis/adforn/"
                                     "fonts/type1/arkandis/adforn/"
                                     "tex/latex/adforn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dpdbqlc7p3mwm1bj1m5sbkwi5qjsvsfzfb0wnq4flvz1gc09245"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/adforn")
    (synopsis "OrnementsADF font with TeX and LaTeX support")
    (description
     "The bundle provides the Ornements ADF font in PostScript Type 1 format
with TeX and LaTeX support files.")
    (license (list license:lppl license:gpl2+))))

(define-public texlive-adfsymbols
  (package
    (name "texlive-adfsymbols")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/adfsymbols/"
                                     "fonts/afm/arkandis/adfsymbols/"
                                     "fonts/enc/dvips/adfsymbols/"
                                     "fonts/map/dvips/adfsymbols/"
                                     "fonts/tfm/arkandis/adfsymbols/"
                                     "fonts/type1/arkandis/adfsymbols/"
                                     "tex/latex/adfsymbols/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "188is31d2zcd8kk339x4wvhhm98gbfkvq6pi25d9mva4vz3w1vf5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/adfsymbols")
    (synopsis "SymbolsADF with TeX and LaTeX support")
    (description
     "The package provides Arkandis foundry's ArrowsADF and BulletsADF fonts
in Adobe Type 1 format, together with TeX and LaTeX support files.")
    (license (list license:lppl license:gpl2))))

(define-public texlive-adhocfilelist
  (package
    (name "texlive-adhocfilelist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/adhocfilelist/"
                                     "scripts/adhocfilelist/"
                                     "source/support/adhocfilelist/"
                                     "tex/support/adhocfilelist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "097yy38571fa2hzp4s3p125xknqgjmkhv1vgi0q9vz83b6175hc4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "adhocfilelist.sh")))
    (home-page "https://ctan.org/pkg/adhocfilelist")
    (synopsis "@code{\\listfiles} entries from the command line")
    (description
     "The package provides a Unix shell script to display a list of LaTeX
@code{\\Provides}...-command contexts on screen.  Provision is made for
controlling the searches that the package does.")
    (license license:lppl)))

(define-public texlive-adtrees
  (package
    (name "texlive-adtrees")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/adtrees/" "tex/latex/adtrees/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ypb609wvw3mvs7bf2mwa7r7v4frxjhfll8d1sqfry3dv3kr13pq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/adtrees")
    (synopsis "Macros for drawing adpositional trees")
    (description
     "This package provides a means to write adpositional trees, a formalism
devoted to representing natural language expressions.")
    (license license:gpl3+)))

(define-public texlive-adobemapping
  (package
    (name "texlive-adobemapping")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/cmap/adobemapping/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yvf74mlmxmnq9m0wvda9xcna8xnn382bbrzizzjm5w7bk8c4g98"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/adobemapping")
    (synopsis "Adobe CMap and PDF mapping files")
    (description
     "The package comprises the collection of CMap and PDF mapping files made
available for distribution by Adobe.")
    (license license:bsd-3)))

(define-public texlive-aesupp
  (package
    (name "texlive-aesupp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/aesupp/"
                                     "fonts/enc/dvips/aesupp/"
                                     "fonts/map/dvips/aesupp/"
                                     "fonts/opentype/public/aesupp/"
                                     "fonts/tfm/public/aesupp/"
                                     "fonts/type1/public/aesupp/"
                                     "source/fonts/aesupp/"
                                     "tex/latex/aesupp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sx5802d1ib72i0ssjpr0c54pgq1s980wg3q1685pjniw68ns1vj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aesupp")
    (synopsis "Special support for the @samp{ae} character")
    (description
     "This package provides special support for the italic @samp{ae} character
in some fonts, due to design flaws (in the author's opinion) regarding this
character.  At the moment only the fonts TeX Gyre Bonum, TeX Gyre Schola, TeX
Gyre Pagella, and the Latin Modern fonts are supported.  The other fonts in
the TeX Gyre bundle do not need this support.")
    (license (list license:gfl1.0 license:gpl3+))))

(define-public texlive-afm2pl
  (package
    (name "texlive-afm2pl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/afm2pl.1"
                                     "doc/man/man1/afm2pl.man1.pdf"
                                     "fonts/enc/dvips/afm2pl/"
                                     "fonts/lig/afm2pl/" "tex/fontinst/afm2pl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19llzzr4kmmyf7l18ngx1rhaqaqvgm3md924m4dxcv7nmrvga2b2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-afm2pl-bin))
    (home-page "https://ctan.org/pkg/afm2pl")
    (synopsis "Convert AFM to TeX property list (@file{.pl}) metrics")
    (description
     "@command{afm2pl} converts a @file{.afm} (Adobe Font Metric) file into
a @file{.pl} (Property List) file, which in its turn can be converted to
a @file{.tfm} (TeX Font Metric) file.  It normally preserves kerns and
ligatures, but also offers additional control over them.")
    (license license:gpl2)))

(define-public texlive-afm2pl-bin
  (package
    (inherit texlive-bin)
    (name "texlive-afm2pl-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("afm2pl"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-afm2pl" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/afm2pl"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/afm2pl"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (synopsis "Binary for @code{texlive-afm2pl}")
    (description
     "This package provides the binary for @code{texlive-afm2pl}.")
    (license (package-license texlive-afm2pl))))

(define-public texlive-afparticle
  (package
    (name "texlive-afparticle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/afparticle/"
                                     "source/latex/afparticle/"
                                     "tex/latex/afparticle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g7dk32la2zlspdsw1pz15bf90jjycblgpg91m24bx70svdv67kv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/afparticle")
    (synopsis "Typesetting articles for @emph{Archives of Forensic Psychology}")
    (description
     "This package provides a class for typesetting articles for the open
access journal @emph{Archives of Forensic Psychology}.")
    (license license:lppl1.3+)))

(define-public texlive-afthesis
  (package
    (name "texlive-afthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/afthesis/" "doc/latex/afthesis/"
                                     "tex/latex/afthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1db9fzs4rf1d86n2gcn0zs255nlwc8i1yl5n9qzsn6xf5as7zz1i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/afthesis")
    (synopsis "Air Force Institute of Technology thesis class")
    (description
     "This is a LaTeX thesis and dissertation class for US Air Force Institute
Of Technology.")
    (license license:public-domain)))

(define-public texlive-aguplus
  (package
    (name "texlive-aguplus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/aguplus/" "doc/latex/aguplus/"
                                     "tex/latex/aguplus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qpi5r4y70cmxinr9y46rw6dfd337l5xhnqfvbkz27nw98j87fi3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aguplus")
    (synopsis "Styles for American Geophysical Union")
    (description
     "This bundle started as an extension to the @acronym{AGU, American
Geophysical Union}'s own published styles, providing extra facilities and
improved usability.  The AGU now publishes satisfactory LaTeX materials of its
own; it is recommended to switch to the official distribution.")
    (license license:lppl)))

(define-public texlive-aiaa
  (package
    (name "texlive-aiaa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/aiaa/" "doc/latex/aiaa/"
                                     "source/latex/aiaa/" "tex/latex/aiaa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l6sp7q53nr1ppxaynfc0q3kf1hg5v22yxyvzjdg028rf1nvbhww"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aiaa")
    (synopsis "Typeset AIAA conference papers")
    (description
     "This package provides a bundle of LaTeX and BibTeX files and sample
documents to aid those producing papers and journal articles according to the
guidelines of the @acronym{AIAA, American Institute of Aeronautics and
Astronautics}.")
    (license license:lppl)))

(define-public texlive-aichej
  (package
    (name "texlive-aichej")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/aichej/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pr92pq3yjsrbax6ah01cqg7131fp2rkqqjnxwcrm4119z2ic0gf"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aichej")
    (synopsis "Bibliography style file for the AIChE Journal")
    (description
     "The style was generated using custom-bib, and implements the style of
the American Institute of Chemical Engineers Journal (or @code{AIChE} Journal
or @code{AIChE} J or @code{AIChEJ).}")
    (license license:lppl)))

(define-public texlive-ajl
  (package
    (name "texlive-ajl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/ajl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xkrvy06lw4ngj94zybs14ysal2pg7g71h864gq9bjw0zwq2yjzs"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ajl")
    (synopsis "BibTeX style for AJL")
    (description
     "This package provides bibliographic style references in style of
Australian Journal of Linguistics.")
    (license license:lppl)))

(define-public texlive-akshar
  (package
    (name "texlive-akshar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/akshar/" "source/latex/akshar/"
                                     "tex/latex/akshar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17xiqalqpw64pgvmpsa41qf6y5fhg720rpbr57kv8ipvvm1fn3n5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/akshar")
    (synopsis "Support for syllables in the Devanagari script")
    (description
     "This LaTeX3 package provides macros and interfaces to work with
Devanagari characters and syllables in a more correct way.")
    (license license:lppl1.3c)))

(define-public texlive-albatross
  (package
    (name "texlive-albatross")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/albatross.1"
                                     "doc/man/man1/albatross.man1.pdf"
                                     "doc/support/albatross/"
                                     "scripts/albatross/"
                                     "source/support/albatross/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gg7abaixfxmwhdj3z84sg1vkglh8a8q2p3ql1hy74f5rpkyf3yg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "albatross.sh")))
    (home-page "https://ctan.org/pkg/albatross")
    (synopsis "Find fonts that contain a given glyph")
    (description
     "This is a command line tool for finding fonts that contain
a given (Unicode) glyph.  It relies on Fontconfig.")
    (license license:bsd-3)))

(define-public texlive-alegreya
  (package
    (name "texlive-alegreya")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/alegreya/"
                                     "fonts/enc/dvips/alegreya/"
                                     "fonts/map/dvips/alegreya/"
                                     "fonts/opentype/huerta/alegreya/"
                                     "fonts/tfm/huerta/alegreya/"
                                     "fonts/type1/huerta/alegreya/"
                                     "fonts/vf/huerta/alegreya/"
                                     "tex/latex/alegreya/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n09fq89nxw3jaglmvjfl7ysflqi0rh6mmp6q0zn57m72sza9rra"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/alegreya")
    (synopsis "Alegreya fonts with LaTeX support")
    (description
     "Alegreya, designed by Juan Pablo del Peral, is a typeface originally
intended for literature.  It conveys a dynamic and varied rhythm which
facilitates the reading of long texts.  Bold, black, small caps and five
number styles are available.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-aleph
  (package
    (name "texlive-aleph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/aleph/base/" "doc/man/man1/aleph.1"
                                     "doc/man/man1/aleph.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "096p2kcfmdvf09xpijwsrhkhmaggvd04jxrs2abag45wsrj75h0s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:create-formats #~(list "aleph")))
    (propagated-inputs
     (list texlive-aleph-bin
           texlive-cm
           texlive-hyphen-base
           texlive-knuth-lib
           texlive-lambda
           texlive-latex
           texlive-plain))
    (home-page "https://ctan.org/pkg/aleph")
    (synopsis "Extended TeX")
    (description
     "This package provides a development of Omega, using most of the
extensions of TeX, itself developed for e-TeX.")
    (license license:gpl3+)))

(define-public texlive-aleph-bin
  (package
    (inherit texlive-bin)
    (name "texlive-aleph-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons* "--disable-web2c"
                 "--enable-aleph"
                 (delete "--disable-aleph"
                         (delete "--enable-web2c" #$flags))))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (invoke "make" "aleph")
                  (install-file "aleph" (string-append #$output "/bin")))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-aleph))
    (synopsis "Binary for @code{texlive-aleph}")
    (description
     "This package provides the binary for @code{texlive-aleph}.")
    (license (package-license texlive-aleph))))

(define-public texlive-alfaslabone
  (package
    (name "texlive-alfaslabone")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/alfaslabone/"
                                     "fonts/enc/dvips/alfaslabone/"
                                     "fonts/map/dvips/alfaslabone/"
                                     "fonts/opentype/public/alfaslabone/"
                                     "fonts/tfm/public/alfaslabone/"
                                     "fonts/type1/public/alfaslabone/"
                                     "fonts/vf/public/alfaslabone/"
                                     "tex/latex/alfaslabone/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wpn96dd1rca52dqwngvyyvnmvak32sjz2id6lcra2jnz5jhk01g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/alfaslabone")
    (synopsis "Alfa Slab One font face with support for LaTeX and pdfLaTeX")
    (description
     "The @code{alfaslabone} package supports the Alfa Slab One font face for
LaTeX.  There is only a Regular font face.  It's useful for book-chapter
headlines.")
    (license license:silofl1.1)))

(define-public texlive-alg
  (package
    (name "texlive-alg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/alg/" "source/latex/alg/"
                                     "tex/latex/alg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jqk9sgw2m4c6hssfc5c3qfxqvpyppvcmy8i5crm7fsmkv0y6wkg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/alg")
    (synopsis "LaTeX environments for typesetting algorithms")
    (description
     "The package defines two environments for typesetting algorithms in LaTeX2e.
The @code{algtab} environment is used to typeset an algorithm with
automatically numbered lines.  The @code{algorithm} environment can be used to
encapsulate the @code{algtab} environment algorithm in a floating body
together with a header, a caption, etc.  @code{\\listofalgorithms} is
defined.")
    (license license:lppl)))

(define-public texlive-algobox
  (package
    (name "texlive-algobox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/algobox/" "source/latex/algobox/"
                                     "tex/latex/algobox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03z5s4v1asfp6rm51wfkmax69rlggfdyb3p1acdy8cx1gwd10f2w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/algobox")
    (synopsis "Typeset Algobox programs")
    (description
     "This LaTeX package can typeset Algobox programs almost exactly as
displayed when editing with Algobox itself, using an input syntax very similar
to the actual Algobox program text.  It gives better results than Algobox's
own LaTeX export which does not look like the editor rendition, produces
standalone documents cumbersome to customize, and has arbitrary and
inconsistent differences between the input syntax and the program text.")
    (license license:gpl3+)))

(define-public texlive-algolrevived
  (package
    (name "texlive-algolrevived")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/algolrevived/"
                                     "fonts/enc/dvips/algolrevived/"
                                     "fonts/map/dvips/algolrevived/"
                                     "fonts/opentype/public/algolrevived/"
                                     "fonts/tfm/public/algolrevived/"
                                     "fonts/type1/public/algolrevived/"
                                     "fonts/vf/public/algolrevived/"
                                     "tex/latex/algolrevived/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0709ijp5jqajwdc9ryhjp4jky0pqynj9wj3rryxk9z6sm63pbq1k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/algolrevived")
    (synopsis "Revival of Frutiger's Algol alphabet")
    (description
     "The package revives Frutiger's Algol alphabet, designed in 1963 for the
code segments in an ALGOL manual.  It provides OpenType and Type 1, regular
and medium weights, upright and slanted variations.  Albeit not monospaced,
this font is good for listings if you don't need code to be aligned with
specific columns.  It also makes a passable but limited text font.")
    (license (list license:silofl1.1 license:lppl1.3c))))

(define-public texlive-algorithm2e
  (package
    (name "texlive-algorithm2e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/algorithm2e/"
                                     "tex/latex/algorithm2e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bf4fc9p84zy2zdl0hiklcbbxn17j3qyl02kyj5ya00lrf6sv93n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/algorithm2e")
    (synopsis "Floating algorithm environment with algorithmic keywords")
    (description
     "Algorithm2e is an environment for writing algorithms.  An algorithm
becomes a floating object (like figure, table, etc.).  The package provides
macros that allow you to create different keywords, and a set of predefined
key words is provided; you can change the typography of the keywords.  The
package allows vertical lines delimiting a block of instructions in an
algorithm, and defines different sorts of algorithms such as @samp{Procedure}
or @samp{Function}; the name of these functions may be reused in the text or
in other algorithms.")
    (license license:lppl)))

(define-public texlive-algorithmicx
  (package
    (name "texlive-algorithmicx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/algorithmicx/"
                                     "tex/latex/algorithmicx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q0qkzc88479y5dqifnpfxhclk48gf1c4shxi1xhgqbvjp2gqgza"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/algorithmicx")
    (synopsis "The algorithmic style you always wanted")
    (description
     "Algorithmicx provides a flexible, yet easy to use, way for inserting
good looking pseudocode or source code in your papers.  It has built in
support for pseudocode, Pascal and C, and offers powerful means to create
definitions for any programming language.  The user can adapt a pseudocode
style to his native language.")
    (license license:lppl)))

(define-public texlive-algorithms
  (package
    (name "texlive-algorithms")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/algorithms/"
                                     "source/latex/algorithms/"
                                     "tex/latex/algorithms/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yw0alkigq77a2ha4hdrvpagqvyy0cv61ddhvf227wlwmvw5ch2w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/algorithms")
    (synopsis "A suite of tools for typesetting algorithms in pseudo-code")
    (description
     "The package consists of two environments: @code{algorithm} and
@code{algorithmic}.  The @code{algorithm} package defines a floating
@code{algorithm} environment designed to work with the @code{algorithmic}
style.  Within an @code{algorithmic} environment a number of commands for
typesetting popular algorithmic constructs are available.")
    (license license:lgpl2.1)))

(define-public texlive-algpseudocodex
  (package
    (name "texlive-algpseudocodex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/algpseudocodex/"
                                     "tex/latex/algpseudocodex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03k0ynz63gqgmm6ylikpaq28cd70qfq3advv8n1nbi8bjgz7xrd4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/algpseudocodex")
    (synopsis "Package for typesetting pseudocode")
    (description
     "This package allows typesetting pseudocode in LaTeX.  It is based on
@code{algpseudocode} from the @code{algorithmicx} package and uses the same
syntax, but adds several new features and improvements.  Notable features
include customizable indent guide lines and the ability to draw boxes around
parts of the code for highlighting differences.  This package also has better
support for long code lines spanning several lines and improved comments.")
    (license license:lppl1.3c)))

(define-public texlive-algxpar
  (package
    (name "texlive-algxpar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/algxpar/"
                                     "tex/latex/algxpar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14hspzx0bd2p2aahfa54jz0f97nz1wbjykjrgb5l8ncmr11hr09h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/algxpar")
    (synopsis "Support multiple lines pseudocode")
    (description
     "This package extends the package @code{algorithmicx} to support long
text which spans over multiple lines.")
    (license license:lppl1.3+)))

(define-public texlive-aligned-overset
  (package
    (name "texlive-aligned-overset")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/aligned-overset/"
                                     "source/latex/aligned-overset/"
                                     "tex/latex/aligned-overset/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1awawz0ypq15r16mx949g7r7pp9a60xhi8hciy1xsa6dvvj47h5x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aligned-overset")
    (synopsis "Fix alignment at @code{\\overset} or @code{\\underset}")
    (description
     "This package allows the base character of @code{\\underset} or
@code{\\overset} to be used as the alignment position for the @code{aligned}
math environments.")
    (license license:lppl1.3c)))

(define-public texlive-alkalami
  (package
    (name "texlive-alkalami")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/alkalami/"
                                     "fonts/truetype/public/alkalami/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0979xhsjar0gwjp9yqp0kaf4gp4z715gr2kdb8dkqg8zzlkqhgzk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/alkalami")
    (synopsis "Font for Arabic-based writing systems in Nigeria and Niger")
    (description
     "This font is designed for Arabic-based writing systems in the Kano
region of Nigeria and Niger.")
    (license license:silofl1.1)))

(define-public texlive-allrunes
  (package
    (name "texlive-allrunes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/allrunes/"
                                     "fonts/map/dvips/allrunes/"
                                     "fonts/source/public/allrunes/"
                                     "fonts/type1/public/allrunes/"
                                     "source/fonts/allrunes/"
                                     "tex/latex/allrunes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14a1qaa30s4dzmg4dlrjd3faa3bcrl2gdpp700i8pghj3pjk7gp4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/allrunes")
    (synopsis "Fonts and LaTeX package for almost all runes")
    (description
     "This large collection of fonts (in Adobe Type 1 format), with the LaTeX
package gives access to almost all runes ever used in Europe.  The bundle
covers not only the main forms but also a lot of varieties.")
    (license license:lppl)))

(define-public texlive-almendra
  (package
    (name "texlive-almendra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/almendra/"
                                     "fonts/enc/dvips/almendra/"
                                     "fonts/map/dvips/almendra/"
                                     "fonts/tfm/public/almendra/"
                                     "fonts/truetype/public/almendra/"
                                     "fonts/type1/public/almendra/"
                                     "fonts/vf/public/almendra/"
                                     "tex/latex/almendra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mkj0cjpry0hdynlpf719haczm1csv0yvla6nhlgp3dq5k28hvp2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/almendra")
    (synopsis "Almendra fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX, and LuaLaTeX support for
the Almendra family of fonts, designed by Ana Sanfelippo.  Almendra is
a typeface design based on calligraphy.  Its style is related to the Chancery
and Gothic hands.  There are regular and bold weights with matching italics.
There is also a regular-weight small-caps.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-almfixed
  (package
    (name "texlive-almfixed")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/almfixed/"
                                     "fonts/opentype/public/almfixed/"
                                     "fonts/truetype/public/almfixed/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ihyldbdz89swj8lm75kb3n3nqqgzkydwlppsndfpib74pvp6s97"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/almfixed")
    (synopsis "Extend TeX-Gyre Latin Modern to full Arabic Unicode support")
    (description
     "Arabic-Latin Modern Fixed is an extension of TeX-Gyre Latin Modern Mono
10 Regular.  Every glyph and OpenType feature of the Latin Modern Mono has
been retained, with minor improvements.  On the other hand, we have changed
the vertical metrics of the font.

The unique feature of Arabic-Latin Modern is its treatment of vowels and
diacritics.  Each vowel and diacritic (ALM Fixed contains a total of 68 such
glyphs) may now be edited horizontally within any text editor or processor.
Editing complex Arabic texts will now be much easier to input and to
proofread.")
    (license license:gfl1.0)))

(define-public texlive-alpha-persian
  (package
    (name "texlive-alpha-persian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/alpha-persian/"
                                     "doc/bibtex/alpha-persian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15ynmgh3fp6s40c200kgr6v0q84bkzp9cv45yg90mr9d7mq72djv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/alpha-persian")
    (synopsis "Persian version of @file{alpha.bst}")
    (description
     "The package provides a Persian version of the alpha BibTeX style and
offers several enhancements.  It is compatible with the @code{hyperref},
@code{url}, @code{natbib}, and @code{cite} packages.")
    (license license:lppl1.3c)))

(define-public texlive-amscdx
  (package
    (name "texlive-amscdx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amscdx/" "source/latex/amscdx/"
                                     "tex/latex/amscdx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13gxllncd46w4kscb7isivw6x82pw9yfamcv3sq6wnx68z03n2q3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amscdx")
    (synopsis "Enhanced commutative diagrams")
    (description
     "The original @code{amscd} package provides a @code{CD} environment that
emulates the commutative diagram capabilities of AMS-TeX version 2.x.  This
means that only simple rectangular diagrams are supported, with no diagonal
arrows or more exotic features.  This enhancement package implements double,
dashed, and bidirectional arrows (left-right and up-down), and color
attributes for arrows and their annotations.  The restriction to rectangular
geometry remains.  This nevertheless allows the drawing of a much broader
class of commutative diagrams and alike.")
    (license license:lppl1.3c)))

(define-public texlive-amscls-doc
  (package
    (name "texlive-amscls-doc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amscls-doc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0allim05cp20zhn480df2mivd3p9gnc069d7hbjlzv660bw7mapx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amscls-doc")
    (synopsis "User documentation for AMS document classes")
    (description
     "This collection comprises a set of four manuals, or Author Handbooks,
each documenting the use of a class of publications based on one of the AMS
document classes @code{amsart}, @code{amsbook}, @code{amsproc} and one hybrid,
as well as a guide to the generation of the four manuals from a coordinated
set of LaTeX source files.  The Handbooks comprise the user documentation for
the pertinent document classes.  As the source for the Handbooks consists of
a large number of files, and the intended output is multiple different
documents, the principles underlying this collection can be used as a model
for similar projects.  The manual @emph{Compiling the AMS Author Handbooks}
provides information about the structure of and interaction between the
various components.")
    (license license:lppl1.3c)))

(define-public texlive-amslatex-primer
  (package
    (name "texlive-amslatex-primer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amslatex-primer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kzayyh1bycmq43s2xn81jf05r18azidbk3gv6igf2vaq37fmxil"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amslatex-primer")
    (synopsis "Getting up and running with AMS-LaTeX")
    (description
     "The document aims to get you up and running with AMS-LaTeX as quickly as
possible.  These instructions are not a substitute for the full documentation,
but they may get you started quickly enough so that you will only need to
refer to the main documentation occasionally.  In addition to AMS-LaTeX out of
the box, the document contains a section describing how to draw commutative
diagrams using Xy-pic and a section describing how to use @code{amsrefs} to
create a bibliography.")
    (license license:lppl)))

(define-public texlive-amsldoc-it
  (package
    (name "texlive-amsldoc-it")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amsldoc-it/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d4hwb7hywy56d6934448lcr6fdx7qchkfzs806dr7wfzfy36yix"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amsldoc-it")
    (synopsis "Italian translation of @code{amsldoc}")
    (description
     "This package provides an Italian translation of @code{amsldoc}.")
    ;; Use same license as `amsmath'.
    (license license:lppl1.3c)))

(define-public texlive-amsldoc-vn
  (package
    (name "texlive-amsldoc-vn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amsldoc-vn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iz0zjn1v7izwbsq0zb6cvpnkbvk0nxw1b24j7dzqwk3m9j43i6x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amslatexdoc-vietnamese")
    (synopsis "Vietnamese translation of AMSLaTeX documentation")
    (description
     "This is a Vietnamese translation of @code{amsldoc}, the users guide to
@code{amsmath}.")
    (license license:lppl1.3+)))

(define-public texlive-amstex
  (package
    (name "texlive-amstex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/amstex/base/" "doc/man/man1/amstex.1"
                                     "doc/man/man1/amstex.man1.pdf"
                                     "tex/amstex/base/" "tex/amstex/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19wmfij3g3kaqnhypczpda7i2c3nhin1h6fjwjb5raimr9g5qyql"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "amstex")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((pdftex (search-input-file inputs "bin/pdftex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink pdftex "amstex"))))))))
    (propagated-inputs
     (list texlive-amsfonts
           texlive-cm
           texlive-hyphen-base
           texlive-knuth-lib
           texlive-pdftex
           texlive-plain
           texlive-tex))
    (home-page "https://ctan.org/pkg/amstex")
    (synopsis "American Mathematical Society plain TeX macros")
    (description
     "AMS-TeX is a TeX macro package based on Plain TeX: it provides many
features for producing more professional-looking maths formulas with less
burden on authors.

This is the final archival distribution of AMS-TeX.  AMS-TeX is no longer
supported by the AMS, nor is it used by the AMS publishing program.  The AMS
does not recommend creating any new documents using AMS-TeX; this distribution
will be left on CTAN to facilitate processing of legacy documents and as
a historical record of a pioneering TeX macro collection that played a key
role in popularizing TeX and revolutionizing mathematics publishing.  AMS-TeX
is the historical basis of @code{amslatex}, which should now be used to
prepare submissions for the AMS.")
    (license license:lppl)))

(define-public texlive-amsthdoc-it
  (package
    (name "texlive-amsthdoc-it")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amsthdoc-it/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ic88gs89m3d9ys40c4k7sgx6wy82c8isg2qkmd4snw5yms6fpaz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amsthdoc-it")
    (synopsis "Italian translation of @code{amsthdoc}")
    (description
     "This package provides an Italian translation of @code{amsthdoc}.")
    ;; Use same license as `amscls'.
    (license license:lppl1.3c)))

(define-public texlive-andika
  (package
    (name "texlive-andika")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/andika/"
                                     "fonts/enc/dvips/andika/"
                                     "fonts/map/dvips/andika/"
                                     "fonts/tfm/SIL/andika/"
                                     "fonts/truetype/SIL/andika/"
                                     "fonts/type1/SIL/andika/"
                                     "fonts/vf/SIL/andika/"
                                     "tex/latex/andika/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gjahg3xwzwrj9cp6l0zmhfqxwzl4m89vvngmpq4ym0f6rg5pb4i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/andika")
    (synopsis "Andika fonts with support for all LaTeX engines")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Andika family of fonts designed by SIL International especially for
literacy use, taking into account the needs of beginning readers.  The focus
is on clear, easy-to-perceive letterforms that will not be readily confused
with one another.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-annee-scolaire
  (package
    (name "texlive-annee-scolaire")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/annee-scolaire/"
                                     "source/latex/annee-scolaire/"
                                     "tex/latex/annee-scolaire/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nwm67p4s822d7r4kr3rbvnm9vlkvzjbikqy8hq2fqsc9bdx34ib"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/annee-scolaire")
    (synopsis "Automatically typeset the academic year (French way)")
    (description
     "This package provides a macro @code{\\anneescolaire} to automatically
write the academic year in the French way, according to the date of
compilation, two other macros to obtain the first and the second calendar year
of the academic year, a macro to be redefined to change the presentation of
the years.")
    (license license:lppl1.3c)))

(define-public texlive-annotate
  (package
    (name "texlive-annotate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/annotate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12q3xk08ycz57vsrcr2glk7y48w8sbc4n8lrqaicd46cxfd4jdqm"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/annotate")
    (synopsis "Bibliography style with annotations")
    (description
     "The style is a derivative of the standard @code{alpha} style, which
processes an entry's annotate field as part of the printed output.")
    ;; There is no explicit license in the "annotate.bst" file, but it
    ;; mentions being derived from "alpha.bst", which is released under
    ;; Knuth's terms.  We therefore use the same license.
    (license license:knuth)))

(define-public texlive-annotate-equations
  (package
    (name "texlive-annotate-equations")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/annotate-equations/"
                                     "tex/latex/annotate-equations/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07cdj0sqx796gsjmrpq8bzkmiqbli24593y4axcmrr8kngfki9f2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/annotate-equations")
    (synopsis "Easily annotate math equations using TikZ")
    (description
     "This package provides commands that make it easy to highlight terms in
equations and add annotation labels using TikZ.  It should work with pdfLaTeX
as well as LuaLaTeX.")
    (license license:expat)))

(define-public texlive-anonymous-acm
  (package
    (name "texlive-anonymous-acm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/anonymous-acm/"
                                     "tex/latex/anonymous-acm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05csmx485sjky64d2hwlb5f7mrkixhw1gn3nl7p7lng9sd8qh25k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/anonymous-acm")
    (synopsis "Typeset anonymous versions for ACM articles")
    (description
     "Academics often need to submit anonymous versions of their papers for
peer-review.  This often requires anonymization which at some future date
needs to be reversed.  However de-anonymizing an anonymized paper can be
laborious and error-prone.  This LaTeX package allows anonymization options to
be specified at the time of writing for authors using @code{acmart.cls}, the
official @acronym{ACM, Association of Computing Machinery} master
@code{article} template.  Anonymization or deanonymization is carried out by
simply changing one option and recompiling.")
    (license license:lppl1.3+)))

(define-public texlive-anonymouspro
  (package
    (name "texlive-anonymouspro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/anonymouspro/"
                                     "fonts/afm/public/anonymouspro/"
                                     "fonts/enc/dvips/anonymouspro/"
                                     "fonts/map/dvips/anonymouspro/"
                                     "fonts/tfm/public/anonymouspro/"
                                     "fonts/truetype/public/anonymouspro/"
                                     "fonts/type1/public/anonymouspro/"
                                     "fonts/vf/public/anonymouspro/"
                                     "source/fonts/anonymouspro/"
                                     "tex/latex/anonymouspro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qfhsbq3ab72k9d023pa70vs1807djijg84l888nwsf3ylfwg7mf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/anonymouspro")
    (synopsis "Use AnonymousPro fonts with LaTeX")
    (description
     "The fonts are a monowidth set, designed for use by coders.  They appear
as a set of four TrueType, or Adobe Type 1 font files, and LaTeX support is
also provided.")
    (license license:lppl1.3c)))

(define-public texlive-antanilipsum
  (package
    (name "texlive-antanilipsum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/antanilipsum/"
                                     "source/latex/antanilipsum/"
                                     "tex/latex/antanilipsum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yighrv3nxb266949m8sqvvl5yp8bhjq478h2abfrs1z0r65gpjr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/antanilipsum")
    (synopsis "Generate sentences in the style of @emph{Amici miei}")
    (description
     "This package is an italian blind text generator that ouputs supercazzole,
mocking nonsense phrases from the movie series @emph{Amici Miei} (``My
friends'', in English), directed by Mario Monicelli.")
    (license license:lppl1.3c)))

(define-public texlive-antiqua
  (package
    (name "texlive-antiqua")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/antiqua/"
                                     "fonts/afm/urw/antiqua/"
                                     "fonts/map/dvips/antiqua/"
                                     "fonts/map/vtex/antiqua/"
                                     "fonts/tfm/urw/antiqua/"
                                     "fonts/type1/urw/antiqua/"
                                     "fonts/vf/urw/antiqua/"
                                     "tex/latex/antiqua/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0agnibj98zx2f2r40gqcfm2f1x06389wd2qrlf6b4pl8pgay42z2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urw-antiqua")
    (synopsis "URW Antiqua condensed font, for use with TeX")
    (description
     "The package contains a copy of the Type 1 font URW Antiqua 2051 Regular
Condensed, with supporting files for use with (La)TeX.")
    (license license:gpl3+)))

(define-public texlive-antomega
  (package
    (name "texlive-antomega")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/omega/antomega/" "omega/ocp/antomega/"
                                     "omega/otp/antomega/"
                                     "source/lambda/antomega/"
                                     "tex/lambda/antomega/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02pfjm9y33mjggn9w2lrk1fxfz3m72xgbvyvrq2iri9yf0hk33pf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-build
            ;; This phase is necessary because the build phase is reluctant to
            ;; generate "hyphen.cfg" since there is another one among the
            ;; inputs already.
            (lambda _
              (substitute* "source/lambda/antomega/antomega.ins"
                (("\\\\generateFile\\{hyphen\\.cfg\\}\\{t\\}")
                 "\\generateFile{hyphen.cfg}{f}")))))))
    (propagated-inputs (list texlive-omega))
    (home-page "https://ctan.org/pkg/antomega")
    (synopsis "Alternative language support for Omega and Lambda")
    (description
     "This package provides a language support package for Omega and Lambda.
This replaces the original Omega package for use with Lambda, and provides
extra facilities (including Babel-like language switching, which eases porting
of LaTeX documents to Lambda).")
    (license license:lppl)))

(define-public texlive-anufinalexam
  (package
    (name "texlive-anufinalexam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/anufinalexam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v1k74vxidgxn5zzqz6v9zga468kcf7hwdrnvw44cd318221y396"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/anufinalexam")
    (synopsis "LaTeX document shell for ANU final exam")
    (description
     "This LaTeX document shell is created for the standard formatting of
final exams in the @acronym{ANU, Australian National University}.")
    (license license:gpl3+)))

(define-public texlive-anyfontsize
  (package
    (name "texlive-anyfontsize")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/anyfontsize/"
                                     "tex/latex/anyfontsize/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wr4brhggmkb1rwzmcc2r5ygzqp6090z0bp3sfbarwvwz903wpdn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/anyfontsize")
    (synopsis "Select any font size in LaTeX")
    (description
     "The package allows the to user select any font size , even those sizes
that are not listed in the @file{.fd} file.  If such a size is requested,
LaTeX will search for and select the nearest listed size; @code{anyfontsize}
will then scale the font to the size actually requested.  Similar
functionality is available for the CM family, for the EC family, or for either
Computer Modern encoding; the present package generalises the facility.")
    (license license:lppl)))

(define-public texlive-aomart
  (package
    (name "texlive-aomart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/aomart/" "doc/latex/aomart/"
                                     "source/latex/aomart/" "tex/latex/aomart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gdi54qi0m96pwwn59r9qjlkw0986z9ra57g1vf11h67zwmrgrv9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aomart")
    (synopsis "Typeset articles for the @emph{Annals of Mathematics}")
    (description
     "The package provides a class for typesetting articles for the
@emph{Annals of Mathematics}.")
    (license license:lppl1.3+)))

(define-public texlive-apa
  (package
    (name "texlive-apa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/apa/" "tex/latex/apa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0slrvw7awva4d2zf7a6qyvh85qhrp8ml4ncdzjfizr5xz4ki6gs2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apa")
    (synopsis "American Psychological Association format")
    (description
     "This package provides a LaTeX class to format text according to the
@emph{American Psychological Association Publication Manual} (5th ed.)
specifications for manuscripts or to the @acronym{APA, Americal Psychological
Association} journal look found in journals like the @emph{Journal of
Experimental Psychology} etc.  In addition, it provides regular LaTeX-like
output with a few enhancements and APA-motivated changes.  Note that the
@code{apa7} class (covering the 7th edition of the manual) and
@code{apa6} (covering the 6th edition of the manual) are now commonly in use.
Apacite, which used to work with this class, has been updated for use with
@code{apa6}.")
    (license license:lppl)))

(define-public texlive-apa6e
  (package
    (name "texlive-apa6e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/apa6e/" "source/latex/apa6e/"
                                     "tex/latex/apa6e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dksjpdywwvyj9mfhaghsrf935p061gsnx4lf5s6pkv5nxn2pbln"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apa6e")
    (synopsis "Format manuscripts to APA 6th edition guidelines")
    (description
     "This is a minimalist class file for formatting manuscripts in the style
described in the @acronym{APA, American Psychological Association} 6th edition
guidelines.  The @code{apa6} class provides better coverage of the
requirements.")
    (license license:bsd-2)))

(define-public texlive-apa7
  (package
    (name "texlive-apa7")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/apa7/" "source/latex/apa7/"
                                     "tex/latex/apa7/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kifjg61s16cn7zvmix2yqdz26spr7f9gsxkiv822qs3y337l6ry"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; ".ins" file writes files to "./config" and "./build".
               ;; Create these directories first to prevent an error.
               (add-before 'build 'prepare-build
                 (lambda _
                   (for-each mkdir-p (list "build/config" "build/samples")))))))
    (home-page "https://ctan.org/pkg/apa7")
    (synopsis "Format documents in APA style (7th edition)")
    (description
     "This class formats documents in @acronym{APA, American Psychological
Association} style (7th Edition).  It provides a full set of facilities in
four different output modes (journal-like appearance, double-spaced
manuscript, double-spaced student manuscript, LaTeX-like document).  The class
can mask author identity for copies for use in masked peer review.  It is
a development of the @code{apa6} class.")
    (license license:lppl1.3c)))

(define-public texlive-apalike-ejor
  (package
    (name "texlive-apalike-ejor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/apalike-ejor/"
                                     "doc/bibtex/apalike-ejor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qq7c81hqi46596zw322w1qd8z341zksi5720f9s75nj1hmjj12g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apalike-ejor")
    (synopsis
     "BibTeX style file for the European Journal of Operational Research")
    (description
     "This package contains a BibTeX style file, @file{apalike-ejor.bst},
made to follow the European Journal of Operational Research reference style
guidelines.")
    (license license:lppl1.3c)))

(define-public texlive-apalike2
  (package
    (name "texlive-apalike2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/apalike2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mn84ahwjg8gvw5lifvcrnch11q79d4bgw3nmhrh4v8slwgip5l7"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apalike2")
    (synopsis "Bibliography style that approaches APA requirements")
    (description
     "This package is an adaptation of @code{apalike}, which is part of the
base BibTeX distribution.")
    (license license:knuth)))

(define-public texlive-apnum
  (package
    (name "texlive-apnum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/apnum/" "tex/generic/apnum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s6nklimzbqc1z1vhgffzp76d1kl2shz1xkf119bck482rvn3x61"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apnum")
    (synopsis "Arbitrary precision numbers implemented by TeX macros")
    (description
     "The basic operations (addition, subtraction, multiplication,
division, power to an integer) are implemented by TeX macros in this package.
Operands may be numbers with arbitrary numbers of digits; scientific notation
is allowed.  The expression scanner is also provided.")
    (license license:public-domain)))

(define-public texlive-apprendre-a-programmer-en-tex
  (package
    (name "texlive-apprendre-a-programmer-en-tex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/apprendre-a-programmer-en-tex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05779lk9v849k712wfjv0mhyzahwpl4n892ydamfdc5yg05bsnyv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apprendre-a-programmer-en-tex")
    (synopsis "@emph{Apprendre à programmer en TeX} book")
    (description
     "This book explains the basic concepts required for programming in TeX
and explains the programming methods, providing many examples.  The package
makes the compileable source code as well as the compiled PDF file accessible
to everyone.")
    (license license:lppl1.2+)))

(define-public texlive-apprends-latex
  (package
    (name "texlive-apprends-latex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/apprends-latex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xzy7svb2xz6bdfg0f1r3whwda118pl7qdwygx1l7h4d1vqm2rcq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apprends-latex")
    (synopsis "@emph{Apprends LaTeX!} book")
    (description
     "@emph{Apprends LaTeX!} (``Learn LaTeX'', in English) is French
documentation for LaTeX beginners.")
    (license license:lppl)))

(define-public texlive-apxproof
  (package
    (name "texlive-apxproof")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/apxproof/"
                                     "source/latex/apxproof/"
                                     "tex/latex/apxproof/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m4nvqxvnsllh25qmms6szcqqpb8wffk1z0v2p507fkgsdjz9jln"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apxproof")
    (synopsis "Proofs in appendix")
    (description
     "The package makes it easier to write articles where proofs and other
material are deferred to the appendix.  The appendix material is written in
the LaTeX code along with the main text which it naturally complements, and it
is automatically deferred.  The package can automatically send proofs to the
appendix, can repeat in the appendix the theorem environments stated in the
main text, can section the appendix automatically based on the sectioning of
the main text, and supports a separate bibliography for the appendix
material.")
    (license license:lppl1.3+)))

(define-public texlive-arabi
  (package
    (name "texlive-arabi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/arabi/"
                                     "fonts/afm/arabi/arabeyes/"
                                     "fonts/enc/dvips/arabi/"
                                     "fonts/map/dvips/arabi/"
                                     "fonts/tfm/arabi/arabeyes/"
                                     "fonts/tfm/arabi/farsiweb/"
                                     "fonts/type1/arabi/arabeyes/"
                                     "fonts/type1/arabi/farsiweb/"
                                     "tex/latex/arabi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19js5lw5r51n97gnf7ggvnvdkaamd0aagx73hnpyfzgzj9nb8pjr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arabi")
    (synopsis "(La)TeX support for Arabic and Farsi, compliant with Babel")
    (description
     "The package provides an Arabic and Farsi script support for TeX without
the need of any external pre-processor, and in a way that is compatible with
Babel.  The bi-directional capability supposes that the user has a TeX engine
that knows the four primitives @code{\\beginR}, @code{\\endR}, @code{\\beginL}
and @code{\\endL}.  That is the case in both the TeX--XeT and e-TeX engines.

Arabi will accept input in several 8-bit encodings, including UTF-8.  Arabi
can make use of a wide variety of Arabic and Farsi fonts, and provides one of
its own.  PDF files generated using Arabi may be searched, and text may be
copied from them and pasted elsewhere.")
    (license license:lppl)))

(define-public texlive-arabi-add
  (package
    (name "texlive-arabi-add")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/arabi-add/"
                                     "tex/latex/arabi-add/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lrr3vr9sv554bvad70rc32x0jgsam2jaflgxw0nid0629rmigdj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arabi-add")
    (synopsis
     "Using @code{hyperref} and @code{bookmark} packages with Arabic and Farsi languages")
    (description
     "This package takes advantage of some of the possibilities that
@code{hyperref} and @code{bookmark} packages offer when you create a table of
contents for Arabic texts created by the @code{arabi} package.")
    (license license:lppl1.3)))

(define-public texlive-arabic-book
  (package
    (name "texlive-arabic-book")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/arabic-book/"
                                     "tex/xelatex/arabic-book/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "070agzwpgdfvjqn2klxw2m1bavy0l9b9pqqikc7il3wx107m4ni1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arabic-book")
    (synopsis "Arabic @code{book} class")
    (description
     "This document class provides both Arabic and English support for TeX and
LaTeX.  Input may be in ASCII transliteration or other encodings
(including UTF-8), and output may be Arabic, Hebrew, or any of several
languages that use the Arabic script, as can be specified by the Polyglossia
package.  The Arabic font is presently available in any Arabic fonts style.
In order to use Amiri font style, the user needs to install the amiri package.
This document class runs with the XeTeX engine.  PDF files generated using
this class can be searched, and text can be copied from them and pasted
elsewhere.")
    (license license:lppl1.3+)))

(define-public texlive-arabluatex
  (package
    (name "texlive-arabluatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/arabluatex/"
                                     "source/lualatex/arabluatex/"
                                     "tex/lualatex/arabluatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g1ai0inai3jniq49avfswyaysxlk1yp6n97l94pq8v3vszx0k8i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arabluatex")
    (synopsis "ArabTeX for LuaLaTeX")
    (description
     "This package provides for LuaLaTeX an ArabTeX-like interface to generate
Arabic writing from an ascii transliteration.  It is particularly well-suited
for complex documents such as technical documents or critical editions where
a lot of left-to-right commands intertwine with Arabic writing.
@code{arabluatex} is able to process any ArabTeX input notation.  Its output
can be set in the same modes of vocalization as ArabTeX, or in different roman
transliterations.  It further allows many typographical refinements.  It will
eventually interact with some other packages yet to come to produce from
@file{.tex} source files, in addition to printed books, TEI XML compliant
critical editions and/or lexicons that can be searched, analyzed and
correlated in various ways.")
    (license (list license:gpl3+ license:cc-by-sa4.0))))

(define-public texlive-arabtex
  (package
    (name "texlive-arabtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/arabtex/"
                                     "fonts/map/dvips/arabtex/"
                                     "fonts/source/public/arabtex/"
                                     "fonts/tfm/public/arabtex/"
                                     "fonts/type1/public/arabtex/"
                                     "tex/latex/arabtex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z1iaj59lawilydp31d3zxbd5jbny4szpdnkbwl6lrnki4c0s51c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/arabtex")
    (synopsis "Macros and fonts for typesetting Arabic")
    (description
     "ArabTeX is a package extending the capabilities of TeX and LaTeX to
generate Arabic and Hebrew text.  Input may be in ASCII transliteration or
other encodings (including UTF-8); output may be Arabic, Hebrew, or any of
several languages that use the Arabic script.  ArabTeX consists of a TeX macro
package and Arabic and Hebrew fonts (provided both in Metafont format and
Adobe Type 1).  The Arabic font is presently only available in the Naskhi
style.  ArabTeX will run with Plain TeX and also with LaTeX.")
    (license license:lppl)))

(define-public texlive-arara
  (package
    (name "texlive-arara")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/arara.1"
                                     "doc/man/man1/arara.man1.pdf"
                                     "doc/support/arara/" "scripts/arara/"
                                     "source/support/arara/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13wqpc586vmk2c3fj2w1ykixrgfkjnwiplb1ra5mia9m53g6s7wz"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "icedtea")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "arara.sh")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'locate-java
            (lambda* (#:key inputs #:allow-other-keys)
              (substitute* "scripts/arara/arara.sh"
                (("java") (search-input-file inputs "/bin/java"))))))))
    (inputs (list icedtea))
    (home-page "https://ctan.org/pkg/arara")
    (synopsis "Automation of LaTeX compilation")
    (description
     "Arara is comparable with other well-known compilation tools like
@command{latexmk} and @command{rubber}.  The key difference is that Arara
determines its actions from metadata in the source code, rather than relying
on indirect resources, such as log file analysis.  Arara requires a Java
virtual machine.")
    (license license:bsd-3)))

(define-public texlive-aramaic-serto
  (package
    (name "texlive-aramaic-serto")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/aramaic-serto/"
                                     "fonts/afm/public/aramaic-serto/"
                                     "fonts/map/dvips/aramaic-serto/"
                                     "fonts/source/public/aramaic-serto/"
                                     "fonts/tfm/public/aramaic-serto/"
                                     "fonts/type1/public/aramaic-serto/"
                                     "tex/latex/aramaic-serto/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "154bicknhsj8nypnyzr999wj34xli0kfpic9vym805abxbpwrmsw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/aramaic-serto")
    (synopsis "Fonts and LaTeX for Syriac written in Serto")
    (description
     "This package enables (La)TeX users to typeset words or phrases (e-TeX
extensions are needed) in Syriac (Aramaic) using the Serto-alphabet.  The
package includes a preprocessor written in Python in order to deal with
right-to-left typesetting for those who do not want to use e-LaTeX and to
choose the correct letter depending on word context (initial/medial/final
form).")
    (license license:lppl1.3+)))

(define-public texlive-archaeologie
  (package
    (name "texlive-archaeologie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/archaeologie/"
                                     "doc/latex/archaeologie/"
                                     "source/latex/archaeologie/"
                                     "tex/latex/archaeologie/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17wffhg034ja4iy6sikyhfh97gvjhk2020bpk3zqmh13wkh2p6cg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/archaeologie")
    (synopsis "Citation-style for the German Archaeological Institute")
    (description
     "This citation-style covers the citation and bibliography rules of the
German Archaeological Institute (DAI).  Various options are available to
change and adjust the outcome according to one's own preferences.")
    (license license:lppl1.3+)))

(define-public texlive-archaic
  (package
    (name "texlive-archaic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/archaic/"
                                     "fonts/afm/public/archaic/"
                                     "fonts/map/dvips/archaic/"
                                     "fonts/source/public/archaic/"
                                     "fonts/tfm/public/archaic/"
                                     "fonts/type1/public/archaic/"
                                     "source/fonts/archaic/"
                                     "tex/latex/archaic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a6lp4w9b76q1w30a58205b1n7jf61n58ps2hdxrhpg9nxqwy1w0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/archaic")
    (synopsis "Collection of archaic fonts")
    (description
     "The collection contains fonts to represent Aramaic, Cypriot,
Etruscan, Greek of the 6th and 4th centuries BCE, Egyptian hieroglyphics,
Linear A, Linear B, Nabatean old Persian, the Phaistos disc, Phoenician,
proto-Semitic, runic, South Arabian Ugaritic and Viking scripts.  The bundle
also includes a small font for use in phonetic transcription of the archaic
writings.")
    (license license:lppl)))

(define-public texlive-archivo
  (package
    (name "texlive-archivo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/archivo/"
                                     "fonts/enc/dvips/archivo/"
                                     "fonts/map/dvips/archivo/"
                                     "fonts/opentype/public/archivo/"
                                     "fonts/tfm/public/archivo/"
                                     "fonts/type1/public/archivo/"
                                     "fonts/vf/public/archivo/"
                                     "tex/latex/archivo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wdvr7ch2ydj41yd0xniwppb5wh1m9w97d839fhmp21lgyhss0jl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/archivo")
    (synopsis "Archivo font face with support for LaTeX and pdfLaTeX")
    (description
     "This package provides the Archivo family of fonts designed by
Omnibus-Type, with support for LaTeX and pdfLaTeX.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-arimo
  (package
    (name "texlive-arimo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/arimo/"
                                     "fonts/enc/dvips/arimo/"
                                     "fonts/map/dvips/arimo/"
                                     "fonts/tfm/google/arimo/"
                                     "fonts/truetype/google/arimo/"
                                     "fonts/type1/google/arimo/"
                                     "fonts/vf/google/arimo/"
                                     "tex/latex/arimo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06m23slsvcp0pm2ds2rxmgj0qrrvy8qknda4yjhvcz9almwb4syx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arimo")
    (synopsis "Arimo sans serif fonts with LaTeX support")
    (description
     "The Arimo family, designed by Steve Matteson, is a refreshing sans serif
design which is metrically compatible with Arial.")
    (license license:asl2.0)))

(define-public texlive-armtex
  (package
    (name "texlive-armtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/armenian/"
                                     "fonts/afm/public/armenian/"
                                     "fonts/map/dvips/armenian/"
                                     "fonts/source/public/armenian/"
                                     "fonts/tfm/public/armenian/"
                                     "fonts/type1/public/armenian/"
                                     "tex/latex/armenian/"
                                     "tex/plain/armenian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00y0kb6kmfa8d2sqsya93b312170p3vgcd0q9b9l96vys45npx8n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/armtex")
    (synopsis "System for writing in Armenian with TeX and LaTeX")
    (description
     "ArmTeX is a system for typesetting Armenian text with Plain TeX or LaTeX(2e).
It may be used with input: from a standard Latin keyboard without any special
encoding or support for Armenian letters, from any keyboard which uses an
encoding that has Armenian letters in the second half (characters 128-255) of
the extended ASCII table (for example ArmSCII8 Armenian standard), or from an
Armenian keyboard using UTF-8 encoding.")
    (license license:lppl)))

(define-public texlive-around-the-bend
  (package
    (name "texlive-around-the-bend")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/around-the-bend/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00nc6kx4ylz9g6vmjlgyjvmy1ls86pjblbcpm5z40wh5xl7l184f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/around-the-bend")
    (synopsis "Typeset exercises in TeX, with answers")
    (description
     "This is a typeset version of the files of the @code{aro-bend}, plus
three extra questions (with their answers) that Michael Downes didn't manage
to get onto CTAN.")
    (license license:lppl)))

(define-public texlive-arphic
  (package
    (name "texlive-arphic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/arphic/"
                                     "dvips/arphic/"
                                     "fonts/afm/arphic/bkaiu/"
                                     "fonts/afm/arphic/bsmiu/"
                                     "fonts/afm/arphic/gbsnu/"
                                     "fonts/afm/arphic/gkaiu/"
                                     "fonts/map/dvips/arphic/"
                                     "fonts/tfm/arphic/bkaimp/"
                                     "fonts/tfm/arphic/bkaiu/"
                                     "fonts/tfm/arphic/bsmilp/"
                                     "fonts/tfm/arphic/bsmiu/"
                                     "fonts/tfm/arphic/gbsnlp/"
                                     "fonts/tfm/arphic/gbsnu/"
                                     "fonts/tfm/arphic/gkaimp/"
                                     "fonts/tfm/arphic/gkaiu/"
                                     "fonts/type1/arphic/bkaiu/"
                                     "fonts/type1/arphic/bsmiu/"
                                     "fonts/type1/arphic/gbsnu/"
                                     "fonts/type1/arphic/gkaiu/"
                                     "fonts/vf/arphic/bkaimp/"
                                     "fonts/vf/arphic/bsmilp/"
                                     "fonts/vf/arphic/gbsnlp/"
                                     "fonts/vf/arphic/gkaimp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sqsgw9xjgd3ss2q7hwnb3vv38sg7l9i8bvsy79m5hyg29wn973x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arphic")
    (synopsis "Arphic (Chinese) font packages")
    (description
     "These are font bundles for the Chinese Arphic fonts which work with the
CJK package.  TrueType versions of these fonts for use with XeLaTeX and
LuaLaTeX are provided by the @code{arphic-ttf} package.")
    ;; The files are generated from `chinese-fonts-truetype', located in
    ;; non-GNU FTP site, using the license below.
    (license license:arphic-1999)))

(define-public texlive-arphic-ttf
  (package
    (name "texlive-arphic-ttf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/arphic-ttf/"
                                     "fonts/truetype/public/arphic-ttf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "141hsz7lhqpbz3k10kl57bg21yslrb562alk1a6q129i56zb7jby"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arphic-ttf")
    (synopsis "TrueType version of Chinese Arphic fonts")
    (description
     "This package provides TrueType versions of the Chinese Arphic fonts for
use with XeLaTeX and LuaLaTeX.  Type1 versions of these fonts, for use with
pdfLaTeX and the @code{cjk} package, are provided by the @code{arphic}
package.")
    (license license:arphic-1999)))

(define-public texlive-arsclassica
  (package
    (name "texlive-arsclassica")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/arsclassica/"
                                     "tex/latex/arsclassica/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cxmp68na3ww565r7ixqbhsy2mp063wwq5p6gwvq5fdrk34ci2a5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arsclassica")
    (synopsis "Different view of the ClassicThesis package")
    (description
     "The package changes some typographical points of the ClassicThesis
style.  It enables the user to reproduce the look of the guide @emph{The art
of writing with LaTeX} (the web page is in Italian).")
    (license license:lppl)))

(define-public texlive-articleingud
  (package
    (name "texlive-articleingud")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/articleingud/"
                                     "source/latex/articleingud/"
                                     "tex/latex/articleingud/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iprjpjr3yav8afmgirrfmdipxb1fmdwa3b0ss5y8l7wspijmmp8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/articleingud")
    (synopsis "LaTeX class for articles published in INGENIERIA review")
    (description
     "The package provides a class for articles published in INGENIERIA
review.  This class is derived from the standard LaTeX class @code{article}.")
    (license license:lppl1.2+)))

(define-public texlive-arvo
  (package
    (name "texlive-arvo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/arvo/"
                                     "fonts/enc/dvips/arvo/"
                                     "fonts/map/dvips/arvo/"
                                     "fonts/tfm/public/arvo/"
                                     "fonts/truetype/public/arvo/"
                                     "fonts/vf/public/arvo/"
                                     "tex/latex/arvo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dc52n81wxz06vfbxzmfdp9j6a217v8yf8bczqlnx5vgzy8wlmi3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arvo")
    (synopsis "Arvo font face with support for LaTeX and pdfLaTeX")
    (description
     "This package provides the Arvo family of fonts, designed by Anton
Koovit, with support for LaTeX and pdfLaTeX.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-asaetr
  (package
    (name "texlive-asaetr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/asaetr/" "doc/latex/asaetr/"
                                     "tex/latex/asaetr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yms34l9nx151vgjrjsa94801q0bgp2khjgk933iy1bpkmm7jf2d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asaetr")
    (synopsis "Transactions of the ASAE")
    (description
     "This package provides a class and BibTeX style for submissions to the
@emph{Transactions of the American Society of Agricultural Engineers}.  Also
included is the Metafont source of a slanted Computer Modern Caps and Small
Caps font.")
    (license license:public-domain)))

(define-public texlive-asapsym
  (package
    (name "texlive-asapsym")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/asapsym/"
                                     "fonts/opentype/omnibus-type/asapsym/"
                                     "source/fonts/asapsym/"
                                     "tex/generic/asapsym/"
                                     "tex/latex/asapsym/"
                                     "tex/plain/asapsym/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "038adcagkzy1bj5y9i5a4i5kbyr3wg7w0lfhbbg9z7glqmivilic"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asapsym")
    (synopsis "Using the ASAP Symbol font with LaTeX and Plain TeX")
    (description
     "The package provides macros (usable with LaTeX or Plain TeX) for using
the ASAP Symbol font, which is also included.  The font is distributed in
OpenType format, and makes extensive use of OpenType features.  Therefore, at
this time, only XeTeX and LuaTeX are supported.")
    (license license:lppl1.3+)))

(define-public texlive-ascelike
  (package
    (name "texlive-ascelike")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/ascelike/" "doc/latex/ascelike/"
                                     "tex/latex/ascelike/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14n4z4agsnnvms51r142q0r5bv9yqp4gchrr7zvakkp2r3232dai"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ascelike")
    (synopsis "Bibliography style for the ASCE")
    (description
     "This package provides a document class and bibliographic style that
prepares documents in the style required by the @acronym{ASCE, American
Society of Civil Engineers}.  These are unofficial files, not sanctioned by
that organization.")
    (license license:lppl)))

(define-public texlive-ascii-chart
  (package
    (name "texlive-ascii-chart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/ascii-chart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m2x7iwz80plq6hbhp9xia6bp8wbi03iifs0pkr7ji3gn8hqgh1r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ascii-chart")
    (synopsis "ASCII wall chart")
    (description
     "This package contains an ASCII wall chart.  The document may be
converted between Plain TeX and LaTeX by a simple editing action.")
    (license license:lppl1.3+)))

(define-public texlive-ascii-font
  (package
    (name "texlive-ascii-font")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ascii-font/"
                                     "fonts/map/dvips/ascii-font/"
                                     "fonts/tfm/public/ascii-font/"
                                     "fonts/type1/public/ascii-font/"
                                     "source/fonts/ascii-font/"
                                     "tex/latex/ascii-font/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cbzvbszxyv552z1274m3bf5k40xr8w12da17db0w2w02y47nyq5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ascii-font")
    (synopsis "Use the ASCII font in LaTeX")
    (description
     "The package provides glyph and font access commands so that LaTeX users
can use the ASCII glyphs in their documents.  The ASCII font is encoded
according to the IBM PC Code Page 437 C0 Graphics.")
    (license license:lppl)))

(define-public texlive-ascmac
  (package
    (name "texlive-ascmac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ascmac/"
                                     "fonts/map/dvips/ascmac/"
                                     "fonts/source/public/ascmac/"
                                     "fonts/tfm/public/ascmac/"
                                     "fonts/type1/public/ascmac/"
                                     "source/latex/ascmac/"
                                     "tex/latex/ascmac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d388nqyjipqsgd0pd4zrskaf3wddacg6rrmy3q1n8pvmna4gmz1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/ascmac")
    (synopsis "Boxes and picture macros with Japanese vertical writing support")
    (description
     "The bundle provides boxes and picture macros with Japanese vertical
writing support.  It uses only native picture macros and fonts for drawing
boxes and is thus driver independent.")
    (license license:bsd-3)))

(define-public texlive-asmeconf
  (package
    (name "texlive-asmeconf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/asmeconf/" "doc/latex/asmeconf/"
                                     "tex/latex/asmeconf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sgpm9avf7s81xzq80ny0d0i2zvhgjz3iqnbx5xpwkrk82gi3qsv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asmeconf")
    (synopsis "LaTeX template for ASME conference papers")
    (description
     "The @code{asmeconf} class provides a LaTeX template for ASME conference
papers, following ASME's guidelines for margins, fonts, headings, captions,
and reference formats as of 2022.  This LaTeX template is intended to be used
with the @file{asmeconf.bst} BibTeX style, for reference formatting, which is
part of this distribution.  The code is compatible with pdfLaTeX or LuaLaTeX.

This LaTeX template is not a publication of ASME.")
    (license license:expat)))

(define-public texlive-asmejour
  (package
    (name "texlive-asmejour")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/asmejour/" "doc/latex/asmejour/"
                                     "tex/latex/asmejour/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13znp2mmizab1993f00f2pq3wg104z5vndnqgszbnia2yxr9g18f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asmejour")
    (synopsis "Template for ASME journal papers")
    (description
     "The @code{asmejour} class provides a template to format preprints
submitted to ASME journals.  The layout and reference formats closely follow
the style that is currently being used for published papers.  The class is
intended to be used with the @file{asmejour.bst} BibTeX style, which is part
of this distribution. The class is compatible with pdfLaTeX or LuaLaTeX.

This package is not a publication of ASME.")
    (license license:expat)))

(define-public texlive-aspectratio
  (package
    (name "texlive-aspectratio")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/aspectratio/"
                                     "fonts/map/dvips/aspectratio/"
                                     "fonts/source/public/aspectratio/"
                                     "fonts/tfm/public/aspectratio/"
                                     "fonts/type1/public/aspectratio/"
                                     "tex/latex/aspectratio/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vm1aj4mm2rn2p032nakg16gmyzv43149h2v1l18dw72sayqqg2s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/aspectratio")
    (synopsis "Capital @samp{A} and capital @samp{R} ligature for Aspect Ratio")
    (description
     "The package provides fonts (both as Adobe Type 1 format, and as Metafont
source) for the AR symbol (for Aspect Ratio) used by aeronautical scientists
and engineers.  Note that the package supersedes the package @code{ar}.")
    (license license:lppl)))

(define-public texlive-asternote
  (package
    (name "texlive-asternote")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/asternote/"
                                     "tex/latex/asternote/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a53pmw237lm1yjx55qwq3fq6jq34vlw03w62vrq3ksw9346dg5r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asternote")
    (synopsis "Annotation symbols enclosed in square brackets with an asterisk")
    (description
     "This LaTeX package can output annotation symbols enclosed in square
brackets and marked with an asterisk.")
    (license license:expat)))

(define-public texlive-astro
  (package
    (name "texlive-astro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/astro/"
                                     "fonts/source/public/astro/"
                                     "fonts/tfm/public/astro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pdmn93wiarwplha6r59ap9nvhdm9ir4aa4az93w3b189g316g2c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/astro")
    (synopsis "Astronomical (planetary) symbols")
    (description
     "Astrosym is a font containing astronomical symbols, including those used
for the planets, four planetoids, the phases of the moon, the signs of the
zodiac, and some additional symbols.  The font is distributed as Metafont
source.")
    (license license:lppl)))

(define-public texlive-asymptote-by-example-zh-cn
  (package
    (name "texlive-asymptote-by-example-zh-cn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/asymptote-by-example-zh-cn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0854pbh3rm21rzzbhai7xijzw26qawffj4wd3mrwbva1406106ff"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asymptote-by-example-zh-cn")
    (synopsis "Asymptote by example")
    (description "This is an Asymptote tutorial written in Simplified
Chinese.")
    (license license:gpl3+)))

(define-public texlive-asymptote-faq-zh-cn
  (package
    (name "texlive-asymptote-faq-zh-cn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/asymptote-faq-zh-cn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z09f5as68dz66dlj370xfx593bv50ihxx10zxmm9lk27ymr52hb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asymptote-faq-zh-cn")
    (synopsis "Asymptote FAQ (Chinese translation)")
    (description "This is a Chinese translation of the Asymptote FAQ.")
    (license license:lppl)))

(define-public texlive-asymptote-manual-zh-cn
  (package
    (name "texlive-asymptote-manual-zh-cn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/asymptote-manual-zh-cn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "047l3bh8vvk185wkazyfw4dm6893xpa2ksn5vfc57r5rv4x16wmb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asymptote-manual-zh-cn")
    (synopsis "Chinese translation of the Asymptote manual")
    (description
     "This is an (incomplete, simplified) Chinese translation of the Asymptote
manual.")
    (license license:lgpl3+)))

(define-public texlive-atkinson
  (package
    (name "texlive-atkinson")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/atkinson/"
                                     "fonts/enc/dvips/atkinson/"
                                     "fonts/map/dvips/atkinson/"
                                     "fonts/opentype/public/atkinson/"
                                     "fonts/tfm/public/atkinson/"
                                     "fonts/type1/public/atkinson/"
                                     "fonts/vf/public/atkinson/"
                                     "tex/latex/atkinson/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00wg21v7jiaw3qajdxp2jih5xjpv7h8d0n1d6zjnzkxzk0p8zcj0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/atkinson")
    (synopsis "Support for the Atkinson Hyperlegible family of fonts")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Atkinson Hyperlegible family of fonts.  What makes it different from
traditional typography design is that it focuses on letterform distinction to
increase character recognition, ultimately improving readability.")
    (license
     (list license:lppl
           (license:fsdg-compatible
            "file://doc/Atkinson-Hyperlegible-Font-License-2020-1104.pdf")))))

(define-public texlive-aucklandthesis
  (package
    (name "texlive-aucklandthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/aucklandthesis/"
                                     "tex/latex/aucklandthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bdm6crn17a0rrszx28r6bn8v9w6z4rwfz2r8avd5fc3byl5dix8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aucklandthesis")
    (synopsis "Memoir-based class for formatting University of Auckland theses")
    (description
     "This package provides a @code{memoir}-based class for formatting
University of Auckland masters and doctors thesis dissertations in any
discipline.  The title page does not handle short dissertations for
diplomas.")
    (license license:lppl1.3+)))

(define-public texlive-augie
  (package
    (name "texlive-augie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/augie/"
                                     "fonts/afm/public/augie/"
                                     "fonts/map/dvips/augie/"
                                     "fonts/tfm/public/augie/"
                                     "fonts/type1/public/augie/"
                                     "fonts/vf/public/augie/"
                                     "tex/latex/augie/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fvl04lcvi4vsx547gx349dbld4hf7k2j08adqlnszs23p95yj3f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/augie")
    (synopsis "Calligraphic font for typesetting handwriting")
    (description
     "This package provides a calligraphic font for simulating American-style
informal handwriting.  The font is distributed in Adobe Type 1 format.")
    (license license:lppl)))

(define-public texlive-auncial-new
  (package
    (name "texlive-auncial-new")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/auncial-new/"
                                     "fonts/afm/public/auncial-new/"
                                     "fonts/map/dvips/auncial-new/"
                                     "fonts/tfm/public/auncial-new/"
                                     "fonts/type1/public/auncial-new/"
                                     "source/fonts/auncial-new/"
                                     "tex/latex/auncial-new/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1644ank81l1qlijmld88k1qq3qk4x6an0qvyqz1da2dgwdhjap00"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/auncial-new")
    (synopsis "Artificial Uncial font and LaTeX support macros")
    (description
     "The @code{auncial-new} bundle provides packages and fonts for a script
based on the Artificial Uncial manuscript book-hand used between the 6th &
10th century AD.  The script consists of minuscules and digits, with some
appropriate period punctuation marks.  Both normal and bold versions are
provided, and the font is distributed in Adobe Type 1 format.")
    (license license:lppl)))

(define-public texlive-aurical
  (package
    (name "texlive-aurical")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/aurical/"
                                     "fonts/afm/public/aurical/"
                                     "fonts/map/dvips/aurical/"
                                     "fonts/source/public/aurical/"
                                     "fonts/tfm/public/aurical/"
                                     "fonts/type1/public/aurical/"
                                     "tex/latex/aurical/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jaqr4gdywnjn7hclinjyydndxsa1f2j7382ygl0jnj35kxz0pkr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aurical")
    (synopsis "Calligraphic fonts for use with LaTeX in T1 encoding")
    (description
     "The package that implements a set (AuriocusKalligraphicus) of three
calligraphic fonts derived from the author's handwriting in Adobe Type
1 Format, T1 encoding for use with LaTeX: Auriocus Kalligraphicus; Lukas
Svatba; and Jana Skrivana.  Each font features old style digits
and (machine-generated) boldface and slanted versions.  A variant of Lukas
Svatba offers a long @samp{s}.")
    (license license:lppl)))

(define-public texlive-authordate
  (package
    (name "texlive-authordate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/authordate/"
                                     "doc/bibtex/authordate/"
                                     "tex/latex/authordate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d3cd63b80vfd8vzbpn6dnhy47fpq5rxm95i52id2j6606gi1skf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/authordate")
    (synopsis "Author/date style citation styles")
    (description
     "The bundle provides four BibTeX styles (@code{authordate1}, ...,
@code{authordate4}), and a LaTeX package, for citation in author/date style.
The BibTeX styles differ in how they format names and titles; one of them is
necessary for the LaTeX package to work.")
    (license license:knuth)))

(define-public texlive-auto-pst-pdf
  (package
    (name "texlive-auto-pst-pdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/auto-pst-pdf/"
                                     "source/latex/auto-pst-pdf/"
                                     "tex/latex/auto-pst-pdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lpjwqd0rhdzz3kywl54pjlpj1qsj7kflj0336vj2zb20rxl0hqp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-ifplatform texlive-iftex texlive-xkeyval))
    (home-page "https://ctan.org/pkg/auto-pst-pdf")
    (synopsis "Wrapper for @code{pst-pdf} (with some PSfrag features)")
    (description
     "The package uses @samp{--shell-escape} to execute @code{pst-pdf} when necessary.
Wrappers are provided for various psfrag-related features so that Matlab
figures via @code{laprint}, Mathematica figures via MathPSfrag, and regular
PSfrag figures can all be input consistently and easily.")
    (license license:lppl1.3c)))

(define-public texlive-autoaligne
  (package
    (name "texlive-autoaligne")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/autoaligne/"
                                     "tex/generic/autoaligne/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "138d030zgzpdwqxx55gjw35y0c3v794fpa3c6znc9kv1vj8cs9d3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/autoaligne")
    (synopsis "Align terms and members in math expressions")
    (description
     "This package allows to align terms and members between lines containing
math expressions.")
    (license license:lppl1.3c)))

(define-public texlive-autobreak
  (package
    (name "texlive-autobreak")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/autobreak/"
                                     "source/latex/autobreak/"
                                     "tex/latex/autobreak/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xw4m1wyv17xi6yjfcamb1gjdwzbhrjjdpyc8fydq1qbki1yvv1k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/autobreak")
    (synopsis "Simple line breaking of long formulae")
    (description
     "This package implements a simple mechanism of line or page breaking
within the @code{align} environment of the @code{amsmath} package; new line
characters are considered as possible candidates for the breaks and the
package tries to put breaks at adequate places.  It is suitable for
computer-generated long formulae with many terms.")
    (license license:lppl1.3+)))

(define-public texlive-autosp
  (package
    (name "texlive-autosp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/autosp/"
                                     "doc/man/man1/autosp.1"
                                     "doc/man/man1/autosp.man1.pdf"
                                     "doc/man/man1/tex2aspc.1"
                                     "doc/man/man1/tex2aspc.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n9vpb0cmi0b9gbi3f70zafvhj9znvfhd9614xcn49jwss2bwdk9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-autosp-bin))
    (home-page "https://ctan.org/pkg/autosp")
    (synopsis
     "Preprocessor generating note-spacing commands for MusiXTeX scores")
    (description
     "This program simplifies the creation of MusiXTeX scores by converting
(non-standard) commands of the form @code{\\anotes ... \\en} into one or more
conventional note-spacing commands, as determined by the note values
themselves, with @code{\\sk} spacing commands inserted as necessary.  The
coding for an entire measure can be entered one part at a time, without
concern for note-spacing changes within the part or spacing requirements of
other parts.")
    (license license:gpl2+)))

(define-public texlive-autosp-bin
  (package
    (inherit texlive-bin)
    (name "texlive-autosp-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("autosp"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-autosp" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/autosp"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda* (#:key inputs native-inputs #:allow-other-keys)
                (with-directory-excursion "utils/autosp"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-autosp))
    (synopsis "Binaries for @code{texlive-autosp}")
    (description
     "This package provides binaries for @code{texlive-autosp}.")
    (license (package-license texlive-autosp))))

(define-public texlive-axodraw2
  (package
    (name "texlive-axodraw2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/axodraw2/"
                                     "doc/man/man1/axohelp.1"
                                     "doc/man/man1/axohelp.man1.pdf"
                                     "source/latex/axodraw2/"
                                     "tex/latex/axodraw2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x1cskdm3kmf08gdrvgasd1b3l0dri9mdmk13880dz4g2rdgbvi2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-axodraw2-bin))
    (home-page "https://ctan.org/pkg/axodraw2")
    (synopsis "Feynman diagrams in a LaTeX document")
    (description
     "This package defines macros for drawing Feynman graphs in LaTeX documents.
It is an important update of the @code{axodraw} package, but since it is not
completely backwards compatible, we have given the style file a changed name.

Many new features have been added, with new types of line, and much more
flexibility in their properties.  In addition, it is now possible to use
@code{axodraw2} with pdfLaTeX, as well as with the LaTeX-dvips method.
However with pdfLaTeX (and also LuaLaTeX and XeLaTeX), an external program,
@command{axohelp}, is used to perform the geometrical calculations needed for
the pdf code inserted in the output file.  The processing involves a run of
@command{pdflatex}, a run of @command{axohelp}, and then another run of
@command{pdflatex}.")
    (license license:gpl3+)))

(define-public texlive-axodraw2-bin
  (package
    (inherit texlive-bin)
    (name "texlive-axodraw2-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("axodraw2"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-axodraw2" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/axodraw2"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/axodraw2"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-axodraw2))
    (synopsis "Binary for @code{texlive-axodraw2}")
    (description
     "This package provides the binary for @code{texlive-axodraw2}.")
    (license (package-license texlive-axodraw2))))

(define-public texlive-b1encoding
  (package
    (name "texlive-b1encoding")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/b1encoding/"
                                     "fonts/enc/dvips/b1encoding/"
                                     "source/latex/b1encoding/"
                                     "tex/latex/b1encoding/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lzsa0k5rr0n50d31dh4ghww329qjpg39w843zmh05z0jir6rg79"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/b1encoding")
    (synopsis "LaTeX encoding tools for Bookhands fonts")
    (description
     "The package characterises and defines the author's B1 encoding for use
with LaTeX when typesetting things using his Bookhands fonts.")
    (license license:lppl1.3+)))

(define-public texlive-backnaur
  (package
    (name "texlive-backnaur")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/backnaur/"
                                     "source/latex/backnaur/"
                                     "tex/latex/backnaur/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "168ng265vdl74l9c2jmp34ba6ir5i6c1jb7jpyzc31g9snqmyr09"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/backnaur")
    (synopsis "Typeset Backus Naur Form definitions")
    (description
     "The package typesets Backus-Naur Form (BNF) definitions.  It prints
formatted lists of productions, with numbers if required.  It can also print
in-line BNF expressions using math mode.")
    (license license:lppl1.3c)))

(define-public texlive-baekmuk
  (package
    (name "texlive-baekmuk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/baekmuk/"
                                     "fonts/truetype/public/baekmuk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nc6sfjbimh1g8zhcl58ag6kqskhwd3h0m68y7k2v3v5i9n5g5yr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/baekmuk")
    (synopsis "Baekmuk Korean TrueType fonts")
    (description
     "This bundle consists of four Korean fonts: @file{batang.ttf} (serif),
@file{dotum.ttf} (sans-serif), @file{gulim.ttf} (sans-serif rounded) and
@file{hline.ttf} (headline).")
    (license license:expat)))

(define-public texlive-bagpipe
  (package
    (name "texlive-bagpipe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/bagpipe/"
                                     "tex/generic/bagpipe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zybnikkj00hmlzfaaljcq1ml5vi6qfhl1hfrjq9vjc409vzzvka"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bagpipe")
    (synopsis "Support for typesetting bagpipe music")
    (description
     "Typesetting bagpipe music in MusixTeX is needlessly tedious.  This
package provides specialized and re-defined macros to simplify this task.")
    (license license:lppl1.3+)))

(define-public texlive-bangla
  (package
    (name "texlive-bangla")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bangla/"
                                     "fonts/truetype/public/bangla/"
                                     "tex/latex/bangla/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0basibrsbns9s2ny6ny95hl6dj4rjf6q4z9bqn2kc9945akxg8af"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-charissil texlive-doulossil))
    (home-page "https://ctan.org/pkg/bangla")
    (synopsis "Comprehensive Bangla LaTeX package")
    (description
     "This package provides all the necessary LaTeX frontends for the Bangla
language and comes with some fonts of its own.")
    (license (list license:lppl1.3c license:silofl1.1))))

(define-public texlive-bangorcsthesis
  (package
    (name "texlive-bangorcsthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bangorcsthesis/"
                                     "source/latex/bangorcsthesis/"
                                     "tex/latex/bangorcsthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "138h5q8060z7frb6krrzcx49pd0ifqh1lizi465gs6x7q7cdagz8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bangorcsthesis")
    (synopsis "Typeset a thesis at Bangor University")
    (description
     "The class typesets thesis or dissertation documents for all
levels (i.e., both undergraduate and graduate students may use the class).  It
also provides macros designed to optimise the process of producing a thesis.")
    (license license:lppl1.3+)))

(define-public texlive-bangorexam
  (package
    (name "texlive-bangorexam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bangorexam/"
                                     "source/latex/bangorexam/"
                                     "tex/latex/bangorexam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09pp88415mba65icf6cx4vqn3an54hrgkd8s677ndlf2ml7n0lhs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bangorexam")
    (synopsis "Typeset an examination at Bangor University")
    (description
     "The package allows typesetting of Bangor Univesity's exam style.  It
currently supports a standard A/B choice, A-only compulsory and n from m exam
styles.  Marks are totalled and checked automatically.")
    (license license:lppl1.3+)))

(define-public texlive-bangtex
  (package
    (name "texlive-bangtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bangtex/"
                                     "fonts/source/public/bangtex/"
                                     "fonts/tfm/public/bangtex/"
                                     "tex/latex/bangtex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hmv27wpnwv70gipvfvxs1rwfjqbcy0lgn09hs2ah6ayqgr740im"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/bangtex")
    (synopsis "Writing Bangla and Assamese with LaTeX")
    (description
     "The bundle provides class files for writing Bangla and Assamese with LaTeX,
and Metafont sources for fonts.")
    (license license:lppl)))

(define-public texlive-barr
  (package
    (name "texlive-barr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/barr/" "tex/generic/barr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l532g0nxigbllv2lf74bwx78sf4jsfr1cad0hpq7i7kq820wbii"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/diagxy")
    (synopsis "Diagram macros by Michael Barr")
    (description
     "Diagxy is a general diagramming package, useful for diagrams in a number
of mathematical disciplines.")
    (license license:lppl1.3+)))

(define-public texlive-bartel-chess-fonts
  (package
    (name "texlive-bartel-chess-fonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/bartel-chess-fonts/"
                                     "fonts/source/public/bartel-chess-fonts/"
                                     "fonts/tfm/public/bartel-chess-fonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gg7g2gb5j0g0ig4190260zlpnyfmdzcqn7dsw5kp9p5pbn5hbhf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    ;; FIXME: Font metrics generation fails with "! Strange path (turning
    ;; number is zero)." error.
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/bartel-chess-fonts")
    (synopsis "Set of fonts supporting chess diagrams")
    (description "This package provides fonts supporting chess diagrams.")
    (license license:gpl3+)))

(define-public texlive-baskervald
  (package
    (name "texlive-baskervald")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/baskervald/"
                                     "fonts/afm/arkandis/baskervald/"
                                     "fonts/enc/dvips/baskervald/"
                                     "fonts/map/dvips/baskervald/"
                                     "fonts/tfm/arkandis/baskervald/"
                                     "fonts/type1/arkandis/baskervald/"
                                     "fonts/vf/arkandis/baskervald/"
                                     "source/fonts/baskervald/"
                                     "tex/latex/baskervald/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1alny6nsxm43mn84w16vp2whlhnmqkr7pfx8jsmgkz8bkxzh9pg9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/baskervaldadf")
    (synopsis "Baskervald ADF fonts collection with TeX and LaTeX support")
    (description
     "Baskervald ADF is a serif family with lining figures designed as
a substitute for Baskerville.  The family currently includes upright and
italic or oblique shapes in each of regular, bold and heavy weights.  All
fonts include the slashed zero and additional non-standard ligatures.")
    (license license:lppl)))

(define-public texlive-baskervaldx
  (package
    (name "texlive-baskervaldx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/baskervaldx/"
                                     "fonts/afm/public/baskervaldx/"
                                     "fonts/enc/dvips/baskervaldx/"
                                     "fonts/map/dvips/baskervaldx/"
                                     "fonts/opentype/public/baskervaldx/"
                                     "fonts/tfm/public/baskervaldx/"
                                     "fonts/type1/public/baskervaldx/"
                                     "fonts/vf/public/baskervaldx/"
                                     "tex/latex/baskervaldx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h3959cxlbjxyw4kf4j3rpjar389kfq1kn9wq89xaifhvcmvll1a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/baskervaldx")
    (synopsis "Extension and modification of BaskervaldADF with LaTeX support")
    (description
     "This package extends and modifies the BaskervaldADF font (a Baskerville
substitute) with more accented glyphs, with small caps and oldstyle figures in
all shapes.  It includes OpenType and PostScript fonts, as well as LaTeX
support files.")
    (license (list license:gpl2+ license:lppl1.3+))))

(define-public texlive-baskervillef
  (package
    (name "texlive-baskervillef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/baskervillef/"
                                     "fonts/enc/dvips/baskervillef/"
                                     "fonts/map/dvips/baskervillef/"
                                     "fonts/opentype/public/baskervillef/"
                                     "fonts/tfm/public/baskervillef/"
                                     "fonts/type1/public/baskervillef/"
                                     "fonts/vf/public/baskervillef/"
                                     "tex/latex/baskervillef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "107lqn684kgr7fk3zh1lgi6q7hqz9gs18kkg3fbbrg9qjva1j4xv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/baskervillef")
    (synopsis "Fry's Baskerville look-alike, with math support")
    (description
     "BaskervilleF is a fork from the Libre Baskerville fonts (Roman, Italic,
Bold only).  Their fonts are optimized for web usage, while BaskervilleF is
optimized for traditional TeX usage, normally destined for production of PDF
files.  A bold italic style was added and mathematical support is offered as
an option to @code{newtxmath}.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-basque-book
  (package
    (name "texlive-basque-book")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/basque-book/"
                                     "source/latex/basque-book/"
                                     "tex/latex/basque-book/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16jgn4pxqbmq2dx5gfyy4p04ykaijkjyy9banp3l3a6ykm2xn8w7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/basque-book")
    (synopsis "Class for book-type documents written in Basque")
    (description
     "The class is derived from the LaTeX @code{book} class.  The extensions
solve grammatical and numeration issues that occur when book-type documents
are written in Basque.  The class is useful for writing books, PhD and Master
Theses, etc., in Basque.")
    (license license:lppl1.2+)))

(define-public texlive-basque-date
  (package
    (name "texlive-basque-date")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/basque-date/"
                                     "source/latex/basque-date/"
                                     "tex/latex/basque-date/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n1nc2nrwl3ajk1n7xbnf49mvg8dlqlyndsyywgs46dnv55b7gs5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/basque-date")
    (synopsis "Print the date in Basque")
    (description
     "The package provides two LaTeX commands to print the current date in
Basque according to the correct forms ruled by The Basque Language Academy
(Euskaltzaindia).  The commands automatically solve the complex declination
issues of numbers in Basque.")
    (license license:lppl1.2+)))

(define-public texlive-bath-bst
  (package
    (name "texlive-bath-bst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/bath-bst/"
                                     "doc/bibtex/bath-bst/"
                                     "source/bibtex/bath-bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06v5icy6537d69g5in7ps322wgnkf0imd93gnmh2y7fladsmvp06"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bath-bst")
    (synopsis
     "Harvard referencing style recommended by the University of Bath Library")
    (description
     "This package provides a BibTeX style to format reference lists in the
Harvard style recommended by the University of Bath Library.  It should be
used in conjunction with @code{natbib} for citations.")
    (license license:lppl1.3c)))

(define-public texlive-bbding
  (package
    (name "texlive-bbding")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bbding/"
                                     "fonts/source/public/bbding/"
                                     "fonts/tfm/public/bbding/"
                                     "source/latex/bbding/" "tex/latex/bbding/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l507nxnnh880h5kg8q0ww6sl93k441l0lsplr5ldrngxvx1vrsc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/bbding")
    (synopsis "Symbol (dingbat) font and LaTeX macros for its use")
    (description
     "This package provides a symbol font (distributed as Metafont source)
that contains many of the symbols of the Zapf dingbats set, together with an
NFSS interface for using the font.  An Adobe Type 1 version of the fonts is
available in the @code{niceframe} fonts bundle.")
    (license license:lppl)))

(define-public texlive-bbold-type1
  (package
    (name "texlive-bbold-type1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/bbold-type1/"
                                     "fonts/afm/public/bbold-type1/"
                                     "fonts/map/dvips/bbold-type1/"
                                     "fonts/type1/public/bbold-type1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1flccfh58w977j9w62mcn7xzspmg68gb6h5nwh2mfbz7l0015fsz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bbold-type1")
    (synopsis "Adobe Type 1 format version of the @code{bbold} font")
    (description
     "The files offer an Adobe Type 1 format version of the 5pt, 7pt and 10pt
versions of the @code{bbold} fonts.")
    ;; The README states: "You may freely use, modify and/or
    ;; distribute this file".
    (license (license:fsf-free "file:doc/fonts/bbold-type1/README"))))

(define-public texlive-bboldx
  (package
    (name "texlive-bboldx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/bboldx/"
                                     "fonts/afm/public/bboldx/"
                                     "fonts/enc/dvips/bboldx/"
                                     "fonts/map/dvips/bboldx/"
                                     "fonts/tfm/public/bboldx/"
                                     "fonts/type1/public/bboldx/"
                                     "tex/latex/bboldx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r4s3yyah0iqwhzss52wjv3wml5r4bywp3fbanjzkv16f2pk51yb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bboldx")
    (synopsis "Extend the @code{bbold} package with a Blackboard Bold alphabet")
    (description
     "This is an extension of @code{bbold} to a package with three weights,
of which the original is considered as light and the additions as regular and
bold.")
    ;; The README states: "You may freely use, modify and/or
    ;; distribute this file".
    (license (license:fsf-free "file://doc/fonts/bboldx/README"))))

(define-public texlive-bclogo
  (package
    (name "texlive-bclogo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bclogo/" "metapost/bclogo/"
                                     "tex/latex/bclogo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "087d4cgv42vf8hh1d5n09zjbd0rl7rs961gzqmp1ha8n8fymadi2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bclogo")
    (synopsis "Creating colourful boxes with logos")
    (description
     "The package facilitates the creation of colorful boxes with a title and logo.
It may use either TikZ or PSTricks as graphics engine.")
    (license license:lppl1.3+)))

(define-public texlive-beamer-fuberlin
  (package
    (name "texlive-beamer-fuberlin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamer-fuberlin/"
                                     "tex/latex/beamer-fuberlin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03zp6gpzilcfgrbz1lh8lpldvkf9g98f45fhsb72ikgjnka6211c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamer-fuberlin")
    (synopsis "Beamer, using the style of FU Berlin")
    (description
     "The bundle provides a @code{beamer}-derived class and a theme style file
for the corporate design of the Free University in Berlin.  Users may use the
class itself (FUbeamer) or use the theme in the usual way with
@code{\\usetheme@{BerlinFU@}}.")
    (license license:lppl)))

(define-public texlive-beamer-verona
  (package
    (name "texlive-beamer-verona")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamer-verona/"
                                     "tex/latex/beamer-verona/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q79bdsc98a3y5h0yb3qwpsd0yyfyaxfjfhn4xkxf2qzyfp1mgd5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamer-verona")
    (synopsis "Theme for the @code{beamer} class")
    (description
     "This package provides the Verona theme for the @code{beamer} class.")
    (license license:lppl1.3+)))

(define-public texlive-beebe
  (package
    (name "texlive-beebe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/beebe/" "tex/generic/beebe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w6n6112mq82gz8mmyfjs1wgqfpy1dln2s49r8dmxzqjakws1486"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblio")
    (synopsis "Collection of bibliographies")
    (description
     "This package provides a collection of BibTeX bibliographies on
TeX-related topics (including, for example, spell-checking and SGML).  Each
includes a LaTeX wrapper file to typeset the bibliography.")
    (license license:public-domain)))

(define-public texlive-begingreek
  (package
    (name "texlive-begingreek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/begingreek/"
                                     "source/latex/begingreek/"
                                     "tex/latex/begingreek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1amzzc96pqxjicrgl4fnl2j7b65vvpxl32ckl308nbwfhd56fz6l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/begingreek")
    (synopsis "Greek environment to be used with pdfLaTeX only")
    (description
     "This simple package defines a greek environment to be used with pdfLaTeX
only, that accepts an optional Greek font family name to type its contents
with.  A similar @code{\\greektxt} command does a similar action for shorter
texts.")
    (license license:lppl1.3c)))

(define-public texlive-beilstein
  (package
    (name "texlive-beilstein")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/beilstein/"
                                     "doc/latex/beilstein/"
                                     "source/latex/beilstein/"
                                     "tex/latex/beilstein/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gr4fb0g3449jx6mbwfl2g00anss6xbj9xiak83hkc7797jzmg2b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beilstein")
    (synopsis
     "Support for submissions to the @emph{Beilstein Journal of Nanotechnology}")
    (description
     "The package provides a LaTeX class file and a BibTeX style file in
accordance with the requirements of submissions to the @emph{Beilstein Journal
of Nanotechnology}.")
    (license license:lppl1.3c)))

(define-public texlive-belleek
  (package
    (name "texlive-belleek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/belleek/"
                                     "fonts/map/dvips/belleek/"
                                     "fonts/truetype/public/belleek/"
                                     "fonts/type1/public/belleek/"
                                     "source/latex/belleek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12jigkk2xlnfllwaj6qsisgvl5b2kcwnv5j921cvm7gjn9x1i941"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/belleek")
    (synopsis "Replacement for basic MathTime fonts")
    (description "This package replaces the original MathTime fonts.")
    (license license:public-domain)))

(define-public texlive-begriff
  (package
    (name "texlive-begriff")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/begriff/" "tex/latex/begriff/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vi7i35fqi32y26crk5aj93mivix61ppgmpz0djshizwrd9pn9xy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/begriff")
    (synopsis "Typeset Begriffschrift")
    (description
     "The package defines maths mode commands for typesetting Frege's
@emph{Begriffschrift}.")
    (license license:gpl3+)))

(define-public texlive-bengali
  (package
    (name "texlive-bengali")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/bengali/"
                                     "fonts/source/public/bengali/"
                                     "fonts/tfm/public/bengali/"
                                     "source/latex/bengali/" "tex/latex/bengali/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "077rs7rcx592g5m53hy73w6jd39qgb83z5sg2jbymjfwkk7y593h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/bengali-pandey")
    (synopsis "Support for the Bengali language")
    (description
     "The package is based on Velthuis transliteration scheme, with extensions
to deal with the Bengali letters that are not in Devanagari.  The package also
supports Assamese.")
    (license license:lppl)))

(define-public texlive-berenisadf
  (package
    (name "texlive-berenisadf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/berenisadf/"
                                     "fonts/afm/arkandis/berenisadf/"
                                     "fonts/enc/dvips/berenisadf/"
                                     "fonts/map/dvips/berenisadf/"
                                     "fonts/opentype/arkandis/berenisadf/"
                                     "fonts/tfm/arkandis/berenisadf/"
                                     "fonts/type1/arkandis/berenisadf/"
                                     "tex/latex/berenisadf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11daizsls1zhwdfy78s2rjk76zwkziv33xrvrqbxybs2hdbg261d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/berenisadf")
    (synopsis "Berenis ADF fonts and TeX/LaTeX support")
    (description
     "The bundle provides the BerenisADF Pro font collection, in OpenType and
PostScript Type 1 formats, together with support files to use the fonts in
TeXnANSI (LY1) and LaTeX standard T1 and TS1 encodings.")
    ;; (La)TeX support is released under LPPL 1.3+ terms.  Fonts themselves
    ;; use GPL 2+ with exceptions.
    (license (list license:lppl1.3+ license:gpl2+))))

(define-public texlive-besjournals
  (package
    (name "texlive-besjournals")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/besjournals/"
                                     "doc/bibtex/besjournals/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mcc5xa56j17h6wv9b111qypw6ff4mg0skapa4wq79lb8p3l1cmv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/besjournals-bst")
    (synopsis
     "Bibliographies suitable for British Ecological Society journals")
    (description
     "The package provides a BibTeX style for use with journals published by
the British Ecological Society.  The style was produced independently of the
Society, and has no formal approval by the BES.")
    (license license:lppl)))

(define-public texlive-bestpapers
  (package
    (name "texlive-bestpapers")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/bestpapers/"
                                     "doc/bibtex/bestpapers/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c0lp51z5z2707r1hig993gbx78v7zb84wmk3z9iyw08m3bbq34s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bestpapers")
    (synopsis "A BibTeX package to produce lists of authors' best papers")
    (description
     "Many people preparing their resumes find the requirement ``please list
five (or six, or ten) papers authored by you''.  The same requirement is often
stated for reports prepared by professional teams.  The creation of such lists
may be a cumbersome task.  Even more difficult is it to support such lists
over the time, when new papers are added.  The BibTeX style
@file{bestpapers.bst} is intended to facilitate this task.  It is based on the
idea that it is easier to score than to sort: we can assign a score to a paper
and then let the computer select the papers with highest scores.")
    (license license:public-domain)))

(define-public texlive-betababel
  (package
    (name "texlive-betababel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/betababel/"
                                     "tex/latex/betababel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lck0wighndd3qrhcks6amc6gm5y50f6a61nfcz31j087r3a7liv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/betababel")
    (synopsis "Insert ancient greek text coded in Beta Code")
    (description
     "The @code{betababel} package extends the Babel @samp{polutonikogreek}
option to provide a simple way to insert ancient Greek texts with diacritical
characters into your document using the commonly used Beta Code
transliteration.")
    (license license:lppl)))

(define-public texlive-beuron
  (package
    (name "texlive-beuron")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/beuron/"
                                     "fonts/map/dvips/beuron/"
                                     "fonts/opentype/public/beuron/"
                                     "fonts/source/public/beuron/"
                                     "fonts/tfm/public/beuron/"
                                     "fonts/type1/public/beuron/"
                                     "tex/latex/beuron/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06hk60z0s2rdbj1iard10zxw7zvvm2xds755r4mqh0p70qhkpjzx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/beuron")
    (synopsis "Script of the Beuronese art school")
    (description
     "This package provides the script used in the works of the Beuron art
school for use with TeX and LaTeX.  It is a monumental script consisting of
capital letters only.  The fonts are provided as Metafont sources, in the
Type1 and in the OpenType format.  The package includes suitable font
selection commands for use with LaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-bfh-ci
  (package
    (name "texlive-bfh-ci")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bfh-ci/" "tex/latex/bfh-ci/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "175mb10mcj7yq3ncg2bgm1c9i7rgkmrwbfbw3vdm9m7z526k9g34"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-adjustbox
                             texlive-amsfonts
                             texlive-amsmath
                             texlive-anyfontsize
                             texlive-beamer
                             texlive-fontawesome
                             texlive-fontspec
                             texlive-geometry
                             texlive-graphics
                             texlive-handoutwithnotes
                             texlive-hyperref
                             texlive-iftex
                             texlive-koma-script
                             texlive-l3kernel
                             texlive-l3packages
                             texlive-listings
                             texlive-nunito
                             texlive-pgf
                             texlive-qrcode
                             texlive-sourceserifpro
                             texlive-tcolorbox
                             texlive-tools
                             texlive-translations
                             texlive-url
                             texlive-xcolor
                             texlive-zref))
    (home-page "https://ctan.org/pkg/bfh-ci")
    (synopsis "Corporate design for Bern University of Applied Sciences")
    (description
     "This bundle provides possibilities to use the corporate design of Bern
University of Applied Sciences (BFH) with LaTeX.  To this end it contains
classes as well as some helper packages and config files.")
    (license license:lppl1.3c)))

(define-public texlive-bgteubner
  (package
    (name "texlive-bgteubner")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/bgteubner/"
                                     "doc/latex/bgteubner/"
                                     "makeindex/bgteubner/"
                                     "source/latex/bgteubner/"
                                     "tex/latex/bgteubner/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1plc42glcq2pxyns6lm6fygicjm8whrls1qlfw00fccsw9v1hgxv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-build
            ;; This phase is necessary because the build phase is reluctant to
            ;; generate "ltxdoc.cfg" since there is another one among the
            ;; inputs already.
            (lambda _
              (substitute* "source/latex/bgteubner/hhsubfigure.ins"
                (("\\\\generateFile\\{ltxdoc\\.cfg\\}\\{t\\}")
                 "\\generateFile{ltxdoc.cfg}{f}")))))))
    (home-page "https://ctan.org/pkg/bgteubner")
    (synopsis "Class for producing books for the publisher Teubner Verlag")
    (description
     "The @code{bgteubner} document class has been programmed by order of the
Teubner Verlag, Wiesbaden, Germany, to ensure that books of this publisher
have a unique layout.  Unfortunately, most of the documentation is only
available in German.  Since the document class is intended to generate
a unique layout, many things (layout etc.) are fixed and cannot be altered by
the user.")
    (license license:lppl)))

(define-public texlive-bguq
  (package
    (name "texlive-bguq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/bguq/"
                                     "fonts/map/dvips/bguq/"
                                     "fonts/source/public/bguq/"
                                     "fonts/tfm/public/bguq/"
                                     "fonts/type1/public/bguq/"
                                     "source/fonts/bguq/"
                                     "tex/latex/bguq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d87ihzwq3lxhr28yaj1wpkvl4jgcfw8859g9mamrprkm7klm2rb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/bguq")
    (synopsis "Improved quantifier stroke for Begriffsschrift packages")
    (description
     "The font contains a single character: the Begriffsschrift quantifier (in
several sizes), as used to set the Begriffsschrift (concept notation) of
Frege.  The font is not intended for end users; instead it is expected that it
will be used by other packages which implement the Begriffsschrift.")
    (license license:lppl)))

(define-public texlive-bib-fr
  (package
    (name "texlive-bib-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/bib-fr/" "doc/bibtex/bib-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11af1p52vr16l5gf69ql2zz0328yqd75nbcvik7b0g05pbqc12nv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bib-fr")
    (synopsis "French translation of classical BibTeX styles")
    (description
     "These files are French translations of the classical BibTeX style
files.")
    (license license:lppl)))

(define-public texlive-bib2gls
  (package
    (name "texlive-bib2gls")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/bib2gls.1"
                                     "doc/man/man1/bib2gls.man1.pdf"
                                     "doc/man/man1/convertgls2bib.1"
                                     "doc/man/man1/convertgls2bib.man1.pdf"
                                     "doc/support/bib2gls/"
                                     "scripts/bib2gls/"
                                     "source/support/bib2gls/src/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06jylyhgj53dc424j7ahlxng5wwa2ihf4azx9851h68rylv4i6fh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "bib2gls.sh" "convertgls2bib.sh")))
    (propagated-inputs (list texlive-glossaries-extra))
    (home-page "https://ctan.org/pkg/bib2gls")
    (synopsis
     "Convert @file{.bib} files to @file{glossaries-extra.sty} resource files")
    (description
     "This Java command line application may be used to extract glossary
information stored in a @file{.bib} file and convert it into glossary entry
definition commands.  This application should be used with
@file{glossaries-extra.sty}'s record package option.  It performs two
functions in one: it selects entries according to records found in the
@file{.aux} file (similar to BibTeX), and hierarchically sorts entries and
collates location lists (similar to MakeIndex or Xindy).  The glossary entries
can then be managed in a system such as JabRef, and only the entries that are
actually required will be defined, reducing the resources required by TeX.

The supplementary application @command{convertgls2bib} can be used to convert
existing @file{.tex} files containing definitions (@code{\\newglossaryentry}
etc.)#: to the @file{.bib} format required by @command{bib2gls}.")
    (license license:gpl3+)))

(define-public texlive-bibarts
  (package
    (name "texlive-bibarts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibarts/" "source/latex/bibarts/"
                                     "tex/latex/bibarts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "130qdf75225zz1g2cr0rw0kz4pylyif5nz98wnqjsnly5kdxkz6k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (add-after 'build 'build-and-install'bibsort
                 (lambda _
                   (mkdir-p "build")
                   (invoke "gcc" "-o" "build/bibsort"
                           "source/latex/bibarts/bibsort.c")
                   (install-file "build/bibsort"
                                 (string-append #$output "/bin")))))))
    (home-page "https://ctan.org/pkg/bibarts")
    (synopsis "Arts-style bibliographical information")
    (description
     "@code{BibArts} is a LaTeX package to assist in making bibliographical
features common in the arts and the humanities (history, political science,
philosophy, etc.).  @file{bibarts.sty} provides commands for quotations,
abbreviations, and especially for a formatted citation of literature,
journals (periodicals), edited sources, and archive sources.

It will also copy all citation information, abbreviations, and register key
words into lists for an automatically generated appendix.  These lists may
refer to page and footnote numbers. BibArts has nothing to do with BibTeX.
The lists are created by @command{bibsort}.  This program creates the
bibliography without using MakeIndex or BibTeX.")
    (license license:gpl3+)))

(define-public texlive-bibcop
  (package
    (name "texlive-bibcop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/bibtex/bibcop/"
                                     "doc/man/man1/bibcop.1"
                                     "doc/man/man1/bibcop.man1.pdf"
                                     "scripts/bibcop/"
                                     "source/bibtex/bibcop/"
                                     "tex/latex/bibcop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16w1iwiq7wfz7q4rfrv9pkf71m9yxrpxq70c8asy2vh73sh90szn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "bibcop.pl")))
    (inputs (list perl))
    (propagated-inputs (list texlive-iexec texlive-pgfopts))
    (home-page "https://ctan.org/pkg/bibcop")
    (synopsis "Style checker for .bib files")
    (description
     "This LaTeX package checks the quality of your @file{.bib} file and emits
warning messages if any issues are found.  For this, the TeX processor must be
run with the @samp{--shell-escape} option.  @command{bibcop} can also be used
as a standalone command line tool.")
    (license license:expat)))

(define-public texlive-biber-ms
  (package
    (name "texlive-biber-ms")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/bibtex/biber-ms/"
                                     "source/bibtex/biber-ms/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10r9jgarrbvqrz9nkjfkzsy3niggg5w6sjr7zi7bqy8zhkwf3hsf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biber-ms")
    (synopsis
     "BibTeX replacement for users of BibLaTeX (multiscript version)")
    (description
     "This is the multiscript version of Biber.  It must be used with the
multiscript version of @code{biblatex-ms}.")
    (license license:artistic2.0)))

(define-public texlive-bibexport
  (package
    (name "texlive-bibexport")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/bibexport/"
                                     "doc/bibtex/bibexport/" "scripts/bibexport/"
                                     "source/bibtex/bibexport/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "161056627w1lazfpld3lyjwfrl8j8gc4b6dzml46bzwf7mk9ifln"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "bibexport.sh")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'build 'fix-bash-shebang
            (lambda _
              (substitute* "scripts/bibexport/bibexport.sh"
                (("/bin/bash") (which "bash"))))))))
    (home-page "https://ctan.org/pkg/bibexport")
    (synopsis "Extract a BibTeX file based on a @file{.aux} file")
    (description
     "This package provides a Bourne shell script that uses BibTeX to extract
bibliography entries that are @code{\\cite}'d in a document.  It can also
expand a BibTeX file, expanding the abbreviations (other than the built-in
ones like month names) and following the cross-references.")
    (license license:lppl1.3+)))

(define-public texlive-bibhtml
  (package
    (name "texlive-bibhtml")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/bibhtml/" "doc/bibtex/bibhtml/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fjpipxc885hk9pvjf3f0wsp84lr1d7flvs5c56jmlvryvc6mv0w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibhtml")
    (synopsis "BibTeX support for HTML files")
    (description
     "Bibhtml consists of a Perl script and a set of BibTeX style files, which
together allow you to output a bibliography as a collection of HTML files.
The references in the text are linked directly to the corresponding
bibliography entry, and if a URL is defined in the entry within the BibTeX
database file, then the generated bibliography entry is linked to this.  The
package provides three different style files derived from each of the standard
@file{plain.bst} and @file{alpha.bst}, as well as two style files derived from
@file{abbrv.bst} and unsrt.bst (i.e., eight in total).")
    (license license:gpl3+)))

(define-public texlive-biblatex-abnt
  (package
    (name "texlive-biblatex-abnt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-abnt/"
                                     "tex/latex/biblatex-abnt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14j3yn8ijwaa547gzyw7ql8q871w5r9rprc6l1s5dhp7vz3kzk6z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-abnt")
    (synopsis "BibLaTeX style for Brazil's ABNT rules")
    (description
     "This package offers a BibLaTeX style for Brazil's ABNT (Brazilian
Association of Technical Norms) rules.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-ajc2020unofficial
  (package
    (name "texlive-biblatex-ajc2020unofficial")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-ajc2020unofficial/"
                                     "tex/latex/biblatex-ajc2020unofficial/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ngh68a7ihhvpdfz09c087pfqnnpj3mnm8c4jmw8krq52b79fr87"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-ajc2020unofficial")
    (synopsis "BibLaTeX style for the Australasian Journal of Combinatorics")
    (description
     "This is an unofficial BibLaTeX style for the Australasian Journal of
Combinatorics.  Note that the journal (as for 01 March 2020) does not accept
BibLaTeX, so you probably want to use @code{biblatex2bibitem}.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-anonymous
  (package
    (name "texlive-biblatex-anonymous")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-anonymous/"
                                     "tex/latex/biblatex-anonymous/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q24xrr80i6xsq65gfvvi1s5qsp78g52qgn2nf2523gjnnzp4p7n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-anonymous")
    (synopsis "Tool to manage anonymous work with BibLaTeX")
    (description
     "The package provides tools to help manage anonymous work with BibLaTeX.
It will be useful, for example, in history or classical philology.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-apa6
  (package
    (name "texlive-biblatex-apa6")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-apa6/"
                                     "tex/latex/biblatex-apa6/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14xkqca4l4sb8jwlz6k28hmlya4m9474sv79icyzzq1v0vbqmgbq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-apa6")
    (synopsis "BibLaTeX citation and reference style for APA 6th Edition")
    (description
     "This is a fairly complete BibLaTeX style (citations and references) for
APA (American Psychological Association) 6th Edition conformant publications.
It implements and automates most of the guidelines in the APA 6th edition
style guide for citations and references.  An example document is also given
which typesets every citation and reference example in the APA 6th edition
style guide.  This is a legacy style for 6th Edition documents.  Please use
the BibLaTeX-apa style package for the latest APA edition conformance.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-archaeology
  (package
    (name "texlive-biblatex-archaeology")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-archaeology/"
                                     "source/latex/biblatex-archaeology/"
                                     "tex/latex/biblatex-archaeology/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "059mp6c1wgxkdjqrpwyx9yafw8dma75c3653rjc3sp66xx3akr8k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-archaeology")
    (synopsis "Collection of BibLaTeX styles for German prehistory")
    (description
     "This package provides additional BibLaTeX styles for German humanities.
Its core purpose is to enable the referencing rules of the Romano-Germanic
Commission (@emph{Romisch-Germanische Kommission}), the department of
prehistory of the German Archaeological Institute (@emph{Deutsches
Archaologisches Institut}), since these are referenced by most guidelines in
German prehistory and medieval archaeology and serve as a kind of template.
@code{biblatex-archaeology} provides verbose, numeric and author date styles
as well and adaptions to specific document types like exhibition and auction
catalogues.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-arthistory-bonn
  (package
    (name "texlive-biblatex-arthistory-bonn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-arthistory-bonn/"
                                     "tex/latex/biblatex-arthistory-bonn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0iwms7w1xqghdf3s0m91xzw4y7d20lvpv69ibl92cpjj5fggp0x8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-arthistory-bonn")
    (synopsis "BibLaTeX citation style for art historians")
    (description
     "This citation style covers the citation and bibliography guidelines of
the Kunsthistorisches Institut der Universitat Bonn for undergraduates.  It
introduces bibliography entry types for catalogs and features a tabular
bibliography, among other things.  Various options are available to change and
adjust the outcome according to one's own preferences.  The style is
compatible with English and German.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-bath
  (package
    (name "texlive-biblatex-bath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-bath/"
                                     "source/latex/biblatex-bath/"
                                     "tex/latex/biblatex-bath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c640csqvq0f9fd5d7xx4apllbwvr4cmi2x38863wlrvlnxa9kd7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-bath")
    (synopsis "Style recommended by the University of Bath Library")
    (description
     "This package provides a BibLaTeX style to format reference lists in the
Harvard style recommended by the University of Bath Library.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-bookinarticle
  (package
    (name "texlive-biblatex-bookinarticle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-bookinarticle/"
                                     "tex/latex/biblatex-bookinarticle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mhj3adqlirylhjqj8y0m8pinmark07zqvx00zl9rrdpagj6q4y8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-bookinarticle")
    (synopsis "Manage book edited in article")
    (description
     "This package provides three new BibLaTeX entry types --- @code{@@bookinarticle},
@code{@@bookinincollection} and @code{@@bookinthesis} --- to refer to a modern
edition of an old book, where this modern edition is provided in
a @code{@@article}, @code{@@incollection} or in a @code{@@thesis}.  The
package is now superseded by @code{biblatex-bookinother}.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-bookinother
  (package
    (name "texlive-biblatex-bookinother")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-bookinother/"
                                     "tex/latex/biblatex-bookinother/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "062ri08pwr5fh8v500dbgrc7nbxgi0jd864xfmvf601lwpwqn9c7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-bookinother")
    (synopsis "Manage book edited in other entry type")
    (description
     "This package provides new BibLaTeX entry types and fields for book
edited in other types, like for instance @code{@@bookinarticle}.  It offers
more types than the older package @code{biblatex-bookinarticle}, which it
supersedes.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-bwl
  (package
    (name "texlive-biblatex-bwl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-bwl/"
                                     "tex/latex/biblatex-bwl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "122qz05rc7c3pys6adg38xq0r123f4hspc3yyw8l2mzlpbbwm9y5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-bwl")
    (synopsis "BibLaTeX citations for FU Berlin")
    (description
     "The bundle provides a set of BibLaTeX implementations of bibliography
and citation styles for the Business Administration Department of the Free
University of Berlin.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-caspervector
  (package
    (name "texlive-biblatex-caspervector")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-caspervector/"
                                     "tex/latex/biblatex-caspervector/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m1x3r52i6z06gy3jqlhaqnc876mi0qwjywmwyapvm8kfa2my0p3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-caspervector")
    (synopsis "Simple citation style for Chinese users")
    (description
     "The package provides a simple and easily extensible biblography/citation
style for Chinese LaTeX users, using BibLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-chem
  (package
    (name "texlive-biblatex-chem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-chem/"
                                     "tex/latex/biblatex-chem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y4fgnykh5x48cnbgyhgj04iqz05mvnzqvjn84vbr3mqmwjrndbl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-chem")
    (synopsis
     "BibLaTeX implementations of chemistry-related bibliography styles")
    (description
     "The bundle offers a set of styles to allow chemists to use BibLaTeX.
The package has complete styles for: all ACS journals; RSC journals using
standard (Chem.@: Commun.) style; and Angewandte Chem.@: style, (thus covering
a wide range of journals).")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-chicago
  (package
    (name "texlive-biblatex-chicago")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-chicago/"
                                     "tex/latex/biblatex-chicago/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00y8h4hvmz17bn46936xfi1cy0rsh5y33pyc1hrkrrldabq8rxys"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-chicago")
    (synopsis "Chicago style files for BibLaTeX")
    (description
     "This is a BibLaTeX style that implements the Chicago author-date and
notes with bibliography style specifications given in the @emph{Chicago Manual
of Style}, 17th edition (with continuing support for the 16th edition, too).
The style implements entry types for citing audio-visual materials, among many
others.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-claves
  (package
    (name "texlive-biblatex-claves")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-claves/"
                                     "tex/latex/biblatex-claves/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08ydcv7qlbxaysh7jm3d4glrhp1fyd4fvvxc3jc4k50ga77ksqj0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-claves")
    (synopsis "Tool to manage claves of old litterature with BibLaTeX")
    (description
     "When studying antic and medieval literature, we may find many different
texts published with the same title, or, in contrary, the same text published
with different titles.  To avoid confusion, scholars have published claves,
which are books listing ancient texts, identifying them by an identifier ---
a number or a string of text.  For example, for early Christianity, we have
the Bibliotheca Hagiographica Graeca, the Clavis Apocryphorum Novi Testamenti
and other claves.  It could be useful to print the identifier of a texts in
one specific clavis, or in many claves.  The package allows us to create new
field for different claves, and to present all these fields in a consistent
way.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-cv
  (package
    (name "texlive-biblatex-cv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-cv/"
                                     "tex/latex/biblatex-cv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17m6lqnr35y6vcfrrhlhxjf55b85py9miksswhkipyiaj3kphhb8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-cv")
    (synopsis "Create a CV from BibTeX files")
    (description
     "This package creates an academic curriculum vitae (CV) from a BibTeX
@file{.bib} file.  The package makes use of BibLaTeX and Biber to
automatically format, group, and sort the entries on a CV.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-dw
  (package
    (name "texlive-biblatex-dw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-dw/"
                                     "tex/latex/biblatex-dw/bbx/"
                                     "tex/latex/biblatex-dw/cbx/"
                                     "tex/latex/biblatex-dw/lbx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vw008djg535hdwbmk5dqvaw0v6cm3lqmlvk8sfzybpqffw1crlr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-dw")
    (synopsis "Humanities styles for BibLaTeX")
    (description
     "This package provides a small collection of styles for the BibLaTeX
package.  It was designed for citations in the humanities and offers some
features that are not provided by the standard BibLaTeX styles.  The styles
are dependent on BibLaTeX and cannot be used without it.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-enc
  (package
    (name "texlive-biblatex-enc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-enc/"
                                     "tex/latex/biblatex-enc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k9sais0dknydcdy1a7fkkrb5grqap3q2jn8qk36x658nkjjb9ln"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-enc")
    (synopsis "BibLaTeX style for the Ecole nationale des chartes (Paris)")
    (description
     "This package provides a citation and bibliography style for use with
BibLaTeX.  It conforms to the bibliographic standards used at the Ecole
nationale des chartes (Paris), and may be suitable for a more general use in
historical and philological works.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-ext
  (package
    (name "texlive-biblatex-ext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-ext/"
                                     "tex/latex/biblatex-ext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0al97virwph44bmjhya9xq4y8kj7f4d2v7f2jahvfz2j00j78rr7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-ext")
    (synopsis "Extended BibLaTeX standard styles")
    (description
     "The BibLaTeX-ext bundle provides styles that slightly extend the
standard styles that ship with BibLaTeX.  The styles offered in this bundle
provide a simple interface to change some of the stylistic decisions made in
the standard styles.  At the same time they stay as close to their standard
counterparts as possible, so that most customisation methods can be applied
here as well.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-fiwi
  (package
    (name "texlive-biblatex-fiwi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-fiwi/"
                                     "tex/latex/biblatex-fiwi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "080m1xj1g8v6aavp2i0hipjk3iikjqd2i36by2fiq0ys5vl5vhnq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-fiwi")
    (synopsis "BibLaTeX styles for use in German humanities")
    (description
     "The package provides a collection of styles for BibLaTeX.  It was
designed for citations in German Humanities, especially film studies, and
offers some features that are not provided by the standard BibLaTeX styles.
The style is highly optimized for documents written in German, and the main
documentation is only available in German.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-gb7714-2015
  (package
    (name "texlive-biblatex-gb7714-2015")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-gb7714-2015/"
                                     "tex/latex/biblatex-gb7714-2015/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zhh9mwbywqbx0966amdngqpk7ayknklk2j11zc10rq7z68pjzb1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-gb7714-2015")
    (synopsis
     "BibLaTeX implementation of the GBT7714-2015 bibliography style for
Chinese users")
    (description
     "This package provides an implementation of the GBT7714-2015 bibliography
style.  This implementation follows the GBT7714-2015 standard and can be used
by simply loading BibLaTeX with the appropriate option.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-german-legal
  (package
    (name "texlive-biblatex-german-legal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-german-legal/"
                                     "tex/latex/biblatex-german-legal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14njaba2gvz338f8z4w3vi1qyf7yxx3l9c9nla6ggrw4rnicjpzs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-german-legal")
    (synopsis "Comprehensive citation style for German legal texts")
    (description
     "This package aims to provide citation styles (for footnotes and
bibliographies) for German legal texts.  It is currently focused on citations
in books (style german-legal-book), but may be extended to journal articles in
the future.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-gost
  (package
    (name "texlive-biblatex-gost")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-gost/"
                                     "tex/latex/biblatex-gost/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08zrbh6ipqg4r0bnjgh9sd5z7aismyi7s8fhkbgdmniw99c4qdc5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-gost")
    (synopsis "BibLaTeX support for GOST standard bibliographies")
    (description
     "The package provides BibLaTeX support for Russian bibliography style
GOST 7.0.5-2008")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-historian
  (package
    (name "texlive-biblatex-historian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-historian/"
                                     "tex/latex/biblatex-historian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y9jvjyji39ly5pf72qhnnlsrixaxjxdx529lyav8bhd2zz3c5s7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-historian")
    (synopsis "BibLaTeX style based on the @emph{Turabian Manual}")
    (description
     "This package provides a BibLaTeX style, based on the @emph{Turabian
Manual} (a version of Chicago).")
    (license license:lppl)))

(define-public texlive-biblatex-ieee
  (package
    (name "texlive-biblatex-ieee")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-ieee/"
                                     "tex/latex/biblatex-ieee/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a3r2lvp4nr53gxpa40qa7zdgj2qpyygvcgcbprnvfxlqrk8lfm0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-ieee")
    (synopsis "IEEE style files for BibLaTeX")
    (description
     "This is a BibLaTeX style that implements the bibliography style of the
IEEE for BibLaTeX.  The implementation follows standard BibLaTeX conventions,
and can be used simply by loading BibLaTeX with the appropriate @samp{ieee}
option.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-ijsra
  (package
    (name "texlive-biblatex-ijsra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-ijsra/"
                                     "tex/latex/biblatex-ijsra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0phgbrp47f6pgayws29acsacm7dcb5w3asvwswx5a2rg30wj2fln"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-ijsra")
    (synopsis
     "BibLaTeX style for the International Journal of Student Research in
Archaeology")
    (description
     "This is the BibLaTeX style used for the journal International Journal of
Student Research in Archaeology.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-iso690
  (package
    (name "texlive-biblatex-iso690")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-iso690/"
                                     "tex/latex/biblatex-iso690/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07h16m8n8lydph2n567fnx2hzdw15mwyrcgs30x8anv9qxh0z6jf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-iso690")
    (synopsis "BibLaTeX style for ISO 690 standard")
    (description
     "The package provides a bibliography and citation style which conforms to
the latest revision of the international standard ISO 690:2010.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-jura2
  (package
    (name "texlive-biblatex-jura2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-jura2/"
                                     "tex/latex/biblatex-jura2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cnsmk46j98z7wk7qs6v9f5m42x124v2nxrnq8n1jcs1jd03q6ry"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-jura2")
    (synopsis "Citation style for the German legal profession")
    (description
     "The package offers BibLaTeX support for citations in German legal texts.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-juradiss
  (package
    (name "texlive-biblatex-juradiss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-juradiss/"
                                     "tex/latex/biblatex-juradiss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13rwvj1ibhj0c46xr13wjyh68abkrvh2jcg2ccichh33crrxaql0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-juradiss")
    (synopsis "BibLaTeX stylefiles for German law theses")
    (description
     "The package provides a custom citation-style for typesetting a German
law thesis with LaTeX.")
    (license license:lppl)))

(define-public texlive-biblatex-license
  (package
    (name "texlive-biblatex-license")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-license/"
                                     "tex/latex/biblatex-license/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xz6zms984v5r8hq01f7ap245lfhqj577rc9ww57ccv4kgvgicqd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-license")
    (synopsis "Add license data to the bibliography")
    (description
     "This package is for adding license license:data to bibliography entries
via BibLaTeX's built-in related mechanism.  It provides a new related type
@code{license} and some bibmacros for typesetting these related entries.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-lncs
  (package
    (name "texlive-biblatex-lncs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-lncs/"
                                     "tex/latex/biblatex-lncs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0agr8dnyfyclj2h3yw8z23jqpvrh8jrm3bdxr9fwvb3l7fazq4mv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-lncs")
    (synopsis "BibLaTeX style for Springer Lecture Notes in Computer Science")
    (description
     "This is a BibLaTeX style for Springer Lecture Notes in Computer Science
(LNCS).  It extends the standard BiBTeX model by an acronym entry.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-lni
  (package
    (name "texlive-biblatex-lni")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-lni/"
                                     "tex/latex/biblatex-lni/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08vpynqkg22gs869yagh6v4drh0dnkdghqd1nvcq6gh3c56dlpni"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-lni")
    (synopsis "LNI style for BibLaTeX")
    (description
     "BibLaTeX style for the Lecture Notes in Informatics, which is published
by the Gesellschaft fur Informatik (GI e.V.).")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-luh-ipw
  (package
    (name "texlive-biblatex-luh-ipw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-luh-ipw/"
                                     "tex/latex/biblatex-luh-ipw/bbx/"
                                     "tex/latex/biblatex-luh-ipw/cbx/"
                                     "tex/latex/biblatex-luh-ipw/lbx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18fnq2xjwsp5lq7vywbgzppbijqn4xarqga0g1rpj89g9q0zjs30"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-luh-ipw")
    (synopsis "BibLaTeX styles for social sciences")
    (description
     "The bundle is a small collection of styles for BibLaTeX.  It was
designed for citations in the Humanities, following the guidelines of style of
the institutes for the social sciences of the Leibniz University Hannover/LUH
(especially the Institute of Political Science).")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-manuscripts-philology
  (package
    (name "texlive-biblatex-manuscripts-philology")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-manuscripts-philology/"
                                     "tex/latex/biblatex-manuscripts-philology/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05d2z1w7wdzdinfw1j72y2d8f0nid0a6wsrvkwqkryl3nykyh4z5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-manuscripts-philology")
    (synopsis "Manage classical manuscripts with BibLaTeX")
    (description
     "The package adds a new entry type: @code{@@manuscript} to manage
manuscript in classical philology, for example to prepare a critical
edition.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-mla
  (package
    (name "texlive-biblatex-mla")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-mla/"
                                     "tex/latex/biblatex-mla/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09qlx067vhc4aflx9rjdbyq99xh3nzwlxj81cxp07mm2mykhxf39"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-mla")
    (synopsis "MLA style files for BibLaTeX")
    (description
     "The package provides BibLaTeX support for citations in the format
specified by the MLA handbook.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-morenames
  (package
    (name "texlive-biblatex-morenames")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-morenames/"
                                     "tex/latex/biblatex-morenames/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gwzxz1yqnq3q2fjrb4nf0370a90fbi6b20zvplj3lfiqmdkaiak"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-morenames")
    (synopsis "New names for standard BibLaTeX entry type")
    (description
     "This package adds new fields of ``name'' type to the standard entry
types of BibLaTeX.  For example, @samp{maineditor}, for a @code{@@collection},
means the editor of @code{@@mvcollection}, and not the editor of the
@code{@@collection}.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-ms
  (package
    (name "texlive-biblatex-ms")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/biblatex-ms/biblatex/"
                                     "bibtex/bst/biblatex-ms/"
                                     "doc/latex/biblatex-ms/"
                                     "tex/latex/biblatex-ms/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00xib8xvxl78qzxs66qmfyp4jdkcs3qx4ray2nwv1fffhj69aw3n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-etoolbox texlive-kvoptions texlive-logreq
                             texlive-pdftexcmds texlive-url))
    (home-page "https://ctan.org/pkg/biblatex-ms")
    (synopsis "Sophisticated bibliographies in LaTeX (multiscript version)")
    (description
     "This package is the multiscript' version of the BibLaTeX package
intended to solve the issues faced by those wishing to create multilingual
bibliographies.  It is intended to be backwards-compatible with the standard
BibLaTeX package and includes significantly enhanced optional functionality.

It requires the use of the multiscript version of Biber (biber-ms).")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-multiple-dm
  (package
    (name "texlive-biblatex-multiple-dm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-multiple-dm/"
                                     "tex/latex/biblatex-multiple-dm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07dp3ppz8kma5gh0bs98jnk7gvqqcp4l1ag60941myjvfsyqplxv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-multiple-dm")
    (synopsis "Load multiple datamodels in BibLaTeX")
    (description
     "The package adds the possibility to BibLaTeX to load data models from
multiple sources.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-musuos
  (package
    (name "texlive-biblatex-musuos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-musuos/"
                                     "tex/latex/biblatex-musuos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0iqp02yk8b9s18k8v78q2y5g507fsh2zk68dj0yc77gwa6gsmrmh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-musuos")
    (synopsis "BibLaTeX style for citations in @file{musuos.cls}")
    (description
     "The style is designed for use with the musuos class, but it should be
usable with other classes, too.")
    (license license:lppl)))

(define-public texlive-biblatex-nature
  (package
    (name "texlive-biblatex-nature")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-nature/"
                                     "tex/latex/biblatex-nature/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bpgcwpd8sw28dn7q8bkxpnpqb741216gaasvqdpah9kj53zfypg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-nature")
    (synopsis "BibLaTeX support for @emph{Nature}")
    (description
     "The bundle offers styles that allow authors to use BibLaTeX when
preparing papers for submission to the journal @emph{Nature}.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-nejm
  (package
    (name "texlive-biblatex-nejm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-nejm/"
                                     "source/latex/biblatex-nejm/"
                                     "tex/latex/biblatex-nejm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fa12hbzrqd7brz90zhn3lklbqvvn5sw5l3y8pnm5xx604dkdiiw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-nejm")
    (synopsis "BibLaTeX style for the New England Journal of Medicine (NEJM)")
    (description
     "This is a BibLaTeX numeric style based on the design of the New England
Journal of Medicine (NEJM).")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-nottsclassic
  (package
    (name "texlive-biblatex-nottsclassic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-nottsclassic/"
                                     "tex/latex/biblatex-nottsclassic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13rvxykjyah5vn44sfagf1ggqhh1hd1qhz9m6jb87yhwz5snkrxh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-nottsclassic")
    (synopsis "Citation style for the University of Nottingham")
    (description
     "This citation-style covers the citation and bibliography rules of the
University of Nottingham.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-opcit-booktitle
  (package
    (name "texlive-biblatex-opcit-booktitle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-opcit-booktitle/"
                                     "tex/latex/biblatex-opcit-booktitle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "078fzk4i7sknaxkgn2lr54bcslqbjjsr1nb0z7y46v7kpg2lpcrf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-opcit-booktitle")
    (synopsis "Use @samp{op.@: cit.}@: for the booktitle of a subentry")
    (description
     "The default citation styles use the @samp{op.@: cit.}@: form in order to
have a shorter reference when a title has already been cited.  However, when
you cite two entries which share the same booktitle but not the same title,
the @samp{op.@: cit.}@: mechanism does not work.  This package fixes this.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-oxref
  (package
    (name "texlive-biblatex-oxref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-oxref/"
                                     "source/latex/biblatex-oxref/"
                                     "tex/latex/biblatex-oxref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hhl331vxsffm7wnxpx846xzbs66pjbpqhgiblds7gmz5zz6ng1k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-oxref")
    (synopsis "BibLaTeX styles inspired by the @emph{Oxford Guide to Style}")
    (description
     "This bundle provides four BibLaTeX styles that implement (many of) the
stipulations and examples provided by the 2014 @emph{New Hart's Rules} and the
2002 @emph{Oxford Guide to Style}:
@itemize

@item @code{oxnotes} is a style similar to the standard @code{verbose},
intended for use with footnotes;

@item @code{oxnum} is a style similar to the standard @code{numeric}, intended
for use with numeric in-text citations;

@item @code{oxalph} is a style similar to the standard @code{alphabetic},
intended for use with alphabetic in-text citations;

@item @code{oxyear} is a style similar to the standard @code{author-year},
intended for use with parenthetical in-text citations.

@end itemize

The bundle provides support for a wide variety of content types, including
manuscripts, audiovisual resources, social media and legal references.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-philosophy
  (package
    (name "texlive-biblatex-philosophy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-philosophy/"
                                     "source/latex/biblatex-philosophy/"
                                     "tex/latex/biblatex-philosophy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05fapyb6wwyv4mwjhgg3gasvqkwpwd6jxv095hird9011n6drrzm"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-biblatex
                  texlive-cochineal
                  texlive-csquotes
                  texlive-etoolbox
                  texlive-fontaxes
                  texlive-fontsize
                  texlive-guitlogo
                  texlive-hologo
                  texlive-hypdoc
                  texlive-inconsolata
                  texlive-libertine
                  texlive-listings
                  texlive-ltxdockit
                  texlive-manfnt
                  texlive-mdframed
                  texlive-metalogo
                  texlive-microtype
                  texlive-needspace
                  texlive-newtx
                  texlive-parskip
                  texlive-pgf
                  texlive-sectsty
                  texlive-upquote
                  texlive-xcolor
                  texlive-xkeyval
                  texlive-xstring
                  texlive-zref))))
    (home-page "https://ctan.org/pkg/biblatex-philosophy")
    (synopsis "Styles for using BibLaTeX for work in philosophy")
    (description
     "The bundle offers two styles --- @code{philosophy-classic} and
@code{philosophy-modern} --- that facilitate the production of two different
kinds of bibliography, based on the author-year style, with options and
features to manage the information about the translation of foreign texts or
their reprints.  Though the package's default settings are based on the
conventions used in Italian publications, these styles can be used with every
language recognized by Babel, possibly with some simple redefinitions.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-phys
  (package
    (name "texlive-biblatex-phys")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-phys/"
                                     "tex/latex/biblatex-phys/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q9l7ma3zpybx142adbiall4y5x4hc5kc536wpmiwkz29zi6w7ka"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-phys")
    (synopsis
     "BibLaTeX implementation of the AIP and APS bibliography style")
    (description
     "The package provides an implementation of the bibliography styles of
both the AIP and the APS for BibLaTeX.  This implementation follows standard
BibLaTeX conventions, and can be used simply by loading BibLaTeX with the
appropriate option: @samp{\\usepackage[style=phys]@{biblatex@}}.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-publist
  (package
    (name "texlive-biblatex-publist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-publist/"
                                     "tex/latex/biblatex-publist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xk80agsawp8amphpnk1s55kbp8rx5npphsadqi0nmclqi920f38"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-publist")
    (synopsis "BibLaTeX bibliography support for publication lists")
    (description
     "The package provides a BibLaTeX bibliography style file (@file{.bbx})
for publication lists.  The style file draws on BibLaTeX's @code{authoryear}
style, but provides some extra features often desired for publication lists,
such as the omission of the author's own name from author or editor data.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-readbbl
  (package
    (name "texlive-biblatex-readbbl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-readbbl/"
                                     "tex/latex/biblatex-readbbl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fr0p5c2v66vy86qx2m8i4p3p75d6qm506gv8xbfqckzyfzi9x6z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-readbbl")
    (synopsis "Read a @file{.bbl} file created by biber")
    (description
     "This small package modifies the BibLaTeX macro which reads a @file{.bbl}
file created by Biber.  It is thus possible to include a @file{.bbl} file into
the main document with the @code{environment} and send it to a publisher who
does not need to run the Biber program.  However, when the bibliography
changes one has to create a new @file{.bbl} file.")
    (license license:lppl)))

(define-public texlive-biblatex-realauthor
  (package
    (name "texlive-biblatex-realauthor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-realauthor/"
                                     "tex/latex/biblatex-realauthor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1av0vd7lwg5yad75b9fbi09s4bcaqd8bdz43kzyj2r7cimj8dpl0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-realauthor")
    (synopsis "Indicate the real author of a work")
    (description
     "This package allows to use a new field @code{realauthor}, which
indicates the real author of a work, when published in a pseudepigraphic
name.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-sbl
  (package
    (name "texlive-biblatex-sbl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-sbl/"
                                     "makeindex/biblatex-sbl/"
                                     "tex/latex/biblatex-sbl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b04lwzmsgapf2x1y83jdmzsc0h59dwy35lglxwvmlwlv8czpx9s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-sbl")
    (synopsis "Society of Biblical Literature (SBL) style files for BibLaTeX")
    (description
     "The package provides BibLaTeX support for citations in the format
specified by the second edition of the Society of Biblical Literature (SBL)
Handbook of Style.  A style file for writing SBL student papers is also
included.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-science
  (package
    (name "texlive-biblatex-science")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-science/"
                                     "tex/latex/biblatex-science/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sw2bzhbgbfg5gajbm61x4243qrfna1ifbp9bl1swdmvw9g3hycd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-science")
    (synopsis "BibLaTeX implementation of the @emph{Science} bibliography style")
    (description
     "The bundle offers styles that allow authors to use BibLaTeX when
preparing papers for submission to the journal @emph{Science}.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-shortfields
  (package
    (name "texlive-biblatex-shortfields")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-shortfields/"
                                     "tex/latex/biblatex-shortfields/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14s6ykbnb6b2i811rjn44chv8f73yhnnywczn78zwbij5z6jgcjv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-shortfields")
    (synopsis "Use short forms of fields with BibLaTeX")
    (description
     "The BibLaTeX package provides @code{shortseries} and @code{shortjournal}
field, but the default styles don't use them.  It also provides a mechanism to
print the equivalence between short forms of fields and long
fields (@code{\\printbiblist}), but this mechanism does not allow to mix
between different type of short fields, for example, between short forms of
journal title and short forms of series titles.

This package provides a solution to these two problems.  If
a @code{shortjournal} field is defined, it prints it instead of the
@code{\\journal} field.  If a @code{shortseries} field is defined, it prints
it instead of the @code{\\series} field.  It provides
a @code{\\printbibshortfields} command to print a list of the sort forms of
the fields.  This list also includes the claves defined with the
@code{biblatex-claves} package.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-socialscienceshuberlin
  (package
    (name "texlive-biblatex-socialscienceshuberlin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-socialscienceshuberlin/"
                                     "tex/latex/biblatex-socialscienceshuberlin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1klcvjf8vz3bg0q7pmci6hhih52ph0z0hhkbv3iippyy33jhijrc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-socialscienceshuberlin")
    (synopsis "BibLaTeX-style for the social sciences at HU Berlin")
    (description
     "This is a BibLaTeX style for the social sciences at the
Humboldt-Universitat zu Berlin.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-software
  (package
    (name "texlive-biblatex-software")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-software/"
                                     "source/latex/biblatex-software/"
                                     "tex/latex/biblatex-software/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dlinydsrlcw898ccynx76mdv9jsvr4ninsqv2aggmj3g9xripn0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-software")
    (synopsis "BibLaTeX stylefiles for software products")
    (description
     "This package implements software entry types for BibLaTeX in the form of
a bibliography style extension.  It requires the Biber backend.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-source-division
  (package
    (name "texlive-biblatex-source-division")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-source-division/"
                                     "tex/latex/biblatex-source-division/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07y25624fpmx9hfmyyga8wh5cmvl14lqbmflglpl60jqsy622mgi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-source-division")
    (synopsis "References by division in classical sources")
    (description
     "The package enables the user to make reference to division marks (such
as book, chapter, section), in the document being referenced, in addition to
the page-based references that BibTeX-based citations have always had.  The
citation is made in the same way as the LaTeX standard, but what's inside the
square brackets may include the division specification.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-spbasic
  (package
    (name "texlive-biblatex-spbasic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-spbasic/"
                                     "tex/latex/biblatex-spbasic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "071d1iqy1scz3wncsfv1backp5b7ly28rn5k0wy67wwz1vxa0d17"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-spbasic")
    (synopsis "BibLaTeX style emulating Springer's old @file{spbasic.bst}")
    (description
     "This package provides a bibliography and citation style for BibLaTeX and
Biber for typesetting articles for Springer's journals.  It is the same as the
old BibTeX style @file{spbasic.bst}.")
    (license license:lppl)))

(define-public texlive-biblatex-subseries
  (package
    (name "texlive-biblatex-subseries")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-subseries/"
                                     "tex/latex/biblatex-subseries/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09kqqccn8dlaydz1v2szllryaxrj0c36z63ynhrv9dvd1sk0vdhd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-subseries")
    (synopsis "Manages subseries with BibLaTeX")
    (description
     "Some publishers organize book series with subseries.  In this case, two
numbers are associated with one volume: the number inside the series and the
number inside the subseries.  This package provides new fields to manage such
system.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-swiss-legal
  (package
    (name "texlive-biblatex-swiss-legal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-swiss-legal/"
                                     "tex/latex/biblatex-swiss-legal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x4dy1vxrbx0xkw3vysvcds0s1jz9w1pwri5ypiidj517sdsnff4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-swiss-legal")
    (synopsis
     "Bibliography and citation styles following Swiss legal practice")
    (description
     "The package provides BibLaTeX bibliography and citation styles for
documents written in accordance with Swiss legal citation standards in either
French or German.  However, the package is at present outdated and does not
work properly with newer versions of BibLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-trad
  (package
    (name "texlive-biblatex-trad")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-trad/"
                                     "tex/latex/biblatex-trad/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19ma61dsdpsm52zm7wnkqccmx54g9gvh05d10c59q86ffv1dnlmx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-trad")
    (synopsis "Traditional BibTeX styles with BibLaTeX")
    (description
     "The bundle provides implementations of the traditional BibTeX styles
(@code{plain}, @code{abbrev}, @code{unsrt} and @code{alpha}) with BibLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-true-citepages-omit
  (package
    (name "texlive-biblatex-true-citepages-omit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-true-citepages-omit/"
                                     "tex/latex/biblatex-true-citepages-omit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mfkmn5g6r61mlyf3vx98q18a042yjkmh3drid9vs0kaj66di4n5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-true-citepages-omit")
    (synopsis
     "Correct some limitations of BibLaTeX @samp{citepages=omit} option")
    (description
     "This package deals with a limitation of the @samp{citepages=omit} option
of the verbose family of BibLaTeX citestyles.  The option works when you
@code{\\cite[xx]@{key@}}, but not when you @code{\\cite[\\pno~xx, some
text]@{key@}}.  The package corrects this problem.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-unified
  (package
    (name "texlive-biblatex-unified")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-unified/"
                                     "tex/latex/biblatex-unified/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d9b20m10dlkii2zxj00xgascqarf8qv1vfz28v7hnm9vd54h3rw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-unified")
    (synopsis "BibLaTeX unified stylesheet for linguistics journals")
    (description
     "BibLaTeX-unified is an opinionated BibLaTeX implementation of the
Unified Stylesheet for Linguistics Journals.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-vancouver
  (package
    (name "texlive-biblatex-vancouver")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-vancouver/"
                                     "tex/latex/biblatex-vancouver/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sji214mi5garp5h3if1fh1rvck573cxg61rgdlyy543883nrxv7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-vancouver")
    (synopsis "Vancouver style for BibLaTeX")
    (description
     "This package provides the Vancouver reference style for BibLaTeX.  It is
based on the @code{numeric} style and requires Biber.")
    (license license:gpl3+)))

(define-public texlive-biblatex2bibitem
  (package
    (name "texlive-biblatex2bibitem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex2bibitem/"
                                     "tex/latex/biblatex2bibitem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cd9b7vhmlx2clqr2gpwqs4hjga9mjqlxj7m74kq555rn5ppkyyn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex2bibitem")
    (synopsis "Convert BibLaTeX-generated bibliography to bibitems")
    (description
     "Some journals accept the reference list only as @code{\\bibitems}.  If
you use BibTeX, there is no problem: just paste the content of the @file{.bbl}
file into your document.  However, there was no out-of-the-box way to do the
same for BibLaTeX, and you had to struggle with searching appropriate
@file{.bst} files, or formatting your reference list by hand, or something
like that.  Using the workaround provided by this package solves the
problem.")
    (license license:lppl1.3c)))

(define-public texlive-bibleref
  (package
    (name "texlive-bibleref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibleref/"
                                     "source/latex/bibleref/"
                                     "tex/latex/bibleref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fgb6lljdsdvkbs4i7yvwvgjbpbc8vnki0wv3gdi9yq6s5j6lzv5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibleref")
    (synopsis "Format @emph{Bible} citations")
    (description
     "The bibleref package offers consistent formatting of references to parts
of the Christian @emph{Bible}, in a number of well-defined formats.")
    (license license:lppl1.3+)))

(define-public texlive-bibleref-french
  (package
    (name "texlive-bibleref-french")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibleref-french/"
                                     "source/latex/bibleref-french/"
                                     "tex/latex/bibleref-french/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12y9xdsz0swh3rndmzk7ch9fbszbhcp0ixb21jyy36xnb3x80wa5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibleref-french")
    (synopsis "French translations for @code{bibleref}")
    (description
     "The package provides translations and alternative typesetting
conventions for use of @code{bibleref} in French.")
    (license license:lppl1.3+)))

(define-public texlive-bibleref-german
  (package
    (name "texlive-bibleref-german")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibleref-german/"
                                     "tex/latex/bibleref-german/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nqky0x9j6w3xg2vaj29db7l0zjw88d7bl6vs8864hqz2i6h2pcw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibleref-german")
    (synopsis "German adaptation of @code{bibleref}")
    (description
     "The package provides translations and various formats for the use of
@code{bibleref} in German documents.  The German naming of the Bible books
complies with the @emph{Loccumer Richtlinien} (Locum guidelines).  In
addition, the Vulgate (Latin Bible) is supported.")
    (license license:lppl1.3+)))

(define-public texlive-bibleref-lds
  (package
    (name "texlive-bibleref-lds")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibleref-lds/"
                                     "source/latex/bibleref-lds/"
                                     "tex/latex/bibleref-lds/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wqmpzml3yyhzv7bx5wkfl2ni0qinz0kjzdanh6rx0bczp29dlfh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibleref-lds")
    (synopsis
     "Bible references, including scriptures of the Church of Jesus Christ of
Latter Day Saints")
    (description
     "The package extends the @code{bibleref-mouth} package to support
references to the scriptures of The Church of Jesus Christ of Latter-day
Saints (LDS).")
    (license license:lppl1.3+)))

(define-public texlive-bibleref-mouth
  (package
    (name "texlive-bibleref-mouth")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibleref-mouth/"
                                     "source/latex/bibleref-mouth/"
                                     "tex/latex/bibleref-mouth/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dakbx8rnjs9yjnn1xal9y0bmh165lqhbjj3bns974vkyb7nla4m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibleref-mouth")
    (synopsis "Consistent formatting of @emph{Bible} references")
    (description
     "The package allows @emph{Bible} references to be formatted in
a consistent way.  It is similar to the @code{bibleref} package, except that
the formatting macros are all purely expandable --- that is, they are all
implemented in TeX's mouth.  This means that they can be used in any
expandable context, such as an argument to a @code{\\url} command.")
    (license license:lppl1.3+)))

(define-public texlive-bibleref-parse
  (package
    (name "texlive-bibleref-parse")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibleref-parse/"
                                     "tex/latex/bibleref-parse/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01jhic1idgjgv9hsx5gih4230krfqm8pc3j7f4kn22w2jnw7fs68"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibleref-parse")
    (synopsis "Specify @emph{Bible} passages in human-readable format")
    (description
     "The package parses @emph{Bible} passages that are given in human
readable format.  It accepts a wide variety of formats.  This allows for
a simpler and more convenient interface to the functionality of the
@code{bibleref} package.")
    (license license:lppl1.3+)))

(define-public texlive-biblist
  (package
    (name "texlive-biblist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblist/" "tex/latex/biblist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r7cd68yr8pnmqnr39qzp42kxqcx89cqzz81ig9y7qgicznji0i8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblist")
    (synopsis "Print a BibTeX database")
    (description
     "The package provides the means of listing an entire BibTeX database,
avoiding the potentially large (macro) impact associated with
@code{\\nocite@{*@}}.")
    (license license:gpl3+)))

(define-public texlive-bidihl
  (package
    (name "texlive-bidihl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/bidihl/" "tex/xelatex/bidihl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "021q2qhfl2ww95nbp63p3j7lv9wjj5s9wvn2sj5zyj1pcw75l8ir"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bidihl")
    (synopsis "Experimental Bidi-aware text highlighting")
    (description
     "This package provides experimental Bidi-aware text highlighting.")
    (license license:lppl1.3+)))

(define-public texlive-bibtexperllibs
  (package
    (name "texlive-bibtexperllibs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/ltx2unitxt.1"
                                     "doc/man/man1/ltx2unitxt.man1.pdf"
                                     "scripts/bibtexperllibs/"
                                     "source/support/bibtexperllibs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07frlvg53m6ps8gyh04kwwhsmyyvycqj72s31h4z82y9gxxajxc6"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibtexperllibs")
    (synopsis "BibTeX Perl Libraries")
    (description
     "This package provides BibTeX related Perl libraries.")
    (license
     (list license:artistic2.0
           license:gpl1
           license:public-domain))))

(define-public texlive-bibtopic
  (package
    (name "texlive-bibtopic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibtopic/"
                                     "source/latex/bibtopic/"
                                     "tex/latex/bibtopic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b4lhlw29y37c7pxmqvy4ahgb85bmxrgnr2jhzvdhzdm5y9md7a3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/bibtopic")
    (synopsis "Include multiple bibliographies in a document")
    (description
     "The package allows the user to include several bibliographies covering
different topics or bibliographic material into a document (e.g., one
bibliography for primary literature and one for secondary literature).  The
package provides commands to include either all references from a @file{.bib}
file, only the references actually cited or those not cited in your document.
The user has to construct a separate @file{.bib} file for each bibliographic
topic, each of which will be processed separately by BibTeX.  If you want to
have bibliographies specific to one part of a document, see the packages
@code{bibunits} or @code{chapterbib}.")
    (license license:gpl3+)))

(define-public texlive-bibtopicprefix
  (package
    (name "texlive-bibtopicprefix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibtopicprefix/"
                                     "source/latex/bibtopicprefix/"
                                     "tex/latex/bibtopicprefix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fadq51adii1453v31xj7p328h4rvans1ynmxjcmnwhlj4hdjp5n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibtopicprefix")
    (synopsis "Prefix references to bibliographies produced by
@code{bibtopic}")
    (description
     "The package permits users to apply prefixes (fixed strings) to
references to entries in bibliographies produced by the @code{bibtopic}
package.")
    (license license:lppl)))

(define-public texlive-bibunits
  (package
    (name "texlive-bibunits")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibunits/"
                                     "source/latex/bibunits/"
                                     "tex/latex/bibunits/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hlz277lskhcs5xr0qn2rram957himj67hkwqqsjjap8khf7fz6v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibunits")
    (synopsis "Multiple bibliographies in one document")
    (description
     "The package provide a mechanism to generate separate bibliographies for
different units (chapters, sections or bibunit-environments) of a text.  The
package separates the citations of each unit of text into a separate file to
be processed by BibTeX.  The global bibliography section produced by LaTeX may
also appear in the document and citations can be placed in both the local unit
and the global bibliographies at the same time.")
    (license license:lppl)))

(define-public texlive-binomexp
  (package
    (name "texlive-binomexp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/binomexp/"
                                     "source/latex/binomexp/"
                                     "tex/latex/binomexp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wmhsqqz2hy75x20srs1237yba4s00yrdhr52hkrh3nldzqwhqcc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/binomexp")
    (synopsis "Calculate Pascal's triangle")
    (description
     "The package calculates and prints rows of Pascal's triangle.  It may be
used to print successive rows of the triangle, or to print the rows inside an
@code{array} or @code{tabular} environment.")
    (license license:lppl)))

(define-public texlive-biocon
  (package
    (name "texlive-biocon")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biocon/" "tex/latex/biocon/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m3qqrl5z071w4zs8fs3wv0b4ix0s6cqh4ixzqj28d74aaf9r1y1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biocon")
    (synopsis "Typesetting biological species names")
    (description
     "The biocon--biological conventions--package aids the typesetting of some
biological conventions.  At the moment, it makes a good job of typesetting
species names (and ranks below the species level).  A distinction is made
between the Plant, Fungi, Animalia and Bacteria kingdoms.  There are default
settings for the way species names are typeset, but they can be customized.
Different default styles are used in different situations.")
    (license license:gpl3+)))

(define-public texlive-biolett-bst
  (package
    (name "texlive-biolett-bst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/biolett-bst/"
                                     "doc/bibtex/biolett-bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xfr79xw0ih61s5qapx2adiyjj0d149nslpmkd1fw29g1v4zrjd2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biolett-bst")
    (synopsis "BibTeX style for the journal @emph{Biology Letters}")
    (description
     "This package provides a BibTeX style (@file{.bst}) file for the journal
@emph{Biology Letters} published by the Royal Society.")
    (license license:lppl1.0+)))

(define-public texlive-bitelist
  (package
    (name "texlive-bitelist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/bitelist/"
                                     "source/generic/bitelist/"
                                     "tex/generic/bitelist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jv9w2jgx8q2k9xx0n4azlngsh26zs37ihavq0xy4n62ajf64ps6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bitelist")
    (synopsis "Split list, in TeX's mouth")
    (description
     "The package provides commands for splitting a token list at the first
occurrence of another (specified) token list.  The package's mechanism differs
from those of packages providing similar features, in the following ways: the
method uses TeX's mechanism of reading delimited macro parameters; splitting
macros work by pure expansion, without assignments; the operation is carried
out in a single macro call.  A variant of the operation is provided, that
retains outer braces.")
    (license license:lppl1.3+)))

(define-public texlive-bitpattern
  (package
    (name "texlive-bitpattern")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bitpattern/"
                                     "source/latex/bitpattern/"
                                     "tex/latex/bitpattern/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00f423jran7qqg9fwy3p7w1lhi20cxzlvn4hzsrz5pwd87bmvxxb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bitpattern")
    (synopsis "Typeset bit pattern diagrams")
    (description
     "This package provides a package to typeset bit pattern diagrams such as those
used to describe hardware, data format or protocols.")
    (license license:lppl)))

(define-public texlive-bitter
  (package
    (name "texlive-bitter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/bitter/"
                                     "fonts/enc/dvips/bitter/"
                                     "fonts/map/dvips/bitter/"
                                     "fonts/tfm/huerta/bitter/"
                                     "fonts/truetype/huerta/bitter/"
                                     "fonts/type1/huerta/bitter/"
                                     "fonts/vf/huerta/bitter/"
                                     "tex/latex/bitter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xh3vssfrfkdrwzsmid7frm4n9gjb8x7czh8zyybdcvv9vb8n3d9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bitter")
    (synopsis "Bitter family of fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX, and LuaLaTeX support for
the Bitter family of fonts.  Bitter is a contemporary slab-serif typeface for
text.  There are regular and bold weights and an italic, but no bold italic.")
    (license (list license:lppl license:silofl1.1))))

(define-public texlive-bjfuthesis
  (package
    (name "texlive-bjfuthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bjfuthesis/"
                                     "tex/latex/bjfuthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qhb9kighs4ljmnn94qaihpllhwvmi76j3p8yylyjw2hzip102wr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bjfuthesis")
    (synopsis "Thesis class for Beijing Forestry University")
    (description
     "This is a class file for producing dissertations and theses according to
the @acronym{BJFU, Beijing Forestry University} guidelines for undergraduate
theses and dissertations.")
    (license license:gpl3)))

(define-public texlive-blacklettert1
  (package
    (name "texlive-blacklettert1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/blacklettert1/"
                                     "fonts/tfm/public/blacklettert1/"
                                     "fonts/vf/public/blacklettert1/"
                                     "source/fonts/blacklettert1/"
                                     "tex/latex/blacklettert1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fvrz3rbcdgzrg3rg3nfvdb52zxn9vhsx0xd8rc6xryzrqaib7q0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/blacklettert1")
    (synopsis "T1-encoded versions of Haralambous old German fonts")
    (description
     "This package contains virtual fonts that offer T1-alike encoded variants
of old German fonts Gothic, Schwabacher and Fraktur (which are also available
in Adobe type 1 format).  The package includes LaTeX macros to embed the fonts
into the LaTeX font selection scheme.")
    (license license:lppl1.2+)))

(define-public texlive-bmstu
  (package
    (name "texlive-bmstu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bmstu/" "tex/latex/bmstu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ipdwd78b5w4v85nqlbxf8gi42mdz19r5mdjj3agwlgb0z6icjra"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bmstu")
    (synopsis "LaTeX class for Bauman Moscow State Technical University")
    (description
     "The class defines commands and environments for creating reports and
explanatory notes in Bauman Moscow State Technical University (Russia).")
    (license
     (list license:lppl1.3+
           ;; File "bmstu-logo.pdf" is a logo of Bauman Moscow ;; State
           ;; Technical University and complies with fair use (article 1274 of
           ;; the Russian Civil Code).
           (license:fsdg-compatible "file://doc/latex/bmstu/README.md")))))

(define-public texlive-bmstu-iu8
  (package
    (name "texlive-bmstu-iu8")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bmstu-iu8/"
                                     "tex/latex/bmstu-iu8/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nb3dfaw0m3w179z46d7fbvibkp15wf4ws3xbvws0gymwyi4nx1m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bmstu-iu8")
    (synopsis "Class for IU8 reports")
    (description
     "This package consists of a class file and style files for writing
reports at the IU8 department of IU faculty of @acronym{BMSTU, Bauman Moscow
State Technical University}.  The class defines all headings, structure
elements and other things in respect of Russian standard GOST 7.32-2017.  But
there are correctives to be compatible with our local IU8 department
requirements.")
    (license license:expat)))

(define-public texlive-bodeplot
  (package
    (name "texlive-bodeplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bodeplot/"
                                     "source/latex/bodeplot/"
                                     "tex/latex/bodeplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b55y82gmxjyy9g1v2b85p1qr0hyf47jh345phbnyqxb9zk5kb5c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bodeplot")
    (synopsis "Draw Bode, Nyquist and Nichols plots with Gnuplot or
 @code{pgfplots}")
    (description
     "This is a LaTeX package to plot Bode, Nichols, and Nyquist diagrams.  It
provides added functionality over the similar @code{bodegraph} package:

@itemize
@item new @code{\\BodeZPK} and @code{\\BodeTF} commands to generate Bode plots
of any transfer function given either poles, zeros, gain, and delay, or
numerator and denominator coefficients and delay;
@item support for unstable poles and zeros;
@item support for complex poles and zeros;
@item support for general stable and unstable second order transfer functions;
@item support for both Gnuplot (default) and @code{pgfplots};
@item support for linear and asymptotic approximation of magnitude and phase
plots of any transfer function given poles, zeros, and gain.
@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-bohr
  (package
    (name "texlive-bohr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bohr/" "tex/latex/bohr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02slnkmxha906y7z04dffamy0lywq95l9yvklxjlm2kvjhqv2wnw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bohr")
    (synopsis "Simple atom representation according to the Bohr model")
    (description
     "The package provides means for the creation of simple Bohr models of
atoms up to the atomic number 112.  In addition, commands are provided to
convert atomic numbers to element symbols or element names and vice versa.")
    (license license:lppl1.3+)))

(define-public texlive-boisik
  (package
    (name "texlive-boisik")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/boisik/"
                                     "fonts/source/public/boisik/"
                                     "fonts/tfm/public/boisik/"
                                     "tex/latex/boisik/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xg00nb28dgc8ch85n1mgj5n0cshkvyvgv98qawxn2xvx14vqw89"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     ;; FIXME: Font metrics generation fails for "bskmab10" font, with error:
     ;; "! Strange path (turning number is zero)".
     (list #:phases
           #~(modify-phases %standard-phases
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/boisik")
    (synopsis "Font inspired by Baskerville design")
    (description
     "Boisik is a serif font set (inspired by the Baskerville typeface),
written in Metafont.  The set comprises roman and italic text fonts and maths
fonts.  LaTeX support is offered for use with OT1, IL2 and OM* encodings.")
    (license license:gpl2)))

(define-public texlive-boldtensors
  (package
    (name "texlive-boldtensors")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/boldtensors/"
                                     "tex/latex/boldtensors/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06c0wa4qai0qdbad44464nc5zap9bc03yjn89yagsr4dzxif0jrg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/boldtensors")
    (synopsis
     "Bold latin and greek characters through simple prefix characters")
    (description
     "This package provides bold latin and greek characters within
@code{\\mathversion@{normal@}}, by using @samp{~} and @samp{\"} as prefix
characters.")
    (license license:gpl3+)))

(define-public texlive-bookdb
  (package
    (name "texlive-bookdb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/bookdb/" "doc/bibtex/bookdb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0df6bzmc90af3v4nzv6hp9padpc7h680vm2hy8wzb268z3ld268h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bookdb")
    (synopsis "BibTeX style file for cataloguing a home library")
    (description
     "This package provides an extended book entry for use in cataloguing
a home library.  The extensions include fields for binding, category,
collator, condition, copy, illustrations, introduction, location, pages, size,
value, volumes.")
    (license license:lppl1.3+)))

(define-public texlive-bookhands
  (package
    (name "texlive-bookhands")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/bookhands/"
                                     "fonts/afm/public/bookhands/"
                                     "fonts/map/dvips/bookhands/"
                                     "fonts/source/public/bookhands/"
                                     "fonts/tfm/public/bookhands/"
                                     "fonts/type1/public/bookhands/"
                                     "source/fonts/bookhands/"
                                     "tex/latex/bookhands/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ssz80jwmd00x7d1x1xc6i61kbs30bc875bvakd5gymdw2kv7s3z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/bookhands")
    (synopsis "Collection of book-hand fonts")
    (description
     "This is a set of book-hand (Metafont) fonts and packages covering
manuscript scripts from the 1st century until Gutenberg and Caxton.  The
included hands are: Square Capitals (1st century onwards); Roman
Rustic (1st-6th centuries); Insular Minuscule (6th cenury onwards);
Carolingian Minuscule (8th-12th centuries); Early Gothic (11th-12th
centuries); Gothic Textura Quadrata (13th-15th centuries); Gothic Textura
Prescisus vel sine pedibus (13th century onwards); Rotunda (13-15th
centuries); Humanist Minuscule (14th century onwards); Uncial (3rd-6th
centuries); Half Uncial (3rd-9th centuries); Artificial Uncial (6th-10th
centuries); and Insular Majuscule (6th-9th centuries).")
    (license license:lppl)))

(define-public texlive-booktabs-de
  (package
    (name "texlive-booktabs-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/booktabs-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ld7zdr88xjhnnl2x734rxr7h0fz84awapmv50p1kzn6fczrwyam"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/booktabs-de")
    (synopsis "German version of @code{booktabs}")
    (description
     "This is a German translation of the @code{booktabs} package
documentation.")
    (license license:gpl3+)))

(define-public texlive-booktabs-fr
  (package
    (name "texlive-booktabs-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/booktabs-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xkqh6r2q835xaa92b24fzf61jsm85280570hivvwnch96i4fnh3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/booktabs-fr")
    (synopsis "French translation of @code{booktabs} documentation")
    (description
     "This package provides a French translation of @code{booktabs}
documentation.")
    (license license:lppl)))

(define-public texlive-boondox
  (package
    (name "texlive-boondox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/boondox/"
                                     "fonts/map/dvips/boondox/"
                                     "fonts/tfm/public/boondox/"
                                     "fonts/type1/public/boondox/"
                                     "fonts/vf/public/boondox/"
                                     "tex/latex/boondox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rsid25qlsbj3z60h8n22m8l6gyk4nbr598c6z9azldpxn88dz91"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/boondox")
    (synopsis "Mathematical alphabets derived from the STIX fonts")
    (description
     "The package contains a number of PostScript fonts derived from the STIX
OpenType fonts that may be used in maths mode in regular and bold weights for
Calligraphic, Fraktur and Double-struck alphabets.  Virtual fonts with metrics
suitable for maths mode are provided, as are LaTeX support files.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-borceux
  (package
    (name "texlive-borceux")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/borceux/"
                                     "tex/generic/borceux/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fil90jsiqg7b0if3yq0jxv4rh7vanj2yj9pv8pnfkhvqii4p821"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/borceux")
    (synopsis "Diagram macros by Francois Borceux")
    (description
     "The macros support the construction of diagrams, such as those that
appear in category theory texts.  The user gives the list of vertices and
arrows to be included, just as when composing a matrix, and the program takes
care of computing the dimensions of the arrows and realizing the page setting.
All the user has to do about the arrows is to specify their
type (monomorphism, pair of adjoint arrows, etc.) and their direction (north,
south-east, etc.); 12 types and 32 directions are available.")
    ;; "You may freely use, modify, and/or distribute each of the
    ;; files in this package without limitation."
    (license (license:fsf-free "file://doc/generic/borceux/README"))))

(define-public texlive-bosisio
  (package
    (name "texlive-bosisio")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bosisio/" "source/latex/bosisio/"
                                     "tex/latex/bosisio/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z4s0dgvwffy4356zj0m6kkk9lqzq1180km5sg5syvk11m7mxffn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/bosisio")
    (synopsis "Collection of packages by Francesco Bosisio")
    (description
     "This package provides a collection of packages containing: @code{accenti},
@code{dblfont}, @code{envmath}, @code{evenpage}, @code{graphfig},
@code{mathcmd}, @code{quotes}, and @code{sobolev}.")
    (license license:lppl)))

(define-public texlive-bpchem
  (package
    (name "texlive-bpchem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bpchem/" "source/latex/bpchem/"
                                     "tex/latex/bpchem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qm0w43iyh42l3srhqsgqq5yjxx3ghxamq6nh68qq6x4izlyv51z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bpchem")
    (synopsis "Typeset chemical names, formulae, etc")
    (description
     "The package provides support for typesetting simple chemical formulae,
those long IUPAC compound names, and some chemical idioms.  It also supports
the labelling of compounds and reference to labelled compounds.")
    (license license:lppl)))

(define-public texlive-br-lex
  (package
    (name "texlive-br-lex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/br-lex/" "tex/latex/br-lex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "154mjkywvyif57zvqbq5wxs84357148km2x0lqqdx6nanr3vwmxb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/br-lex")
    (synopsis "Class for typesetting Brazilian legal texts")
    (description
     "This class implements rules to typeset Brazilian legal texts.  Its
purpose is to be an easy-to-use implementation for the end-user.")
    (license license:lppl1.3+)))

(define-public texlive-braille
  (package
    (name "texlive-braille")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/braille/" "tex/latex/braille/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "021nxjz23gn8zjrrzxggjaqq3gv894c512x15kffywm8h5k0bzy5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/braille")
    (synopsis "Support for Braille")
    (description
     "This package allows the user to produce Braille documents on paper for
the blind without knowing Braille.  Python scripts @file{grade1.py} and
@file{grade2.py} convert ordinary text to grade 1 and 2 Braille tags; then,
the LaTeX package takes the tags and prints out corresponding Braille
symbols.")
    (license license:lppl1.3+)))

(define-public texlive-brandeis-dissertation
  (package
    (name "texlive-brandeis-dissertation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/brandeis-dissertation/"
                                     "source/latex/brandeis-dissertation/"
                                     "tex/latex/brandeis-dissertation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dsg285wcpfxd0p1fs1dac87c0csbv21zz76cdjgishasmqrxdmg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/brandeis-dissertation")
    (synopsis "Class for Brandeis University dissertations")
    (description
     "The class will enable the user to typeset a dissertation which adheres
to the formatting guidelines of Brandeis University @acronym{GSAS, Graduate
School of Arts and Sciences}.")
    (license license:lppl1.2+)))

(define-public texlive-brandeis-problemset
  (package
    (name "texlive-brandeis-problemset")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/brandeis-problemset/"
                                     "tex/latex/brandeis-problemset/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "172l1jmvacjg9j5fkyrmsrhsj5pyaaq8g9pfvkahcnhk3jfc3pnp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/brandeis-problemset")
    (synopsis "Document class for COSI Problem sets at Brandeis University")
    (description
     "Brandeis University's computer science courses often assign problem sets
which require fairly rigorous formatting.  This document class, which extends
@code{article}, provides a simple way to typeset these problem sets in LaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-brandeis-thesis
  (package
    (name "texlive-brandeis-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/brandeis-thesis/"
                                     "source/latex/brandeis-thesis/"
                                     "tex/latex/brandeis-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03m5m5l8jw5jkrqc4pzmk0ghijlaw25r1bn9mhva6m9kxz1sj9q4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/brandeis-thesis")
    (synopsis "Class for Brandeis University M.A. theses")
    (description
     "@file{brandeis-thesis.cls} provides the structures and formatting
information for an M.A.@: thesis for the Brandeis University Graduate School
of Arts and Sciences.")
    (license license:lppl1.3c)))

(define-public texlive-breakcites
  (package
    (name "texlive-breakcites")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/breakcites/"
                                     "tex/latex/breakcites/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12jiw135xi12k0f46zmza4jw141gq919c6q0ijv8xlic0wra4gyy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/breakcites")
    (synopsis "Ensure that multiple citations may break at line end")
    (description
     "This package makes a very minor change to the operation of the
@code{\\cite} command so that multiple citations may break at line end.  Note
that the change is not necessary in unmodified LaTeX; however, there remain
packages that restore the undesirable behaviour of the command as provided in
LaTeX 2.09.  Neither @code{cite} nor @code{natbib} make this mistake.")
    ;; The file below states: "You may freely use, modify, and/or
    ;; distribute this package without limitation."
    (license (license:fsf-free "file://doc/latex/breakcites/README"))))

(define-public texlive-bropd
  (package
    (name "texlive-bropd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bropd/" "source/latex/bropd/"
                                     "tex/latex/bropd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cyyadfvrcym4vvxl9p9zb88692m0578nqljip12xxahb4srcyb9"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs (list (texlive-updmap.cfg
                          (list texlive-etoolbox
                                texlive-hypdoc))))
    (home-page "https://ctan.org/pkg/bropd")
    (synopsis "Simplified brackets and differentials in LaTeX")
    (description
     "The package simplifies the process of writing differential operators and
brackets in LaTeX.  The commands facilitate the easy manipulation of equations
involving brackets and allow partial differentials to be expressed in an
alternate form.")
    (license license:lppl1.3+)))

(define-public texlive-brushscr
  (package
    (name "texlive-brushscr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/brushscr/"
                                     "dvips/brushscr/"
                                     "fonts/afm/public/brushscr/"
                                     "fonts/map/dvips/brushscr/"
                                     "fonts/tfm/public/brushscr/"
                                     "fonts/type1/public/brushscr/"
                                     "fonts/vf/public/brushscr/"
                                     "tex/latex/brushscr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kdikrlhbqfcnb42y5pz93l8wkzbrn7hx5gjf05vkchcxq24nj5x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/brushscr")
    (synopsis "Handwriting script font")
    (description
     "The BrushScript font simulates hand-written characters; it is
distributed in Adobe Type 1 format (but is available in italic shape only).
The package includes the files needed by LaTeX in order to use that font.")
    (license license:public-domain)))

(define-public texlive-buctthesis
  (package
    (name "texlive-buctthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/buctthesis/"
                                     "source/xelatex/buctthesis/"
                                     "tex/xelatex/buctthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h8djmkc6jcn10g0w1qmw0mw8v42dsb7kijfv87qxw78i1cfsbax"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/buctthesis")
    (synopsis "Beijing University of Chemical Technology thesis template")
    (description
     "This package provides a LaTeX class and template for Beijing University
of Chemical Technology, supporting bachelor, master, and doctor theses.")
    (license license:lppl1.3c)))

(define-public texlive-burmese
  (package
    (name "texlive-burmese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/burmese/"
                                     "fonts/map/dvips/burmese/"
                                     "fonts/tfm/public/burmese/"
                                     "fonts/type1/public/burmese/"
                                     "source/fonts/burmese/"
                                     "tex/latex/burmese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04d022k7bqc7092xhsda0h5ma18b24hkmn0b7mlblpd3zf4qhs79"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          ;; The "birm.pl" script is located in the "source" part, and
          ;; therefore will not appear in any output.  This phase forces its
          ;; installation in "bin/" directory.
          (add-after 'install 'install-script
            (lambda _
              (install-file "source/fonts/burmese/birm.pl"
                            (string-append #$output "/bin")))))))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/burmese")
    (synopsis "Basic support for writing Burmese")
    (description
     "This package provides basic support for writing Burmese.  The package
provides a preprocessor (written in Perl), an Adobe Type 1 font, and LaTeX
macros.")
    ;; The package itself is under LPPL terms, but the preprocessor relies on
    ;; Knuth's.
    (license (list license:lppl license:knuth))))

(define-public texlive-bussproofs-extra
  (package
    (name "texlive-bussproofs-extra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bussproofs-extra/"
                                     "source/latex/bussproofs-extra/"
                                     "tex/latex/bussproofs-extra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08n6ww2fcijkisldrhbvvm52n3r4fy10bz1i4jyac7wnnpw8dd2p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bussproofs-extra")
    (synopsis "Extra commands for @file{bussproofs.sty}")
    (description
     "This package provides additional functionality for
@file{bussproofs.sty}; specifically, it allows for typesetting of
entire (sub)deductions.")
    (license license:lppl1.3c)))

(define-public texlive-bxbase
  (package
    (name "texlive-bxbase")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxbase/" "tex/latex/bxbase/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19zhvwj55lihlj11mk322735z595al847wsg3p0s3a9zm17b0skk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxbase")
    (synopsis "BX bundle base components")
    (description
     "The main purpose of this bundle is to serve as an underlying library for
other packages created by the same author.  However @code{bxbase} package
contains a few user-level commands and is of some use by itself.")
    (license license:expat)))

(define-public texlive-bxcjkjatype
  (package
    (name "texlive-bxcjkjatype")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxcjkjatype/"
                                     "tex/latex/bxcjkjatype/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jhjhrfmabfdwzk2gv2zsaadj3907ajxic4dqzwaz43cip05iy3z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxcjkjatype")
    (synopsis "Typeset Japanese with pdfLaTeX and CJK")
    (description
     "The package provides a working configuration of the CJK package,
suitable for Japanese typesetting of moderate quality.  Moreover, it
facilitates use of the CJK package for pLaTeX users, by providing commands
that are similar to those used by the pLaTeX kernel and some other packages
used with it.")
    (license license:expat)))

(define-public texlive-bxghost
  (package
    (name "texlive-bxghost")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxghost/" "tex/latex/bxghost/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11hnnyd6h3r5fl9p23qj1zspwzgnamfah7xqj7l1prp6ygb322mn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxghost")
    (synopsis "Ghost insertion for proper @code{xkanjiskip}")
    (description
     "The package provides two commands to help authors for documents in
Japanese to insert proper @code{xkanjiskips}.  It supports LuaTeX, XeTeX,
pTeX, upTeX, and ApTeX (pTeX-ng).")
    (license license:expat)))

(define-public texlive-bxjaholiday
  (package
    (name "texlive-bxjaholiday")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxjaholiday/"
                                     "tex/latex/bxjaholiday/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n0h9g5lgaz00gn8wjai8w3pbg7bs02aaw7zi7h8l01i4lc8l1r1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxjaholiday")
    (synopsis "Support for Japanese holidays")
    (description
     "This LaTeX package provides a command to convert dates to names of
Japanese holidays.  Another command, converting dates to the day of the week
in Japanese, is available as a free gift.")
    (license license:expat)))

(define-public texlive-bxjalipsum
  (package
    (name "texlive-bxjalipsum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxjalipsum/"
                                     "tex/latex/bxjalipsum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00lmr20lb7yd98iblg0i3pqvxh80arivdgyvzkj5mj2ivil7vw9k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxjalipsum")
    (synopsis "Dummy text in Japanese")
    (description
     "This package enables users to print some Japanese text that can be used
as dummy text.  It is a Japanese counterpart of the @code{lipsum} package.
Since there is no well-known nonsense text like Lipsum in the Japanese
language, the package uses some real text in public domain.")
    (license license:expat)))

(define-public texlive-bxjaprnind
  (package
    (name "texlive-bxjaprnind")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxjaprnind/"
                                     "tex/latex/bxjaprnind/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j2k06y63c7dgpcflrfrjy82g2746fnmpf8dk445lbqkbn1jypr5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxjaprnind")
    (synopsis "Adjust the position of parentheses at paragraph head")
    (description
     "In Japanese typesetting, opening parentheses placed at the beginning of
paragraphs or lines are treated specially.  This package adjusts the position
of parentheses accordingly.")
    (license license:expat)))

(define-public texlive-bxjatoucs
  (package
    (name "texlive-bxjatoucs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxjatoucs/"
                                     "fonts/tfm/public/bxjatoucs/"
                                     "tex/latex/bxjatoucs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1032lfp9qy4arzy06s5hkqlva7y182763wxfdql93yn68hcn85vd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxjatoucs")
    (synopsis "Convert Japanese character code to Unicode")
    (description
     "This package is meant for macro or package developers: it provides
function-like macros that convert a character code value in one of several
Japanese encodings to a Unicode value.  Supported source encodings are:
ISO-2022-JP (jis), EUC-JP (euc), Shift_JIS (sjis), and the Adobe-Japan1 glyph
set.")
    (license license:expat)))

(define-public texlive-bxjscls
  (package
    (name "texlive-bxjscls")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxjscls/" "source/latex/bxjscls/"
                                     "tex/latex/bxjscls/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qgv528s7n36j4276jkd0gazfh2nary6yqll8qv98pc2k049vblg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxjscls")
    (synopsis "Japanese document class collection for all major engines")
    (description
     "This package provides an extended version of the Japanese document class
collection provided by @code{jsclasses}.  While the original version supports
only pLaTeX and upLaTeX, the extended version also supports pdfLaTeX, XeLaTeX
and LuaLaTeX, with the aid of suitable packages that provide capability of
Japanese typesetting.")
    (license license:bsd-2)))

(define-public texlive-bxorigcapt
  (package
    (name "texlive-bxorigcapt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxorigcapt/"
                                     "tex/latex/bxorigcapt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gj61hjmyxsbfkrs1sh604b6dfl00kp39fcamlfzb8s197wsl9fv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxorigcapt")
    (synopsis "Retain the original caption names when using Babel")
    (description
     "This package forces the caption names declared by the document class in
use to be used as the caption names for a specific language introduced by the
Babel package.")
    (license license:expat)))

(define-public texlive-bxwareki
  (package
    (name "texlive-bxwareki")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxwareki/" "tex/latex/bxwareki/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "105fx28gy2f73127cpy3fdsmggw5a49bbr1b99kd5ydmwckwkp5g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxwareki")
    (synopsis "Convert dates from Gregorian to Japanese calender")
    (description
     "This LaTeX package provides commands to convert from the Gregorian
calendar to the Japanese rendering of the Japanese calendar.  You can choose
whether the numbers are written in Western numerals or kanji numerals.  Note
that the package only deals with dates in the year 1873 or later, where the
Japanese calendar is really a Gregorian calendar with a different notation of
years.")
    (license license:expat)))

(define-public texlive-bytefield
  (package
    (name "texlive-bytefield")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bytefield/"
                                     "source/latex/bytefield/"
                                     "tex/latex/bytefield/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qrq46c1x3g7kchi89srwbpssz721021jkpjfas38nlaxj70swaa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bytefield")
    (synopsis "Create illustrations for network protocol specifications")
    (description
     "The @code{bytefield} package helps the user create illustrations for
network protocol specifications and anything else that utilizes fields of
data.  These illustrations show how the bits and bytes are laid out in
a packet or in memory.")
    (license license:lppl1.3a)))

(define-public texlive-c-pascal
  (package
    (name "texlive-c-pascal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/c-pascal/"
                                     "tex/generic/c-pascal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kmxki1yclk7lzlidcvsdry7mzm58zzwq3rxgvmpawq2hs8hpcra"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/c-pascal")
    (synopsis "Typeset Python, C and Pascal programs")
    (description
     "This package provides a TeX macro package for easy typesetting programs
in Python, C and Pascal.  Program source files may also be input.")
    (license license:public-domain)))

(define-public texlive-c90
  (package
    (name "texlive-c90")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/enc/c90/" "fonts/enc/dvips/c90/"
                                     "source/fonts/enc/c90/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g4rwimlqqzbbs8ar15nsf8qcr8bbyjacmklbgv4pmsls5ka9n3n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/c90")
    (synopsis "C90 font encoding for Thai")
    (description "This package provides C90 font encoding for Thai.")
    (license license:gpl2+)))

(define-public texlive-caladea
  (package
    (name "texlive-caladea")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/caladea/"
                                     "fonts/enc/dvips/caladea/"
                                     "fonts/map/dvips/caladea/"
                                     "fonts/tfm/huerta/caladea/"
                                     "fonts/truetype/huerta/caladea/"
                                     "fonts/type1/huerta/caladea/"
                                     "fonts/vf/huerta/caladea/"
                                     "tex/latex/caladea/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02pw132njvk23iwfwlfq5cbamqmgxap2h5pq23x3r8dbym1zpk9f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/caladea")
    (synopsis "Support for the Caladea family of fonts")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Caladea family of fonts.")
    (license (list license:asl2.0 license:lppl))))

(define-public texlive-calculation
  (package
    (name "texlive-calculation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/calculation/"
                                     "source/latex/calculation/"
                                     "tex/latex/calculation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15sk3v1cwpjln4rp9k877awxaz9js5gbazlzjknmv5fv1cb4d09c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/calculation")
    (synopsis
     "Typesetting reasoned calculations, also called calculational proofs")
    (description
     "The @code{calculation} environment formats reasoned calculations, also
called calculational proofs.  The package allows steps and expressions to be
numbered (by LaTeX equation numbers, obeying the LaTeX @code{\\label} command
to refer to these numbers), and a step doesn't take vertical space if its hint
is empty.  An expression in a calculation can be given a comment; it is placed
at the side opposite to the equation numbers.  Calculations are allowed inside
hints although numbering and commenting is then disabled.")
    (license license:lppl1.3+)))

(define-public texlive-calligra
  (package
    (name "texlive-calligra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/calligra/"
                                     "fonts/source/public/calligra/"
                                     "fonts/tfm/public/calligra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h9w2qifsd0sjr2czy6zbyvgvdl72nd1sn2hmxv0jsmbcjqak1ib"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/calligra")
    (synopsis "Calligraphic font")
    (description
     "This package provides a calligraphic font in the handwriting style.
The font is supplied as Metafont source.  LaTeX support of the font is
provided in the @code{calligra} package in the @code{fundus} bundle.")
    (license license:expat)))

(define-public texlive-calligra-type1
  (package
    (name "texlive-calligra-type1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/calligra-type1/"
                                     "fonts/afm/public/calligra-type1/"
                                     "fonts/map/dvips/calligra-type1/"
                                     "fonts/type1/public/calligra-type1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v6zwghf8q70lls3hmwj8gc0n6d4ffjf1xjvq1k6w71shiga8bqi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/calligra-type1")
    (synopsis "Type 1 version of Calligra")
    (description
     "This is a Type 1 conversion of Peter Vanroose's Calligra handwriting
font.")
    (license license:expat)))

(define-public texlive-cantarell
  (package
    (name "texlive-cantarell")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cantarell/"
                                     "fonts/enc/dvips/cantarell/"
                                     "fonts/map/dvips/cantarell/"
                                     "fonts/opentype/gnome/cantarell/"
                                     "fonts/tfm/gnome/cantarell/"
                                     "fonts/type1/gnome/cantarell/"
                                     "fonts/vf/gnome/cantarell/"
                                     "tex/latex/cantarell/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11cj8z6wyzq92x66alas88qgrs4ap0xgvf0yr7h62vg5ym3618c8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cantarell")
    (synopsis "LaTeX support for the Cantarell font family")
    (description
     "Cantarell is a contemporary Humanist sans serif designed by Dave
Crossland and Jakub Steiner.  The present package provides support for this
font in LaTeX. It includes Type 1 versions of the fonts, converted for this
package using FontForge from its sources, for full support with Dvips.")
    (license (list license:silofl1.1 license:lppl1.3c))))

(define-public texlive-carlito
  (package
    (name "texlive-carlito")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/carlito/"
                                     "fonts/enc/dvips/carlito/"
                                     "fonts/map/dvips/carlito/"
                                     "fonts/tfm/google/carlito/"
                                     "fonts/truetype/google/carlito/"
                                     "fonts/type1/google/carlito/"
                                     "fonts/vf/google/carlito/"
                                     "tex/latex/carlito/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14hk51bgwpn4wr843g7w8wjwmadq0ca86gviayhwsz4zax68jhx6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/carlito")
    (synopsis "Support for Carlito sans-serif fonts")
    (description
     "The package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Carlito family of sans serif fonts, designed by Lukasz Dziedzic.")
    (license license:silofl1.1)))

(define-public texlive-carolmin-ps
  (package
    (name "texlive-carolmin-ps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/carolmin-ps/"
                                     "fonts/afm/public/carolmin-ps/"
                                     "fonts/map/dvips/carolmin-ps/"
                                     "fonts/type1/public/carolmin-ps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1867h17l0ms2schmbrsjm4gajfmckm2x7ny2ijd9vf232l7s1b53"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/carolmin-t1")
    (synopsis "Adobe Type 1 format of Carolingian Minuscule fonts")
    (description
     "The bundle offers Adobe Type 1 format versions of Peter Wilson's
Carolingian Minuscule font set (part of the @code{bookhands} collection).  The
fonts in the bundle are ready-to-use replacements for the Metafont
originals.")
    (license license:lppl)))

(define-public texlive-cartonaugh
  (package
    (name "texlive-cartonaugh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cartonaugh/"
                                     "source/latex/cartonaugh/"
                                     "tex/latex/cartonaugh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05f6xslfv3d1n48j2ivl7vdgs12lzgzx8ccfv6l49ddgq0dssnir"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cartonaugh")
    (synopsis
     "LuaLaTeX package for drawing karnaugh maps with up to 6 variables")
    (description
     "This package, a fork of @code{karnaugh-map} package, draws karnaugh maps
with 2, 3, 4, 5, and 6 variables.  It also contains commands for filling the
karnaugh map with terms semi-automatically or manually.  Last but not least it
contains commands for drawing implicants on top of the map.")
    (license license:cc-by-sa3.0)))

(define-public texlive-cascade
  (package
    (name "texlive-cascade")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cascade/" "source/latex/cascade/"
                                     "tex/latex/cascade/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13950pv70hr21jn7f0hg4hyai3b28bwcnrd23l44mhynv4hbs5yz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cascade")
    (synopsis
     "Constructions with braces to present mathematical demonstrations")
    (description
     "The LaTeX package cascade provides a command @code{\\Cascade} to do
constructions to present mathematical demonstrations with successive braces
for the deductions.")
    (license license:lppl1.3+)))

(define-public texlive-cascadia-code
  (package
    (name "texlive-cascadia-code")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cascadia-code/"
                                     "fonts/enc/dvips/cascadia-code/"
                                     "fonts/map/dvips/cascadia-code/"
                                     "fonts/opentype/public/cascadia-code/"
                                     "fonts/tfm/public/cascadia-code/"
                                     "fonts/type1/public/cascadia-code/"
                                     "fonts/vf/public/cascadia-code/"
                                     "tex/latex/cascadia-code/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "015kjdr9lgbznmzz1pw57jw4dy4v4fk1qb3w6nizf1z3xza9b49r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cascadia-code")
    (synopsis "Cascadia Code font with support for LaTeX and pdfLaTeX")
    (description
     "Cascadia Code is a monospaced font by Microsoft.  This package provides
the Cascadia Code family of fonts with support for LaTeX and pdfLaTeX.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-cascadilla
  (package
    (name "texlive-cascadilla")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/cascadilla/"
                                     "doc/latex/cascadilla/"
                                     "tex/latex/cascadilla/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sl29gxjhkakaz7r48wfbvcxngnxdyixmh5awxnlsmrajxgdzh9l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cascadilla")
    (synopsis "Conform to the stylesheet of the Cascadilla Proceedings
Project")
    (description
     "The class provides an extension of the standard LaTeX @code{article}
class that may be used to typeset papers conforming to the stylesheet of the
Cascadilla Proceedings Project, which is used by a number of linguistics
conference proceedings.")
    (license license:lppl)))

(define-public texlive-catcodes
  (package
    (name "texlive-catcodes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/catcodes/"
                                     "source/generic/catcodes/"
                                     "tex/generic/catcodes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0di6rd5c0viiwvc6ncwndah38q318l3s1pf47ddmzjdq6rys9s33"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/catcodes")
    (synopsis "Generic handling of TeX category codes")
    (description
     "The bundle deals with category code switching; the packages of the
bundle should work with any TeX format (with the support of the
@code{plainpkg} package).  The bundle provides:
@itemize
@item @file{stacklet.sty}, which supports stacks that control the use of
different catcodes;
@item @file{actcodes.sty}, which deals with active characters;
@item @file{catchdq.sty}, which provides a simple quotation character control
mechanism.
@end itemize")
    (license license:lppl1.3+)))

(define-public texlive-causets
  (package
    (name "texlive-causets")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/causets/" "tex/latex/causets/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03n3k1xklf42k8ybvvg0hlakqavcsa2dap8hpj3ln007yr4m22g8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/causets")
    (synopsis "Draw causal set (Hasse) diagrams")
    (description
     "This LaTeX package uses TikZ to generate (Hasse) diagrams for causal sets
(causets) to be used inline with text or in mathematical expressions.  The
macros can also be used in the @code{tikzpicture} environment to annotate or
modify a diagram.")
    (license license:lppl1.3+)))

(define-public texlive-ccfonts
  (package
    (name "texlive-ccfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ccfonts/" "source/latex/ccfonts/"
                                     "tex/latex/ccfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r319fv1n9fsnnycza4z1j23dp03fww98a03hmcapkyr9pp9lvv4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/ccfonts")
    (synopsis "Support for Concrete text and math fonts in LaTeX")
    (description
     "This package provides LaTeX font definition files for the Concrete fonts
and a LaTeX package for typesetting documents using Concrete as the default
font family.  The files support OT1, T1, TS1, and Concrete mathematics
including AMS fonts (Ulrik Vieth's @code{concmath}).")
    (license license:lppl)))

(define-public texlive-ccool
  (package
    (name "texlive-ccool")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ccool/" "source/latex/ccool/"
                                     "tex/latex/ccool/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17xkwd8mrvl751rn6zvxaznac27rpvmi53rq8nwwlp6j1bdnaj94"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ccool")
    (synopsis "Key-value document command parser")
    (description
     "This package provides a key-value interface, @code{\\Ccool}, on top of
@code{xparse}'s document command parser.  Global options control input
processing and its expansion.  By default, they are set to meet likely
requirements, depending on context: the selected language, and which of text
and math mode is active.  These options can be overridden inline.  Polymorphic
commands can be generated by parameterizing the keys (for instance, one
parameter value for style, another for a property).  User input to
@code{\\Ccool} can optionally be serialized.  This can useful for typesetting
documents sharing the same notation.")
    (license license:lppl1.3c)))

(define-public texlive-cell
  (package
    (name "texlive-cell")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/cell/" "doc/latex/cell/"
                                     "tex/latex/cell/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x2dw80z0kzisbwnx2xrmsk0biqbanmydzygg9zdymhcx7w5rz52"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cell")
    (synopsis "Bibliography style for Cell")
    (description
     "This is an APA-like style (cf.@: @file{apalike.bst} in the BibTeX
distribution), developed from the same author's JMB style.  A supporting LaTeX
package is also provided.")
    (license license:public-domain)))

(define-public texlive-cesenaexam
  (package
    (name "texlive-cesenaexam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cesenaexam/"
                                     "source/latex/cesenaexam/"
                                     "tex/latex/cesenaexam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05n61y7lqycnj22a80p5pa0ajr8c4zc5b73cc3c2x40w8yx85xcf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cesenaexam")
    (synopsis "Class file to typeset exams")
    (description
     "This LaTeX document class has been designed to typeset exams.")
    (license license:lppl1.3c)))

(define-public texlive-cfr-initials
  (package
    (name "texlive-cfr-initials")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cfr-initials/"
                                     "tex/latex/cfr-initials/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03isx6wck9q2nmn2gm6zmd1830d2v9bps5g1k9qw6y02wdac8az9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cfr-initials")
    (synopsis "LaTeX packages for use of initials")
    (description
     "This is a set of 23 tiny packages designed to make it easier to use
fonts from the initials package in LaTeX, e.g., with the @code{lettrine}
package.")
    (license license:lppl1.3+)))

(define-public texlive-cfr-lm
  (package
    (name "texlive-cfr-lm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cfr-lm/"
                                     "fonts/enc/dvips/cfr-lm/"
                                     "fonts/map/dvips/cfr-lm/"
                                     "fonts/tfm/public/cfr-lm/"
                                     "fonts/vf/public/cfr-lm/"
                                     "source/fonts/cfr-lm/"
                                     "tex/latex/cfr-lm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06zsvbnpg93gw7m0nfsxc1hcqi6idgdc3xwwwy954fx13dpvrqfi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cfr-lm")
    (synopsis "Enhanced support for the Latin Modern fonts")
    (description
     "The package supports a number of features of the Latin Modern fonts
which are not easily accessible via the default (La)TeX support.  In
particular, the package supports the use of the various styles of digits
available, small-caps and upright italic shapes, and alternative weights and
widths.  It also supports variable width typewriter and the @code{quotation}
font.

By default, the package uses proportional oldstyle digits and variable width
typewriter but this can be changed by passing appropriate options to the
package.  The package also supports using (for example) different styles of
digits within a document so it is possible to use proportional oldstyle digits
by default, say, but tabular lining digits within a particular table.")
    (license license:lppl1.3+)))

(define-public texlive-chbibref
  (package
    (name "texlive-chbibref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chbibref/" "tex/latex/chbibref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k4cwy4z0kacikpvxkk3y68apw2x33sh06yccb1s894r1bn3c1qi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chbibref")
    (synopsis "Change the Bibliography and References title")
    (description
     "This package defines a single command, @code{\\setbibref}, which sets
whichever of @code{\\bibname} and @code{\\refname} is in use.")
    (license license:lppl)))

(define-public texlive-chem-journal
  (package
    (name "texlive-chem-journal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/chem-journal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01s4sbmc4g96cmnbhx9a6bqjskkrr6saq91cly2pfy5gr256vmnq"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chem-journal")
    (synopsis "Various BibTeX formats for journals in chemistry")
    (description
     "This package provides various BibTeX formats for journals in chemistry,
including @emph{Reviews in Computational Chemistry}, @emph{Journal of Physical
Chemistry}, @emph{Journal of Computational Chemistry}, and @emph{Physical
Chemistry Chemical Physics}.")
    (license license:gpl3+)))

(define-public texlive-chemarrow
  (package
    (name "texlive-chemarrow")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/chemarrow/"
                                     "fonts/afm/public/chemarrow/"
                                     "fonts/map/dvips/chemarrow/"
                                     "fonts/source/public/chemarrow/"
                                     "fonts/tfm/public/chemarrow/"
                                     "fonts/type1/public/chemarrow/"
                                     "source/fonts/chemarrow/"
                                     "tex/latex/chemarrow/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ky0v2psxamzilmijih88zxanmq2hnpv1yc18mcy9mpymcmvrhwr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/chemarrow")
    (synopsis "Arrows for use in chemistry")
    (description
     "This bundle consists of a font (available as Metafont source, MetaPost
source, and generated type 1 versions), and a package to use it.  The arrows
in the font are designed to look more like those in chemistry text-books than
do Knuth's originals.")
    (license license:public-domain)))

(define-public texlive-chembst
  (package
    (name "texlive-chembst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/chembst/" "doc/latex/chembst/"
                                     "source/latex/chembst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "026j8lv3kbxmbq6sc1n8rdrr47njgn5mn9im1mmppzk5bi7w6yzz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chembst")
    (synopsis "Collection of BibTeX files for chemistry journals")
    (description
     "The package offers a collection of advanced BibTeX style files suitable
for publications in chemistry journals.  Currently, style files for journals
published by the American Chemical Society, Wiley-VCH and The Royal Society of
Chemistry are available.  The style files support advanced features such as
automatic formatting of errata or creating an appropriate entry for
publications in @emph{Angewandte Chemie} where both English and German should
be cited simultaneously.")
    (license license:lppl)))

(define-public texlive-chemcompounds
  (package
    (name "texlive-chemcompounds")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemcompounds/"
                                     "source/latex/chemcompounds/"
                                     "tex/latex/chemcompounds/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bk625vdd6i1dc2569ypcq27hin1yggvadf18463qb6xhyndplvf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemcompounds")
    (synopsis "Simple consecutive numbering of chemical compounds")
    (description
     "The chemcompounds package allows for a simple consecutive numbering of
chemical compounds.  Optionally, it is possible to supply a custom name for
each compound.  The package differs from the @code{chemcono} package by not
generating an odd-looking list of compounds inside the text.")
    (license license:lppl)))

(define-public texlive-chemcono
  (package
    (name "texlive-chemcono")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemcono/" "tex/latex/chemcono/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lwsizrypzn6vnhf7szg47b1synafihihq14wfc0ffrksq1c730c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemcono")
    (synopsis "Support for compound numbers in chemistry documents")
    (description
     "This package provides a LaTeX package for using compound numbers in
chemistry documents.  It works like @code{\\cite} and the
@code{\\thebibliography}, using @code{\\fcite} and @code{\\theffbibliography}
instead.  It allows compound names in documents to be numbered and does not
affect the normal citation routines.")
    (license license:lppl)))

(define-public texlive-chemexec
  (package
    (name "texlive-chemexec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemexec/" "tex/latex/chemexec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1al19xf107qizd7nr7297szqd2k8sf1i3ngpnw6kl6fkak5h7qdg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemexec")
    (synopsis "Creating (chemical) exercise sheets")
    (description
     "The package provides environments and commands that the author needed
when preparing exercise sheets and other teaching material.  In particular,
the package supports the creation of exercise sheets, with separating printing
of solutions.")
    (license license:lppl1.3+)))

(define-public texlive-chemformula
  (package
    (name "texlive-chemformula")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemformula/"
                                     "tex/latex/chemformula/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14w98hnhljfm62cxg2hml3razrxw9hkzm54v7ybnbhcp5mm7wvdm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-units))
    (home-page "https://ctan.org/pkg/chemformula")
    (synopsis "Command for typesetting chemical formulas and reactions")
    (description
     "The package provides a command to typeset chemical formulas and
reactions in support of other chemistry packages (such as
@code{chemmacros}).")
    (license license:lppl1.3c)))

(define-public texlive-chemgreek
  (package
    (name "texlive-chemgreek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemgreek/"
                                     "tex/latex/chemgreek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rpcywz5w2im5ck0kp56dywiy1his01s817pngdf9xdn02qk517n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemgreek")
    (synopsis "Upright Greek letters in chemistry")
    (description
     "The package provides upright Greek letters in support of other chemistry
packages (such as @code{chemmacros}).")
    (license license:lppl1.3+)))

(define-public texlive-chemmacros
  (package
    (name "texlive-chemmacros")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemmacros/"
                                     "tex/latex/chemmacros/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jj7i00h83mhajwayn48x4qf0xz526jrjlj5zclqkgrb6kxmx978"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemmacros")
    (synopsis "Collection of macros to support typesetting chemistry documents")
    (description
     "The bundle offers a collection of macros and commands which are intended
to make typesetting chemistry documents faster and more convenient.  Coverage
includes some nomenclature commands, oxidation numbers, thermodynamic data,
newman projections, etc.")
    (license license:lppl1.3c)))

(define-public texlive-chemnum
  (package
    (name "texlive-chemnum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemnum/" "tex/latex/chemnum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ld2ja2by5y48v5k8x1mgmcpr75vkf8r8ni0fmvrpxh8xrv7mq4f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemnum")
    (synopsis "Method for numbering chemical compounds")
    (description
     "The package defines a @code{\\label}- and @code{\\ref}-like commands for
compound numbers.")
    (license license:lppl1.3c)))

(define-public texlive-chemobabel
  (package
    (name "texlive-chemobabel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemobabel/"
                                     "source/latex/chemobabel/"
                                     "tex/latex/chemobabel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ky7xcyln4j40b18anld77mxc2i4af75y9xdjisj2ixl3vkg5a1x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemobabel")
    (synopsis "Convert chemical structures from ChemDraw, MDL molfile or SMILES")
    (description
     "This package provides a way to convert and include chemical structure
graphics from various chemical formats, such as ChemDraw files, MDL molfile or
SMILES notations using Open Babel.  To use this LaTeX package, it is necessary
to enable execution of the following external commands via
@samp{latex -shell-escape}: @command{obabel} (Open Babel) @command{inkscape}
or @command{rsvg-convert} (for SVG -> PDF/EPS conversion), @command{pdfcrop}
or @command{ps2eps} (optional; for cropping large margins of PDF/EPS).")
    (license license:bsd-2)))

(define-public texlive-chemplants
  (package
    (name "texlive-chemplants")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemplants/"
                                     "tex/latex/chemplants/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "164g4wy0x7jqf5l7hzb05ir7yz130bw34b7pwr8bp4vcyp4wy3ai"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemplants")
    (synopsis "Symbology to draw chemical plants with TikZ")
    (description
     "This package offers tools to draw simple or barely complex schemes of
chemical processes.  The package defines several standard symbols and styles
to draw process units and streams.  The guiding light of the package is the
UNICHIM regulation.")
    (license license:lppl1.3c)))

(define-public texlive-chemschemex
  (package
    (name "texlive-chemschemex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemschemex/"
                                     "source/latex/chemschemex/"
                                     "tex/latex/chemschemex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09mjxj1gwddbpkriivn8x98z9hls4pcmpdqf24a7gz19whgs1qyk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemschemex")
    (synopsis "Typeset and cross-reference chemical schemes based on TikZ code")
    (description
     "The package provides a comfortable means of typesetting chemical
schemes, and also offers automatic structure referencing.")
    (license license:lppl1.2+)))

(define-public texlive-chemsec
  (package
    (name "texlive-chemsec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemsec/" "source/latex/chemsec/"
                                     "tex/latex/chemsec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q41mfhnvh4ni7dn0krrrcr9sr6ma855j1hckbg8fl56dl2h7zlp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemsec")
    (synopsis "Automated creation of numeric entity labels")
    (description
     "Packages provides creation of sequential numeric labels for entities in
a document.  The motivating example is chemical structures in a scientific
document.  The package can automatically output a full object name and label
on the first occurence in the document and just labels only on subsequent
references.")
    (license license:lppl1.3+)))

(define-public texlive-chemstyle
  (package
    (name "texlive-chemstyle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemstyle/"
                                     "source/latex/chemstyle/"
                                     "tex/latex/chemstyle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s2k4h153yh0f50q9da390f3ihykvrhsd1zjgfsdb6404059in3p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemstyle")
    (synopsis "Writing chemistry with style")
    (description
     "The package @code{chemstyle} provides an extensible system for
formatting chemistry documents according to the conventions of a number of
leading journals.  It also provides some handy chemistry-related macros.")
    (license license:lppl1.3+)))

(define-public texlive-cherokee
  (package
    (name "texlive-cherokee")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cherokee/"
                                     "fonts/source/public/cherokee/"
                                     "fonts/tfm/public/cherokee/"
                                     "tex/latex/cherokee/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cganm5d4gnkkhandancyd915w2x9kskj9qg81y54jcfyjz8gp51"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/cherokee")
    (synopsis "Font for the Cherokee script")
    (description
     "The Cherokee script was designed in 1821 by Segwoya.  The alphabet is
essentially syllabic, only 6 characters (a e i o s u) correspond to Roman
letters: the font encodes these to the corresponding roman letter.  The
remaining 79 characters have been arbitrarily encoded in the range 38-122; the
@code{cherokee} package provides commands that map each such syllable to the
appropriate character.")
    ;; "You may freely use, modify, and/or distribute this file, without
    ;; limitation.  If you make significant additions or improvements,
    ;; I request that you email me an updated version."
    (license
     (license:fsf-free "file://fonts/source/public/cherokee/cherokee.mf"))))

(define-public texlive-chess
  (package
    (name "texlive-chess")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/chess/"
                                     "fonts/source/public/chess/"
                                     "fonts/tfm/public/chess/" "tex/latex/chess/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "079naqw9bd5da3c2bsa0322kdjrfpwa35inrfznzgrfdk1w0irs7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/chess")
    (synopsis "Fonts for typesetting chess boards")
    (description
     "This is the original, and somewhat dated, TeX chess font package.
Potential users should consider @code{skak} (for alternative fonts, and
notation support), @code{texmate} (for alternative notation support), or
@code{chessfss} (for flexible font choices).")
    (license license:public-domain)))

(define-public texlive-chess-problem-diagrams
  (package
    (name "texlive-chess-problem-diagrams")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chess-problem-diagrams/"
                                     "source/latex/chess-problem-diagrams/"
                                     "tex/latex/chess-problem-diagrams/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m32dhwdfrgy1r3lq8j7hdaa79kniwwq3lanbkkn32dhybwa0b61"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chess-problem-diagrams")
    (synopsis "Package for typesetting chess problem diagrams")
    (description
     "This package provides macros to typeset chess problem diagrams including
fairy chess problems (mostly using rotated images of pieces) and other
boards.")
    (license license:lppl1.2+)))

(define-public texlive-chessboard
  (package
    (name "texlive-chessboard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chessboard/"
                                     "source/latex/chessboard/"
                                     "tex/latex/chessboard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nz66h6baz5m2jfzjzyccw0rcpkc6rfbq9cc759y875b47j8pkhx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chessboard")
    (synopsis "Print chess boards")
    (description
     "This package offers commands to print chessboards.  It can print partial
boards, hide pieces and fields, color the boards and put various marks on the
board.  It has a lot of options to place pieces on the board.  Using exotic
pieces (e.g., for fairy chess) is possible.")
    (license license:lppl)))

(define-public texlive-chessfss
  (package
    (name "texlive-chessfss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chessfss/"
                                     "fonts/enc/dvips/chessfss/"
                                     "source/latex/chessfss/"
                                     "tex/latex/chessfss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l51famz3zx9v4v0mdxwk51xhaidwgfplf268q2f1ipif9h6ma5d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chessfss")
    (synopsis "Package to handle chess fonts")
    (description
     "This package offers commands to use and switch between chess fonts.
It uses the LaTeX font selection scheme (nfss).  The package doesn't parse,
format and print PGN input like e.g., the packages @code{skak} or
@code{texmate}; the aim of the package is to offer writers of chess packages
a bundle of commands for fonts, so that they don't have to implement all these
commands for themselves.  A normal user can use the package to print
e.g,. single chess symbols and simple diagrams.")
    (license license:lppl)))

(define-public texlive-chhaya
  (package
    (name "texlive-chhaya")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chhaya/" "source/latex/chhaya/"
                                     "tex/latex/chhaya/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1if47icrsy56sjza170cxcpcczwfh9k8jl7j22gwwam4msa4d1if"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chhaya")
    (synopsis "Linguistic glossing in Marathi language")
    (description
     "This package provides macros for linguistic glossing as per the rules
given by Mumbai University.")
    (license (list license:gpl3+
                   ;; Aalok (आलोक) copyleft license v1.0+.
                   (license:fsf-free "file://doc/latex/aalok/README.txt")
                   license:fdl1.3+))))

(define-public texlive-chicago
  (package
    (name "texlive-chicago")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/chicago/" "tex/latex/chicago/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mwrphf2g7v5yc0qij76dkzalgm3fhcm8zs7akgaypyk98cvxw8k"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chicago")
    (synopsis "Chicago bibliography style")
    (description
     "Chicago is a BibTeX style that follows the @samp{B} reference style of
the 13th Edition of the Chicago manual of style; a LaTeX package is also
provided.  The style was derived from the @code{newapa} style.")
    (license license:knuth)))

(define-public texlive-chicago-annote
  (package
    (name "texlive-chicago-annote")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/chicago-annote/"
                                     "doc/bibtex/chicago-annote/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16hqz4xf7mbnrnx8420ynykxr1l3slfvjq8d8s0mrw42v88965ni"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chicago-annote")
    (synopsis "Chicago-based annotated BibTeX style")
    (description
     "This is a revision of chicagoa.bst, using the commonly-used annote field
in place of the original's annotation.")
    (license license:lppl)))

(define-public texlive-chicagoa
  (package
    (name "texlive-chicagoa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/chicagoa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1za4fqlpirbr3qs894abnlwmrhsqbahniyyimy1dxal0cp61cfil"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chicagoa")
    (synopsis "Chicago bibliography style with annotations")
    (description
     "This is a modification of the author's @code{chicago} style, to support
an annotation field in bibliographies.")
    (license license:knuth)))

(define-public texlive-chifoot
  (package
    (name "texlive-chifoot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chifoot/" "tex/latex/chifoot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07hxfiasfbnmvq367nnjg56n21wxdw0r6i7bl5l4gxa0j9jvmpf0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chifoot")
    (synopsis "Chicago-style footnote formatting")
    (description
     "This package provides a very short snippet that sets the footnotes to be
conformant with the Chicago style, so the footnotes at the bottom of the page
are now marked with a full-sized number, rather than with a superscript
number.")
    (license license:lppl1.3+)))

(define-public texlive-chinesechess
  (package
    (name "texlive-chinesechess")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chinesechess/"
                                     "tex/latex/chinesechess/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15sszrrv1viaa74i57a81xhybhjq2vaxb188wl728hjzm8d0n0wm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chinesechess")
    (synopsis "Typeset Chinese chess with @code{l3draw}")
    (description
     "This LaTeX3 package based on @code{l3draw} provides macros and an
environment for Chinese chess manual writing.")
    (license license:lppl1.3c)))

(define-public texlive-chivo
  (package
    (name "texlive-chivo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/chivo/"
                                     "fonts/enc/dvips/chivo/"
                                     "fonts/map/dvips/chivo/"
                                     "fonts/opentype/public/chivo/"
                                     "fonts/tfm/public/chivo/"
                                     "fonts/type1/public/chivo/"
                                     "fonts/vf/public/chivo/"
                                     "source/fonts/chivo/"
                                     "tex/latex/chivo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dvcz42rw2y33amrjikgicy9r4c6m0c4cvv2h0sm7k5bympnj8w0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chivo")
    (synopsis "Using the Chivo fonts with LaTeX")
    (description
     "This work provides the necessary files to use the Chivo fonts with
LaTeX.  Chivo is a set of eight fonts provided by Hector Gatti and Omnibus
Team.")
    (license (list license:silofl1.1 license:lppl1.3c))))

(define-public texlive-chordbars
  (package
    (name "texlive-chordbars")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chordbars/"
                                     "tex/latex/chordbars/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qnggp8m2r7z5qmgpnqza0a2d3gcszdcypg6i78vr6p0zcmbadvh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chordbars")
    (synopsis "Print chord grids for pop/jazz tunes")
    (description
     "This Tikz-based music-related package is targeted at pop/jazz
guitar/bass/piano musicians.  They usually need only the chords and the song
structure.  This package produces rectangular song patterns with one square
per bar, with the chord shown inside the square.  It also handles the song
structure by showing the bar count and the repetitions of the patterns.")
    (license license:lppl1.3+)))

(define-public texlive-chordbox
  (package
    (name "texlive-chordbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chordbox/" "tex/latex/chordbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01css8dnzss7s711ry2rs2fi3bw70s0lgj0cwwdicjgi331zbq70"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chordbox")
    (synopsis "Draw chord diagrams")
    (description
     "This package provides two macros for drawing chord diagrams, as may be
found for example in chord charts/books and educational materials.  They are
composed as TikZ pictures and have several options to modify their
appearance.")
    (license license:lppl1.3+)))

(define-public texlive-chronosys
  (package
    (name "texlive-chronosys")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/chronosys/"
                                     "tex/generic/chronosys/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "145ap67ykdkp2f0ahasp9sjccrv1wzxdfl05nq6hbi6z65pk56s5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chronosys")
    (synopsis "Drawing time-line diagrams")
    (description
     "This package provides macros to produce time line diagrams.
Interfaces for Plain TeX, ConTeXt and LaTeX are provided.")
    (license license:lppl1.3+)))

(define-public texlive-chs-physics-report
  (package
    (name "texlive-chs-physics-report")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chs-physics-report/"
                                     "tex/latex/chs-physics-report/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "195f66yffi96qkrxb044mcaycyds0mp3fg3c3lhz1mpvbz0calpl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chs-physics-report")
    (synopsis "Physics lab reports for Carmel High School")
    (description
     "This package may optionally be used by students at Carmel High School in
Indiana in the United States to write physics lab reports for FW physics
courses.  As many students are beginners at LaTeX, it also attempts to
simplify the report-writing process by offering macros for commonly used
notation and by automatically formatting the documents for students who will
only use TeX for mathematics and not typesetting.")
    (license (list license:public-domain license:cc-by-sa3.0))))

(define-public texlive-chscite
  (package
    (name "texlive-chscite")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/chscite/" "doc/latex/chscite/"
                                     "source/latex/chscite/" "tex/latex/chscite/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q4mgvrbljbw7pmwjs4qcr91sfhbnbshhmygxqrkriyrfnqy6yfq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chscite")
    (synopsis "Bibliography style for Chalmers University of Technology")
    (description
     "The package, heavily based on the harvard package for Harvard-style
citations, provides a citation suite for students at Chalmers University of
Technology that follows given recommendations.")
    (license license:lppl1.2+)))

(define-public texlive-churchslavonic
  (package
    (name "texlive-churchslavonic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/churchslavonic/"
                                     "tex/latex/churchslavonic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m9sf9nwnlribfhh5lks4lfnkc5fglcr4x3y30g03hcqrwwi15ks"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-etoolbox
           texlive-fonts-churchslavonic
           texlive-hyphen-complete
           texlive-oberdiek
           texlive-xcolor))
    (home-page "https://ctan.org/pkg/churchslavonic")
    (synopsis "Typeset documents in Church Slavonic language using Unicode")
    (description
     "The package provides fonts, hyphenation patterns, and supporting macros
to typeset Church Slavonic texts.")
    (license license:expat)))

(define-public texlive-cinzel
  (package
    (name "texlive-cinzel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cinzel/"
                                     "fonts/enc/dvips/cinzel/"
                                     "fonts/map/dvips/cinzel/"
                                     "fonts/tfm/ndiscovered/cinzel/"
                                     "fonts/truetype/ndiscovered/cinzel/"
                                     "fonts/type1/ndiscovered/cinzel/"
                                     "fonts/vf/ndiscovered/cinzel/"
                                     "tex/latex/cinzel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qik1ji23w35350ajjxz5w39w1cy4lg582343nrhr9y8jl18kfap"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cinzel")
    (synopsis "LaTeX support for Cinzel and Cinzel Decorative fonts")
    (description
     "Cinzel and Cinzel Decorative fonts, designed by Natanael Gama,
find their inspiration in first century roman inscriptions, and are based on
classical proportions.  Cinzel is all-caps (similar to Trajan and
Michelangelo), but is available in three weights (Regular, Bold, Black).
There are no italic fonts, but there are Decorative variants, which can be
selected by the usual italic-selection commands in the package's LaTeX
support.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-citation-style-language
  (package
    (name "texlive-citation-style-language")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/citation-style-language/"
                                     "doc/man/man1/citeproc-lua.1"
                                     "doc/man/man1/citeproc-lua.man1.pdf"
                                     "scripts/citation-style-language/"
                                     "tex/latex/citation-style-language/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "135al26nwqq0v5pvl54cbkbi0pxcvdkaskys0v2cigan1b406pj2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "citeproc-lua.lua")))
    (propagated-inputs
     (list texlive-filehook
           texlive-l3kernel
           texlive-l3packages
           texlive-lua-uca
           texlive-lualibs
           texlive-luatex
           texlive-luaxml
           texlive-url))
    (home-page "https://ctan.org/pkg/citation-style-language")
    (synopsis "Bibliography formatting with Citation Style Language")
    (description
     "The Citation Style Language (CSL) is an XML-based language that defines
the formats of citations and bibliography.  There are currently thousands of
styles in CSL including the most widely used APA, Chicago, Vancouver, etc.
The citation-style-language package is aimed to provide another reference
formatting method for LaTeX that utilizes the CSL styles.  It contains
a citation processor implemented in pure Lua (@code{citeproc-lua}) which reads
bibliographic metadata and performs sorting and formatting on both citations
and bibliography according to the selected CSL style.  A LaTeX package
(@file{citation-style-language.sty}) is provided to communicate with the
processor.")
    (license (list license:expat license:cc-by-sa3.0))))

(define-public texlive-citeall
  (package
    (name "texlive-citeall")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/citeall/" "tex/latex/citeall/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sap2kns1b51zj0dmy70q77rw7dnhdjqab0rmyvpp2hgq5yk3mhq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/citeall")
    (synopsis "Cite all entries of a @file{.bbl} created with BibLaTeX")
    (description
     "This small package allows to cite all entries of
a BibLaTeX (@file{.bbl}) file.")
    (license license:lppl1.3+)))

(define-public texlive-citeref
  (package
    (name "texlive-citeref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/citeref/" "tex/latex/citeref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k76msdfsf968cv3m1z8lcf6mlmy90gaaphrgkr7cs67pgyvq6jq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/citeref")
    (synopsis "Add reference-page-list to bibliography-items")
    (description
     "The package adds reference-page-list to bibliography-items.  It does its
job without using the indexing facilities, and needs no special
@code{\\cite}-replacement package.")
    (license license:bsd-4)))

(define-public texlive-cje
  (package
    (name "texlive-cje")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/cje/" "doc/latex/cje/"
                                     "tex/latex/cje/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n24knrb0ayh9dnqg4l776p5wzh5j1bbqxvwpf7pcljcml94iaa7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cje")
    (synopsis "LaTeX document class for CJE articles")
    (description
     "The @code{cje} article class allows authors to format their papers to
@emph{Canadian Journal of Economics} style with minimum effort.  The class
includes options for two other formats: @code{review} (double spaced, for use
at the submission stage) and @code{proof} (used by the typesetters to prepare
the proof authors will receive for approval).")
    (license license:lppl1.3c)))

(define-public texlive-cjhebrew
  (package
    (name "texlive-cjhebrew")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cjhebrew/"
                                     "fonts/afm/public/cjhebrew/"
                                     "fonts/enc/dvips/cjhebrew/"
                                     "fonts/map/dvips/cjhebrew/"
                                     "fonts/tfm/public/cjhebrew/"
                                     "fonts/type1/public/cjhebrew/"
                                     "fonts/vf/public/cjhebrew/"
                                     "tex/latex/cjhebrew/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00rf55ck8y1ny1v242sbhcfchnq7q5mlsmmqppgqspd892ymlxh0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cjhebrew")
    (synopsis "Typeset Hebrew with LaTeX")
    (description
     "The @code{cjhebrew} package provides Adobe Type 1 fonts for Hebrew, and
LaTeX macros to support their use.  Hebrew text can be vocalised, and a few
accents are also available.  The package makes it easy to include Hebrew text
in other-language documents.")
    (license license:lppl)))

(define-public texlive-cjk
  (package
    (name "texlive-cjk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cjk/"
                                     "source/latex/cjk/contrib/wadalab/"
                                     "source/latex/cjk/texinput/KS/HLaTeX/"
                                     "source/latex/cjk/utils/"
                                     "tex/latex/cjk/contrib/wadalab/"
                                     "tex/latex/cjk/texinput/"
                                     "tex/latex/cjk/utils/pyhyphen/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "044r1mmszq3hjmlck87vmqp62j2z02bm7lda8wb17phs0grkws5z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-arphic
           texlive-cns
           texlive-garuda-c90
           texlive-norasi-c90
           texlive-uhc
           texlive-wadalab))
    (home-page "https://ctan.org/pkg/cjk")
    (synopsis "CJK language support")
    (description
     "CJK is a macro package for LaTeX, providing simultaneous support for
various Asian scripts in many encodings (including Unicode): Chinese (both
traditional and simplified), Japanese, Korean and Thai.  A special add-on
feature is an interface to the Emacs editor (@file{cjk-enc.el}) which gives
simultaneous, easy-to-use support to a bunch of other scripts in addition to
the above -- Cyrillic, Greek, Latin-based scripts, Russian and Vietnamese are
supported.")
    (license license:gpl2)))

(define-public texlive-cjk-gs-integrate
  (package
    (name "texlive-cjk-gs-integrate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cjk-gs-integrate/"
                                     "fonts/misc/cjk-gs-integrate/"
                                     "scripts/cjk-gs-integrate/"
                                     "source/fonts/cjk-gs-integrate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ml35bs1pr3kbdqnbclyy31ln8yigy609rsm9rc2y3j5ngmw2y8y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "cjk-gs-integrate.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/cjk-gs-integrate")
    (synopsis "Tools to integrate CJK fonts into Ghostscript")
    (description
     "This script searches a list of directories for CJK fonts, and makes them
available to an installed Ghostscript.  In the simplest case, with sufficient
privileges, a run without arguments should result in a complete setup of
Ghostscript.")
    (license license:gpl3)))

(define-public texlive-cjk-ko
  (package
    (name "texlive-cjk-ko")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cjk-ko/" "tex/latex/cjk-ko/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yj4j0xbdchi56xyk1fq3xj33xwr9v58yfq4d8798mmzi9bd00m9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-cjk))
    (home-page "https://ctan.org/pkg/cjk-ko")
    (synopsis "Extension of the CJK package for Korean typesetting")
    (description
     "The package supports typesetting UTF-8-encoded modern Korean documents
with the help of the LaTeX2e CJK package.  It provides some enhanced features
focused on Korean typesetting culture, one of them being allowing line-break
between Latin and CJK characters.")
    (license (list license:gpl3+ license:lppl license:public-domain))))

(define-public texlive-cjkpunct
  (package
    (name "texlive-cjkpunct")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cjkpunct/"
                                     "source/latex/cjkpunct/"
                                     "tex/latex/cjkpunct/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l4jnawgcsq7lzsrky7259diswxm06mn9mvgxgw8j0za10kvv4vb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cjkpunct")
    (synopsis "Adjust locations and kerning of CJK punctuation marks")
    (description "The package serves as a companion package for CJK.  It
adjust locations and kerning of CJK punctuation marks.")
    (license license:lppl1.3+)))

(define-public texlive-cjkutils
  (package
    (name "texlive-cjkutils")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/bg5conv.1"
                                     "doc/man/man1/bg5conv.man1.pdf"
                                     "doc/man/man1/cef5conv.1"
                                     "doc/man/man1/cef5conv.man1.pdf"
                                     "doc/man/man1/cefconv.1"
                                     "doc/man/man1/cefconv.man1.pdf"
                                     "doc/man/man1/cefsconv.1"
                                     "doc/man/man1/cefsconv.man1.pdf"
                                     "doc/man/man1/extconv.1"
                                     "doc/man/man1/extconv.man1.pdf"
                                     "doc/man/man1/hbf2gf.1"
                                     "doc/man/man1/hbf2gf.man1.pdf"
                                     "doc/man/man1/sjisconv.1"
                                     "doc/man/man1/sjisconv.man1.pdf"
                                     "hbf2gf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0by2g05xv5dndnd78jz9y73fyswqhfvcbzcw8rzhvpvd6inrcdq8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-cjkutils-bin))
    (home-page "https://ctan.org/pkg/cjk")
    (synopsis "CJK language support")
    (description
     "CJK is a macro package for LaTeX, providing simultaneous support for
various Asian scripts in many encodings (including Unicode): Chinese (both
traditional and simplified), Japanese, Korean and Thai.  A special add-on
feature is an interface to the Emacs editor (cjk-enc.el) which gives
simultaneous, easy-to-use support to a bunch of other scripts in addition to
the above --- Cyrillic, Greek, Latin-based scripts, Russian and Vietnamese are
supported.")
    (license license:gpl2)))

(define-public texlive-cjkutils-bin
  (package
    (inherit texlive-bin)
    (name "texlive-cjkutils-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs/" '())
            (delete-other-directories "utils/" '())
            (delete-other-directories "texk/" '("cjkutils"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-cjkutils-x" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/cjkutils"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/cjkutils"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-cjkutils))
    (synopsis "Binaries for @code{texlive-cjkutils}")
    (description
     "This package provides the binaries for @code{texlive-cjkutils}.")
    (license (package-license texlive-cjkutils))))

(define-public texlive-clara
  (package
    (name "texlive-clara")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/clara/"
                                     "fonts/enc/dvips/clara/"
                                     "fonts/map/dvips/clara/"
                                     "fonts/opentype/public/clara/"
                                     "fonts/tfm/public/clara/"
                                     "fonts/type1/public/clara/"
                                     "fonts/vf/public/clara/"
                                     "tex/latex/clara/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "182iw362irf247frsy0dzrswnh1341jlwrlwhvx1hcrbrvhpbz42"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/clara")
    (synopsis "Clara serif font family")
    (description
     "Clara is a type family created specially by Seamas O Brogain.  The
family includes italic, bold, bold italic, and small capitals, while the
character set includes (monotonic) Greek, Cyrillic, ogham, phonetic and
mathematical ranges, scribal abbreviations and other specialist characters.
The fonts also include some OpenType features (such as ligature substitution,
small capitals, and old-style numerals) and variant forms for particular
languages.")
    (license (list license:silofl1.1 license:gpl2+))))

(define-public texlive-classicthesis
  (package
    (name "texlive-classicthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/classicthesis/"
                                     "tex/latex/classicthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0djx7vcrc1ksbgppdbwy31z5qd95flgsgqk6gpzpi3a5rc7h54nz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/classicthesis")
    (synopsis "Classically styled thesis package")
    (description
     "This package provides an elegant layout designed in homage to
Bringhurst's @emph{The Elements of Typographic Style}.  It makes use of
a range of techniques to get the best results achievable using TeX.  Included
in the bundle are templates to make thesis writing easier.")
    (license license:gpl2+)))

(define-public texlive-cleanthesis
  (package
    (name "texlive-cleanthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cleanthesis/"
                                     "tex/latex/cleanthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11fv49w1nydm5fvkp1p2375ywdfd5yh8hayqfnr6wdidzdycpg85"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cleanthesis")
    (synopsis "Clean LaTeX style for thesis documents")
    (description
     "The package offers a clean, simple, and elegant LaTeX style for thesis
documents.")
    (license license:lppl1.3+)))

(define-public texlive-clearsans
  (package
    (name "texlive-clearsans")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/clearsans/"
                                     "fonts/enc/dvips/clearsans/"
                                     "fonts/map/dvips/clearsans/"
                                     "fonts/tfm/intel/clearsans/"
                                     "fonts/truetype/intel/clearsans/"
                                     "fonts/type1/intel/clearsans/"
                                     "fonts/vf/intel/clearsans/"
                                     "tex/latex/clearsans/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sf84xxvq9rxb3n5nsggfswvdagynnz6clazk86w4k2a5r0qf8yw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/clearsans")
    (synopsis "Clear Sans fonts with LaTeX support")
    (description
     "Clear Sans was designed by Daniel Ratighan.  It is available in three
weights (regular, medium, and bold) with corresponding italics, plus light and
thin upright (without italics).

It has minimized, unambiguous characters and slightly narrow proportions,
making it ideal for UI design.  Its strong, recognizable forms avoid
distracting ambiguity, making Clear Sans comfortable for reading short UI
labels and long passages in both screen and print.  The fonts are available in
both TrueType and Type 1 formats.")
    (license (list license:asl2.0 license:lppl))))

(define-public texlive-cleveref
  (package
    (name "texlive-cleveref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cleveref/"
                                     "source/latex/cleveref/"
                                     "tex/latex/cleveref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18r8g6ipn1ly60gnp0yi0m409gm8lssbpmka5813i4l45281fk43"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cleveref")
    (synopsis "Intelligent cross-referencing")
    (description
     "The package enhances LaTeX's cross-referencing features, allowing the
format of references to be determined automatically according to the type of
reference.  The formats used may be customised in the preamble of a document;
Babel support is available (though the choice of languages remains limited:
currently Danish, Dutch, English, French, German, Italian, Norwegian, Russian,
Spanish and Ukranian).

The package also offers a means of referencing a list of references, each
formatted according to its type.  In such lists, it can collapse sequences of
numerically-consecutive labels to a reference range.")
    (license license:lppl1.2+)))

(define-public texlive-clrscode
  (package
    (name "texlive-clrscode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/clrscode/" "tex/latex/clrscode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gl2ap3w7zanbrn1k2bcf3f75lfpakp5dd0w8m1jy46hyvha7jpd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/clrscode")
    (synopsis "Typesets pseudocode as in Introduction to Algorithms")
    (description
     "This package allows you to typeset pseudocode in the style of
@emph{Introduction to Algorithms}, Second edition, by Cormen, Leiserson,
Rivest, and Stein.  The package was written by the authors.  You use the
commands the same way the package's author did when writing the book, and your
output will look just like the pseudocode in the text.")
    (license license:lppl)))

(define-public texlive-clrscode3e
  (package
    (name "texlive-clrscode3e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/clrscode3e/"
                                     "tex/latex/clrscode3e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kcsrlvqs83fc9ianim3drqvz60xp2cfl6a554icnm39p1fjf80c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/clrscode3e")
    (synopsis "Typesets pseudocode as in @emph{Introduction to Algorithms}")
    (description
     "This package allows you to typeset pseudocode in the style of
@emph{Introduction to Algorithms}, Third edition, by Cormen, Leiserson,
Rivest, and Stein.  The package was written by the authors.  Use the commands
the same way the package's author did when writing the book, and your output
will look just like the pseudocode in the text.")
    (license license:lppl)))

(define-public texlive-cm-mf-extra-bold
  (package
    (name "texlive-cm-mf-extra-bold")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/source/public/cm-mf-extra-bold/"
                                     "fonts/tfm/public/cm-mf-extra-bold/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l1cm32z8wcpj0cl7czqkhnwil3ail7a2bbzn70dnswpj0ka8k9n"))))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/cm-mf-extra-bold")
    (synopsis "Extra Metafont files for CM")
    (description
     "The bundle provides bold versions of @code{cmcsc}, @code{cmex},
@code{cmtex} and @code{cmtt} fonts (all parts of the standard Computer Modern
font distribution), as Metafont base files.")
    (license (list license:gpl3+ license:public-domain))))

(define-public texlive-cm-unicode
  (package
    (name "texlive-cm-unicode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cm-unicode/"
                                     "fonts/afm/public/cm-unicode/"
                                     "fonts/enc/dvips/cm-unicode/"
                                     "fonts/map/dvips/cm-unicode/"
                                     "fonts/opentype/public/cm-unicode/"
                                     "fonts/type1/public/cm-unicode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15ysic6vah1wircybhpm9915mr1bbc8b2jalia86ajiqbxn2l9h0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cm-unicode")
    (synopsis "Computer Modern Unicode font family")
    (description
     "This package provides Computer Modern Unicode fonts.  Some characters in
several fonts are copied from Blue Sky Type 1 fonts released by AMS.
Currently the fonts contain glyphs from Latin, Cyrillic, Greek code sets and
IPA extensions.  This font set contains 33 fonts.  This archive contains AFM,
PFB and OTF versions; the OTF version of the Computer Modern Unicode fonts
works with TeX engines that directly support OpenType features, such as XeTeX
and LuaTeX.")
    (license license:silofl1.1)))

(define-public texlive-cmathbb
  (package
    (name "texlive-cmathbb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cmathbb/"
                                     "fonts/enc/dvips/cmathbb/"
                                     "fonts/map/dvips/cmathbb/"
                                     "fonts/tfm/public/cmathbb/"
                                     "fonts/type1/public/cmathbb/"
                                     "fonts/vf/public/cmathbb/"
                                     "tex/latex/cmathbb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pmzsaskwcbyjihidy7hvz7s2cixhl7ccy0c9cbh2cm3md6gdrqh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cmathbb")
    (synopsis "Computer modern mathematical blackboard bold font")
    (description
     "This font contains all digits and latin letters uppercase and lowercase
for the Computer Modern font family in blackboard bold.")
    (license license:lppl1.3c)))

(define-public texlive-cmll
  (package
    (name "texlive-cmll")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cmll/"
                                     "fonts/map/dvips/cmll/"
                                     "fonts/source/public/cmll/"
                                     "fonts/tfm/public/cmll/"
                                     "fonts/type1/public/cmll/"
                                     "source/latex/cmll/"
                                     "tex/latex/cmll/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13q5ar2zaf7h6f2mzgxxqzaraziwl6asicbnyq6anfv2ky38rd72"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-euxm")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs (list texlive-euxm texlive-metafont))
    (home-page "https://ctan.org/pkg/cmll")
    (synopsis "Symbols for linear logic")
    (description
     "This is a very small font set that contain some symbols useful in linear
logic, which are apparently not available elsewhere.  Variants are included
for use with Computer Modern serif and sans-serif and with the AMS Euler
series.  The font is provided both as Metafont source, and in Adobe Type
1 format.  LaTeX support is provided.")
    (license license:lppl)))

(define-public texlive-cmpica
  (package
    (name "texlive-cmpica")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cmpica/"
                                     "fonts/source/public/cmpica/"
                                     "fonts/tfm/public/cmpica/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gpj2i588h6d0b5cl4xaik9nyx7w1sd8wik5q4mgmzspbkdk5a04"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/cmpica")
    (synopsis "Computer Modern Pica variant")
    (description
     "This is an approximate equivalent of the Xerox Pica typeface; the font
is optimised for submitting fiction manuscripts to mainline publishers.  The
font is a fixed-width one, rather less heavy than Computer Modern typewriter.
Emphasis for bold-face comes from a wavy underline of each letter.  The two
fonts are supplied as Metafont source.")
    (license license:public-domain)))

(define-public texlive-cmpj
  (package
    (name "texlive-cmpj")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/cmpj/" "doc/latex/cmpj/"
                                     "tex/latex/cmpj/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1drmil2vba85wa7ykrma452hwh7ggzsq33zrhch7rjnqaw7xihwv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cmpj")
    (synopsis "Style for the journal @emph{Condensed Matter Physics}")
    (description
     "The package contains macros and some documentation for typesetting
papers for submission to the @emph{Condensed Matter Physics} journal published
by the Institute for Condensed Matter Physics of the National Academy of
Sciences of Ukraine.")
    (license license:lppl)))

(define-public texlive-cmsrb
  (package
    (name "texlive-cmsrb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cmsrb/"
                                     "fonts/afm/public/cmsrb/"
                                     "fonts/enc/dvips/cmsrb/"
                                     "fonts/map/dvips/cmsrb/"
                                     "fonts/tfm/public/cmsrb/"
                                     "fonts/type1/public/cmsrb/"
                                     "fonts/vf/public/cmsrb/"
                                     "tex/latex/cmsrb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f6ylk8n881sl0njbz7yqy98pbk51s6m73zldcsz2w62qnghd1x0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cmsrb")
    (synopsis "Computer Modern for Serbian and Macedonian")
    (description
     "This package provides provides Adobe Type 1 Computer Modern fonts for
the Serbian and Macedonian languages.  Although the @code{cm-super} package
provides great support for Cyrillic script in various languages, there remains
a problem with italic variants of some letters for Serbian and Macedonian.
This package includes the correct shapes for italic letters @code{\\cyrb},
@code{\\cyrg}, @code{\\cyrd}, @code{\\cyrp}, and @code{\\cyrt}.  It also
offers some improvements in letters and accents used in the Serbian language.
Supported encodings are: T1, T2A, TS1, X2 and OT2.  The OT2 encoding is
modified so that it is now easy to transcribe Latin text to Cyrillic.")
    (license license:gpl3+)))

(define-public texlive-cmtiup
  (package
    (name "texlive-cmtiup")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cmtiup/"
                                     "fonts/source/public/cmtiup/"
                                     "fonts/tfm/public/cmtiup/"
                                     "fonts/vf/public/cmtiup/"
                                     "tex/latex/cmtiup/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cdm10aybgc8ifi11fahl3hb18blmibk08b4b5m8q88150ic563r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/cmtiup")
    (synopsis "Upright punctuation with CM italic")
    (description
     "The @code{cmtiup} fonts address a problem with the appearance of
punctuation in italic text in mathematical documents.  To achieve this, all
punctuation characters are upright, and kerning between letters and
punctuation is adjusted to allow for the italic correction.  The fonts are
implemented as a set of @file{.vf} files; a package for support in LaTeX is
provided.")
    (license license:lppl1.3+)))

(define-public texlive-cmupint
  (package
    (name "texlive-cmupint")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cmupint/"
                                     "fonts/afm/public/cmupint/"
                                     "fonts/map/dvips/cmupint/"
                                     "fonts/source/public/cmupint/"
                                     "fonts/tfm/public/cmupint/"
                                     "fonts/type1/public/cmupint/"
                                     "tex/latex/cmupint/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1acgzx5b02900vzwvaq0j8w6x8jc1650kfhp992f3bcyd658aj62"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/cmupint")
    (synopsis "Upright integral symbols for Computer Modern")
    (description
     "This package contains various upright integral symbols to match the
Computer Modern font.")
    (license license:lppl)))

(define-public texlive-cochineal
  (package
    (name "texlive-cochineal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cochineal/"
                                     "fonts/afm/public/cochineal/"
                                     "fonts/enc/dvips/cochineal/"
                                     "fonts/map/dvips/cochineal/"
                                     "fonts/opentype/public/cochineal/"
                                     "fonts/tfm/public/cochineal/"
                                     "fonts/type1/public/cochineal/"
                                     "fonts/vf/public/cochineal/"
                                     "tex/latex/cochineal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lr07badgq7glvjbpvifif15y86kr58xf0ag937jlr5f7vbmk1ax"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cochineal")
    (synopsis "Cochineal fonts with LaTeX support")
    (description
     "Cochineal is a fork from the Crimson fonts (Roman, Italic, Bold,
@code{BoldItalic} only), which contain roughly 4200 glyphs in the four styles
mentioned above.  Cochineal adds more than 1500 glyphs in those styles so that
it is possible to make a TeX support collection that contains essentially all
glyphs in all styles.  The fonts are provided in OpenType and PostScript
formats.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-codeanatomy
  (package
    (name "texlive-codeanatomy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/codeanatomy/"
                                     "source/latex/codeanatomy/"
                                     "tex/latex/codeanatomy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1frkyj86kf9b3n08xlwfndiygllymp2lp7ra82zsnx4xzw1ff4as"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/codeanatomy")
    (synopsis "Typeset code with annotations")
    (description
     "The idea of this Package is to typeset illustrations of pieces of code
with annotations on each single part of code (Code Anatomy).  The origin of
this idea are code illustrations from the book @emph{Computer Science: An
Interdisciplinary Approach} from Robert Sedgewick and Kevin Wayne.")
    (license license:lppl1.3c)))

(define-public texlive-codicefiscaleitaliano
  (package
    (name "texlive-codicefiscaleitaliano")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/codicefiscaleitaliano/"
                                     "source/latex/codicefiscaleitaliano/"
                                     "tex/latex/codicefiscaleitaliano/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ij3vcikhwx1d55z2gsx4yb9fin9dhm8yjwc6apiwg353ipxwibw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/codicefiscaleitaliano")
    (synopsis "Test the consistency of the Italian personal Fiscal Code")
    (description
     "The alphanumeric string that forms the Italian personal Fiscal Code is
prone to be misspelled thus rendering a legal document invalid.  The package
quickly verifies the consistency of the fiscal code string, and can therefore
be useful for lawyers and accountants that use fiscal codes very frequently.")
    (license license:lppl1.3+)))

(define-public texlive-coelacanth
  (package
    (name "texlive-coelacanth")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/coelacanth/"
                                     "fonts/enc/dvips/coelacanth/"
                                     "fonts/map/dvips/coelacanth/"
                                     "fonts/opentype/public/coelacanth/"
                                     "fonts/tfm/public/coelacanth/"
                                     "fonts/type1/public/coelacanth/"
                                     "fonts/vf/public/coelacanth/"
                                     "tex/latex/coelacanth/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cwk36rm1m2qaphwlpnw6rhmsmkvsdpzqs7sv1c39qcyq853q4yj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/coelacanth")
    (synopsis "Coelacanth fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX, and LuaLaTeX support for
Coelecanth fonts, designed by Ben Whitmore.  Coelacanth is inspired by the
classic Centaur type design of Bruce Rogers, described by some as the most
beautiful typeface ever designed.  It aims to be a professional quality type
family for general book typesetting.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-collref
  (package
    (name "texlive-collref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/collref/" "source/latex/collref/"
                                     "tex/latex/collref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gvla01fypbdqvjg0zziy4cl2s6z441pvn3s8b45dvz4hy1hkfji"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/collref")
    (synopsis "Collect blocks of references into a single reference")
    (description
     "The package automatically collects multiple @code{\\bibitem} references,
which always appear in the same sequence in @code{\\cite}, into a single
@code{\\bibitem} block.")
    (license license:lppl1.3+)))

(define-public texlive-colorsep
  (package
    (name "texlive-colorsep")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/colorsep/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nf72pf2bjn8pcps45sn5dcjf1dkrww9wlpp1xbzl1h9i68p3h3h"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/colorsep")
    (synopsis "Color separation")
    (description
     "This package provides support for colour separation when using Dvips.")
    (license license:public-domain)))

(define-public texlive-comfortaa
  (package
    (name "texlive-comfortaa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/comfortaa/"
                                     "fonts/enc/dvips/comfortaa/"
                                     "fonts/map/dvips/comfortaa/"
                                     "fonts/tfm/aajohan/comfortaa/"
                                     "fonts/truetype/aajohan/comfortaa/"
                                     "fonts/type1/aajohan/comfortaa/"
                                     "fonts/vf/aajohan/comfortaa/"
                                     "tex/latex/comfortaa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ayh1f0f1a0qkngsk84zwzyx5kidb2n5wq2ksk0d7r68m8cbs981"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/comfortaa")
    (synopsis "Sans serif font, with LaTeX support")
    (description
     "Comfortaa is a sans-serif font, comfortable in every aspect, designed by
Johan Aakerlund.  This package provides support for this font in LaTeX, and
includes both the TrueType fonts, and conversions to Adobe Type 1 format.")
    (license (list license:silofl1.1 license:lppl1.3c))))

(define-public texlive-comicneue
  (package
    (name "texlive-comicneue")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/comicneue/"
                                     "fonts/enc/dvips/comicneue/"
                                     "fonts/map/dvips/comicneue/"
                                     "fonts/opentype/rozynski/comicneue/"
                                     "fonts/tfm/rozynski/comicneue/"
                                     "fonts/type1/rozynski/comicneue/"
                                     "fonts/vf/rozynski/comicneue/"
                                     "tex/latex/comicneue/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q9ckbypx5hn9004pgfyqnf1ddniqwq0fixps0acmifz8qspjih6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/comicneue")
    (synopsis "Use Comic Neue with TeX(-alike) systems")
    (description
     "Comic Neue is a well-known redesign of the (in)famous Comic Sans font.
The package provides the original OpenType font for XeTeX and LuaTeX users,
and also has converted Type1 files for pdfTeX users.")
    (license license:silofl1.1)))

(define-public texlive-commath
  (package
    (name "texlive-commath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/commath/" "tex/latex/commath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mvlqw78183mp8fdvcmrwxvf4cpqdb2sr6jif16rad0av602lnfr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/commath")
    (synopsis "Mathematics typesetting support")
    (description
     "This package provides a range of differential, partial differential and
delimiter commands, together with a @code{\\fullfunction} (function, with both
domain and range, and function operation) and various reference commands.")
    (license license:lppl)))

(define-public texlive-commutative-diagrams
  (package
    (name "texlive-commutative-diagrams")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/commutative-diagrams/"
                                     "tex/context/third/commutative-diagrams/"
                                     "tex/generic/commutative-diagrams/"
                                     "tex/latex/commutative-diagrams/"
                                     "tex/plain/commutative-diagrams/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nypxn0lzzddwcdm53y1i0l9kxjq01v6q30dnh4b9cd2ms9mwllh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/commutative-diagrams")
    (synopsis "CoDi: Commutative Diagrams for TeX")
    (description
     "This package provides a TikZ library for making commutative diagrams
easy to design, parse and tweak.")
    (license license:expat)))

(define-public texlive-compactbib
  (package
    (name "texlive-compactbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/compactbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "077l73vb0rcxy1n51r3wmcb7gma6nn3xrl543a67n96lpp5xvnnk"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/compactbib")
    (synopsis "Multiple thebibliography environments")
    (description
     "This package allows a second bibliography, optionally with a different
title, after the main bibliography.")
    (license license:lppl)))

(define-public texlive-compare
  (package
    (name "texlive-compare")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/compare/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0isr7gmskv55cr4f1fa7s478v6fh65q9ijxkmbpxj0448g9817w4"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/compare")
    (synopsis "Compare two strings")
    (description
     "The file defines a macro @code{\\compare}, which takes two arguments;
the macro expands to @samp{-1}, @samp{0}, @samp{1}, according as the first
argument is less than, equal to, or greater than the second argument.  Sorting
is alphabetic, using ASCII collating order.")
    (license license:public-domain)))

(define-public texlive-complexity
  (package
    (name "texlive-complexity")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/complexity/"
                                     "tex/latex/complexity/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yqv0qp4i6jkjkrsvjzq5r2x282y5maq6w5cbvkspp7d0g4sg0ph"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/complexity")
    (synopsis "Computational complexity class names")
    (description
     "Complexity is a LaTeX package that defines commands to typeset
Computational Complexity Classes such as @samp{$\\P$} and @samp{$\\NP$} (as
well as hundreds of others).  It also offers several options including which
font classes are typeset in and how many are defined (all of them or just the
basic, most commonly used ones).")
    (license license:lppl1.3c)))

(define-public texlive-computational-complexity
  (package
    (name "texlive-computational-complexity")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/computational-complexity/"
                                     "doc/latex/computational-complexity/"
                                     "source/latex/computational-complexity/"
                                     "tex/latex/computational-complexity/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12205p6i611vcywsvkq4qnkbgfyyrkxgrqhj93bfdy4n8y2802ir"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/computational-complexity")
    (synopsis "Class for the journal Computational Complexity")
    (description
     "The LaTeX2e class @code{cc} was written for the journal Computational
Complexity, and it can also be used for a lot of other articles.  You may like
it since it contains a lot of features such as more intelligent references,
a set of theorem definitions, an algorithm environment, and more.")
    (license license:lppl1.2+)))

(define-public texlive-concmath
  (package
    (name "texlive-concmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/concmath/"
                                     "source/latex/concmath/"
                                     "tex/latex/concmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lc1bj2yqbyn13bq4fwiqf1hijbj5kwxadifzbg1riscwal3z5vw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/concmath")
    (synopsis "Concrete Math fonts")
    (description
     "This package provides a LaTeX package and font definition files to
access the Concrete mathematics fonts, which were derived from Computer Modern
math fonts using parameters from Concrete Roman text fonts.")
    (license license:lppl)))

(define-public texlive-concmath-fonts
  (package
    (name "texlive-concmath-fonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/concmath-fonts/"
                                     "fonts/source/public/concmath-fonts/"
                                     "fonts/tfm/public/concmath-fonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09frgpcwpfkj9j9aaj5psb8kr12vgbr10plcvcipn0mjahdw9nnz"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-amsfonts")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-amsfonts texlive-metafont))
    (home-page "https://ctan.org/pkg/concmath-fonts")
    (synopsis "Concrete mathematics fonts")
    (description
     "The fonts are derived from the Computer Modern Mathematics fonts and
from Knuth's Concrete Roman fonts; they are distributed as Metafont source.
LaTeX support is offered by the @code{concmath} package.")
    (license license:lppl)))

(define-public texlive-concmath-otf
  (package
    (name "texlive-concmath-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/concmath-otf/"
                                     "fonts/opentype/public/concmath-otf/"
                                     "tex/latex/concmath-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0478gvi7v21nnbj19prfznkg4vzwb5w08rx4549kfqf0wnw57bpz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/concmath-otf")
    (synopsis "Concrete based OpenType Math font")
    (description
     "This package provides an OpenType version of the Concrete Math font
created by Ulrik Vieth in Metafont.  @file{concmath-otf.sty} is a replacement
for the original @file{concmath.sty} package to be used with LuaTeX or XeTeX
engines.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-concrete
  (package
    (name "texlive-concrete")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/concrete/"
                                     "fonts/source/public/concrete/"
                                     "fonts/tfm/public/concrete/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xras2ybr33xm27vl0ym3lyd954gizgyd6h84ivxg0zjpqpjanb1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/concrete")
    (synopsis "Concrete Roman fonts")
    (description
     "This package provides Concrete Roman fonts, designed by Donald Knuth,
originally for use with Euler mathematics fonts.  Alternative mathematics
fonts, based on the concrete parameter set are available as the
@code{concmath} fonts bundle.  LaTeX support is offered by the @code{beton},
@code{concmath} and @code{ccfonts} packages.  T1- and TS1-encoded versions of
the fonts are available in the @code{ecc} bundle, and Adobe Type 1 versions of
the @code{ecc} fonts are part of the @code{cm-super} bundle.")
    (license license:knuth)))

(define-public texlive-confproc
  (package
    (name "texlive-confproc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/confproc/" "doc/latex/confproc/"
                                     "makeindex/confproc/"
                                     "source/latex/confproc/"
                                     "tex/latex/confproc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v3ppwxss1ans62j1pss8mcfjqmx708za7pmcm1wic7z7byc6xdb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/confproc")
    (synopsis "Set of tools for generating conference proceedings")
    (description
     "The @code{confproc} collection comprises a class, a BibTeX style, and
some scripts for generating conference proceedings.")
    (license license:lppl)))

(define-public texlive-conteq
  (package
    (name "texlive-conteq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/conteq/" "source/latex/conteq/"
                                     "tex/latex/conteq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14lj914i1h29pvg7knfn3ym9nsq6qxngbmkks4hircj0082m86pz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/conteq")
    (synopsis "Typeset multiline continued equalities")
    (description
     "The package provides an environment @code{conteq}, which will lay out
systems of continued equalities (or inequalities).  Several variant layouts of
the equalities are provided, and the user may define their own.")
    (license license:lppl1.3+)))

(define-public texlive-convbkmk
  (package
    (name "texlive-convbkmk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/convbkmk/" "scripts/convbkmk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w4fm4az1smrw002sqjkiiz94x01z6jkrb0mf9wb8qxdwrxriql9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "convbkmk.rb")))
    (inputs (list ruby))
    (home-page "https://ctan.org/pkg/convbkmk")
    (synopsis
     "Correct pLaTeX/upLaTeX bookmarks in PDF created with @code{hyperref}")
    (description
     "The package provides a small Ruby script that corrects bookmarks in PDF
files created by pLaTeX or upLaTeX, using @code{hyperref}.")
    (license license:expat)))

(define-public texlive-cookingsymbols
  (package
    (name "texlive-cookingsymbols")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cookingsymbols/"
                                     "fonts/source/public/cookingsymbols/"
                                     "fonts/tfm/public/cookingsymbols/"
                                     "source/latex/cookingsymbols/"
                                     "tex/latex/cookingsymbols/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cqz5hvb1vcf4mgk7i960kjdbg9cbxkik62riy6l2n1ld2cnl81x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/cookingsymbols")
    (synopsis "Symbols for recipes")
    (description
     "The package provides 11 symbols for typesetting recipes: oven, gasstove,
topheat, fanoven, gloves and dish symbol (among others).  The symbols are
defined using Metafont.")
    (license license:lppl)))


(define-public texlive-cooperhewitt
  (package
    (name "texlive-cooperhewitt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cooperhewitt/"
                                     "fonts/enc/dvips/cooperhewitt/"
                                     "fonts/map/dvips/cooperhewitt/"
                                     "fonts/opentype/public/cooperhewitt/"
                                     "fonts/tfm/public/cooperhewitt/"
                                     "fonts/type1/public/cooperhewitt/"
                                     "fonts/vf/public/cooperhewitt/"
                                     "tex/latex/cooperhewitt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m81sxrwwsmzsan4iln2lsf16pijay7w9k29gjwlwikivvy21kj7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cooperhewitt")
    (synopsis "Cooper Hewitt family of sans serif fonts")
    (description
     "Cooper Hewitt is a contemporary sans serif, with characters composed of
modified-geometric curves and arches, by Chester Jenkins.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-cormorantgaramond
  (package
    (name "texlive-cormorantgaramond")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cormorantgaramond/"
                                     "fonts/enc/dvips/cormorantgaramond/"
                                     "fonts/map/dvips/cormorantgaramond/"
                                     "fonts/tfm/catharsis/cormorantgaramond/"
                                     "fonts/truetype/catharsis/cormorantgaramond/"
                                     "fonts/type1/catharsis/cormorantgaramond/"
                                     "fonts/vf/catharsis/cormorantgaramond/"
                                     "tex/latex/cormorantgaramond/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sd4g4s3d3nk4wrav3szzbihdj6saznnzm6kiyr4qqqgi5ib3ami"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cormorantgaramond")
    (synopsis "Cormorant Garamond family of fonts")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Cormorant Garamond family of fonts, designed by Christian Thalman.  The
family includes light, regular, medium, semi-bold, and bold weights, with
italics.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-correctmathalign
  (package
    (name "texlive-correctmathalign")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/correctmathalign/"
                                     "tex/latex/correctmathalign/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zqla0gjv1b3x3z6g6fdb89c66ny7agshfmcsjjg42vlkz17ianm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/correctmathalign")
    (synopsis "Correct spacing of the alignment in expressions")
    (description
     "This package realigns the horizontal spacing of the alignments in some
mathematical environments.")
    (license license:bsd-2)))

(define-public texlive-countriesofeurope
  (package
    (name "texlive-countriesofeurope")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/countriesofeurope/"
                                     "fonts/afm/public/countriesofeurope/"
                                     "fonts/enc/dvips/countriesofeurope/"
                                     "fonts/map/dvips/countriesofeurope/"
                                     "fonts/opentype/public/countriesofeurope/"
                                     "fonts/tfm/public/countriesofeurope/"
                                     "fonts/type1/public/countriesofeurope/"
                                     "tex/latex/countriesofeurope/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07q0hrrlvadcc3vcl97gsgp1pbkmfhy60zm8ib65qd79m81kyxs0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/countriesofeurope")
    (synopsis "Font with the images of the countries of Europe")
    (description
     "The bundle provides a font CountriesOfEurope (in Adobe Type 1 format)
and the necessary metrics, together with LaTeX macros for its use.  The font
provides glyphs with a filled outline of the shape of each country; each glyph
is at the same cartographic scale.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-courier-scaled
  (package
    (name "texlive-courier-scaled")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/courier-scaled/"
                                     "tex/latex/courier-scaled/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d61afhvx9s70mg9d97m0zyzqfdlwbgljwgkv0z87khxy4z33wy6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/courier-scaled")
    (synopsis "Provides a scaled Courier font")
    (description
     "This package sets the default typewriter font to Courier with a possible
scale factor (in the same way as the @code{helvet} package for Helvetica works
for sans serif).")
    (license license:lppl1.2+)))

(define-public texlive-courierten
  (package
    (name "texlive-courierten")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/courierten/"
                                     "fonts/enc/dvips/courierten/"
                                     "fonts/map/dvips/courierten/"
                                     "fonts/opentype/public/courierten/"
                                     "fonts/tfm/public/courierten/"
                                     "fonts/type1/public/courierten/"
                                     "fonts/vf/public/courierten/"
                                     "tex/latex/courierten/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xfra9x03zjx7jsk48kj7mmjng3rs45ydj258c4s6inl91m7i9w0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/courierten")
    (synopsis "Courier 10 Pitch BT with LaTeX support")
    (description
     "This is the font Courier 10 Pitch BT, with LaTeX support and an OpenType
conversion as well.")
    (license license:expat)))

(define-public texlive-covington
  (package
    (name "texlive-covington")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/covington/"
                                     "tex/latex/covington/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16ba3mzahkaza69a92mqrnrr7jx6r9alcwxgma03pppblfkz3k3q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/covington")
    (synopsis "LaTeX macros for Linguistics")
    (description
     "This package provides numerous minor LaTeX enhancements for linguistics,
including multiple accents on the same letter, interline glosses (word-by-word
translations), Discourse Representation Structures, and example numbering.")
    (license license:lppl1.3+)))

(define-public texlive-cquthesis
  (package
    (name "texlive-cquthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/cquthesis/"
                                     "doc/latex/cquthesis/"
                                     "source/latex/cquthesis/"
                                     "tex/latex/cquthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0591wd88zp4sgnv2avwqv8127c2g5zbhjr7y15xaahiy7s404hn2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cquthesis")
    (synopsis "LaTeX thesis template for Chongqing University")
    (description
     "CQUThesis stands for Chongqing University thesis template for LaTeX,
bearing the ability to support bachelor, master, doctor dissertations with
grace and speed.")
    (license license:lppl1.3+)))

(define-public texlive-create-theorem
  (package
    (name "texlive-create-theorem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/create-theorem/"
                                     "tex/latex/create-theorem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x7pr5xsmsy0a844nrfld18xiv7x0ckijnnjwd78y1hmsgd6cdqb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-crefthe))
    (home-page "https://ctan.org/pkg/create-theorem")
    (synopsis "Multilingual support for @code{theorem}-like environments")
    (description
     "This package provides commands for naming, initializing and configuring
@code{theorem}-like environments.  These commands have key-value based
interfaces and are especially useful in multilingual documents, allowing the
easy declaration of @code{theorem}-like environments that can automatically
adapt to the language settings.")
    (license license:lppl1.3c)))

(define-public texlive-crefthe
  (package
    (name "texlive-crefthe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/crefthe/" "tex/latex/crefthe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xszhn0bg077297w981miwjnsqylxam9x5bkpli2k0vj73xqmsqs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/crefthe")
    (synopsis "Cross referencing with proper definite articles")
    (description
     "By default, when using @code{cleveref}'s @code{\\cref} to reference
@code{theorem}-like environments, the names do not contain definite articles.
In languages such as French, Italian, Portuguese, Spanish, etc., this results
in incorrect grammar.  For this purpose, the current package offers
@code{\\crefthe}, which handles the definite articles properly (especially for
the article contractions in many European languages).")
    (license license:lppl1.3c)))

(define-public texlive-crimson
  (package
    (name "texlive-crimson")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/crimson/"
                                     "fonts/enc/dvips/crimson/"
                                     "fonts/map/dvips/crimson/"
                                     "fonts/opentype/kosch/crimson/"
                                     "fonts/tfm/kosch/crimson/"
                                     "fonts/type1/kosch/crimson/"
                                     "fonts/vf/kosch/crimson/"
                                     "tex/latex/crimson/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14zrb015cs5f5kdyjy987mx4jdvi7vr1830dvnnygvkpcacvc3mc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/crimson")
    (synopsis "Crimson fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX, and LuaLaTeX support for
the Crimson family of fonts, designed by Sebastian Kosch.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-crimsonpro
  (package
    (name "texlive-crimsonpro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/crimsonpro/"
                                     "fonts/enc/dvips/crimsonpro/"
                                     "fonts/map/dvips/crimsonpro/"
                                     "fonts/tfm/public/crimsonpro/"
                                     "fonts/truetype/public/crimsonpro/"
                                     "fonts/type1/public/crimsonpro/"
                                     "fonts/vf/public/crimsonpro/"
                                     "tex/latex/crimsonpro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pzsdm4i32pgwf726q5waga8lr37xfj1qj417kkblw3q3fgb4jsd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/crimsonpro")
    (synopsis "CrimsonPro fonts with LaTeX support")
    (description
     "The CrimsonPro fonts are designed by Jacques Le Bailly and derived
from the Crimson Text fonts designed by Sebastian Kosch.  The family
includes eight weights and italics for each weight.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-crossrefenum
  (package
    (name "texlive-crossrefenum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/crossrefenum/"
                                     "tex/generic/crossrefenum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07h7d47fxjj70h4bxd5sqz8abjnvgvkrnsy13a26imbarzg14db4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/crossrefenum")
    (synopsis
     "Smart typesetting of enumerated cross-references for various TeX formats")
    (description
     "@code{crossrefenum} lets TeX manage the formatting of bunches of
cross-references for you.  It features:

@itemize
@item automatic collapsing of references;
@item support for references by various criteria, including page and note
number, line number in ConTeXt, and @code{edpage} and @code{edline} when used
in conjunction with @code{reledmac};
@item handling of references combining two criteria (e.g., by page and note
number);
@item extension mechanisms to add support to other types of references without
modifying the internal macros.  Note that sorting is not supported.
@end itemize

It is written in Plain TeX as much as possible in order to make it compatible
with a wide array of formats.  For the moment, it works out of the box with
ConTeXt and LaTeX.")
    (license (list license:gpl3+ license:fdl1.3+))))

(define-public texlive-crossrefware
  (package
    (name "texlive-crossrefware")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/bbl2bib.1"
                                     "doc/man/man1/bbl2bib.man1.pdf"
                                     "doc/man/man1/bibdoiadd.1"
                                     "doc/man/man1/bibdoiadd.man1.pdf"
                                     "doc/man/man1/bibmradd.1"
                                     "doc/man/man1/bibmradd.man1.pdf"
                                     "doc/man/man1/biburl2doi.1"
                                     "doc/man/man1/biburl2doi.man1.pdf"
                                     "doc/man/man1/bibzbladd.1"
                                     "doc/man/man1/bibzbladd.man1.pdf"
                                     "doc/man/man1/ltx2crossrefxml.1"
                                     "doc/man/man1/ltx2crossrefxml.man1.pdf"
                                     "doc/support/crossrefware/"
                                     "scripts/crossrefware/"
                                     "tex/latex/crossrefware/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01ajqi1ba7fhidzpfrnvpszl5bkcjgnxp06fvxd1h7d5c5229iyi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts
           #~(list "bbl2bib.pl"
                   "bibdoiadd.pl"
                   "bibmradd.pl"
                   "biburl2doi.pl"
                   "bibzbladd.pl"
                   "ltx2crossrefxml.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/crossrefware")
    (synopsis "Scripts for working with @url{crossref.org}")
    (description
     "This bundle contains the following scripts:
@itemize

@item @file{bibdoiadd.pl}: add DOI numbers to papers in a given @file{.bib}
file,

@item @file{bibzbladd.pl}: add Zbl numbers to papers in a given @file{.bib}
file,

@item @file{bibmradd.pl}: add MR numbers to papers in a given @file{.bib}
file,

@item @file{bbl2bib.pl}: convert @code{thebibliography} environment to
a @file{.bib} file,

@item @file{biburl2doi.pl}: convert URLs pointing to @url{doi.org} to DOIs,

@item @file{ltx2crossrefxml.pl}: tool for the creation of XML files for
submitting to @url{crossref.org}.

@end itemize")
    (license license:gpl3+)))

(define-public texlive-crossword
  (package
    (name "texlive-crossword")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/crossword/"
                                     "source/latex/crossword/"
                                     "tex/latex/crossword/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yxjhni6jw7j7wnz6g6d1bmri8afvqsj58bar0aqliyfhr55xzai"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/crossword")
    (synopsis "Typeset crossword puzzles")
    (description
     "This is an extended grid-based puzzle package, designed to take all
input (both grid and clues) from the same file.  The package can
typeset grids with holes in them, and can deal with several sorts of
puzzle:
@itemize

@item the classical puzzle contains numbers for the words and clues
for the words to be filled in;

@item the numbered puzzle contains numbers in each cell where
identical numbers represent identical letters; the goal is to find out
which number corresponds to which letter;

@item the fill-in type of puzzle consists of a grid and a list of
words; the goal is to place all words in the grid;

@item Sudoku and Kakuro puzzles involve filling in grids of numbers
according to their own rules; format may be block-separated, or
separated by thick lines.

@end itemize")
    (license license:expat)))

(define-public texlive-crosswrd
  (package
    (name "texlive-crosswrd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/crosswrd/"
                                     "source/latex/crosswrd/"
                                     "tex/latex/crosswrd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yhsrfn49wj579ms3smd1z97rjqnsi1wrsgrjs570bllgf09bcir"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/crosswrd")
    (synopsis "Macros for typesetting crossword puzzles")
    (description
     "The package provides a LaTeX method of typesetting crosswords, and
assists the composer ensure that the grid all goes together properly.")
    (license license:lppl)))

(define-public texlive-cryptocode
  (package
    (name "texlive-cryptocode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cryptocode/"
                                     "source/latex/cryptocode/"
                                     "tex/latex/cryptocode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i22bdg2mn305vlmpy32yqbsp7kf5ld54vdvjzq49n8v00qxy286"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cryptocode")
    (synopsis
     "Pseudocode, protocols, game-based proofs and black-box reductions in cryptography")
    (description
     "The @code{cryptocode} package provides a set of macros to ease the
typesetting of pseudocode, algorithms and protocols.  In addition it comes
with a wide range of tools to typeset cryptographic papers.  This includes
simple predefined commands for concepts such as a security parameter or
advantage terms but also flexible and powerful environments to layout
game-based proofs or black-box reductions.")
    (license license:lppl1.3+)))

(define-public texlive-cryst
  (package
    (name "texlive-cryst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cryst/" "fonts/afm/public/cryst/"
                                     "fonts/source/public/cryst/"
                                     "fonts/tfm/public/cryst/"
                                     "fonts/type1/public/cryst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05lbldwghpdrmw0ffncs86k5pn04zi0shkk40ycca3kb0h3fa3h8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/cryst")
    (synopsis "Font for graphical symbols used in crystallography")
    (description
     "This package provides the Cryst font, which contains graphical symbols
used in crystallography.  It provided as an Adobe Type 1 font, and as Metafont
source.")
    (license license:lppl)))

(define-public texlive-csassignments
  (package
    (name "texlive-csassignments")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/csassignments/"
                                     "source/latex/csassignments/"
                                     "tex/latex/csassignments/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gdrsh0iyg8dz0pnb9ak099qrznp54x37qqwd7kllw8jjzdcaqg1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/csassignments")
    (synopsis "Extend @code{article} class for computer science assignments")
    (description
     "This class wraps the default @code{article} and extends it for
a homogeneous look of hand-in assignments at university (RWTH Aachen
University, Computer Science Department), specifically in the field of
computer science, but easily extensible to other fields.  It provides macros
for structuring exercises, aggregating points, and displaying a grading table,
as well as several macros for easier math mode usage.")
    (license license:expat)))

(define-public texlive-cuprum
  (package
    (name "texlive-cuprum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cuprum/"
                                     "fonts/map/dvips/cuprum/"
                                     "fonts/tfm/public/cuprum/"
                                     "fonts/truetype/public/cuprum/"
                                     "tex/latex/cuprum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wimmwjpx6dg41ncpjbrsxfv41ayppy87f1b8r38vyg0vw6vcsz5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cuprum")
    (synopsis "Cuprum font family support for LaTeX")
    (description
     "This package provides support for the Cuprum font family.")
    (license license:silofl1.1)))

(define-public texlive-custom-bib
  (package
    (name "texlive-custom-bib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/custom-bib/"
                                     "source/latex/custom-bib/"
                                     "tex/latex/custom-bib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hzy0j9k55ygkzvgs3y2jz435267l3g4isqynr64978zhyqybqpd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; The installation process requires ".mbs" files to be
               ;; available when generating the package.  Extend TEXINPUTS to
               ;; include their location.
               (add-before 'build 'extend-texinputs
                 (lambda _
                   (setenv "TEXINPUTS"
                           (string-append (getcwd)
                                          "/tex/latex/custom-bib/:")))))))
    (home-page "https://ctan.org/pkg/custom-bib")
    (synopsis "Customised BibTeX styles")
    (description
     "This package generates customized BibTeX bibliography styles from
a generic file using @code{docstrip} driven by parameters generated by a menu
application.  It includes support for the Harvard style of citations.")
    (license license:lppl)))

(define-public texlive-customdice
  (package
    (name "texlive-customdice")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/customdice/"
                                     "source/latex/customdice/"
                                     "tex/latex/customdice/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jwhvg13rla5pav0z4wns4s0x25myiqcinv592g6kqnbgwzj4q7g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/customdice")
    (synopsis "Simple commands for drawing customisable dice")
    (description
     "The @code{customdice} package for LaTeX, LuaLaTeX and XeTeX that
provides functionality for drawing dice.  The aim is to provide
highly-customisable but simple-to-use commands, allowing: adding custom text
to dice faces; control over colouring; control over sizing.")
    (license license:cc-by-sa4.0)))

(define-public texlive-cvss
  (package
    (name "texlive-cvss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cvss/" "source/latex/cvss/"
                                     "tex/latex/cvss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hs931xcj7jai901nvfvi942x403sda7xslq14bfjls0v74lkhbd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cvss")
    (synopsis "Compute and display CVSS base scores")
    (description
     "The Common Vulnerability Scoring System (CVSS) is an open framework for
communicating the characteristics and severity of software vulnerabilities.
CVSS consists of three metric groups: Base, Temporal, and Environmental.  This
package allows the user to compute CVSS3.1 base scores and use them in
documents, i.e., it only deals with the Base score.  Temporal and
Environmental scores will be part of a future release.")
    (license license:lppl1.3c)))

(define-public texlive-cweb-old
  (package
    (name "texlive-cweb-old")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/plain/cweb-old/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vx235zpflqpnrfa9kqq7wmc1rylg5bw1r26knfzvh3w1swbp4ai"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cweb-old")
    (synopsis "Obsolete files from CWEB")
    (description
     "This package contains parts of CWEB that are no longer useful.")
    (license license:knuth)))

(define-public texlive-dad
  (package
    (name "texlive-dad")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dad/"
                                     "fonts/afm/public/dad/"
                                     "fonts/map/dvips/dad/"
                                     "fonts/ofm/public/dad/"
                                     "fonts/ovf/public/dad/"
                                     "fonts/tfm/public/dad/"
                                     "fonts/type1/public/dad/"
                                     "tex/lualatex/dad/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mkfhdai5m1fwj9x0rkpklvcrp3synfxl67dp6cb0bfz3w8nmis0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dad")
    (synopsis "Simple typesetting system for mixed Arabic/Latin documents")
    (description
     "This package allows simple typesetting in Arabic script, intended for
mixed Arabic/Latin script usage in situations where heavy-duty solutions are
discouraged.  The system operates with both Unicode and transliterated input,
allowing the user to choose the most appropriate approach for every
situation.")
    (license license:lppl)))

(define-public texlive-dancers
  (package
    (name "texlive-dancers")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/source/public/dancers/"
                                     "fonts/tfm/public/dancers/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nni21f6y9gynx1lsymb3pmh6w761q21idq60fib90hvv9jjd85q"))))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/dancers")
    (synopsis "Font for Conan Doyle's @emph{The Dancing Men}")
    (description
     "The (Sherlock Holmes) book contains a code which uses dancing men as
glyphs.  The alphabet as given is not complete, lacking @samp{f}, @samp{j},
@samp{k}, @samp{q}, @samp{u}, @samp{w}, @samp{x} and @samp{z}, so those
letters in the font are not due to Conan Doyle.

The code required word endings to be marked by the dancing man representing
the last letter to be holding a flag: these are coded as A-Z.  In some cases,
the man has no arms, making it impossible for him to hold a flag.  In these
cases, he is wearing a flag on his hat in the character.  The font is
distributed as Metafont source.")
    ;; "This font may be freely used, modified and distributed."
    (license
     (license:fsf-free "file://fonts/source/public/dancers/dancers.mf"))))

(define-public texlive-dashrule
  (package
    (name "texlive-dashrule")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dashrule/"
                                     "source/latex/dashrule/"
                                     "tex/latex/dashrule/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0glnb77dmhl9svgxpz1s8ivsbmr0cy1a0sz68vfx1plfkxfglbyl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dashrule")
    (synopsis "Draw dashed rules")
    (description
     "The @code{dashrule} package makes it easy to draw a huge variety of
dashed rules (i.e., lines) in LaTeX.  It provides a command,
@code{\\hdashrule}, which draws horizontally dashed rules using the same
syntax as @code{\\rule}, but with an additional parameter that specifies the
pattern of dash segments and the space between those segments.  Those rules
are fully compatible with every @code{LaTeX} back-end processor.")
    (license license:lppl)))

(define-public texlive-dantelogo
  (package
    (name "texlive-dantelogo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dantelogo/"
                                     "fonts/enc/dvips/dantelogo/"
                                     "fonts/map/dvips/dantelogo/"
                                     "fonts/opentype/public/dantelogo/"
                                     "fonts/tfm/public/dantelogo/"
                                     "fonts/type1/public/dantelogo/"
                                     "fonts/vf/public/dantelogo/"
                                     "tex/latex/dantelogo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19wz5qyr4bhd0dwp0y38ql87s3103yimg5b6r2mjz4mz0dsiyy1b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dantelogo")
    (synopsis "Font for DANTE's logo")
    (description
     "The DANTE font for the logo of @url{https://www.dante.de, DANTE}, the
German speaking TeX users group.  The font includes only the five characters
@samp{d}, @samp{a}, @samp{n}, @samp{t}, and @samp{e}.  @file{dantelogo.sty}
provides an interface for LuaLaTeX, XeLaTeX, and pdfLaTeX.")
    (license license:lppl)))

(define-public texlive-dccpaper
  (package
    (name "texlive-dccpaper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dccpaper/"
                                     "source/latex/dccpaper/"
                                     "tex/latex/dccpaper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qqsg3mwai186phw0yij9fm1f9df0m4l24fbyzhf0vswclk2rmpk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dccpaper")
    (synopsis
     "Typeset papers for the @emph{International Journal of Digital Curation}")
    (description
     "The LaTeX class @code{ijdc-v14} produces camera-ready papers and
articles suitable for inclusion in the @emph{International Journal of Digital
Curation}, with applicability from volume 14 onwards; a legacy class
@code{ijdc-v9} is provided for papers and articles written for volumes 9-13.
The similar @code{idcc} class can be used for submissions to the International
Digital Curation Conference, beginning with the 2015 conference.")
    (license (list license:lppl1.3c license:cc-by4.0))))

(define-public texlive-decision-table
  (package
    (name "texlive-decision-table")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/decision-table/"
                                     "source/latex/decision-table/"
                                     "tex/latex/decision-table/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14cgf142wmi2qlrxaa8dmyr7grb7d33ngfpg8sbrm82a78cvl1yc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/decision-table")
    (synopsis "Create Decision Model and Notation decision tables")
    (description
     "The decision-table package allows for an easy way to generate decision
tables in the Decision Model and Notation (DMN) format.  This package ensures
consistency in the tables (i.e., fontsize), and is thus a better alternative
to inserting tables via images.

The decision-table package adds the @code{\\dmntable} command, with which
tables can be created.  This command expands into a tabular, so it can be used
within a @code{table} or @code{figure} environment.  Furthermore, this allows
labels and captions to be added seamlessly.  It is also possible to place
multiple DMN tables in one table/figure environment.")
    (license license:lppl1.3c)))

(define-public texlive-dejavu-otf
  (package
    (name "texlive-dejavu-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dejavu-otf/"
                                     "tex/latex/dejavu-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vn16rb816w7kdqkyqxr01w1qd654s1f3k368q0cj0ab1247q7q8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dejavu-otf")
    (synopsis "Support for the TTF and OTF DejaVu fonts")
    (description
     "The @code{dejavu-otf} package supports the TTF fonts from the DejaVu
project and the OpenType version of the TeXGyre Math.")
    (license license:lppl1.3+)))

(define-public texlive-delim
  (package
    (name "texlive-delim")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/delim/" "source/latex/delim/"
                                     "tex/latex/delim/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12h0zqn46yrqf079a6k939g3pv843rs417va4g2r39rhb2fvh6r8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/delim")
    (synopsis "Simplify typesetting mathematical delimiters")
    (description
     "The package permits simpler control of delimiters without excessive use
of @code{\\big} commands and the like.")
    (license license:lppl1.2+)))

(define-public texlive-delimseasy
  (package
    (name "texlive-delimseasy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/delimseasy/"
                                     "tex/latex/delimseasy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0afgcnwqcbw34wgfryzk1rjw82qakl6nq98gl2w1aw5lkgi4fb9p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/delimseasy")
    (synopsis "Delimiter commands that are easy to use and resize")
    (description
     "This package provides commands to give an easy way to control the size
and blackness of delimiters: append 1-4 @samp{b}s to command for larger sizes;
prepend @samp{B} for for boldface.  These commands reduce the likelihood of
incomplete delimeter pairs and typically use fewer characters than the LaTeX
default.")
    (license license:lppl1.3+)))

(define-public texlive-delimset
  (package
    (name "texlive-delimset")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/delimset/"
                                     "source/latex/delimset/"
                                     "tex/latex/delimset/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vkfk09g7vys4dfa01dxhznczdjklmj90lsw25glbcl1hxr1c1fn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/delimset")
    (synopsis
     "Typeset and declare sets of delimiters with convenient size control")
    (description
     "@code{delimset} is a LaTeX2e package to typeset and declare sets of
delimiters in math mode whose size can be adjusted conveniently.")
    (license license:lppl1.3+)))

(define-public texlive-denisbdoc
  (package
    (name "texlive-denisbdoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/denisbdoc/"
                                     "source/latex/denisbdoc/"
                                     "tex/latex/denisbdoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ypd5xl3psg11jss9n7g1qihd7rag480j63wxkvgifhi4kainypc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/denisbdoc")
    (synopsis "Personal dirty package for documenting packages")
    (description
     "This package provides a personal dirty package for documenting packages.")
    (license license:lppl1.3c)))

(define-public texlive-derivative
  (package
    (name "texlive-derivative")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/derivative/"
                                     "tex/latex/derivative/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06c1ha4w8i3f6k77cjr82cn1rl7jbk82q1n24dd3l7ha4d7qncjp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/derivative")
    (synopsis "Nice and easy derivatives")
    (description
     "Typesetting derivatives and differentials in a consistent way are clumsy
and require care to ensure the preferred formatting.  Several packages have
been developed for this purpose, each with its own features and drawbacks,
with the most ambitious one being @code{diffcoeff}.  While this package is
comparable to diffcoeff in terms of features, it takes a different approach.
One difference is this package provides more options to tweak the format of
the derivatives and differentials.  However, the automatic calculation of the
total order isn't as developed as the one in @code{diffcoeff}.  This package
makes it easy to write derivatives and differentials consistently with its
predefined commands.  It also provides a set of commands that can define
custom derivatives and differential operators.  The options follow
a consistent naming scheme making them easy to use and understand.")
    (license license:lppl1.3+)))

(define-public texlive-diadia
  (package
    (name "texlive-diadia")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/diadia/" "scripts/diadia/"
                                     "tex/latex/diadia/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sjnjabgqsv6v45sffkkzm78fnx89vmk836dajsvck5pd5nvkzxv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "diadia.lua")))
    (home-page "https://ctan.org/pkg/diadia")
    (synopsis "Package to keep a diabetes diary")
    (description
     "The @code{diadia} package allows you to keep a diabetes diary.  Usually,
this means keeping record of certain medical values like blood sugar, blood
pressure, pulse or weight.  It might also include other medical,
pharmaceutical or nutritional data (HbA1c, insulin doses, carbohydrate units).

The @code{diadia} package supports all of this plus more --- simply by adding
more columns to the data file!  It is able to evaluate the data file and
typesets formatted tables and derived plots.  Furthermore, it supports
medication charts and info boxes.")
    (license license:lppl)))

(define-public texlive-diagbox
  (package
    (name "texlive-diagbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/diagbox/" "source/latex/diagbox/"
                                     "tex/latex/diagbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zr7ih8jr56j727gf3l1q87rlrqn3zfz8cm7hs2q5l1f3y1gmcgh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/diagbox")
    (synopsis "Table heads with diagonal lines")
    (description
     "The package's principal command, @code{\\diagbox}, takes two
arguments (texts for the slash-separated parts of the box), and an optional
argument with which the direction the slash will go, the box dimensions, etc.,
may be controlled.  The package also provides @code{\\slashbox} and
@code{\\backslashbox} commands for compatibility with the now removed slashbox
package, which it supersedes.")
    (license license:lppl1.3+)))

(define-public texlive-dice
  (package
    (name "texlive-dice")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dice/"
                                     "fonts/source/public/dice/"
                                     "fonts/tfm/public/dice/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ky33hg66d0x8bcjmdq4ilynpb25mm82x93wzwnz11y59nv4cvsl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/dice")
    (synopsis "Font for die faces")
    (description
     "This package provides a Metafont font that can produce die faces in 2D
or with various 3D effects.")
    (license license:lppl)))

(define-public texlive-dictsym
  (package
    (name "texlive-dictsym")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dictsym/"
                                     "fonts/afm/public/dictsym/"
                                     "fonts/map/dvips/dictsym/"
                                     "fonts/map/vtex/dictsym/"
                                     "fonts/tfm/public/dictsym/"
                                     "fonts/type1/public/dictsym/"
                                     "tex/latex/dictsym/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ygnnmg2m57wzj1iz2wznvdbsi8323804s74a2ic7q1akpy5n2ac"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dictsym")
    (synopsis "DictSym font and macro package")
    (description
     "This directory contains the DictSym Type1 font designed by Georg
Verweyen and all files required to use it with LaTeX.  The font provides
a number of symbols commonly used in dictionaries.  The accompanying macro
package makes the symbols accessible as LaTeX commands.")
    (license license:lppl)))

(define-public texlive-din1505
  (package
    (name "texlive-din1505")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/din1505/" "doc/latex/din1505/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ggi58kra06k8r4drkhnlap9khvscpji78j8v92s3gzh8qmsjhp4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/din1505")
    (synopsis "Bibliography styles for German texts")
    (description
     "This package provides a set of bibliography styles that conform to DIN
1505, and match the original BibTeX standard set (@code{plain}, @code{unsrt},
@code{alpha} and @code{abbrv}), together with a style @code{natdin} to work with
@code{natbib}.")
    (license license:knuth)))

(define-public texlive-dingbat
  (package
    (name "texlive-dingbat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dingbat/"
                                     "fonts/source/public/dingbat/"
                                     "fonts/tfm/public/dingbat/"
                                     "source/latex/dingbat/" "tex/latex/dingbat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12vhykmz1xzvrdzp61qy0q69fnxjjvc9m8v8kras92v49f6m4z7a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/dingbat")
    (synopsis "Two dingbat symbol fonts")
    (description
     "The package provides the fonts (@code{ark10} and @code{dingbat}),
specified in Metafont; support macros are also provided for use in LaTeX.  An
Adobe Type 1 version of the fonts is available in the @code{niceframe} fonts
bundle.")
    (license license:lppl)))

(define-public texlive-diffcoeff
  (package
    (name "texlive-diffcoeff")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/diffcoeff/"
                                     "tex/latex/diffcoeff/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01x16jh9d69pa085ib0di6x3vbgmz722byw73d0kjj8fpr4z4pnj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/diffcoeff")
    (synopsis "Write differential coefficients easily and consistently")
    (description
     "This package allows the easy and consistent writing of ordinary, partial
and other derivatives of arbitrary (algebraic or numeric) order.  For mixed
partial derivatives, the total order of differentiation is calculated by the
package.  Optional arguments allow specification of points of
evaluation (ordinary derivatives), or variables held constant (partial
derivatives), and the placement of the differentiand (numerator or appended).
The package is built on xtemplate and the configurability it enables,
extending to differentials (including simple line elements) and jacobians.")
    (license license:lppl1.3c)))

(define-public texlive-digiconfigs
  (package
    (name "texlive-digiconfigs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/digiconfigs/"
                                     "tex/latex/digiconfigs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13682as94lpy3qws03ymgz380fkkihwppzdwijig85j1yq098wqg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/digiconfigs")
    (synopsis "Writing ``configurations''")
    (description
     "In Stochastic Geometry and Digital Image Analysis some problems can be
solved in terms of so-called ``configurations''.  A configuration is basically
a square matrix of @code{\\circ} and @code{\\bullet} symbols.  This package
provides a convenient and compact mechanism for displaying these
configurations.")
    (license license:lppl)))

(define-public texlive-dijkstra
  (package
    (name "texlive-dijkstra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dijkstra/" "tex/latex/dijkstra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xjq51x4g1xngp8npicgnpmbkzk0rnj992pmhizjv0j92zmaikqm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dijkstra")
    (synopsis "Dijkstra algorithm for LaTeX")
    (description
     "This small package uses the Dijkstra algorithm for weighted
graphs,directed or not: the search table of the shortest path can be
displayed, the minimum distance between two vertices and the corresponding
path are stored in macros.")
    (license license:lppl1.3c)))

(define-public texlive-dinat
  (package
    (name "texlive-dinat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/dinat/" "doc/bibtex/dinat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05ab7aq8h08a8pcl3si2lki569sf201bygf3ra95dpqhs1ijxaag"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dinat")
    (synopsis "Bibliography style for German texts")
    (description
     "This package provides bibliography style files intended for texts in
german.  They draw up bibliographies in accordance with the german DIN 1505,
parts 2 and 3.")
    (license license:public-domain)))

(define-public texlive-dirtree
  (package
    (name "texlive-dirtree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/dirtree/"
                                     "source/generic/dirtree/"
                                     "tex/generic/dirtree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1righlip75ry0yc6kbpijq423k4m625byzgb55d32s7c0imvj41v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dirtree")
    (synopsis "Display trees in the style of Windows Explorer")
    (description
     "This package is designed to emulate the way Windows Explorer displays
directory and file trees, with the root at top left, and each level of subtree
displaying one step in to the right.  The macros work equally well with Plain
TeX and with LaTeX.")
    (license license:lppl)))

(define-public texlive-disser
  (package
    (name "texlive-disser")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/disser/" "makeindex/disser/"
                                     "source/latex/disser/" "tex/latex/disser/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sxvj4cka9xqzl2s3c465fm19lc1b8hyar1chjb51y42q4mx2bmg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/disser")
    (synopsis "Class and templates for typesetting dissertations in Russian")
    (description
     "Disser comprises a document class and set of templates for typesetting
dissertations in Russian.  One of its primary advantages is a simplicity of
format specification for titlepage, headers and elements of automatically
generated lists (table of contents, list of figures, etc).  Bibliography
styles, that conform to the requirements of the Russian standard GOST
R 7.0.11-2011, are provided.")
    (license license:lppl1.3+)))

(define-public texlive-dithesis
  (package
    (name "texlive-dithesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dithesis/" "tex/latex/dithesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yz53jabca56k65pddhl68d3384k2f2jn4zrfkg2d4x8aa1dnvvx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dithesis")
    (synopsis "Class for undergraduate theses at the University of Athens")
    (description
     "The class conforms to the requirements of the Department of Informatics
and Telecommunications at the University of Athens regarding the preparation
of undergraduate theses, as of Sep 1, 2011.  The class is designed for use
with XeLaTeX.")
    (license license:lppl)))

(define-public texlive-dk-bib
  (package
    (name "texlive-dk-bib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/dk-bib/"
                                     "bibtex/bst/dk-bib/"
                                     "bibtex/csf/dk-bib/"
                                     "doc/latex/dk-bib/"
                                     "source/latex/dk-bib/"
                                     "tex/latex/dk-bib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bwmaja41mivsrcx3j9p0yplqccw62fd9wn6v1yx138kg0ayib1n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dk-bib")
    (synopsis "Danish variants of standard BibTeX styles")
    (description
     "Dk-bib is a translation of the four standard BibTeX style files (@code{abbrv},
@code{alpha}, @code{plain} and @code{unsrt}) and the @code{apalike} style file
into Danish.  The files have been extended with URL, ISBN, ISSN, annote and
printing fields which can be enabled through a LaTeX style file.  Dk-bib also
comes with a couple of Danish sorting order files for BibTeX8.")
    (license (list license:knuth license:gpl2+))))

(define-public texlive-dnp
  (package
    (name "texlive-dnp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/sfd/dnp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jlvb0nps1ij4sgbg3clgbk34p80la1fhh9zihn9fhl9nrqk637r"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dnp")
    (synopsis "Subfont numbers for DNP font encoding")
    (description "This package provides subfont numbers for DNP font encoding.")
    ;; This is part of the CJK package, use the same GPL license.
    (license license:gpl2)))

(define-public texlive-docbytex
  (package
    (name "texlive-docbytex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/docbytex/"
                                     "tex/generic/docbytex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09x4xpyq89jjjsp4yzrifcazz0p2f5w7785g8pvss8v0wwsb0lav"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/docbytex")
    (synopsis "Creating documentation from source code")
    (description
     "The package creates documentation from C source code, or other
programming languages.")
    ;; README states: "You can do anything with the files from DocBy.TeX
    ;; package without any limit".
    (license (license:fsf-free "file://doc/generic/docbytex/README"))))

(define-public texlive-doipubmed
  (package
    (name "texlive-doipubmed")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/doipubmed/"
                                     "source/latex/doipubmed/"
                                     "tex/latex/doipubmed/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1432hh1pr5r6izfcqlbvl1lxpradidrwpfkvjr25ds1rlh240y66"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/doipubmed")
    (synopsis "Special commands for use in bibliographies")
    (description
     "The package provides the commands @code{\\doi}, @code{\\pubmed} and
@code{\\citeurl}.  These commands are primarily designed for use in
bibliographies.  A @code{LaTeX2HTML} style file is also provided.")
    (license license:lppl)))

(define-public texlive-domitian
  (package
    (name "texlive-domitian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/domitian/"
                                     "fonts/enc/dvips/domitian/"
                                     "fonts/map/dvips/domitian/"
                                     "fonts/opentype/public/domitian/"
                                     "fonts/tfm/public/domitian/"
                                     "fonts/type1/public/domitian/"
                                     "fonts/vf/public/domitian/"
                                     "tex/latex/domitian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10pg90kdwklz2rsbcafhcld4zdchmxzr6cszrajwrky8hfz67dkg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/domitian")
    (synopsis "Drop-in replacement for Palatino")
    (description
     "The Domitian fonts are an OpenType font family, based on the Palatino
design by Hermann Zapf (1918-2015), as implemented in Palladio.  Domitian is
meant as a drop-in replacement for Adobe's version of Palatino.  It extends
Palladio with small capitals, old-style figures and scientific inferiors.  The
metrics have been adjusted to more closely match Adobe Palatino, and hinting
has been improved.")
    ;; Use any of the three licenses.
    (license (list license:lppl1.3c license:silofl1.1 license:agpl3))))

(define-public texlive-dosepsbin
  (package
    (name "texlive-dosepsbin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dosepsbin.1"
                                     "doc/man/man1/dosepsbin.man1.pdf"
                                     "doc/support/dosepsbin/"
                                     "scripts/dosepsbin/"
                                     "source/support/dosepsbin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "117crwcdpirvvm9srrzjn40marg00q16rzyqipm3xxbmwv52i93c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "dosepsbin.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/dosepsbin")
    (synopsis "Deal with DOS binary EPS files")
    (description
     "This package provides a Encapsulated PostScript (EPS) file may given in
a special binary format to support the inclusion of a thumbnail.  This file
format, commonly known as DOS EPS format, starts with a binary header that
contains the positions of the possible sections: PostScript (PS); Windows
Metafile Format (WMF); and Tag Image File Format (TIFF).  The PS section must
be present and either the WMF file or the TIFF file should be given.  The
package provides a Perl program that will extract any of the sections of such
a file, in particular providing a text'-form EPS file for use with (La)TeX.")
    (license license:artistic2.0)))

(define-public texlive-doublestroke
  (package
    (name "texlive-doublestroke")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/doublestroke/"
                                     "fonts/map/dvips/doublestroke/"
                                     "fonts/source/public/doublestroke/"
                                     "fonts/tfm/public/doublestroke/"
                                     "fonts/type1/public/doublestroke/"
                                     "tex/latex/doublestroke/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v9g025l0qfw4zrjkm9yypcsramwl2di997jgnznxpxms0v6ib7c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/doublestroke")
    (synopsis "Typeset mathematical double stroke symbols")
    (description
     "This package provides a font based on Computer Modern Roman useful for
typesetting the mathematical symbols for the natural numbers, whole numbers,
rational numbers, real numbers and complex numbers; coverage includes all
Roman capital letters, @samp{1}, @samp{h} and @samp{k}.  The font is available
both as Metafont source and in Adobe Type 1 format, and LaTeX macros for its
use are provided.")
    (license license:knuth)))

(define-public texlive-dowith
  (package
    (name "texlive-dowith")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/dowith/"
                                     "source/generic/dowith/"
                                     "tex/generic/dowith/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qlrcjac1qszgrap5v4g0d27g9k5ajqgyy493hmc9yh5wa9wmkmp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dowith")
    (synopsis "Apply a command to a list of items")
    (description
     "The package provides macros for applying a command to all elements of
a list without separators, and also for extending and reducing macros storing
such lists.  Applications in mind belonged to LaTeX, but the package should
work with other formats as well.")
    (license license:lppl1.3+)))

(define-public texlive-dozenal
  (package
    (name "texlive-dozenal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dozenal/"
                                     "fonts/afm/public/dozenal/"
                                     "fonts/map/dvips/dozenal/"
                                     "fonts/source/public/dozenal/"
                                     "fonts/tfm/public/dozenal/"
                                     "fonts/type1/public/dozenal/"
                                     "source/fonts/dozenal/"
                                     "tex/latex/dozenal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fhdcnpjpfxaqshddw6vxy0f8c1c3yn8p11aab8fkhnfg3pnllck"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/dozenal")
    (synopsis "Typeset documents using base twelve numbering")
    (description
     "The package supports typesetting documents whose counters are
represented in base twelve, also called @dfn{dozenal}.  It includes a macro
for converting positive whole numbers to dozenal from decimal (base ten)
representation.  The package also includes a few other macros and redefines
all the standard counters to produce dozenal output.  Fonts, in Roman, italic,
slanted, and boldface versions, provide ten and eleven.  The fonts were
designed to blend well with the Computer Modern fonts, and are available both
as Metafont source and in Adobe Type 1 format.")
    (license license:lppl1.3+)))

(define-public texlive-dramatist
  (package
    (name "texlive-dramatist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dramatist/"
                                     "source/latex/dramatist/"
                                     "tex/latex/dramatist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17x10jaa7f9rnqfrnvgw225n5ypqrmacbpsfpl5zdhx9abbjh793"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dramatist")
    (synopsis "Typeset dramas, both in verse and in prose")
    (description
     "This package is intended for typesetting drama of any length.  It
provides two environments for typesetting dialogues in prose or in verse; new
document divisions corresponding to acts and scenes; macros that control the
appearance of characters and stage directions; and automatic generation of
a ``dramatis personae'' list.")
    (license license:gpl3+)))

(define-public texlive-drawmatrix
  (package
    (name "texlive-drawmatrix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/drawmatrix/"
                                     "source/latex/drawmatrix/"
                                     "tex/latex/drawmatrix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14y9xah06ya8krg7ckmhbmxs113g1vw0x2ryldapww7qi08i78yx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/drawmatrix")
    (synopsis "Draw visual representations of matrices in LaTeX")
    (description
     "The package provides macros to visually represent matrices.  Various
options allow to change the visualizations, e.g., drawing rectangular,
triangular, or banded matrices.")
    (license license:expat)))

(define-public texlive-drawstack
  (package
    (name "texlive-drawstack")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/drawstack/"
                                     "tex/latex/drawstack/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qv2j7crg4b1ggxvmjb6zf0cxmr4mmpk382l7w3dqhywf9lr722v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/drawstack")
    (synopsis "Draw execution stacks")
    (description
     "This simple LaTeX package provides support for drawing execution stack
(typically to illustrate assembly language notions).  The code is written on
top of TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-droit-fr
  (package
    (name "texlive-droit-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/droit-fr/" "tex/latex/droit-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lx4k3w7mzldhwykpfvhv05v7fhd1jibra80kz0zf9s0jga8sq4a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/droit-fr")
    (synopsis "Document class and bibliographic style for French law")
    (description
     "The bundle provides a toolkit intended for students writing a thesis in
French law.  It features a LaTeX document class, a bibliographic style for
BibLaTeX package, a practical example of french thesis document, and
documentation.  The class assumes use of Biber and BibLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-drm
  (package
    (name "texlive-drm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/drm/"
                                     "fonts/afm/public/drm/"
                                     "fonts/map/dvips/drm/"
                                     "fonts/opentype/public/drm/"
                                     "fonts/source/public/drm/"
                                     "fonts/tfm/public/drm/"
                                     "fonts/type1/public/drm/"
                                     "source/fonts/drm/"
                                     "tex/latex/drm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fxmwakgy7inin85pjad5rdqg11flrw8mlsh86ga6ghqcw69zhwq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/drm")
    (synopsis "Complete family of fonts written in Metafont")
    (description
     "The package provides access to the DRM (Don's Revised Modern) family of
fonts, which includes a variety of optical sizes in Roman (in four weights),
italic, and small caps, among other shapes, along with a set of symbols and
ornaments.  It is intended to be a full-body text font, but its larger sizes
can also be used for simple display purposes, and its significant body of
symbols can stand on its own.  It comes complete with textual (old-style) and
lining figures, and even has small-caps figures.  It also comes with
extensible decorative rules to be used with ornaments from itself or other
fonts, along with an extremely flexible ellipsis package.")
    (license license:lppl1.3+)))

(define-public texlive-droid
  (package
    (name "texlive-droid")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/droid/"
                                     "fonts/enc/dvips/droid/"
                                     "fonts/map/dvips/droid/"
                                     "fonts/tfm/ascender/droid/droidsans/"
                                     "fonts/tfm/ascender/droid/droidsansmono/"
                                     "fonts/tfm/ascender/droid/droidserif/"
                                     "fonts/truetype/ascender/droid/droidsans/"
                                     "fonts/truetype/ascender/droid/droidsansmono/"
                                     "fonts/truetype/ascender/droid/droidserif/"
                                     "fonts/type1/ascender/droid/droidsans/"
                                     "fonts/type1/ascender/droid/droidsansmono/"
                                     "fonts/type1/ascender/droid/droidserif/"
                                     "fonts/vf/ascender/droid/droidsans/"
                                     "fonts/vf/ascender/droid/droidsansmono/"
                                     "fonts/vf/ascender/droid/droidserif/"
                                     "tex/latex/droid/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10lgw5yv0s48rwydycq6lxj5dfyna7iflnhz1zq42akg21n595vx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/droid")
    (synopsis "LaTeX support for the Droid font families")
    (description
     "The Droid typeface family was designed by Steve Matteson.  The Droid
family consists of Droid Serif, Droid Sans and Droid Sans Mono fonts.  The
bundle includes the fonts in both TrueType and Adobe Type 1 formats.")
    (license (list license:lppl1.3c license:asl2.0))))

(define-public texlive-dsptricks
  (package
    (name "texlive-dsptricks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dsptricks/"
                                     "tex/latex/dsptricks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pjc78c195nkj493qyc0dxbr9d1488dc528vzkpgcgrf0g5pxm96"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dsptricks")
    (synopsis "Macros for Digital Signal Processing (DSP) plots")
    (description
     "The package provides a set of @code{LaTeX} macros (based on PSTricks)
for plotting the kind of graphs and figures that are usually employed in
digital signal processing publications.  DSPTricks provides facilities for
standard discrete-time lollipop plots, continuous-time and frequency plots,
and pole-zero plots.  The companion package
DSPFunctions (@file{dspfunctions.sty}) provides macros for computing frequency
responses and DFTs, while the package DSPBlocks (@file{dspblocks.sty})
supports DSP block diagrams.")
    (license license:lppl)))

(define-public texlive-dsserif
  (package
    (name "texlive-dsserif")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dsserif/"
                                     "fonts/afm/public/dsserif/"
                                     "fonts/map/dvips/dsserif/"
                                     "fonts/tfm/public/dsserif/"
                                     "fonts/type1/public/dsserif/"
                                     "source/fonts/dsserif/"
                                     "tex/latex/dsserif/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dl8380lyv8r5kfrlhi5r4iwadb52m1397z68qwa65c5p2px1y3i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dsserif")
    (synopsis "Double-struck serifed font for mathematical use")
    (description
     "DSSerif is a mathematical font package with double struck serifed
digits, upper and lower case letters, in regular and bold weights.  The design
was inspired by the STIX double struck fonts, which are sans serif, but
starting from a Courier-like base.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-duerer
  (package
    (name "texlive-duerer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/duerer/"
                                     "fonts/source/public/duerer/"
                                     "fonts/tfm/public/duerer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x5s9qnmhhpj54l6cd0pzd9gmd0ipr95j60rcs73c66wwfjw0xki"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/duerer")
    (synopsis "Computer Duerer fonts")
    (description
     "These fonts are designed for titling use, and consist of capital roman
letters only.  Together with the normal set of base shapes, the family also
offers an informal shape.  The distribution is as Metafont source.  LaTeX
support is available in the @code{duerer-latex} bundle.")
    (license license:public-domain)))

(define-public texlive-duerer-latex
  (package
    (name "texlive-duerer-latex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/duerer-latex/"
                                     "tex/latex/duerer-latex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17ni6hrcblkbzn1f8cn2mvrc01sjqmi8qi2dxy82z14llr23qmbh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/duerer-latex")
    (synopsis "LaTeX support for the Duerer fonts")
    (description
     "This package provides LaTeX support for Hoenig's Computer Duerer fonts,
using their standard fontname names.")
    (license license:gpl3+)))

(define-public texlive-dutchcal
  (package
    (name "texlive-dutchcal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dutchcal/"
                                     "fonts/afm/public/dutchcal/"
                                     "fonts/map/dvips/dutchcal/"
                                     "fonts/tfm/public/dutchcal/"
                                     "fonts/type1/public/dutchcal/"
                                     "fonts/vf/public/dutchcal/"
                                     "tex/latex/dutchcal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "173c5k6q35ljbqdi00kplxss0n1aiss8nvigdv33mlkqpg7i74qg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dutchcal")
    (synopsis "Reworking of ESSTIX13, adding a bold version")
    (description
     "This package reworks the mathematical calligraphic font ESSTIX13,
adding a bold version.  LaTeX support files are included.")
    (license license:lppl)))

(define-public texlive-dvgloss
  (package
    (name "texlive-dvgloss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dvgloss/" "source/latex/dvgloss/"
                                     "tex/latex/dvgloss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fs5ghbyl3qhg1v0iljjqn723a93m4l7f873h3h81pcga75mng4s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dvgloss")
    (synopsis "Facilities for setting interlinear glossed text")
    (description
     "The package provides extensible macros for setting interlinear glossed
text --- useful, for instance, for typing linguistics papers.")
    (license license:lppl)))

(define-public texlive-dyntree
  (package
    (name "texlive-dyntree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dyntree/" "source/latex/dyntree/"
                                     "tex/latex/dyntree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j891cswgcyv5b4l6an0sa6vfwkn6lxswx55hsv2sdkkfbpb7dnd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dyntree")
    (synopsis "Construct Dynkin tree diagrams")
    (description
     "The package is intended for users needing to typeset a Dynkin Tree
Diagram---a group theoretical construct consisting of cartan coefficients in
boxes connected by a series of lines.  Such a diagram is a tool for working
out the states and their weights in terms of the fundamental weights and the
simple roots.")
    ;; Package mentions LGPL without any reference to the version.  Assuming
    ;; LGPL 2.1+.
    (license license:lgpl2.1+)))

(define-public texlive-e-french
  (package
    (name "texlive-e-french")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/e-french/"
                                     "makeindex/e-french/"
                                     "tex/generic/e-french/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14qxxfjlxygprs1ndhnn9mhz9hkb4j2dqikni5cvva457bivm4l9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/e-french")
    (synopsis "Comprehensive LaTeX support for French-language typesetting")
    (description
     "E-french is a distribution that keeps alive the work of Bernard
Gaulle (now deceased), under a free licence.  It replaces the old full
@code{frenchpro} (the professional distribution) and the light-weight
@code{frenchle} packages.")
    (license license:lppl1.3+)))

(define-public texlive-ean
  (package
    (name "texlive-ean")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/ean/" "tex/generic/ean/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zyxjpc0ggas43lpvl1l1mknqmd94q0cqgw6w2by29w3r8wafjh9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ean")
    (synopsis "Macros for making EAN barcodes")
    (description "This package provides EAN-8 and EAN-13 forms.")
    (license license:gpl3+)))

(define-public texlive-easing
  (package
    (name "texlive-easing")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/easing/"
                                     "source/latex/easing/"
                                     "tex/latex/easing/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j6y1i6cz7pcgrd6pisk6f11r30lrr4cnbhhdshl48wp97byjnw4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/easing")
    (synopsis "Easing functions for @code{pgfmath}")
    (description
     "This library implements a collection of easing functions and adds them
to the PGF mathematical engine.")
    (license license:lppl1.3+)))

(define-public texlive-ebgaramond
  (package
    (name "texlive-ebgaramond")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ebgaramond/"
                                     "fonts/enc/dvips/ebgaramond/"
                                     "fonts/map/dvips/ebgaramond/"
                                     "fonts/opentype/public/ebgaramond/"
                                     "fonts/tfm/public/ebgaramond/"
                                     "fonts/type1/public/ebgaramond/"
                                     "fonts/vf/public/ebgaramond/"
                                     "tex/latex/ebgaramond/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cm0cyfh3cmm7d6pjqbpi32yqssq062mgmdb9lfkkydh3k4visjj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ebgaramond")
    (synopsis "LaTeX support for EBGaramond fonts")
    (description
     "EB Garamond is a revival by Georg Duffner of the 16th century fonts
designed by Claude Garamond.  The LaTeX support package works for (pdf)LaTeX,
XeLaTeX and LuaLaTeX users; configuration files for use with @code{microtype}
are provided.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-ebgaramond-maths
  (package
    (name "texlive-ebgaramond-maths")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ebgaramond-maths/"
                                     "fonts/enc/dvips/ebgaramond-maths/"
                                     "fonts/map/dvips/ebgaramond-maths/"
                                     "fonts/tfm/public/ebgaramond-maths/"
                                     "tex/latex/ebgaramond-maths/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rjrf360d7nsny4cxn5fa0gwpph28cx0v9mrr20sbx1vrv9aqvp9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ebgaramond-maths")
    (synopsis "LaTeX support for EBGaramond fonts in mathematics")
    (description
     "This package provides some LaTeX support for the use of EBGaramond12 in
mathematics.")
    (license license:lppl1.3+)))

(define-public texlive-ebook
  (package
    (name "texlive-ebook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ebook/" "tex/latex/ebook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i9zixl8wiwmfrhrzwm2adgwm5kzqk5xaq5nq9bks9i2ayvmiij2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ebook")
    (synopsis "Helps creating an ebook by providing an @code{ebook} class")
    (description
     "The package defines a command @code{\\ebook} that defines page layout,
fonts, and font-sizes for documents to be rendered as PDF-ebooks on small
ebook-readers.")
    (license license:public-domain)))

(define-public texlive-ebsthesis
  (package
    (name "texlive-ebsthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ebsthesis/"
                                     "source/latex/ebsthesis/"
                                     "tex/latex/ebsthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vmnkjnpg840rdgbim7gz2frzgr9dycmzqyj9kylicz5nvc4nk5x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ebsthesis")
    (synopsis "Typesetting theses for economics")
    (description
     "The @code{ebsthesis} class and @code{ebstools} package facilitate the
production of camera-ready manuscripts in conformance with the guidelines of
Gabler Verlag and typographical rules established by the European Business
School.")
    (license license:lppl)))

(define-public texlive-ecc
  (package
    (name "texlive-ecc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ecc/" "fonts/source/public/ecc/"
                                     "fonts/tfm/public/ecc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06mznqh1k9ff8rpifxkphv3yk9ym6zcvz3x1ksk677n6fp5a5jkh"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ec")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ec texlive-metafont))
    (home-page "https://ctan.org/pkg/ecc")
    (synopsis "Sources for the European Concrete fonts")
    (description
     "The Metafont sources and TFM files of the European Concrete Fonts.
This is the T1-encoded extension of Knuth's Concrete fonts, including also the
corresponding text companion fonts.  Adobe Type 1 versions of the fonts are
available as part of the @code{cm-super} font bundle.")
    (license license:lppl)))

(define-public texlive-ecltree
  (package
    (name "texlive-ecltree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ecltree/" "tex/latex/ecltree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ki5zzpl8dkz7zwyccmsxfnfq7vl5vlx3gi1py64mgqxfxp0rivw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ecltree")
    (synopsis "Trees using Epic and Eepic macros")
    (description
     "The package recursively draws trees: each subtree is defined in
a @code{bundle} environment, with a set of leaves described by @code{\\chunk}
macros.  A chunk may have a @code{bundle} environment inside it.")
    (license license:lppl)))

(define-public texlive-eco
  (package
    (name "texlive-eco")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/eco/" "fonts/tfm/public/eco/"
                                     "fonts/vf/public/eco/" "source/fonts/eco/"
                                     "tex/latex/eco/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b2g3bmldad4vfx9qd3sakhayl9knijwn26xwysxrzc3rnfnz5w2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eco")
    (synopsis "Old style numerals using EC fonts")
    (description
     "This package provides a set of font metric files and virtual fonts for
using the EC fonts with old-style numerals.  The style file @file{eco.sty} is
sufficient to use the @code{eco} fonts but if you intend to use other font
families as well, e.g., PostScript fonts, try @code{altfont}.")
    (license license:gpl3+)))

(define-public texlive-ecobiblatex
  (package
    (name "texlive-ecobiblatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ecobiblatex/"
                                     "tex/latex/ecobiblatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09569x2dx1h6a63ji44ipkx0nvapc9mgkgrqvc552x62c97zcf21"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ecobiblatex")
    (synopsis
     "Global Ecology and Biogeography BibLaTeX styles for the Biber backend")
    (description
     "This bundle provides a set of styles for creating bibliographies using
BibLaTeX in the style of the @emph{Global Ecology and Biogeography} journal.")
    (license license:lppl1.3+)))

(define-public texlive-econ-bst
  (package
    (name "texlive-econ-bst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/econ-bst/"
                                     "doc/bibtex/econ-bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zs07qznvz8hwlinacaas6lpyc6l2zmpcc1m3xxdkszl95xfc3md"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/econ-bst")
    (synopsis "BibTeX style for economics papers")
    (description
     "This is a BibTeX style file for papers in economics.  It provides the
following features: author-year type citation reference style used in
economics papers highly customizable use of certified random order, as
proposed by Ray Robson (2018)")
    (license license:lppl1.3+)))

(define-public texlive-econometrics
  (package
    (name "texlive-econometrics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/econometrics/"
                                     "tex/latex/econometrics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09sjgdsa93pfz7iha335z4xdh80939iqrwr3jxdmdxjyracz61vs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/econometrics")
    (synopsis
     "Simplified mathematic notation in economic and econometric writing")
    (description
     "Econometrics is a package that defines some commands that simplify
mathematic notation in economic and econometrics writing.  The commands are
related to the notation of vectors, matrices, sets, calligraphic and roman
letters statistical distributions constants and symbols matrix operators and
statistical operators.")
    (license license:lppl1.3+)))

(define-public texlive-economic
  (package
    (name "texlive-economic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/economic/"
                                     "doc/bibtex/economic/" "tex/latex/economic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b530sy5bf7f6xa4bakm5agnzx0dckafxkqsy9gv2rk2803qsf6c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/economic")
    (synopsis "BibTeX support for submitting to economics journals")
    (description
     "The bundle offers macros and BibTeX styles for the @emph{American
Economic Review} (AER), the @emph{American Journal of Agricultural
Economics} (AJAE), the @emph{Canadian Journal of Economics} (CJE), the
@emph{European Review of Agricultural Economics} (ERAE), the
@emph{International Economic Review} (IER) and @emph{Economica}.

The macro sets are based on (and require) the @code{harvard} package, and all
provide variations of author-date styles of presentation.")
    (license license:lppl)))

(define-public texlive-ecothesis
  (package
    (name "texlive-ecothesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ecothesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1avnq2y5l2bc2lkf2g16p2vh77dabv52jr6jrm4jfm1wdapc6fmq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ecothesis")
    (synopsis "LaTeX thesis template for the Universidade Federal de Vicosa")
    (description
     "The package provides a LaTeX thesis template for the @acronym{UFV,
Universidade Federal de Vicosa}, Brazil.")
    (license license:lppl1.3c)))

(define-public texlive-eczar
  (package
    (name "texlive-eczar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/eczar/"
                                     "fonts/opentype/public/eczar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r7alay4g12gn7sr6d584y04qzi77qiialmsq1wfxay7a2h8c3rn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eczar")
    (synopsis "Font family supporting Devanagari and Latin script")
    (description
     "Eczar is a type family designed by Vaibhav Singh.  The fonts support
over 45+3 languages in Latin and Devanagari scripts in 5 weights.")
    (license license:silofl1.1)))

(define-public texlive-edfnotes
  (package
    (name "texlive-edfnotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/edfnotes/"
                                     "source/latex/edfnotes/"
                                     "tex/latex/edfnotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "074db5fanasjzk7clj0l4ka3x1qpmvczwxix0l2v6sjjmyb4xfz4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/edfnotes")
    (synopsis "Critical annotations to footnotes with @code{ednotes}")
    (description
     "The package modifies the annotation commands and label-test mechanism of
the ednotes package so that critical notes appear on the pages and in the
order that one would expect.")
    (license license:lppl1.3+)))

(define-public texlive-edmac
  (package
    (name "texlive-edmac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/edmac/" "source/latex/edmac/"
                                     "tex/generic/edmac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pflqzrzfyw725ypc6lcryzzbizk13j69h4875r6q4fs763kv3w1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/edmac")
    (synopsis "Typeset critical editions")
    (description
     "This is the type example package for typesetting scholarly critical
editions.")
    (license license:gpl2)))

(define-public texlive-egameps
  (package
    (name "texlive-egameps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/egameps/" "tex/latex/egameps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wlki6y54czvvq7cvs7pvsvl1fhd8laaj5j52jv1v8w1msh5mlpr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/egameps")
    (synopsis "LaTeX package for typesetting extensive games")
    (description
     "The style is intended to have enough features to draw any extensive game
with relative ease.  The facilities of PSTricks are used for graphics.")
    (license license:lppl)))

(define-public texlive-eiad
  (package
    (name "texlive-eiad")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/eiad/"
                                     "fonts/source/public/eiad/"
                                     "fonts/tfm/public/eiad/" "tex/latex/eiad/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0il058v1x79w5faxyalysdmfsgbxc3a1nq8kraffawpqw6wjcrbj"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-sauter")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont texlive-sauter))
    (home-page "https://ctan.org/pkg/eiad")
    (synopsis "Traditional style Irish fonts")
    (description
     "This package provides traditional style Irish fonts, in both lower and
upper case 32 letters are defined (18 plain ones, 5 long vowels and
9 aspirated consonants).  The ligature agus is also made available.  The
remaining characters (digits, punctuation and accents) are inherited from the
Computer Modern family of fonts.")
    (license license:public-domain)))

(define-public texlive-eiad-ltx
  (package
    (name "texlive-eiad-ltx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eiad-ltx/"
                                     "fonts/source/public/eiad-ltx/"
                                     "source/latex/eiad-ltx/"
                                     "tex/latex/eiad-ltx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qqwzl345v6hn0gp46flvhhzacgv810qjn575bhigqq726zl4kz7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eiad-ltx")
    (synopsis "LaTeX support for the @code{eiad} font")
    (description
     "The package provides macros to support use of the @code{eiad} fonts in
OT1 encoding.  Also offered are a couple of Metafont files described in the
font package, but not provided there.")
    (license license:lppl)))

(define-public texlive-einfart
  (package
    (name "texlive-einfart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/einfart/" "tex/latex/einfart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hlj00jp7s9b22r4a8l5fc98hnsblmn05v1ryqxknkcj6qdvrj9d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-minimalist))
    (home-page "https://ctan.org/pkg/einfart")
    (synopsis "Write your articles in a simple and clear way")
    (description
     "This package provides a LaTeX class for typesetting articles with a
simple and clear design.  Currently, it has native support for Chinese
(simplified and traditional), English, French, German, Italian, Japanese,
Portuguese (European and Brazilian), Russian and Spanish typesetting.  It
compiles with either XeLaTeX or LuaLaTeX.  This is part of the
@code{minimalist} class series and depends on that package.")
    (license license:lppl1.3c)))

(define-public texlive-ejpecp
  (package
    (name "texlive-ejpecp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ejpecp/" "source/latex/ejpecp/"
                                     "tex/latex/ejpecp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "083abggngg89nj4ra0a33j3s6wf0jba814lc4zp5sh64pc2x8h0j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ejpecp")
    (synopsis "Class for EJP and ECP")
    (description
     "The class is designed for typesetting articles for the mathematical
research periodicals @emph{Electronic Journal of Probability} (EJP) and
@emph{Electronic Communications in Probability} (ECP).")
    (license license:lppl1.2+)))

(define-public texlive-ekaia
  (package
    (name "texlive-ekaia")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ekaia/" "source/latex/ekaia/"
                                     "tex/latex/ekaia/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n6zinzcg3win9nn86ljf8fcwsxxn6dq1gjnnw1si8ca01zdyx45"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ekaia")
    (synopsis
     "Article format for the Basque Country Science and Technology Journal
@emph{Ekaia}")
    (description
     "The package provides the article format for publishing the Basque
Country Science and Technology Journal @emph{Ekaia} at the University of the
Basque Country.")
    (license license:lppl1.2+)))

(define-public texlive-ektype-tanka
  (package
    (name "texlive-ektype-tanka")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ektype-tanka/"
                                     "fonts/truetype/public/ektype-tanka/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05jyx7dgbi19n6g8f4a5f8lkalld2p7lrlrfy1pj961hx65zbj80"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ektype-tanka")
    (synopsis "Devanagari fonts by EkType")
    (description
     "This package provides a collection of some Devanagari fonts by EkType:
Mukta, Baloo, Modak, and Jaini.")
    (license license:lppl1.3c)))

(define-public texlive-elbioimp
  (package
    (name "texlive-elbioimp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/elbioimp/"
                                     "source/latex/elbioimp/"
                                     "tex/latex/elbioimp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iwsahllfw975cs11llr0ghx80wf5kmw5zrbs4iqviai12ipnkd2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/elbioimp")
    (synopsis
     "LaTeX document class for the @emph{Journal of Electrical Bioimpedance}")
    (description
     "This package provides a document class for writing articles to the
@emph{Journal of Electrical Bioimpedance}.")
    (license license:lppl)))

(define-public texlive-electrum
  (package
    (name "texlive-electrum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/electrum/"
                                     "fonts/afm/arkandis/electrum/"
                                     "fonts/enc/dvips/electrum/"
                                     "fonts/map/dvips/electrum/"
                                     "fonts/tfm/arkandis/electrum/"
                                     "fonts/type1/arkandis/electrum/"
                                     "fonts/vf/arkandis/electrum/"
                                     "source/fonts/electrum/"
                                     "tex/latex/electrum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k8yckfh7pw2p3gy2j4ss9l42dmdbdnb7nsliz0j05g7wkkcp05w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/electrumadf")
    (synopsis "Electrum ADF fonts collection")
    (description
     "Electrum ADF is a slab-serif font featuring optical and italic
small-caps; additional ligatures and an alternate @samp{Q}; lining, hanging,
inferior and superior digits; and four weights.  The fonts are provided in
Adobe Type 1 format and the support material enables use with LaTeX. Licence
is mixed: LPPL for LaTeX support; GPL with font exception for the fonts.")
    ;; LPPL for LaTeX support, GPL with font exception for the fonts.
    (license (list license:lppl license:gpl2+))))

(define-public texlive-eledform
  (package
    (name "texlive-eledform")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eledform/"
                                     "source/latex/eledform/"
                                     "tex/latex/eledform/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sslbwabzpvx314bfmr6gy1p8nrh89v5mnkgdcby9w42hnfqiw2n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eledform")
    (synopsis "Define textual variants")
    (description
     "The package provides commands to formalize textual variants in critical
editions typeset using @code{eledmac}.")
    (license license:lppl1.3+)))

(define-public texlive-eledmac
  (package
    (name "texlive-eledmac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eledmac/" "source/latex/eledmac/"
                                     "tex/latex/eledmac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a4579g3rykcgbwjqbky260lx6x7mc41i6cqhi83anf3zilsii0r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eledmac")
    (synopsis "Typeset scholarly editions")
    (description
     "This package provides a package for typesetting scholarly critical editions,
replacing the established @code{ledmac} package.  The package supports
indexing by page and by line numbers, and simple @code{tabular}- and
@code{array}-style environments.  The package is distributed with the related
@code{eledpar} package.  The package is now superseded by @code{reledmac}.")
    (license license:lppl1.3+)))

(define-public texlive-els-cas-templates
  (package
    (name "texlive-els-cas-templates")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/els-cas-templates/"
                                     "doc/latex/els-cas-templates/"
                                     "tex/latex/els-cas-templates/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1drp6gykqn4yaxjsiamsn8v5zv7nhvlqiblfhqg85fq3yl4q1sqk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/els-cas-templates")
    (synopsis "Elsevier updated LaTeX templates")
    (description
     "This bundle provides two class and corresponding template files for
typesetting journal articles supposed to go through Elsevier's updated
workflow.  One of the sets is meant for one-column, the other for two-column
layout.  These are now accepted for submitting articles both in Elsevier's
electronic submission system and elsewhere.")
    (license license:lppl1.2+)))

(define-public texlive-elsarticle
  (package
    (name "texlive-elsarticle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/elsarticle/"
                                     "doc/latex/elsarticle/"
                                     "source/latex/elsarticle/"
                                     "tex/latex/elsarticle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1616ql7yhf6fr66szgnpkxd2sz8vx22w25annf11i2zmr698k3aa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/elsarticle")
    (synopsis "Class for articles for submission to Elsevier journals")
    (description
     "This class for typesetting journal articles is accepted for submitted
articles both in Elsevier's electronic submission system and elsewhere.")
    (license license:lppl1.2+)))

(define-public texlive-elteikthesis
  (package
    (name "texlive-elteikthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/elteikthesis/"
                                     "tex/latex/elteikthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12lm8xsk7jwfhykfw3cz8knj4jphsmqzzs8v359fgpxnpqwnw5cw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/elteikthesis")
    (synopsis "Thesis template for Eotvos Lorand University (Informatics)")
    (description
     "This package provides a bachelor and master thesis template for the
Eotvos Lorand University, Faculty of Informatics (Budapest, Hungary).  The
template supports producing both Hungarian and English theses.")
    (license license:expat)))

(define-public texlive-eltex
  (package
    (name "texlive-eltex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eltex/" "tex/latex/eltex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p6wy61n5q93mp07kv7bkp5nnsshshs6wrrhixicn0vankcgnm7w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eltex")
    (synopsis "Simple circuit diagrams in LaTeX picture mode")
    (description
     "The macros enable the user to draw simple circuit diagrams in the
picture environment, with no need of special resources.  The macros are
appropriate for drawing for school materials.  The circuit symbols accord to
the various parts of the standard IEC 617.")
    (license license:lppl)))

(define-public texlive-elvish
  (package
    (name "texlive-elvish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/elvish/"
                                     "fonts/source/public/elvish/"
                                     "fonts/tfm/public/elvish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vmvkc97a7j93jhdp0wbz4mqvk5q2kxjy5dlklwl5jawggagm7r4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/elvish")
    (synopsis "Fonts for typesetting Tolkien Elvish scripts")
    (description
     "The bundle provides fonts for Cirth and for Tengwar.  The Tengwar fonts
are supported by macros in @file{teng.tex}, or by the (better documented)
@code{tengtex} package.")
    ;; "If you produce modifications that seem useful, you are asked to send
    ;; them to me, so that they can be incorporated into the master files."
    (license (license:non-copyleft "file://doc/fonts/elvish/README"))))

(define-public texlive-emf
  (package
    (name "texlive-emf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/emf/" "tex/latex/emf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w1wrvb2agq8vw2n8qg0mj3as09nygaxvjj6ji90qd865fj7lwzl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/emf")
    (synopsis "Support for the EMF symbol")
    (description
     "This package provides LaTeX support for the symbol for the EMF in
electric circuits and electrodynamics.  It provides support for multiple
symbols but does not provide any fonts.  The fonts themselves must be acquired
otherwise.")
    (license license:gpl3)))

(define-public texlive-emisa
  (package
    (name "texlive-emisa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/emisa/" "source/latex/emisa/"
                                     "tex/latex/emisa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02f8blixqqbn7k3h2sn59b9d8i2lxqnh2zwdk4gv7wyjr9l0sc1x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; "emisa.ins" apparently wants to generate itself!  Fix that.
               (add-after 'unpack 'fix-ins
                 (lambda _
                   (substitute* "source/latex/emisa/emisa.ins"
                     (("\\\\file\\{\\\\jobname\\.ins\\}.*") "")))))))
    (home-page "https://ctan.org/pkg/emisa")
    (synopsis "LaTeX package for preparing manuscripts for the journal
@emph{EMISA}")
    (description
     "The EMISA LaTeX package is provided for preparing manuscripts for
submission to @acronym{EMISA, Enterprise Modelling and Information Systems
Architectures}, and for preparing accepted submissions for publication as well
as for typesetting the final document by the editorial office.")
    (license license:lppl1.3c)))

(define-public texlive-endiagram
  (package
    (name "texlive-endiagram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/endiagram/"
                                     "tex/latex/endiagram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07vm7ka7651mp5kk7m4ipk6agh4afmnq5ns1mjxvssb2wxfli3f0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/endiagram")
    (synopsis "Easy creation of potential energy curve diagrams")
    (description
     "The package provides the facility of drawing potential energy curve
diagrams with just a few simple commands.")
    (license license:lppl1.3+)))

(define-public texlive-engtlc
  (package
    (name "texlive-engtlc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/engtlc/" "tex/latex/engtlc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xl0x6yanf2933p4ajlwzlrxjrn36kkdy6bm7cy10s1nys3y3pqk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/engtlc")
    (synopsis "Support for users in telecommunications engineering")
    (description
     "The package provides a wide range of abbreviations for terms used in
telecommunications engineering.")
    (license license:lppl1.3+)))

(define-public texlive-iexec
  (package
    (name "texlive-iexec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/iexec/" "source/latex/iexec/"
                                     "tex/latex/iexec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pskdinm7rqsrb8xdz980wvxqjv018zj70l6gki0pch98ygwmg8d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-pgf))
    (home-page "https://ctan.org/pkg/iexec")
    (synopsis "Execute shell commands and input their output")
    (description
     "With the help of the @code{\\iexec} command, you can execute a shell
command and then input its output into your document.  This package also lets
you use any special symbols inside your command.")
    (license license:expat)))

(define-public texlive-eolang
  (package
    (name "texlive-eolang")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eolang/"
                                     "doc/man/man1/eolang.1"
                                     "doc/man/man1/eolang.man1.pdf"
                                     "scripts/eolang/"
                                     "source/latex/eolang/"
                                     "tex/latex/eolang/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "143k0j6cyysisraags5i1cp90199b7f6hdjg1rar6ysrrfvp9dhv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-amsfonts
           texlive-amsmath
           texlive-fancyvrb
           texlive-iexec
           texlive-pgf
           texlive-pgfopts
           texlive-stmaryrd))
    (home-page "https://ctan.org/pkg/eolang")
    (synopsis "Formulas and graphs for the EO programming language")
    (description
     "This LaTeX package helps you write φ-calculus formulas and
@url{https://github.com/objectionary/sodg, SODG} graphs for the
@url{https://www.eolang.org, EO} programming language.")
    (license license:expat)))

(define-public texlive-epigrafica
  (package
    (name "texlive-epigrafica")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/epigrafica/"
                                     "fonts/afm/public/epigrafica/"
                                     "fonts/enc/dvips/epigrafica/"
                                     "fonts/map/dvips/epigrafica/"
                                     "fonts/tfm/public/epigrafica/"
                                     "fonts/type1/public/epigrafica/"
                                     "fonts/vf/public/epigrafica/"
                                     "tex/latex/epigrafica/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s18ykapm50xyvrw5ls9gzc3m8r6pnjaplryr7q469k69455fh6z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/epigrafica")
    (synopsis "Greek and Latin font")
    (description
     "Epigrafica is a Greek and Latin font, forked from the development of the
Cosmetica font, which is a similar design to Optima and includes Greek.")
    (license license:gpl3+)))

(define-public texlive-eplain
  (package
    (name "texlive-eplain")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/eplain/"
                                     "doc/info/eplain.info"
                                     "doc/man/man1/eplain.1"
                                     "doc/man/man1/eplain.man1.pdf"
                                     "source/eplain/"
                                     "tex/eplain/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00nmqhfckrf8ygw6i93d5xnf85i8a88ryadb5ml73w4rllwjxr72"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "eplain")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((pdftex (search-input-file inputs "bin/pdftex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink pdftex "eplain"))))))))
    (propagated-inputs
     (list texlive-babel
           texlive-cm
           texlive-firstaid
           texlive-hyphen-complete
           texlive-knuth-lib
           texlive-l3backend
           texlive-l3kernel
           texlive-latex
           texlive-latex-fonts
           texlive-pdftex
           texlive-plain
           texlive-tex-ini-files
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/eplain")
    (synopsis "Extended plain TeX macros")
    (description
     "This package provides an extended version of the plain TeX format,
adding support for bibliographies, tables of contents, enumerated lists,
verbatim input of files, numbered equations, tables, two-column output,
footnotes, hyperlinks in PDF output and commutative diagrams.  Eplain can also
load some of the more useful LaTeX packages, notably @code{graphics},
@code{graphicx} (an extended version of graphics), @code{color},
@code{autopict} (a package instance of the LaTeX picture code), @code{psfrag},
and @code{url}.")
    (license license:gpl2+)))

(define-public texlive-epsdice
  (package
    (name "texlive-epsdice")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/epsdice/" "source/latex/epsdice/"
                                     "tex/latex/epsdice/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09h3jqb44vl1jpb3hf6gbpfpbvfv6lvdvjmp4xpzhl1zs672wccj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/epsdice")
    (synopsis "Scalable dice font")
    (description
     "The @code{epsdice} package defines a single command @code{\\epsdice}
that takes a numeric argument (in the range 1-6), and selects a face image
from a file that contains each of the 6 possible die faces.  The graphic file
is provided in both Encapsulated PostScript and PDF formats.")
    (license license:lppl)))

(define-public texlive-epslatex-fr
  (package
    (name "texlive-epslatex-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/epslatex-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xs9977g9g3i6sipkf7i9jdl8sdm69ci3161a4p7k66qbizi7zvb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fepslatex")
    (synopsis "French version of @emph{Graphics in LaTeX}")
    (description
     "This is the French translation of @code{epslatex}, and describes how to
use imported graphics in LaTeX(2e) documents.")
    (license license:gpl3+)))

(define-public texlive-eqexpl
  (package
    (name "texlive-eqexpl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eqexpl/" "tex/latex/eqexpl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0crbq63m7ra20a1s1yka2v24spfvi86ls1v8asswdrf83zkdpibi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eqexpl")
    (synopsis "Align explanations for formulas")
    (description
     "This package tries to create perfectly formatted explanation of
components of a formula.")
    (license license:cc-by-sa4.0)))

(define-public texlive-eqnarray
  (package
    (name "texlive-eqnarray")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eqnarray/"
                                     "source/latex/eqnarray/"
                                     "tex/latex/eqnarray/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w01rh4a1yglfm9fqkhry1d6bs47caj0dsna9j648z0pxvdf1v38"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eqnarray")
    (synopsis "More generalised equation arrays with numbering")
    (description
     "This package defines an @code{equationarray} environment, that allows
more than three columns, but otherwise behaves like LaTeX's @code{eqnarray}
environment.  This environment is similar, in some ways, to the @code{align}
environment of @code{amsmath}.")
    (license license:gpl3)))

(define-public texlive-eqnnumwarn
  (package
    (name "texlive-eqnnumwarn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eqnnumwarn/"
                                     "tex/latex/eqnnumwarn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06z6rb0q5qln5knamwxljzw5h373r2xh159ml9akw4kb2cdk3bri"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eqnnumwarn")
    (synopsis "Warn for a displaced equation number")
    (description
     "Sometimes an equation is too long that an equation number will be
typeset below the equation itself, but yet not long enough to yield an
@samp{overfull \\hbox} warning.  The @code{eqnnumwarn} package modifies the
standard @code{amsmath} numbered equation environments to throw a warning
whenever this occurs.")
    (license license:lppl1.3+)))

(define-public texlive-erdc
  (package
    (name "texlive-erdc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/erdc/" "source/latex/erdc/"
                                     "tex/latex/erdc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sqq0zd89jx2l4n1hpas4c4y4p3mh1mbnfigjbal9xg2h5pijkv1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/erdc")
    (synopsis "Style for reports by US Army Corps of Engineers")
    (description
     "This package provides a class for typesetting Technical Information
Reports of the Engineer Research and Development Center, US Army Corps of
Engineers.")
    (license license:lppl)))

(define-public texlive-erewhon
  (package
    (name "texlive-erewhon")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/erewhon/"
                                     "fonts/afm/public/erewhon/"
                                     "fonts/enc/dvips/erewhon/"
                                     "fonts/map/dvips/erewhon/"
                                     "fonts/opentype/public/erewhon/"
                                     "fonts/tfm/public/erewhon/"
                                     "fonts/type1/public/erewhon/"
                                     "fonts/vf/public/erewhon/"
                                     "tex/latex/erewhon/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02qhg27y24b533gnx90f8a1b7j06i369qswmpccq5a6gaaab8xcv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/erewhon")
    (synopsis "Font package derived from Heuristica and Utopia")
    (description
     "Erewhon is based on the Heuristica package, which is based in turn on
Utopia.  Erewhon adds a number of new features --- small caps in all styles
rather than just regular, added figure styles (proportional, inferior,
numerator, denominator) and superior letters.  The size is 6% smaller than
Heuristica, matching that of UtopiaStd.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-erewhon-math
  (package
    (name "texlive-erewhon-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/erewhon-math/"
                                     "fonts/opentype/public/erewhon-math/"
                                     "tex/latex/erewhon-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g3f4p2zacans6zp59zrjk5blgrsyhqpx98qkgi4w0klxiclxa1c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/erewhon-math")
    (synopsis "Utopia based OpenType math font")
    (description
     "Erewhon Math is an OpenType version of the Fourier Type1 fonts designed
by Michel Bovani.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-esrelation
  (package
    (name "texlive-esrelation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/esrelation/"
                                     "fonts/map/dvips/esrelation/"
                                     "fonts/source/public/esrelation/"
                                     "fonts/tfm/public/esrelation/"
                                     "fonts/type1/public/esrelation/"
                                     "source/fonts/esrelation/"
                                     "tex/latex/esrelation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "168pjrn3pgyqb79nvwk4rykb214jj1fvygnlb18rx7nrnzdmagjw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/esrelation")
    (synopsis "Symbol set for describing relations between ordered pairs")
    (description
     "This package provides an math symbol font, by Tauba Auerbach, for
describing relations between ordered pairs, using Metafont.")
    (license license:lppl1.3+)))

(define-public texlive-esstix
  (package
    (name "texlive-esstix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/esstix/"
                                     "fonts/afm/esstix/"
                                     "fonts/map/dvips/esstix/"
                                     "fonts/tfm/public/esstix/"
                                     "fonts/type1/public/esstix/"
                                     "fonts/vf/public/esstix/"
                                     "tex/latex/esstix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wfl7q6yx7pflzy402ldx7p3zw3xgvgvilrdzv7pm0w937a3qkm9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/esstix")
    (synopsis "PostScript versions of the ESSTIX, with macro support")
    (description
     "These fonts represent translation to PostScript Type 1 of the ESSTIX
fonts.  ESSTIX seem to have been a precursor to the STIX project.  The
accompanying virtual fonts with customized metrics and LaTeX support files
allow their use as @code{calligraphic}, @code{fraktur} and
@code{double-struck} (blackboard bold) in maths mode.")
    (license license:silofl1.1)))

(define-public texlive-estcpmm
  (package
    (name "texlive-estcpmm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/estcpmm/" "source/latex/estcpmm/"
                                     "tex/latex/estcpmm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09fp8vidb9wzdsm05nira4p8dyjn75i1jhhwnr6k17pdrad1sqrj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/estcpmm")
    (synopsis "Style for Munitions Management Project Reports")
    (description
     "This package provides a class which supports typesetting Cost and
Performance Reports and Final Reports for Munitions Management Reports, US
Environmental Security Technology Certification Program.")
    (license license:lppl)))

(define-public texlive-esvect
  (package
    (name "texlive-esvect")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/esvect/"
                                     "fonts/map/dvips/esvect/"
                                     "fonts/source/public/esvect/"
                                     "fonts/tfm/public/esvect/"
                                     "fonts/type1/public/esvect/"
                                     "source/latex/esvect/"
                                     "tex/latex/esvect/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15sr1rm86aamfy186v2zvvcjsw5rhcq6ph5ckpfn275vjp3fazrf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/esvect")
    (synopsis "Vector arrows")
    (description
     "This package can be used to write vectors using an arrow which differs
from the Computer Modern one.  You have the choice between several kinds of
arrows.  The package consists of the relevant Metafont code and a package to
use it.")
    (license license:gpl3+)))

(define-public texlive-etbb
  (package
    (name "texlive-etbb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/etbb/"
                                     "fonts/afm/public/etbb/"
                                     "fonts/enc/dvips/etbb/"
                                     "fonts/map/dvips/etbb/"
                                     "fonts/opentype/public/etbb/"
                                     "fonts/tfm/public/etbb/"
                                     "fonts/type1/public/etbb/"
                                     "fonts/vf/public/etbb/"
                                     "tex/latex/etbb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f07wz9qgvp9m3s4n7rzh2r5fq4h03ffxqpw5wv17imz2bvr1dr3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/etbb")
    (synopsis "Expansion of Edward Tufte's ET-Bembo family")
    (description
     "The Bembo-like font family, ETbb, expands ET-Bembo features to include
a full set of figure styles, small caps in all styles, superior letters and
figures, inferior figures, a new capital Sharp @samp{S} with small caps
version, along with macros to activate these features in LaTeX.")
    (license (list license:expat license:lppl1.3+))))

(define-public texlive-etsvthor
  (package
    (name "texlive-etsvthor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/etsvthor/" "tex/latex/etsvthor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lrvxr2lrfq1vkfkx7sjrm8fsxv8aalkpi0x0wmkdizc6n2wlhx4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/etsvthor")
    (synopsis "Some useful abbreviations for members of e.t.s.v. Thor")
    (description
     "``e.t.s.v.  Thor'' stands for Elektrotechnische Studievereniging Thor,
a study association of Electrical Engeering at the Eindhoven University of
Technology.  This package provides abbreviations useful for creating meeting
notes or other documents within the association.")
    (license license:lppl1.3c)))

(define-public texlive-euclideangeometry
  (package
    (name "texlive-euclideangeometry")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/euclideangeometry/"
                                     "source/latex/euclideangeometry/"
                                     "tex/latex/euclideangeometry/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pzqagrkr0w67n4v3z3q37p1rk3zk8sp2z2kl86rcqq5zi1rf9cl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/euclideangeometry")
    (synopsis "Draw geometrical constructions")
    (description
     "This package provides tools to draw most of the geometrical
constructions that a high school instructor or bachelor degree professor might
need to teach geometry.  The connection to Euclide depends on the fact that in
his times calculations were made with ruler, compass and also with
ellipsograph.  This package extends the functionalities of the @code{curve2e}
package.")
    (license license:lppl1.3c)))

(define-public texlive-euler-math
  (package
    (name "texlive-euler-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/euler-math/"
                                     "fonts/opentype/public/euler-math/"
                                     "tex/latex/euler-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18vd27yqmch97xrjpw3wwhf4v74m97nxd2azr0vl5gbx3sx6igii"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/euler-math")
    (synopsis "OpenType version of Hermann Zapf's Euler maths font")
    (description
     "@file{Euler-Math.otf} is an OpenType version of Hermann Zapf's Euler
maths font.  A style file @file{euler-math.sty} is provided as a replacement
of the @code{eulervm} package for LuaLaTeX and XeLaTeX users.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-euxm
  (package
    (name "texlive-euxm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/source/public/euxm/"
                                     "fonts/tfm/public/euxm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10dqknqlqrga9m2lgd74zx5hk4qcbkfvlzjgr304p94w3k7pclqc"))))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/euxm")
    (synopsis "Extended Euler")
    (description
     "This package extends Euler font to include two additional characters
needed for Concrete Math.")
    (license license:knuth)))

(define-public texlive-evangelion-jfm
  (package
    (name "texlive-evangelion-jfm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/evangelion-jfm/"
                                     "source/luatex/evangelion-jfm/"
                                     "tex/luatex/evangelion-jfm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g174ck75h43gppv2c7ihbf815zc07fchc56c5bidywfv09c4y3s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/evangelion-jfm")
    (synopsis "Japanese font metric supporting many advanced features")
    (description
     "This package provides a Japanese font metric supporting vertical and
horizontal typesetting, linegap punctuations, extended fonts, and more
interesting and helpful features using traditional and simplified Chinese or
Japanese fonts under LuaTeX-ja.  It also makes full use of the priority
feature, meeting the standards, and allows easy customisation.")
    (license license:expat)))

(define-public texlive-expex
  (package
    (name "texlive-expex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/expex/" "tex/generic/expex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0is4cdpsqycaw8xzc6x1gkg4ldk8v6a1i52qmxw13q8k10qh6b95"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/expex")
    (synopsis "Linguistic examples and glosses, with reference capabilities")
    (description
     "The package provides macros for typesetting linguistic examples and
glosses, with a refined mechanism for referencing examples and parts of
examples.  The package can be used with LaTeX or with Plain TeX.")
    (license license:lppl)))

(define-public texlive-expose-expl3-dunkerque-2019
  (package
    (name "texlive-expose-expl3-dunkerque-2019")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/expose-expl3-dunkerque-2019/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xij1ycxnc3hfzkl0bfs03s0zzzv6xsj3myvykb6n836j1g66g2y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/expose-expl3-dunkerque-2019")
    (synopsis "Using @code{expl3} to implement some numerical algorithms")
    (description
     "This is an article, in French, based on a presentation made in Dunkerque
for the @emph{Stage LaTeX} on 12 June 2019.  The article gives three examples
of code in @code{expl3} with (lots of) comments: Knuth's algorithm to create
a list of primes, the sieve of Eratosthenes, Kaprekar sequences.  The package
contains the code itself, the documentation as a PDF file, and all the files
needed to produce it.")
    (license license:lppl1.3+)))

(define-public texlive-extarrows
  (package
    (name "texlive-extarrows")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/extarrows/"
                                     "tex/latex/extarrows/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fspc9vgz1vwi5lamv30czh6pp1vqsrk6f2ynqygq166rfxxm1gz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/extarrows")
    (synopsis "Extra arrows beyond those provided in @code{amsmath}")
    (description
     "This package provides arrows to supplement @code{\\xleftarrow} and
@code{\\xrightarrow} of the @code{amsath} package.")
    ;; Package mentions LGPL without any reference to the version.  Assuming
    ;; LGPL 2.1+.
    (license license:lgpl2.1+)))

(define-public texlive-extpfeil
  (package
    (name "texlive-extpfeil")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/extpfeil/"
                                     "source/latex/extpfeil/"
                                     "tex/latex/extpfeil/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11vri2kij4y3da2v1gsps66jf4r529w4nqbgbfajrxh2nhfb60iv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/extpfeil")
    (synopsis "Extensible arrows in mathematics")
    (description
     "The package provides some more extensible arrows (usable in the same way
as @code{\\xleftarrow} from @code{amsmath}), and a simple command to create
new ones.")
    (license license:lppl1.3+)))

(define-public texlive-facture
  (package
    (name "texlive-facture")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/facture/"
                                     "source/xelatex/facture/"
                                     "tex/xelatex/facture/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04a9h99vqrb25pqwl3gn24kw7pm87i3bwq24inhfvac3sj7wq97k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/facture")
    (synopsis "Generate an invoice")
    (description
     "This package provides a simple class that allows production of an invoice,
with or without VAT; different addresses for delivery and for billing are
permitted.")
    (license license:cc-by-sa2.0)))

(define-public texlive-facture-belge-simple-sans-tva
  (package
    (name "texlive-facture-belge-simple-sans-tva")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/facture-belge-simple-sans-tva/"
                                     "tex/xelatex/facture-belge-simple-sans-tva/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zs2hcc5lhzvfkv83wym1rax58mryylq9b7i358ln0pklnm2gncx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/facture-belge-simple-sans-tva")
    (synopsis "Simple Belgian invoice without VAT")
    (description
     "This package can be used to generate invoices for Belgian individuals
who do not have a VAT number and who wish to do occasional work, or to carry
out paid additional activities during their free time up to 6,000 euros per
calendar year (amount indexed annually) without having to pay tax or social
security contributions (see the website Activites complementaires).  The
package can also generate expense reports.  All totals are calculated
automatically, in the invoice and in the expense report.")
    (license license:lppl1.3c)))

(define-public texlive-faktor
  (package
    (name "texlive-faktor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/faktor/" "source/latex/faktor/"
                                     "tex/latex/faktor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sridf0sn775n9ivrbfxz2fgrcm0wl7ajbhr4509ck0pq2n5hq17"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/faktor")
    (synopsis "Typeset quotient structures with LaTeX")
    (description
     "The package provides the means to typeset factor structures, as are used
in many areas of algebraic notation.  The structure is similar to the A/B that
is provided by the @code{nicefrac} package (part of the @code{units}
distribution), and by the @code{xfrac} package; the most obvious difference is
that the numerator and denominator's sizes do not change in the
@code{\\faktor} command.")
    (license license:lppl)))

(define-public texlive-fascicules
  (package
    (name "texlive-fascicules")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fascicules/"
                                     "source/latex/fascicules/"
                                     "tex/latex/fascicules/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hsap900psylamhn3my7gsn7n06glqczcff0yw53zs9gjwyh4s13"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fascicules")
    (synopsis "Create mathematical manuals for schools")
    (description
     "This package enables LaTeX users to create math books for middle and
high schools.  It provides commands to create the front page of the manual and
the chapters.  Each chapter can consist of three sections: the lesson, the
exercises and the activities.")
    (license license:lppl)))

(define-public texlive-fbb
  (package
    (name "texlive-fbb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fbb/"
                                     "fonts/enc/dvips/fbb/"
                                     "fonts/map/dvips/fbb/"
                                     "fonts/opentype/public/fbb/"
                                     "fonts/tfm/public/fbb/"
                                     "fonts/type1/public/fbb/"
                                     "fonts/vf/public/fbb/"
                                     "tex/latex/fbb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "012zfxq6hdz9m4pn6dxqv3lsbr809r10mj795w96cijzrys4zww1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fbb")
    (synopsis "Bembo-like font")
    (description
     "The package provides a Bembo-like font package based on Cardo but with
many modifications, adding Bold Italic, small caps in all styles, six figure
choices in all styles, updated kerning tables, added figure tables and
corrected f-ligatures.  Both OpenType and Adobe Type 1 versions are provided;
all necessary support files are provided.  The font works well with
@code{newtxmath}'s @code{libertine} option.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-fbithesis
  (package
    (name "texlive-fbithesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fbithesis/"
                                     "source/latex/fbithesis/"
                                     "tex/latex/fbithesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1650ilscm47x606piwx7a8z08lhkq87g8k0z40ii3ig0c3p9isgl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/fbithesis")
    (synopsis "Computer Science thesis class for University of Dortmund")
    (description
     "At the department of computer science at the University of Dortmund
there are cardboard cover pages for research or internal reports like master
and phd theses.  The main function of this LaTeX2e document-class is
a replacement for the @code{\\maketitle} command to typeset a title page that
is adjusted to these cover pages.")
    (license license:lppl1.3+)))

(define-public texlive-fbs
  (package
    (name "texlive-fbs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/fbs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18h6n8azrnk2qabv30kpa8gmj2ljkvx0nqs8qb9r8dxxnhng78ch"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fbs")
    (synopsis "BibTeX style for @emph{Frontiers in Bioscience}")
    (description
     "This package provides a BibTeX style file made with @code{custom}-bib to
fit @emph{Frontiers in Bioscience} requirements.")
    (license license:lppl)))

(define-public texlive-fcavtex
  (package
    (name "texlive-fcavtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/fcavtex/" "doc/latex/fcavtex/"
                                     "tex/latex/fcavtex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l87wlh9mzh0hysfw35mlx3asqw7lvwc55yiqr01jbmv1hwgfnl6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fcavtex")
    (synopsis "Thesis class for the FCAV/UNESP, Brazil")
    (description
     "This package provides a class and a bibliography style for the
@acronym{FCAV-UNESP, Faculdade de Ciencias Agrarias e Veterinarias de
Jaboticabal UNESP} Brazilian university, written based on the institution
rules for thesis publications.")
    (license license:lppl1.3+)))

(define-public texlive-fcltxdoc
  (package
    (name "texlive-fcltxdoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fcltxdoc/"
                                     "source/latex/fcltxdoc/"
                                     "tex/latex/fcltxdoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qb0l622svj1bqs0p05mcf30f4xy432aa4qzk6w4rlckssdfiwva"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fcltxdoc")
    (synopsis "Macros for use in the author's documentation")
    (description
     "The package is not advertised for public use, but is necessary for the
support of others of the author's packages (which are compiled under the
@code{ltxdoc} class).")
    (license license:lppl1.3+)))

(define-public texlive-fdsymbol
  (package
    (name "texlive-fdsymbol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fdsymbol/"
                                     "doc/latex/fdsymbol/"
                                     "fonts/enc/dvips/fdsymbol/"
                                     "fonts/map/dvips/fdsymbol/"
                                     "fonts/opentype/public/fdsymbol/"
                                     "fonts/source/public/fdsymbol/"
                                     "fonts/tfm/public/fdsymbol/"
                                     "fonts/type1/public/fdsymbol/"
                                     "source/latex/fdsymbol/"
                                     "tex/latex/fdsymbol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qw2bmw48xppn9jj5m46l3lr1zja6nall0a3vvpcfjd66ai3hmca"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/fdsymbol")
    (synopsis "Maths symbol font")
    (description
     "FdSymbol is a maths symbol font, designed as a companion to the Fedra
family, but it might also fit other contemporary typefaces.")
    (license license:silofl1.1)))

(define-public texlive-fduthesis
  (package
    (name "texlive-fduthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fduthesis/"
                                     "source/latex/fduthesis/"
                                     "tex/latex/fduthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w8dqld77pjcv5si3d1xmvphy908g5sqndy8rrbbi5rm2cqw6a5s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fduthesis")
    (synopsis "LaTeX thesis template for Fudan University")
    (description
     "This package is a LaTeX thesis template package for Fudan University.
It can make it easy to write theses both in Chinese and English.")
    (license license:lppl1.3c)))

(define-public texlive-fei
  (package
    (name "texlive-fei")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fei/" "source/latex/fei/"
                                     "tex/latex/fei/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13f2sn9pazq6ak37025wr20mi11069paw8hd7qlrcy10bn7bkbl7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fei")
    (synopsis "Class for academic works at FEI University Center, Brazil")
    (description
     "@code{fei} is a class created by graduate students and LaTeX enthusiasts
that allows students from FEI University Center to create their academic
works, be it a monograph, masters dissertation or PhD thesis, under the
typographic rules of the institution.  The class makes it possible to create
a full academic work, supporting functionalities such as cover, title page,
catalog entry, dedication, summary, lists of figures, tables, algorithms,
acronyms and symbols, multiple authors, index, references, appendices and
attachments.  @code{fei} is loosely based in the Brazilian National Standards
Organization (@acronym{ABNT, Associacao Brasileira de Normas Tecnicas}).")
    (license license:lppl1.3c)))

(define-public texlive-fetamont
  (package
    (name "texlive-fetamont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fetamont/"
                                     "fonts/afm/public/fetamont/"
                                     "fonts/map/dvips/fetamont/"
                                     "fonts/opentype/public/fetamont/"
                                     "fonts/source/public/fetamont/"
                                     "fonts/tfm/public/fetamont/"
                                     "fonts/type1/public/fetamont/"
                                     "metapost/fetamont/"
                                     "source/fonts/fetamont/"
                                     "tex/latex/fetamont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bs911vyn54i61vv3rhr0xcp6myap2s8ww6p1fd30ld1ha6nsrf6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    ;; FIXME: Generating font metrics require unpackaged "mf2outline.py"
    ;; script.
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/fetamont")
    (synopsis "Extended version of Knuth's Logo typeface")
    (description
     "The @code{fetamont} typeface was designed in Metafont and extends the
Logo fonts to complete the Type 1 encoding.")
    (license license:lppl1.3+)))

(define-public texlive-feyn
  (package
    (name "texlive-feyn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/feyn/"
                                     "fonts/source/public/feyn/"
                                     "fonts/tfm/public/feyn/"
                                     "source/fonts/feyn/" "tex/latex/feyn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kd5xs1xffgplpapj6rjv4aaz7pfjfh8rspy2xrabbf03npkdqz5"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-sauter")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont texlive-sauter))
    (home-page "https://ctan.org/pkg/feyn")
    (synopsis "Font for in-text Feynman diagrams")
    (description
     "Feyn may be used to produce relatively simple Feynman diagrams within
equations in a LaTeX document.  While the @code{feynmf} package is good at
drawing large diagrams for figures, the present package and its fonts allow
diagrams within equations or text, at a matching size.  The fonts are
distributed as Metafont source, and macros for their use are also provided.")
    (license license:bsd-2)))

(define-public texlive-fge
  (package
    (name "texlive-fge")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fge/"
                                     "fonts/map/dvips/fge/"
                                     "fonts/source/public/fge/"
                                     "fonts/tfm/public/fge/"
                                     "fonts/type1/public/fge/"
                                     "source/fonts/fge/"
                                     "tex/latex/fge/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00q9rf8jrb6jl5c10kn6axnlza6q02xan2gf88rd736v0wpi4936"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/fge")
    (synopsis "Font for Frege's @emph{Grundgesetze der Arithmetik}")
    (description
     "The package provides fonts for Frege's @emph{Grundgesetze der
Arithmetik}.  The fonts are provided as Metafont source and Adobe Type 1 (pfb)
files.  A small LaTeX package (@code{fge}) is included.")
    (license license:lppl)))

(define-public texlive-figbas
  (package
    (name "texlive-figbas")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/figbas/"
                                     "fonts/afm/public/figbas/"
                                     "fonts/map/dvips/figbas/"
                                     "fonts/tfm/public/figbas/"
                                     "fonts/type1/public/figbas/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07dc19989sx968hbn3h2m1bbplp8zqh1yj9v92mcp54876rk8bbp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/figbas")
    (synopsis "Mini-fonts for figured-bass notation in music")
    (description
     "This package consists of three mini-fonts (and associated metrics) of
conventional ligatures for the figured-bass notations 2+, 4+, 5+, 6+ and 9+ in
music manuscripts.  The fonts are usable with Computer Modern Roman and Sans,
and Palatino/Palladio, respectively.")
    (license license:lppl)))

(define-public texlive-figbib
  (package
    (name "texlive-figbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/figbib/" "doc/latex/figbib/"
                                     "tex/latex/figbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wvglj3z86xjz1bi5931hxm9b2kn6r4j7391di26wmsyhdajs2yz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/figbib")
    (synopsis "Organize figure databases with BibTeX")
    (description
     "FigBib lets you organize your figures in BibTeX databases.  Some FigBib
features are:
@itemize

@item store and manage figures in a BibTeX database;

@item Include figures in your LaTeX document with one short command;

@item generate a list of figures containing more or other information than the
figure captions;

@item control with one switch where to output the figures, either as usual
float objects or in a separate part at the end of your document.

@end itemize")
    (license license:lppl)))

(define-public texlive-filecontentsdef
  (package
    (name "texlive-filecontentsdef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/filecontentsdef/"
                                     "source/latex/filecontentsdef/"
                                     "tex/latex/filecontentsdef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pmjvxjsfnyzx3bl10n8is7l27l11mrw22g3w41f72kric0vfd65"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/filecontentsdef")
    (synopsis "filecontents, macro, and verbatim")
    (description
     "The package provides two environments called @code{filecontentsdef} and
@code{filecontentshere}.  They are derived from the LaTeX @code{filecontents}
environment.  In addition to the file creation they either store
the (verbatim) contents in a macro (@code{filecontentsdef}) or typeset
them (verbatim) on the spot (@code{filecontentshere}).  The author developed
the package to display TeX code verbatim in documentation and the same time
produce the corresponding files during the LaTeX run in order to embed them in
the PDF as file attachment annotations (by using Scott Pakin's package
@code{attachfile}).")
    (license license:lppl1.3+)))

(define-public texlive-firamath
  (package
    (name "texlive-firamath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/firamath/"
                                     "fonts/opentype/public/firamath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sc3ip9mvyqlbsj7vfcb1yaxlc32w18kqrqm051v5y2bbvp53s0p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/firamath")
    (synopsis "Fira sans serif font with Unicode math support")
    (description
     "Fira Math is a sans-serif font with Unicode math support.  The design of
this font is based on Fira Sans and FiraGO.  Fira Math is distributed in
OpenType format and can be used with the @code{unicode-math} package under
XeLaTeX or LuaLaTeX.  More support is offered by the @code{firamath-otf}
package.")
    (license license:silofl1.1)))

(define-public texlive-firamath-otf
  (package
    (name "texlive-firamath-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/firamath-otf/"
                                     "tex/latex/firamath-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "094b56is939li9cadqz2b7mz86ji5dnryi8k54nym8qmjsdx2gd1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-firamath))
    (home-page "https://ctan.org/pkg/firamath-otf")
    (synopsis "Use OpenType math font Fira Math")
    (description
     "The package offers XeTeX and LuaTeX support for the sans serif OpenType
Fira Math font.")
    (license license:lppl1.3+)))

(define-public texlive-fixdif
  (package
    (name "texlive-fixdif")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fixdif/" "source/latex/fixdif/"
                                     "tex/latex/fixdif/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l15mkwbnk0k2qqdnkady5n3iqyj0w7f8k23rxnbyrk5835crl67"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fixdif")
    (synopsis "Macros for typesetting differential operators")
    (description
     "This package redefines the @code{\\d} command in LaTeX and provides an
interface to define new commands for differential operators.  It is compatible
with pdfTeX, XeTeX and LuaTeX, and can also be used with the
@code{unicode-math} package.")
    (license license:lppl1.3c)))

(define-public texlive-fixfoot
  (package
    (name "texlive-fixfoot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fixfoot/" "tex/latex/fixfoot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1anyswchln7y7a6x72ay6hm3ck36byxk2ciia0w6y100iqcpq2sl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fixfoot")
    (synopsis "Multiple use of the same footnote text")
    (description
     "This package provides a @code{\\DeclareFixedFootnote} command to provide
a single command for a frequently-used footnote.  The package ensures that
only one instance of the footnote text appears on each page (LaTeX needs to be
run several times to achieve this).")
    (license license:lppl)))

(define-public texlive-fixjfm
  (package
    (name "texlive-fixjfm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/fixjfm/" "tex/generic/fixjfm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x3wf7v03jqczvxaslqw422bvccvna31jl5sgld6llvfh7b0ziyx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fixjfm")
    (synopsis "Fix JFM (for *pTeX)")
    (description
     "This package fixes several bugs in the JFM format.  Both LaTeX and plain
TeX are supported.")
    (license license:knuth)))

(define-public texlive-fixltxhyph
  (package
    (name "texlive-fixltxhyph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fixltxhyph/"
                                     "source/latex/fixltxhyph/"
                                     "tex/latex/fixltxhyph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wjrq2gplal5hpij758c4mk6s6aidqp2h25mvf7jmbbzq2nfsyq1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fixltxhyph")
    (synopsis "Allow hyphenation of partially-emphasised substrings")
    (description
     "The package fixes the problem of TeX failing to hyphenate letter strings
that seem (to TeX} to be words, but which are followed by an apostrophe and
then an emphasis command.  The cause of the problem is not the apostrophe, but
the font change in the middle of the string.  The problem arises in Catalan,
French, Italian and Romansh.")
    (license license:lppl1.3+)))

(define-public texlive-fixmath
  (package
    (name "texlive-fixmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fixmath/" "source/latex/fixmath/"
                                     "tex/latex/fixmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15vwikvxxd8wagbfxjb1am3savciyppkq0bdk3zdxp09zg0dx2ra"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fixmath")
    (synopsis "Make maths comply with ISO 31-0:1992 to ISO 31-13:1992")
    (description
     "LaTeX's default style of typesetting mathematics does not comply with
the International Standards ISO 31-0:1992 to ISO 31-13:1992 which require that
uppercase Greek letters always be typset upright, as opposed to italic (even
though they usually represent variables) and allow for typsetting of variables
in a boldface italic style (even though the required fonts are available).
This package ensures that uppercase Greek be typeset in italic style, that
upright @samp{$\\Delta$} and @samp{$\\Omega$} symbols are available through
the commands @code{\\upDelta} and @code{\\upOmega}; and provides a new math
alphabet @code{\\mathbold} for boldface italic letters, including Greek.")
    (license license:lppl1.3c)))

(define-public texlive-fnspe
  (package
    (name "texlive-fnspe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fnspe/" "tex/latex/fnspe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wvr0jp8qyrrx907diphgjzvgq0alc922bmx905sndnwqzfl8fhd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fnspe")
    (synopsis "Macros for supporting mainly students of FNSPE CTU in Prague")
    (description
     "This package is primary intended for students of FNSPE CTU in Prague but
many other students or scientists can found this package as useful.  This
package implements different standards of tensor notation, interval notation
and complex notation.  Further many macros and shortcuts are added, e.g., for
spaces, operators, physics unit, etc.")
    (license license:lppl)))

(define-public texlive-foekfont
  (package
    (name "texlive-foekfont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/foekfont/"
                                     "fonts/map/dvips/foekfont/"
                                     "fonts/tfm/public/foekfont/"
                                     "fonts/type1/public/foekfont/"
                                     "tex/latex/foekfont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01l6mj5dh52cdaqdkv74j8qw2pfd6w7x53n856vsjgdha4r8362y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/foekfont")
    (synopsis "Title font of the @emph{Mads Fok} magazine")
    (description
     "The bundle provides the Foek font, an Adobe Type 1 font, and LaTeX
support for its use.")
    (license license:gpl3+)))

(define-public texlive-fonetika
  (package
    (name "texlive-fonetika")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fonetika/"
                                     "fonts/afm/public/fonetika/"
                                     "fonts/map/dvips/fonetika/"
                                     "fonts/tfm/public/fonetika/"
                                     "fonts/truetype/public/fonetika/"
                                     "fonts/type1/public/fonetika/"
                                     "tex/latex/fonetika/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d19a9v3innfq9602w8rd2ffn0yd52fz4wmdva6qnix0jgadc1ka"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fonetika")
    (synopsis "Support for the Danish Dania phonetic system")
    (description
     "Fonetika Dania is a font bundle with a serif font and a sans serif font
for the Danish phonetic system Dania.  Both fonts exist in regular and bold
weights.  LaTeX support is provided.")
    ;; The license is GPL3+, except for the fonts and metrics of the Fonetika
    ;; Dania Iwonae, which are under GUST Font Nosource License.
    (license (list license:gpl3+ license:gfl1.0))))

(define-public texlive-fontawesome
  (package
    (name "texlive-fontawesome")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fontawesome/"
                                     "fonts/enc/dvips/fontawesome/"
                                     "fonts/map/dvips/fontawesome/"
                                     "fonts/opentype/public/fontawesome/"
                                     "fonts/tfm/public/fontawesome/"
                                     "fonts/type1/public/fontawesome/"
                                     "tex/latex/fontawesome/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m3wl0jc00h8r4w3fa5vkf062hmaadb2rvf3x9lm4pb0c99ia5x9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontawesome")
    (synopsis "Font containing web-related icons")
    (description
     "The package offers access to the large number of web-related icons
provided by the FontAwesome font.")
    (license license:lppl1.3+)))

(define-public texlive-fontawesome5
  (package
    (name "texlive-fontawesome5")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fontawesome5/"
                                     "fonts/enc/dvips/fontawesome5/"
                                     "fonts/map/dvips/fontawesome5/"
                                     "fonts/opentype/public/fontawesome5/"
                                     "fonts/tfm/public/fontawesome5/"
                                     "fonts/type1/public/fontawesome5/"
                                     "tex/latex/fontawesome5/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17cfqa2jjg3lp0damwy8kfdihmchx55994rrc897kcdba865rrwg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontawesome5")
    (synopsis "Font Awesome 5 with LaTeX support")
    (description
     "This package provides LaTeX support for the included Font Awesome 5 icon
set.")
    (license (list license:silofl1.1 license:lppl1.3c))))

(define-public texlive-fontmfizz
  (package
    (name "texlive-fontmfizz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fontmfizz/"
                                     "fonts/truetype/public/fontmfizz/"
                                     "tex/latex/fontmfizz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z0k7n1yyisv3igw77bj3r8hywyz55ciylb3fjx9dpdcrwv3kngd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontmfizz")
    (synopsis "Font Mfizz icons for use in LaTeX")
    (description
     "The MFizz font provides scalable vector icons representing programming
languages, operating systems, software engineering, and technology.  It can be
seen as an extension to FontAwesome.")
    (license license:expat)))

(define-public texlive-fontsize
  (package
    (name "texlive-fontsize")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fontsize/"
                                     "source/latex/fontsize/"
                                     "tex/latex/fontsize/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y061r4hadb2c26dgch6lrjw6f4j87zj1gj5lgzgx0hyyz58snqy"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-format "latex"
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'unpack 'fix-circular-dependency
                 ;; Documentation doesn't build, and generates a circular
                 ;; dependency with BIBLATEX-PHILOSOPHY package.  Since we're
                 ;; not interested in re-building the whole documentation,
                 ;; just skip that part.
                 (lambda _
                   (substitute* "source/latex/fontsize/fontsize.dtx"
                     (("\\[style=philosophy-classic\\]") "")
                     (("\\\\DocInput\\{fontsize\\.dtx\\}") "")))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-biblatex
                  texlive-booktabs
                  texlive-caption
                  texlive-cochineal
                  texlive-csquotes
                  texlive-etoolbox
                  texlive-fontaxes
                  texlive-guitlogo
                  texlive-hologo
                  texlive-hypdoc
                  texlive-inconsolata
                  texlive-libertine
                  texlive-listings
                  texlive-ltxdockit
                  texlive-manfnt
                  texlive-mathalpha
                  texlive-mdframed
                  texlive-metalogo
                  texlive-microtype
                  texlive-needspace
                  texlive-newtx
                  texlive-parskip
                  texlive-pgf
                  texlive-sectsty
                  texlive-siunitx
                  texlive-tabu
                  texlive-upquote
                  texlive-xcolor
                  texlive-xkeyval
                  texlive-xstring
                  texlive-zref))))
    (home-page "https://ctan.org/pkg/fontsize")
    (synopsis
     "Small package to set arbitrary sizes for the main font of the document")
    (description
     "The package allows you to set arbitrary sizes for the main font of the
document, through the @emph{fontsize=<size>} option.")
    (license license:lppl1.3+)))

(define-public texlive-fonttable
  (package
    (name "texlive-fonttable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fonttable/"
                                     "source/latex/fonttable/"
                                     "tex/latex/fonttable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mb83zzx5wk92x6zz28k42wmi82hyd1h7fb3p9imjssn6qb73356"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fonttable")
    (synopsis "Print font tables from a LaTeX document")
    (description
     "This is a package version of @file{nfssfont.tex}; it enables you to
print a table of the characters of a font and/or some text (for demonstration
or testing purposes), from within a document.")
    (license license:lppl1.3c)))

(define-public texlive-footbib
  (package
    (name "texlive-footbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/footbib/" "source/latex/footbib/"
                                     "tex/latex/footbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kv8nh82b16bmhxh2291ahznhjgm5g4qskqwdba66w48wkhzr32j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/footbib")
    (synopsis "Bibliographic references as footnotes")
    (description
     "The package makes bibliographic references appear as footnotes.  It
defines a command @code{\\footcite} which is similar to the LaTeX
@code{\\cite} command but the references cited in this way appear at the
bottom of the pages.  This @code{foot} bibliography does not conflict with the
standard one and both may exist simultaneously in a document.  The command
@code{\\cite} may still be used to produce the standard bibliography.  The
@code{foot} bibliography uses its own style and bibliographic database which
may be specified independently of the standard one.  Any standard bibliography
style may be used.")
    (license license:lppl)))

(define-public texlive-formal-grammar
  (package
    (name "texlive-formal-grammar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/formal-grammar/"
                                     "source/latex/formal-grammar/"
                                     "tex/latex/formal-grammar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00vr0gdz6jikdycsbfn7n8ddb8391h9fl314vjf8yxz25rn75qz4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/formal-grammar")
    (synopsis "Typeset formal grammars")
    (description
     "This package provides a new environment and associated commands to
typeset BNF grammars.  It allows to easily write formal grammars.  Its
original motivation was to typeset grammars for beamer presentations,
therefore, there are macros to emphasize or downplay some parts of the
grammar (which is the main novelty compared to other BNF packages).")
    (license license:lppl1.3+)))

(define-public texlive-formation-latex-ul
  (package
    (name "texlive-formation-latex-ul")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/formation-latex-ul/"
                                     "source/latex/formation-latex-ul/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c8c7sdzfrqld0nq8s3xmdxlskws37mjg9z4ag9i82z4kr1ffb56"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/formation-latex-ul")
    (synopsis "Introductory LaTeX course in French")
    (description
     "This package contains the supporting documentation, slides, exercise files,
and templates for an introductory LaTeX course (in French) prepared for
Universite Laval, Quebec, Canada.")
    (license license:cc-by4.0)))

(define-public texlive-forum
  (package
    (name "texlive-forum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/forum/"
                                     "fonts/enc/dvips/forum/"
                                     "fonts/map/dvips/forum/"
                                     "fonts/opentype/public/forum/"
                                     "fonts/tfm/public/forum/"
                                     "fonts/type1/public/forum/"
                                     "fonts/vf/public/forum/"
                                     "tex/latex/forum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07sbzd2da3i5adlbgrrxd7igyailzjwxvr3pcwmb9wl9jry1gg9m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/forum")
    (synopsis "Forum fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Forum font, designed by Denis Masharov.  Forum has antique, classic Roman
proportions.  It can be used to set body texts and works well in titles and
headlines too.  It is truly multilingual, with glyphs for Central and Eastern
Europe, Baltics, Cyrillic and Asian Cyrillic communities.  There is currently
just a regular weight and an artificially emboldened bold.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-fouridx
  (package
    (name "texlive-fouridx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fouridx/" "source/latex/fouridx/"
                                     "tex/latex/fouridx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mlinh47gcazi3icyvkixhdkwd1wkpffq8snabhh4bjsvh6m8sxz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fouridx")
    (synopsis "Left sub- and superscripts in maths mode")
    (description
     "The package enables left subscripts and superscripts in maths mode.  The
sub- and superscripts are raised for optimum fitting to the symbol indexed, in
such a way that left and right sub- and superscripts are set on the same
level, as appropriate.  The package provides an alternative to the use of the
@code{\\sideset} command in the @code{amsmath} package.")
    (license license:lppl)))

(define-public texlive-fouriernc
  (package
    (name "texlive-fouriernc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fouriernc/"
                                     "fonts/afm/public/fouriernc/"
                                     "fonts/tfm/public/fouriernc/"
                                     "fonts/vf/public/fouriernc/"
                                     "tex/latex/fouriernc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gg9l6zvyi98jg1w7z33pxsnmh7lqjcs2zakhj3pbv2q7ysxnppw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fouriernc")
    (synopsis "Use New Century Schoolbook text with Fourier maths fonts")
    (description
     "This package provides a LaTeX mathematics font setup for use with New
Century Schoolbook text.")
    (license license:lppl)))

(define-public texlive-francais-bst
  (package
    (name "texlive-francais-bst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/francais-bst/"
                                     "doc/bibtex/francais-bst/"
                                     "source/bibtex/francais-bst/"
                                     "tex/latex/francais-bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07a0kqdwg9bzf1kgw11xn2344qdj52kgjc1iqz61hpirqlwfgw8s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/francais-bst")
    (synopsis "Bibliographies conforming to French typographic standards")
    (description
     "The package provides bibliographies (in French) conforming to the rules
in @emph{Guide de la communication ecrite} (Malo, M., Quebec Amerique, 1996).
The BibTeX styles were generated using @code{custom-bib} and they are
compatible with @code{natbib}.")
    (license license:lppl1.3+)))

(define-public texlive-frcursive
  (package
    (name "texlive-frcursive")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/frcursive/"
                                     "fonts/map/dvips/frcursive/"
                                     "fonts/source/public/frcursive/"
                                     "fonts/tfm/public/frcursive/"
                                     "fonts/type1/public/frcursive/"
                                     "tex/latex/frcursive/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04pqic407b0pfri5sydhbani0fxw0bxy3fl6x4isg2m2z73p4qqa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/frcursive")
    (synopsis "French cursive hand fonts")
    (description
     "This package provides a hand-writing font in the style of the French
academic running-hand.  The font was written in Metafont and has been
converted to Adobe Type 1 format.  LaTeX support is provided.")
    (license license:lppl1.2+)))

(define-public texlive-frederika2016
  (package
    (name "texlive-frederika2016")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/frederika2016/"
                                     "fonts/opentype/public/frederika2016/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10pvx4n4ahn8b251fzz8crg9pijpclan5w4b6jc7m7jjsykzw8xj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/frederika2016")
    (synopsis "OpenType Greek calligraphy font")
    (description
     "Frederika2016 is an attempt to digitize Hermann Zapf's Frederika font.
The font is the Greek companion of Virtuosa by the same designer.  This font
is a calligraphy font and this is an initial release.")
    (license license:silofl1.1)))

(define-public texlive-frenchmath
  (package
    (name "texlive-frenchmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/frenchmath/"
                                     "source/latex/frenchmath/"
                                     "tex/latex/frenchmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03z3dgdv8kcgwv5bilqavfc17lhhz9ybqcp3kawqyra55grlz5mb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/frenchmath")
    (synopsis "Typesetting mathematics according to French rules")
    (description
     "The package provides:

@itemize
@item capital letters in roman (upright shape) in mathematical mode according
to French rule (can be optionally disabled),
@item optionally lowercase Greek letters in upright shape,
@item correct spacing in math mode after commas, before a semicolon and around
square brackets,
@item some useful macros and aliases for symbols used in France such as
@code{\\infeg}, @code{\\supeg}, @code{\\paral}, @item several macros for
writing french operator names like @emph{pgcd}, @emph{ppcm}, @emph{Card},
@emph{rg}, @emph{Vect}.
@end itemize")
    (license license:lppl1.3+)))

(define-public texlive-frimurer
  (package
    (name "texlive-frimurer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/frimurer/"
                                     "fonts/afm/public/frimurer/"
                                     "fonts/enc/dvips/frimurer/"
                                     "fonts/tfm/public/frimurer/"
                                     "fonts/type1/public/frimurer/"
                                     "source/fonts/frimurer/"
                                     "tex/latex/frimurer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "072mbcn6272rs1sw85xznk0f7psqh3dkz8y0hayn8y7a83vcrfgr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/frimurer")
    (synopsis "Access to the @emph{frimurer} cipher for use with LaTeX")
    (description
     "This package provides access to the @emph{frimurer} cipher for use with
LaTeX.")
    (license license:gpl3)))

(define-public texlive-frletter
  (package
    (name "texlive-frletter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/frletter/" "tex/latex/frletter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h8lsfmv0icb616kwhkqqbfh64l43vwc63p4bl8sw9xy2lfal5xm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/frletter")
    (synopsis "Typeset letters in the French style")
    (description
     "This package provides a small class for typesetting letters in France.
No assumption is made about the language in use.  The class represents a small
modification of the @code{beletter} class, which is itself a modification of
the standard LaTeX @code{letter} class.")
    (license license:public-domain)))

(define-public texlive-frontespizio
  (package
    (name "texlive-frontespizio")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/frontespizio/"
                                     "source/latex/frontespizio/"
                                     "tex/latex/frontespizio/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17xqq0n2b0acpqq2hd5c5qi5fsrhyjwm1c452i3rbdmf1xkqvkvy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/frontespizio")
    (synopsis "Create a frontispiece for Italian theses")
    (description
     "Typesetting a frontispiece independently of the layout of the main
document is difficult.  This package provides a solution by producing an
auxiliary TeX file to be typeset on its own and the result is automatically
included at the next run.  The markup necessary for the frontispiece is
written in the main document in a @code{frontespizio} environment.
Documentation is mainly in Italian, as the style is probably apt only to
theses in Italy.")
    (license license:lppl)))

(define-public texlive-frpseudocode
  (package
    (name "texlive-frpseudocode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/frpseudocode/"
                                     "tex/latex/frpseudocode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jsrx1slbbqx9hg0a3f7xylxfly2cinw2g5vhhvvgxpp356v6ick"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/frpseudocode")
    (synopsis "French translation for the @code{algorithmicx} package")
    (description
     "This package is intended for use alongside @code{algorithmicx} package.
Its aim is to provide a French translation of terms and words used in
algorithms to make it integrate seamlessly in a French written document.")
    (license license:lppl1.3c)))

(define-public texlive-ftc-notebook
  (package
    (name "texlive-ftc-notebook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ftc-notebook/"
                                     "tex/latex/ftc-notebook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "068fc2wisryvgr8zqmkiwnyrrh5rmmw5njl41rn70bvv9qdgh31y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ftc-notebook")
    (synopsis "Typeset FIRST Tech Challenge (FTC) notebooks")
    (description
     "This LaTeX package will greatly simplify filling entries for your FIRST
Tech Challenge (FTC) engineering or outreach notebook.  We developed this
package to support most frequently used constructs encountered in an FTC
notebook: meetings, tasks, decisions with pros and cons, tables, figures with
explanations, team stories and bios, and more.")
    (license license:lppl1.3+)))

(define-public texlive-functan
  (package
    (name "texlive-functan")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/functan/" "source/latex/functan/"
                                     "tex/latex/functan/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "077jfm145bnan63r1rlqlmy15zqj89fl4nwksdpyd67zcda3k1vf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/functan")
    (synopsis "Macros for functional analysis and PDE theory")
    (description
     "This package provides a convenient and coherent way to deal with name of
functional spaces (mainly Sobolev spaces) in functional analysis and PDE
theory.  It also provides a set of macros for dealing with norms, scalar
products and convergence with some object oriented flavor (it gives the
possibility to override the standard behavior of norms, ...).")
    (license license:lppl)))

(define-public texlive-gaceta
  (package
    (name "texlive-gaceta")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gaceta/" "tex/latex/gaceta/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17w2i3qmks9qpdwpx0hy0mjrl5xhrc8hmz9s0229xnhf6h12yb1r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gaceta")
    (synopsis "Class to typeset @code{La Gaceta de la RSME}")
    (description
     "The class will typeset papers for @emph{La Gaceta de la Real Sociedad
Matematica Espanola}.")
    (license license:lppl)))

(define-public texlive-gamebook
  (package
    (name "texlive-gamebook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gamebook/"
                                     "source/latex/gamebook/"
                                     "tex/latex/gamebook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ksyr0hb1bfhc1lbbnzlj7ih8xw516djkn0lddnn07sb6hpzl8x4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gamebook")
    (synopsis "Typeset gamebooks and other interactive novels")
    (description
     "This package provides the means in order to lay-out gamebooks with LaTeX.
A simple gamebook example is included with the package, and acts as
a tutorial.")
    (license license:lppl1.3+)))

(define-public texlive-gamebooklib
  (package
    (name "texlive-gamebooklib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gamebooklib/"
                                     "source/latex/gamebooklib/"
                                     "tex/latex/gamebooklib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j85xsvsw6xlkjr6z1qrbsld4kddhbcrbbsw9ci6azr6w47bh5vd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gamebooklib")
    (synopsis "Macros for setting numbered entries in shuffled order")
    (description
     "This package provides macros and environments to allow the user to
typeset a series of cross-referenced, numbered entries, shuffled into random
order, to produce an interactive novel or @dfn{gamebook}.  This allows entries
to be written in natural order and shuffled automatically into a repeatable
non-linear order.  Limited support is provided for footnotes to appear at the
natural position: the end of each entry, or the end of each page, whichever is
closest to the footnote mark.

This is unrelated to the @code{gamebook} package which is more concerned with
the formatting of entries rather than their order.  The two packages can be
used together or separately.")
    (license license:lppl1.3+)))

(define-public texlive-gammas
  (package
    (name "texlive-gammas")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/gammas/" "doc/latex/gammas/"
                                     "tex/latex/gammas/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jj8lbwlydsih01d637zxpj97ncd44qmf7azgpzn77s8fi760p8n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gammas")
    (synopsis "Template for the @emph{GAMM Archive for Students}")
    (description
     "This is the official document class for typesetting journal articles for
@emph{GAMM Archive for Students}, the open-access online journal run by the
@acronym{GAMM, Gesellschaft fur angewandte Mathematik und Mechanik} Juniors.")
    (license license:lppl1.3c)))

(define-public texlive-garamond-libre
  (package
    (name "texlive-garamond-libre")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/garamond-libre/"
                                     "fonts/enc/dvips/garamond-libre/"
                                     "fonts/map/dvips/garamond-libre/"
                                     "fonts/opentype/public/garamond-libre/"
                                     "fonts/tfm/public/garamond-libre/"
                                     "fonts/type1/public/garamond-libre/"
                                     "fonts/vf/public/garamond-libre/"
                                     "tex/latex/garamond-libre/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mmfxpdy2r5wd51b8f2l0qb7d6nncypzfs4bmimcm68s4l0rzsw4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/garamond-libre")
    (synopsis "Garamond Libre font face")
    (description
     "Garamond Libre is an old-style font family.  It is a true Garamond,
i.e., it is based off the designs of 16th-century French engraver Claude
Garamond (also spelled Garamont).  The Roman design is Garamond's; the italics
are from a design by Robert Granjon.  The upright Greek font is after a design
by Firmin Didot; the italic Greek font is after a design by Alexander Wilson.
The font family includes support for Latin, Greek (monotonic and polytonic)
and Cyrillic scripts, as well as small capitals, old-style figures, superior
and inferior figures, historical ligatures, Byzantine musical symbols, the IPA
and swash capitals.")
    (license (list license:expat license:lppl))))

(define-public texlive-garamond-math
  (package
    (name "texlive-garamond-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/garamond-math/"
                                     "fonts/opentype/public/garamond-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ay8qmcn8glzn0bpg4qqs3k6dr9h7lljal239qvxfvg1fzj76h4n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/garamond-math")
    (synopsis "An OTF math font matching EB Garamond")
    (description
     "Garamond-Math is an OpenType math font matching EB Garamond (Octavio
Pardo) and EB Garamond (Georg Mayr-Duffner).  Many mathematical symbols are
derived from other fonts, others are made from scratch.")
    (license license:silofl1.1)))

(define-public texlive-gastex
  (package
    (name "texlive-gastex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gastex/" "dvips/gastex/"
                                     "tex/latex/gastex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l56wi6z5zm7sks2pa3yvamkfxsz53ziprnpr0ay141z0l8bd3rl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gastex")
    (synopsis "Graphs and Automata Simplified in TeX")
    (description
     "GasTeX is a set of LaTeX macros which enable the user to draw graphs, automata,
nets, diagrams, etc., very easily, in the LaTeX @code{picture} environment.")
    (license license:lppl)))

(define-public texlive-gb4e
  (package
    (name "texlive-gb4e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gb4e/" "tex/latex/gb4e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pi6n59v8vrrm2qaff8z28kwb0xa6nykgrfi9r0lxc8f1d2r5k7f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gb4e")
    (synopsis "Linguistic tools")
    (description
     "This package provides an environment for linguistic examples, tools for
glosses, and various other goodies.")
    (license license:lppl1.2+)))

(define-public texlive-gbt7714
  (package
    (name "texlive-gbt7714")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/gbt7714/" "doc/bibtex/gbt7714/"
                                     "source/bibtex/gbt7714/"
                                     "tex/latex/gbt7714/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pmkbh0axh0qnc08fjn5g7pbw59n543siy4l9q3bihnyid11i5qp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-bibtex texlive-natbib texlive-url))
    (home-page "https://ctan.org/pkg/gbt7714")
    (synopsis "China's bibliography style standard GB/T 7714-2015 for BibTeX")
    (description
     "The package provides a BibTeX implementation for the Chinese national
bibliography style standard GB/T 7714-2015.  It consists of two @file{.bst}
files for numerical and author-year styles as well as a LaTeX package which
provides the citation style defined in the standard.

The package is compatible with @code{natbib} and supports language
detection (Chinese and English) for each biblilography entry.")
    (license license:lppl1.3c)))

(define-public texlive-gchords
  (package
    (name "texlive-gchords")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gchords/" "tex/latex/gchords/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wchfk25v6rh5nffjyn8bypwjsqc9pi2rjrw3np65a0sxxc0sl1v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gchords")
    (synopsis "Typeset guitar chords")
    (description
     "This package provides a LaTeX package for typesetting of guitar chord
diagrams, including options for chord names, finger numbers and typesetting
above lyrics.  The bundle also includes a TCL script (@file{chordbox.tcl})
that provides a graphical application which creates LaTeX files that use
@file{gchords.sty}.")
    (license license:gpl3+)))

(define-public texlive-gene-logic
  (package
    (name "texlive-gene-logic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gene-logic/"
                                     "tex/latex/gene-logic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13nibrf1f1w92ia7fj8yfa44w9c5wiyy1ndaby5p6bbjdjcxhyv9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gene-logic")
    (synopsis "Typeset logic formulae, etc")
    (description
     "The package provides a facility to typeset certain logic formulae.  It
provides an environment like @code{eqnarray}, a @code{newtheorem}-like
environment (NewTheorem), and several macros.")
    (license license:isc)))

(define-public texlive-genealogy
  (package
    (name "texlive-genealogy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/genealogy/"
                                     "fonts/source/public/genealogy/"
                                     "fonts/tfm/public/genealogy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "155ifff77s5cwjk1gkib7gcdx1mcrzzbca35mm8f9w5rzg1d5x7k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/genealogy")
    (synopsis "Compilation of genealogy fonts")
    (description
     "This package provides a simple compilation of the genealogical symbols
found in the @code{wasy} and @code{gen} fonts, adding the male and female
symbols to Knuth's @code{gen} font, and so avoiding loading two fonts when you
need only genealogical symbols.  The font is distributed as Metafont source.")
    (license license:lppl)))

(define-public texlive-geradwp
  (package
    (name "texlive-geradwp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/geradwp/" "source/latex/geradwp/"
                                     "tex/latex/geradwp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g2kh2wdlf6y8wvs7r1zl2ws8ysrjzsk1k0032jci8ik9kx9wlg9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/geradwp")
    (synopsis "Document class for the @emph{Cahiers du GERAD} series")
    (description
     "This package provides the @code{geradwp} class, a class based on
@code{article} and compatible with LaTeX.  With this class, researchers at
GERAD will be able to write their working paper while complying to all the
presentation standards required by the @emph{Cahiers du GERAD} series.")
    (license license:lppl1.3c)))

(define-public texlive-geschichtsfrkl
  (package
    (name "texlive-geschichtsfrkl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/geschichtsfrkl/"
                                     "source/latex/geschichtsfrkl/"
                                     "tex/latex/geschichtsfrkl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mplym0rkfl8pxzw31m1p117pbfz1s59180bhbwi2wgj4225p4w7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/geschichtsfrkl")
    (synopsis "BibLaTeX style for historians")
    (description
     "The package provides a BibLaTeX style, (mostly) meeting the requirements
of the History Faculty of the University of Freiburg (Germany).")
    (license license:lppl)))

(define-public texlive-gfdl
  (package
    (name "texlive-gfdl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gfdl/" "source/latex/gfdl/"
                                     "tex/latex/gfdl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yiyhks3097sz686sar1jnkska669hp7v2sv1fm7n0d4j00zm816"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfdl")
    (synopsis "Support for using GFDL in LaTeX")
    (description
     "The @acronym{GFDL, GNU Free Documentation License} is a popular license
used for programming manuals, documentations and various other textual works
too, but using this license with LaTeX is not very convenient.  This package
aims to help users in easily using the license without violating any rules of
the license.  With a handful of commands, users can rest assured that their
document will be perfectly licensed under GFDL.")
    (license (list license:gpl3+ license:fdl1.3+))))

(define-public texlive-gfsartemisia
  (package
    (name "texlive-gfsartemisia")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfsartemisia/"
                                     "fonts/afm/public/gfsartemisia/"
                                     "fonts/enc/dvips/gfsartemisia/"
                                     "fonts/map/dvips/gfsartemisia/"
                                     "fonts/opentype/public/gfsartemisia/"
                                     "fonts/tfm/public/gfsartemisia/"
                                     "fonts/type1/public/gfsartemisia/"
                                     "fonts/vf/public/gfsartemisia/"
                                     "tex/latex/gfsartemisia/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09kk65sn5wj70dksrywszdbwg2gg9wzdy9m25xj09d8k7hdirayn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfsartemisia")
    (synopsis "Modern Greek font design")
    (description
     "GFS Artemisia is a relatively modern font, designed as a general purpose
font in the same sense as Times is nowadays treated.  The font supports the
Greek and Latin alphabets.  LaTeX support is provided, using the OT1, T1 and
LGR encodings.")
    (license (list license:silofl1.1 license:lppl1.0+))))

(define-public texlive-gfsbodoni
  (package
    (name "texlive-gfsbodoni")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfsbodoni/"
                                     "fonts/afm/public/gfsbodoni/"
                                     "fonts/enc/dvips/gfsbodoni/"
                                     "fonts/map/dvips/gfsbodoni/"
                                     "fonts/opentype/public/gfsbodoni/"
                                     "fonts/tfm/public/gfsbodoni/"
                                     "fonts/type1/public/gfsbodoni/"
                                     "fonts/vf/public/gfsbodoni/"
                                     "tex/latex/gfsbodoni/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a4l6ijf7lqb8g7cz1fly3c73aq14pybr0cvpn86lsw3sg7cy9jk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfsbodoni")
    (synopsis "Greek and Latin font based on Bodoni")
    (description
     "Bodoni's Greek fonts in the 18th century broke, for the first time,
with the Byzantine cursive tradition of Greek fonts.  GFS Bodoni resurrects
his work for general use.  The font family supports both Greek and Latin
letters.  LaTeX support of the fonts is provided, offering OT1, T1 and LGR
encodings.  The fonts themselves are provided in Adobe Type 1 and OpenType
formats.")
    (license license:silofl1.1)))

(define-public texlive-gfscomplutum
  (package
    (name "texlive-gfscomplutum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfscomplutum/"
                                     "fonts/afm/public/gfscomplutum/"
                                     "fonts/enc/dvips/gfscomplutum/"
                                     "fonts/map/dvips/gfscomplutum/"
                                     "fonts/opentype/public/gfscomplutum/"
                                     "fonts/tfm/public/gfscomplutum/"
                                     "fonts/type1/public/gfscomplutum/"
                                     "fonts/vf/public/gfscomplutum/"
                                     "tex/latex/gfscomplutum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "018hpaijnky23brhqmqsq2zm7h5w4y42vdfawba62qlz5m1zijn1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfscomplutum")
    (synopsis "Greek font with a long history")
    (description
     "GFS Complutum derives from a minuscule-only font cut in the 16th
century.  An unsatisfactory set of majuscules were added in the early 20th
century, but its author died before he could complete the revival of the font.
The Greek Font Society has released this version, which has a new set of
majuscules.")
    (license license:silofl1.1)))

(define-public texlive-gfsdidot
  (package
    (name "texlive-gfsdidot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfsdidot/"
                                     "fonts/afm/public/gfsdidot/"
                                     "fonts/enc/dvips/gfsdidot/"
                                     "fonts/map/dvips/gfsdidot/"
                                     "fonts/opentype/public/gfsdidot/"
                                     "fonts/tfm/public/gfsdidot/"
                                     "fonts/type1/public/gfsdidot/"
                                     "fonts/vf/public/gfsdidot/"
                                     "tex/latex/gfsdidot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sh1xv2fvb0y9vfzl0wl8fps4474fkvvh82fbqgfm83ri8h8p4ck"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfsdidot")
    (synopsis "Greek font based on Didot's work")
    (description
     "The design of Didot's 1805 Greek typeface was influenced by the
neoclassical ideals of the late 18th century.  The font was brought to Greece
at the time of the 1821 Greek Revolution, by Didot's son, and was very widely
used.  The font supports the Greek alphabet, and is accompanied by a matching
Latin alphabet based on Zapf's Palatino.  LaTeX support is provided, using the
OT1, T1, TS1, and LGR encodings.")
    (license license:silofl1.1)))

(define-public texlive-gfsdidotclassic
  (package
    (name "texlive-gfsdidotclassic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfsdidotclassic/"
                                     "fonts/opentype/public/gfsdidotclassic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cpsmgrq2x6ym9xb63msvm6pc4p2qyi2k40hmxmzhi979ch8gkaz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfsdidotclassic")
    (synopsis "Classic version of GFSDidot")
    (description
     "This is the classic version of GFSDidot provided for Unicode TeX
engines.")
    (license license:silofl1.1)))

(define-public texlive-gfsneohellenic
  (package
    (name "texlive-gfsneohellenic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfsneohellenic/"
                                     "fonts/afm/public/gfsneohellenic/"
                                     "fonts/enc/dvips/gfsneohellenic/"
                                     "fonts/map/dvips/gfsneohellenic/"
                                     "fonts/opentype/public/gfsneohellenic/"
                                     "fonts/tfm/public/gfsneohellenic/"
                                     "fonts/type1/public/gfsneohellenic/"
                                     "fonts/vf/public/gfsneohellenic/"
                                     "tex/latex/gfsneohellenic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "109zgqj63ffryy42zi64p6r37jmzj5ma3d8bgn7mz3gc2scr1bpc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfsneohellenic")
    (synopsis "Font in the Neo-Hellenic style")
    (description
     "The Neo-Hellenic style evolved in academic circles in the 19th and 20th
century; the present font follows a cut commissioned from Monotype in 1927.
The font supports both Greek and Latin characters, and has been adjusted to
work well with the @code{cmbright} fonts for mathematics support.  LaTeX
support of the fonts is provided, offering OT1, T1 and LGR encodings.")
    (license license:silofl1.1)))

(define-public texlive-gfsneohellenicmath
  (package
    (name "texlive-gfsneohellenicmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfsneohellenicmath/"
                                     "fonts/opentype/public/gfsneohellenicmath/"
                                     "tex/latex/gfsneohellenicmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08yzv6qww3qvbg8bp4k8ibd46j1a41ysw4k8fi5nazchf3py7qb0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfsneohellenicmath")
    (synopsis "Math font in the Neo-Hellenic style")
    (description
     "The GFSNeohellenic font, a historic font first designed by Victor
Scholderer, now has native support for Mathematics.  A useful application is
in Beamer documents since this is a sans math font.")
    (license license:silofl1.1)))

(define-public texlive-gfssolomos
  (package
    (name "texlive-gfssolomos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfssolomos/"
                                     "fonts/afm/public/gfssolomos/"
                                     "fonts/enc/dvips/gfssolomos/"
                                     "fonts/map/dvips/gfssolomos/"
                                     "fonts/opentype/public/gfssolomos/"
                                     "fonts/tfm/public/gfssolomos/"
                                     "fonts/type1/public/gfssolomos/"
                                     "fonts/vf/public/gfssolomos/"
                                     "tex/latex/gfssolomos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zjbmnkfnaiq7pmpv0xhp5vag2dww70049knf759lf2s0ygnmaaa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfssolomos")
    (synopsis "Greek-alphabet font")
    (description
     "Solomos is a font which traces its descent from
a calligraphically-inspired font of the mid-19th century.  LaTeX support, for
use with the LGR encoding only, is provided.")
    (license license:silofl1.1)))

(define-public texlive-ghab
  (package
    (name "texlive-ghab")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ghab/"
                                     "fonts/source/public/ghab/"
                                     "tex/latex/ghab/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jknnlcigk6aa48xqvxd67015fxjlmmp36p52c95xrii4lv3m0zk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ghab")
    (synopsis "Typeset ghab boxes in LaTeX")
    (description
     "The package defines a command @code{\\darghab} that will typeset its
argument in a box with a decorated frame.  The width of the box may be set
using an optional argument.")
    (license license:lppl)))

(define-public texlive-ghsystem
  (package
    (name "texlive-ghsystem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ghsystem/" "tex/latex/ghsystem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a8plly9zcbym67yzk6rp5mlk12lngmhdx6c3riar2w86nlvq55l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ghsystem")
    (synopsis "Globally harmonised system of chemical (etc) naming")
    (description
     "The package provides the means to typeset all the hazard and
precautionary statements and pictograms in a straightforward way.  The
statements are taken from EU regulation 1272/2008.")
    (license license:lppl1.3+)))

(define-public texlive-gillcm
  (package
    (name "texlive-gillcm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gillcm/"
                                     "fonts/map/dvips/gillcm/"
                                     "fonts/tfm/public/gillcm/"
                                     "fonts/vf/public/gillcm/"
                                     "tex/latex/gillcm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cz6aqcq2fv6hb2yv2ymc3j6myb8y73gyqbyigabwc909fmh5qdm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gillcm")
    (synopsis "Alternative unslanted italic Computer Modern fonts")
    (description
     "This is a demonstration of the use of virtual fonts for unusual effects:
the package implements unslanted italic Computer Modern fonts.")
    (license license:bsd-3)))

(define-public texlive-gillius
  (package
    (name "texlive-gillius")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gillius/"
                                     "fonts/enc/dvips/gillius/"
                                     "fonts/map/dvips/gillius/"
                                     "fonts/opentype/arkandis/gillius/"
                                     "fonts/tfm/arkandis/gillius/"
                                     "fonts/type1/arkandis/gillius/"
                                     "fonts/vf/arkandis/gillius/"
                                     "tex/latex/gillius/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f2jr70ab5qnmla1n7iwhiw9x9q5fdzw9lcgjzji8rdqlsgq1451"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gillius")
    (synopsis "Gillius fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Gillius and Gillius No.@: 2 families of sans serif fonts and condensed
versions of them, designed by Hirwen Harendal.")
    (license (list license:gpl2+ license:lppl))))

(define-public texlive-glosmathtools
  (package
    (name "texlive-glosmathtools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glosmathtools/"
                                     "tex/latex/glosmathtools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rw194qxxf38fp1xczzjvsa6vb0jxz88cgc2s5fqx2k4fwg989kh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glosmathtools")
    (synopsis
     "Mathematical nomenclature tools based on the @code{glossaries} package")
    (description
     "This package can be used to generate a mathematical nomenclature (also
called list of symbols or notation).  It is based on the @code{glossaries}
package.  Its main features are:

@itemize
@item symbol categories (e.g., latin, greek),
@item automatic but customizable symbol sorting,
@item easy subscript management,
@item easy accentuation management,
@item abbreviation support (with first use definition),
@item bilingual nomenclatures (for bilingual documents),
@item bilingual abbreviations.
@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-gloss-occitan
  (package
    (name "texlive-gloss-occitan")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gloss-occitan/"
                                     "source/latex/gloss-occitan/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h9w7gk7klwhackx30c7wa2xv23jy2r75zvgs22crhv40h8blj3f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gloss-occitan")
    (synopsis "Polyglossia support for Occitan")
    (description
     "This package provides Occitan language description file for
Polyglossia.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries
  (package
    (name "texlive-glossaries")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries/"
                                     "doc/man/man1/makeglossaries-lite.1"
                                     "doc/man/man1/makeglossaries-lite.man1.pdf"
                                     "doc/man/man1/makeglossaries.1"
                                     "doc/man/man1/makeglossaries.man1.pdf"
                                     "scripts/glossaries/"
                                     "source/latex/glossaries/"
                                     "tex/latex/glossaries/base/"
                                     "tex/latex/glossaries/expl/"
                                     "tex/latex/glossaries/rollback/"
                                     "tex/latex/glossaries/styles/"
                                     "tex/latex/glossaries/test-entries/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pnmvrs927p35b3p7kbqvrrhz244aw44y1ziv7w7616igl1bblnx"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "makeglossaries" "makeglossaries-lite.lua")))
    (inputs (list perl))
    (propagated-inputs
     (list texlive-amsmath
           texlive-datatool
           texlive-etoolbox
           texlive-mfirstuc
           texlive-tracklang
           texlive-xfor
           texlive-xkeyval))
    (home-page "https://ctan.org/pkg/glossaries")
    (synopsis "Create glossaries and lists of acronyms")
    (description
     "The glossaries package supports acronyms and multiple glossaries, and has
provision for operation in several languages (using the facilities of either
Babel or Polyglossia).  New entries are defined to have a name and description
(and optionally an associated symbol).  Support for multiple languages is
offered, and plural forms of terms may be specified.  An additional package,
@code{glossaries-accsupp}, can make use of the @code{accsupp} package
mechanisms for accessibility support for PDF files containing glossaries.  The
user may define new glossary styles, and preambles and postambles can be
specified.  There is provision for loading a database of terms, but only terms
used in the text will be added to the relevant glossary.

The package uses an indexing program to provide the actual glossary; either
MakeIndex or Xindy may serve this purpose, and a Perl script is provided to
serve as interface.  The package supersedes @code{glossary} package (which is
now obsolete).")
    (license license:lppl1.3+)))

(define-public texlive-gmverse
  (package
    (name "texlive-gmverse")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gmverse/" "tex/latex/gmverse/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13vs1w9pfl4is5f5papwqqm83kmb17d4z7gv8nxkswnav9v5cl56"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gmverse")
    (synopsis "Package for typesetting (short) poems")
    (description
     "This package provides a redefinition of the @code{verse} environment to
make the @code{\\\\} command optional for line ends and to give it
a possibility of optical centering and right-hanging alignment of lines broken
because of length.")
    (license license:lppl)))

(define-public texlive-gnu-freefont
  (package
    (name "texlive-gnu-freefont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gnu-freefont/"
                                     "fonts/opentype/public/gnu-freefont/"
                                     "fonts/truetype/public/gnu-freefont/"
                                     "source/fonts/gnu-freefont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14bq8i7n6zhy8352pmhd5d9l4p152c6bgarz17wfp2p00kzs47aw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gnu-freefont")
    (synopsis "Unicode font, with rather wide coverage")
    (description
     "The package provides a set of outline (i.e., OpenType} fonts covering as
much as possible of the Unicode character set.  The set consists of three
typefaces: one monospaced and two proportional (one with uniform and one with
modulated stroke).")
    (license license:gpl3)))

(define-public texlive-go
  (package
    (name "texlive-go")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/go/" "fonts/source/public/go/"
                                     "fonts/tfm/public/go/" "source/fonts/go/"
                                     "tex/latex/go/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cvxfz9m7fx62iiz00f7qlywrmwwnpk0xzlyv63c90ji9xzfawcv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/go")
    (synopsis "Fonts and macros for typesetting go games")
    (description
     "The macros provide for nothing more complicated than the standard
19x19 board; the fonts are written in Metafont.")
    (license license:public-domain)))

(define-public texlive-gofonts
  (package
    (name "texlive-gofonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gofonts/"
                                     "fonts/enc/dvips/gofonts/"
                                     "fonts/map/dvips/gofonts/"
                                     "fonts/tfm/bh/gofonts/"
                                     "fonts/truetype/bh/gofonts/"
                                     "fonts/type1/bh/gofonts/"
                                     "fonts/vf/bh/gofonts/"
                                     "tex/latex/gofonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07ysxm10xwg6cc781gdppidq1s87bqli4x6shkarjl29pxcncn61"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gofonts")
    (synopsis "GoSans and GoMono fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the GoSans and GoMono families of fonts designed by the Bigelow & Holmes
foundry.  GoSans is available in three weights: Regular, Medium, and
Bold (with corresponding italics).  GoMono is available in regular and bold,
with italics.")
    (license (list license:bsd-3 license:lppl))))

(define-public texlive-gost
  (package
    (name "texlive-gost")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/gost/" "bibtex/csf/gost/"
                                     "doc/bibtex/gost/" "source/bibtex/gost/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rsqk4r1r741ggvpgg7g51knlaqrrdq9g8yiix66vx3n5v1arp26"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gost")
    (synopsis "BibTeX styles to format according to GOST")
    (description
     "This package provides BibTeX styles to format bibliographies in English,
Russian or Ukrainian according to GOST 7.0.5-2008 or GOST 7.1-2003.  Both
8-bit and Unicode (UTF-8) versions of each @code{BibTeX} style, in each case
offering a choice of sorted and unsorted.  Further, a set of three
styles (which do not conform to current standards) are retained for backwards
compatibility.")
    (license license:lppl1.3c)))

(define-public texlive-gothic
  (package
    (name "texlive-gothic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gothic/"
                                     "fonts/source/public/gothic/"
                                     "fonts/tfm/public/gothic/"
                                     "source/fonts/gothic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08hqp2a0ch67d38p2jca6cvx72vc6dagb04a9w6ff7dniqp6gps2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    ;; FIXME: Font metrics generation fails with "! Strange path (turning
    ;; number is zero)." error.
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/gothic")
    (synopsis "Collection of old German-style fonts")
    (description
     "This package provides a collection of fonts that reproduce those used in
old German printing and handwriting.  The set comprises Gothic, Schwabacher
and Fraktur fonts, a pair of handwriting fonts, Sutterlin and Schwell, and
a font containing decorative initials.  In addition, there are two re-encoding
packages for Haralambous's fonts, providing T1, using virtual fonts, and OT1
and T1, using Metafont.")
    ;; This is a collection of packages, with various licenses.
    (license (list license:lppl1.2+ license:lppl1.3c license:public-domain))))

(define-public texlive-gotoh
  (package
    (name "texlive-gotoh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gotoh/" "source/latex/gotoh/"
                                     "tex/latex/gotoh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h08ygzlhv1mpd27yfv8slvgfwa250z7alpv99p6768jafysp3k9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gotoh")
    (synopsis "Implementation of the Gotoh sequence alignment algorithm")
    (description
     "This package calculates biological sequence alignment with the Gotoh algorithm.
The package also provides an interface to control various settings including
algorithm parameters.")
    (license license:expat)))

(define-public texlive-gradstudentresume
  (package
    (name "texlive-gradstudentresume")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gradstudentresume/"
                                     "tex/latex/gradstudentresume/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jimvivx5vf1jy7yszvx2zbf13r0brqc0avz8lcx1rsqa3d7rjcn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gradstudentresume")
    (synopsis "Generic template for graduate student resumes")
    (description
     "The package offers a template for graduate students writing an academic
CV.  The goal is to create a flexible template that can be customized based on
each specific individual's needs.")
    (license license:lppl1.3+)))

(define-public texlive-grant
  (package
    (name "texlive-grant")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/grant/" "source/latex/grant/"
                                     "tex/latex/grant/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cihhr3fqjbn2grkps5wl6aqx19s78vgklmriw2jqg27fqgv5q2p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/grant")
    (synopsis "Classes for formatting federal grant proposals")
    (description
     "This package provides LaTeX classes for formatting federal grant
proposals:
@itemize
@item grant: base class for formatting grant proposals;
@item grant-arl: Army Research Laboratory;
@item grant-darpa: Defense Advanced Research Projects Agency;
@item grant-doe: Department of Energy;
@item grant-nih: National Institutes of Health;
@item grant-nrl: Naval Research Laboratory;
@item grant-nsf: National Science Foundation;
@item grant-onr: Office of Naval Research.
@end itemize")
    (license license:expat)))

(define-public texlive-greenpoint
  (package
    (name "texlive-greenpoint")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/greenpoint/"
                                     "fonts/source/public/greenpoint/"
                                     "fonts/tfm/public/greenpoint/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y5an7lgx975ppb8s1abx494s4m115k137f82hy08iwdx9l1plj5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/greenpoint")
    (synopsis "Green Point logo")
    (description
     "This package provides a Metafont-implementation of the logo commonly
known as @emph{Der Grune Punkt} (``The Green Point'').  In Austria, it can be
found on nearly every bottle.  It should not be confused with the Recycle
logo.")
    (license license:gpl3+)))

(define-public texlive-gregoriotex
  (package
    (name "texlive-gregoriotex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/gregoriotex/"
                                     "fonts/source/gregoriotex/"
                                     "fonts/truetype/public/gregoriotex/"
                                     "scripts/gregoriotex/"
                                     "source/luatex/gregoriotex/"
                                     "tex/lualatex/gregoriotex/"
                                     "tex/luatex/gregoriotex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lnpq6rfdb6dg543cmbsm817ziim6arxnzxzbn0wn8i8aw681idr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-gregoriotex-bin))
    (home-page "https://ctan.org/pkg/gregoriotex")
    (synopsis "Engraving gregorian chant scores")
    (description
     "Gregorio is a software application for engraving gregorian chant scores
on a computer.  Gregorio's main job is to convert a gabc file (simple text
representation of a score) into a GregorioTeX file, which makes TeX able to
create a PDF of your score.")
    (license license:gpl3)))

(define-public texlive-gregoriotex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-gregoriotex-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("gregorio"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-gregorio" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/gregorio"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/gregorio"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-gregoriotex))
    (synopsis "Binary for @code{texlive-gregoriotex}")
    (description
     "This package provides the binary for @code{texlive-gregoriotex}.")
    (license (package-license texlive-gregoriotex))))

(define-public texlive-grotesq
  (package
    (name "texlive-grotesq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/grotesq/"
                                     "fonts/afm/urw/grotesq/"
                                     "fonts/map/dvips/grotesq/"
                                     "fonts/tfm/urw/grotesq/"
                                     "fonts/type1/urw/grotesq/"
                                     "fonts/vf/urw/grotesq/"
                                     "tex/latex/grotesq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12q0n6z442j725drp3919k2qk7kg9fas4cqz415a8lj1nmvg60i4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urw-grotesq")
    (synopsis "URW Grotesq font pack for LaTeX")
    (description
     "The directory contains a copy of the Type 1 font URW Grotesq 2031
Bold, with supporting files for use with (La)TeX.")
    (license license:gpl3+)))

(define-public texlive-grundgesetze
  (package
    (name "texlive-grundgesetze")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/grundgesetze/"
                                     "source/latex/grundgesetze/"
                                     "tex/latex/grundgesetze/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hpl336bn33qjmq2bhqn94fjdxlcxs0lxm4sdr124dnagdnksl4n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/grundgesetze")
    (synopsis "Typeset Frege's @emph{Grundgesetze der Arithmetik}")
    (description
     "The package defines maths mode commands for typesetting Gottlob Frege's
concept-script in the style of his @emph{Grundgesetze der Arithmetik} (Basic
Laws of Arithmetic).")
    (license license:gpl2)))

(define-public texlive-gsemthesis
  (package
    (name "texlive-gsemthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gsemthesis/"
                                     "source/latex/gsemthesis/"
                                     "tex/latex/gsemthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wwd6pddxb91gj6jr6zc0xy0sr0s0mbdjzyw856w9ds0lp0k6cl9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gsemthesis")
    (synopsis "Geneva School of Economics and Management PhD thesis format")
    (description
     "The class provides a PhD thesis template for the @acronym{GSEM,
Geneva School of Economics and Management}, University of Geneva, Switzerland.
The class provides utilities to easily set up the cover page, the front matter
pages, the page headers, etc., conformant to the official guidelines of the
GSEM Faculty for writing PhD dissertations.")
    (license license:lppl1.3+)))

(define-public texlive-gtrcrd
  (package
    (name "texlive-gtrcrd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gtrcrd/" "tex/latex/gtrcrd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ndnzkm84ynn3wcnfg6j6fcl87wmd3g9w5d17g1z6qp340asrkp9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gtrcrd")
    (synopsis "Add chords to lyrics")
    (description
     "The package provides the means to specify guitar chords to be played
with each part of the lyrics of a song.  The syntax of the macros reduces the
chance of failing to provide a chord where one is needed, and the structure of
the macros ensures that the chord specification appears immediately above the
start of the lyric.")
    (license license:lppl1.3+)))

(define-public texlive-gu
  (package
    (name "texlive-gu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gu/" "tex/latex/gu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13gw8gk03s3ha7xwn6vfix7w50if3gvlqywn1l6z5zi3qbfaapvr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gu")
    (synopsis "Typeset crystallographic group-subgroup-schemes")
    (description
     "The package simplifies typesetting of simple crystallographic
group-subgroup-schemes in the Barnighausen formalism.  It defines a new
environment @code{stammbaum}, wherein all elements of the scheme are defined.
Afterwards all necessary dimensions are calculated and the scheme is drawn.
Currently two steps of symmetry reduction are supported.")
    (license license:lppl)))

(define-public texlive-gudea
  (package
    (name "texlive-gudea")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gudea/"
                                     "fonts/enc/dvips/gudea/"
                                     "fonts/map/dvips/gudea/"
                                     "fonts/tfm/public/gudea/"
                                     "fonts/type1/public/gudea/"
                                     "fonts/vf/public/gudea/"
                                     "tex/latex/gudea/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kj53idgxyqwishg0vibhhrj443016z61c0jl7rx91a508vbwbn2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gudea")
    (synopsis "Gudea font face with support for LaTeX and pdfLaTeX")
    (description
     "This package provides the Gudea family of fonts designed by Agustina
Mingote, with support for LaTeX and pdfLaTeX.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-guide-to-latex
  (package
    (name "texlive-guide-to-latex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/guide-to-latex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wc5pclv27af2zr6kjjahjzxxlab31d8970jvxr9lxiqllvkxyab"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/guide-to-latex")
    (synopsis "Examples and more from @emph{Guide to LaTeX}, by Kopka and Daly")
    (description
     "This package contains material presented in the book @emph{Guide to LaTeX},
4th edition, by Helmut Kopka and Patrick W. Daly as code, sample figures,
processed files, as well as solutions to the exercices.")
    (license license:lppl1.3c+)))

(define-public texlive-guitar
  (package
    (name "texlive-guitar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/guitar/" "source/latex/guitar/"
                                     "tex/latex/guitar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rywmlz59mjm59n4607qk9fa62w1c9qv9iyyja8k9vb4pc9yijrc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/guitar")
    (synopsis "Guitar chords and song texts")
    (description
     "This package provides (La)TeX macros for typesetting guitar chords over
song texts.  Note that this package only places arbitrary TeX code over the
lyrics.  To typeset the chords graphically (and not only by name), the author
recommends use of an additional package such as @code{gchords}.")
    (license license:lppl1.3+)))

(define-public texlive-guitarchordschemes
  (package
    (name "texlive-guitarchordschemes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/guitarchordschemes/"
                                     "tex/latex/guitarchordschemes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "189xx0y549ss4ip8x2f1rpcqyad5njrni785sxmy2cghqbdcgzzn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/guitarchordschemes")
    (synopsis "Guitar chord and scale tablatures")
    (description
     "This package provides two commands (@code{\\chordscheme} and
@code{\\scales}).  With those commands it is possible to draw schematic
diagrams of guitar chord tablatures and scale tablatures.  Both commands know
a range of options that allow wide customization of the output.")
    (license license:lppl1.3+)))

(define-public texlive-guitartabs
  (package
    (name "texlive-guitartabs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/guitartabs/"
                                     "tex/latex/guitartabs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hk5yl7za7mm6cpg9g4z5wnq4m2nwm41sq8w7m8ic38sr85n67zz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/guitartabs")
    (synopsis "Class for drawing guitar tablatures easily")
    (description
     "This package provides is a simple LaTeX2e class that allows guitarists
to create basic guitar tablatures using LaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-guitlogo
  (package
    (name "texlive-guitlogo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/guitlogo/"
                                     "source/latex/guitlogo/"
                                     "tex/latex/guitlogo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fwp3w5b51qs9jr9xq0hl0hsqbx7dkj7qgwjpay88sflycv3qpba"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/guitlogo")
    (synopsis "Macros for typesetting the GuIT logo")
    (description
     "This package provides some commands useful to correctly write the logo
of @emph{Gruppo Utilizzatori Italiani di TeX} (Italian TeX User Group), using
the default document color or any other color the user may ever choose, in
conformity with the logo's scheme as seen on the group's website
@url{https://www.guitex.org}.  Likewise, commands are provided that simplify
the writing of the GuIT acronym's complete expansion, of the addresses of the
group's internet site and public forum, and the meeting GuITmeeting and the
magazine @emph{Ars TeXnica}'s logo.  Optionally, using @code{hyperref}, the
outputs of the above cited commands can become hyperlinks to the group's
website @url{https://www.guitex.org}.  The Documentation is available in
Italian only.")
    (license license:lppl1.3a)))

(define-public texlive-gustlib
  (package
    (name "texlive-gustlib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/gustlib/" "bibtex/bst/gustlib/"
                                     "doc/plain/gustlib/" "tex/plain/gustlib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jfmsx5zw9yb8fkhw4fad82m48n7fs1inmx471mr7ys0i7y1l92v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gustlib")
    (synopsis "Plain macros for much core and extra functionality, from GUST")
    (description
     "This package includes Plain TeX macros adding extra functionalities.
This comprises bibliography support, token manipulation, cross-references,
verbatim, determining length of a paragraph's last line, multicolumn output,
Polish bibliography and index styles, prepress and color separation, graphics
manipulation, and tables.")
    (license (list license:knuth license:public-domain))))

(define-public texlive-gustprog
  (package
    (name "texlive-gustprog")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/gustprog/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07qx4xvyqb4p0cx0macjgyg0pcxgcmdxmzfsx9ah5s0dqvminwrc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gustprog")
    (synopsis "Utility programs for Polish users of TeX")
    (description
     "This package provides utility programs for Polish users of TeX.  These
programs are provided as sources, not installed in the @file{bin}
directories.")
    (license license:public-domain)))

(define-public texlive-gzt
  (package
    (name "texlive-gzt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gzt/" "source/latex/gzt/"
                                     "tex/latex/gzt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01vzqnh7fxpsd23q98n9x828lyjrvjlfkb9zv0sxydamp5qy3pn5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gzt")
    (synopsis "Bundle of classes for @emph{La Gazette des Mathematiciens}")
    (description
     "This bundle provides two classes and BibLaTeX styles for the French
journal @emph{La Gazette des Mathematiciens}: @code{gzt} for the complete
issues of the journal, aimed at the Gazette's team, @code{gztarticle},
intended for authors who wish to publish an article in the Gazette.  This
class's goals are to faithfully reproduce the layout of the Gazette, thus
enabling the authors to be able to work their document in actual conditions,
and provide a number of tools (commands and environments) to facilitate the
drafting of documents, in particular those containing mathematical formulas.")
    (license license:lppl1.3c)))

(define-public texlive-h2020proposal
  (package
    (name "texlive-h2020proposal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/h2020proposal/"
                                     "tex/latex/h2020proposal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fq43vpq3ixj6fc99fbmj129487xxzcmz22gisqmn469bam5qxj5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/h2020proposal")
    (synopsis "LaTeX class and template for EU H2020 RIA proposal")
    (description
     "This package consists of a class file as well as FET and ICT proposal
templates for writing EU H2020 RIA proposals and generating automatically the
many cross-referenced tables that are required.")
    (license license:gpl3)))

(define-public texlive-hacm
  (package
    (name "texlive-hacm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/hacm/"
                                     "fonts/map/dvips/hacm/"
                                     "fonts/tfm/public/hacm/"
                                     "fonts/type1/public/hacm/"
                                     "fonts/vf/public/hacm/"
                                     "tex/latex/hacm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19n0mlb96ix4vlqaw95fgwah7mbn80l6jm1dim8sigagmhh3bimd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hacm")
    (synopsis "Font support for the Arka language")
    (description
     "The package supports typesetting @emph{hacm}, the alphabet of the
constructed language Arka.  The bundle provides nine official fonts, in Adobe
Type 1 format.")
    (license license:lppl1.3+)))

(define-public texlive-hagenberg-thesis
  (package
    (name "texlive-hagenberg-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hagenberg-thesis/"
                                     "tex/latex/hagenberg-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dp2mrf4smpllrgszi0cx5w42lm144qs3jvr44h6k98ibsfxdv9h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hagenberg-thesis")
    (synopsis
     "LaTeX classes, style files and example documents for academic
manuscripts")
    (description
     "This package provides a collection of modern LaTeX classes, style files
and example documents for authoring Bachelor, master or diploma theses and
related academic manuscripts in English and German.  It includes comprehensive
tutorials (in English and German) with detailed instructions and authoring
guidelines.")
    (license license:cc-by4.0)))

(define-public texlive-hamnosys
  (package
    (name "texlive-hamnosys")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/hamnosys/"
                                     "fonts/truetype/public/hamnosys/"
                                     "source/fonts/hamnosys/"
                                     "tex/latex/hamnosys/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iilp1npy23azk7gjb3m6g9p9f853lbpn9cvply90g2s9jdw0bd9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hamnosys")
    (synopsis "Font for sign languages")
    (description
     "The Hamburg Notation System, HamNoSys for short, is a system for the
phonetic transcription of signed languages.  This package makes HamNoSys
available in XeLaTeX and LuaLaTeX.  The package provides a Unicode font for
rendering HamNoSys symbols as well as three methods for entering them.")
    (license license:lppl1.3c)))

(define-public texlive-hands
  (package
    (name "texlive-hands")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/source/public/hands/"
                                     "fonts/tfm/public/hands/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x0vdn7hq6k7wr7yxn8pnkvjhjq3mfl781ijrs2mpvjqygqffzag"))))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/hands")
    (synopsis "Pointing hand font")
    (description
     "This package provides right- and left-pointing hands in both
black-on-white and white-on-black realisation.  The font is distributed as
Metafont source.")
    (license license:public-domain)))

(define-public texlive-hanoi
  (package
    (name "texlive-hanoi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/plain/hanoi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09a7cv76naxzdach5507wdqnjp12amvlia7kw0jh224ydmkzfx9x"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hanoi")
    (synopsis "Tower of Hanoi in TeX")
    (description
     "The Plain TeX program (typed in the shape of the towers of Hanoi) serves
both as a game and as a TeX programming exercise.  As a game, it will solve
the towers with (up to) 15 discs.")
    (license license:public-domain)))

(define-public texlive-happy4th
  (package
    (name "texlive-happy4th")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/happy4th/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x950scxbvcgwycpakflpklc775pknjab620g099dnsfrpb76f4a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/happy4th")
    (synopsis "Firework display in obfuscated TeX")
    (description
     "The output PDF file gives an amusing display, as the reader pages
through it.")
    (license license:public-domain)))

(define-public texlive-har2nat
  (package
    (name "texlive-har2nat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/har2nat/" "tex/latex/har2nat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13akhwjx48lkch46pk2syzizham3rk81ihrzbwxsvapa1fw74dzg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/har2nat")
    (synopsis "Replace the @code{harvard} package with @code{natbib}")
    (description
     "This small package allows a LaTeX document containing the citation
commands provided by the @code{harvard} package to be compiled using the
@code{natbib} package.")
    (license license:lppl)))

(define-public texlive-harmony
  (package
    (name "texlive-harmony")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/harmony/" "tex/latex/harmony/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ky4aiv3zvykfwalf1md4lzjbr9pc14i93xsxdwl25jcsi2kvjk7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/harmony")
    (synopsis "Typeset harmony symbols, etc., for musicology")
    (description
     "The package @file{harmony.sty} helps typesetting harmony symbols for
musicology.")
    (license license:lppl)))

(define-public texlive-hanzibox
  (package
    (name "texlive-hanzibox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/hanzibox/"
                                     "source/xelatex/hanzibox/"
                                     "tex/xelatex/hanzibox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bgbybzz5h79i2l3mbjxm11x9nsxm366c6d2mha9j5qabjghakya"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ctex")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ctex))
    (home-page "https://ctan.org/pkg/hanzibox")
    (synopsis
     "Boxed Chinese characters with Pinyin above and translation below")
    (description
     "This is a LaTeX package written to simplify the input of Chinese with
Hanyu Pinyin and translation.  Hanyu Pinyin is placed above Chinese with the
@code{xpinyin} package, and the translation is placed below.  The package can
be used as a utility for learning to write and pronounce Chinese characters,
for Chinese character learning plans, presentations, exercise booklets and
other documentation work.")
    (license license:lppl1.3c)))

(define-public texlive-harvard
  (package
    (name "texlive-harvard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/harvard/" "bibtex/bst/harvard/"
                                     "doc/latex/harvard/" "source/latex/harvard/"
                                     "tex/latex/harvard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qcw1rrvcgcz26pwcmsfd7gs4bzlq1n4zws92xqsr5fi95pr8q7k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/harvard")
    (synopsis "Harvard citation package for use with LaTeX")
    (description
     "This is a re-implementation, for LaTeX, of the original Harvard package.
The bundle contains the LaTeX package, several BibTeX styles, and a Perl
package for use with LaTeX2HTML.

Harvard is an author-year citation style (all but the first author are
suppressed in second and subsequent citations of the same entry); the package
defines several variant styles: @file{apsr.bst} for the @emph{American
Political Science Review}; @file{agsm.bst} for Australian government
publications; @file{dcu.bst} from the Design Computing Unit of the University
of Sydney; @file{kluwer.bst}, which aims at the format preferred in Kluwer
publications; @file{nederlands.bst} which deals with sorting Dutch names with
prefixes (such as van) according to Dutch rules, together with several styles
whose authors offer no description of their behaviour.")
    (license license:lppl)))

(define-public texlive-harvmac
  (package
    (name "texlive-harvmac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/harvmac/" "tex/plain/harvmac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bxa9vvkg79xk3nakdc5an2py6gwbv9ml66xmz1hp1llbg3562vf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/harvmac")
    (synopsis "Macros for scientific articles")
    (description "This package provides macros for scientific articles.")
    (license license:cc-by3.0)))

(define-public texlive-havannah
  (package
    (name "texlive-havannah")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/havannah/"
                                     "source/latex/havannah/"
                                     "tex/latex/havannah/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kw71rr5jhn0gx89jynwxxgd6ddzpmr0wb5qnsh0drljmacq49ai"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/havannah")
    (synopsis "Diagrams of board positions in the games of Havannah and Hex")
    (description
     "This package defines macros for typesetting diagrams of board positions
in the games of Havannah and Hex.")
    (license license:lppl1.2+)))

(define-public texlive-hecthese
  (package
    (name "texlive-hecthese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hecthese/"
                                     "source/latex/hecthese/"
                                     "tex/latex/hecthese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "167bbbfnzjdw6rxvqb49szn9gf2x9v4m47yxs32ragbhzn4rvixw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hecthese")
    (synopsis "Class for dissertations and theses at HEC Montreal")
    (description
     "This package provides the @code{hecthese} class, a class based on
@code{memoir} and compatible with LaTeX.  Using this class, postgraduate
students at HEC Montreal will be able to write their dissertation or thesis
while complying with all the presentation standards required by the
University.  This class is meant to be as flexible as possible; in particular,
there are very few hard-coded features except those that take care of the
document's layout.

Dissertations and theses at HEC Montreal can be written on a per-chapter or
per-article basis.  Documents that are written on a per-article basis require
a bibliography for each of the included articles and a general bibliography
for the entire document.  The @code{hecthese} class takes care of these
requirements.")
    (license license:lppl1.3c)))

(define-public texlive-helmholtz-ellis-ji-notation
  (package
    (name "texlive-helmholtz-ellis-ji-notation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/helmholtz-ellis-ji-notation/"
                                     "fonts/opentype/public/helmholtz-ellis-ji-notation/"
                                     "source/fonts/helmholtz-ellis-ji-notation/"
                                     "tex/latex/helmholtz-ellis-ji-notation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d2l682v0qsh5x6ab6f0swnbb70niahx145szzhm92ls1lsmkzck"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/helmholtz-ellis-ji-notation")
    (synopsis "In-line microtonal just intonation accidentals")
    (description
     "The Helmholtz-Ellis JI Pitch Notation (HEJI), devised in the early 2000s
by Marc Sabat and Wolfgang von Schweinitz, explicitly notates the raising and
lowering of the untempered diatonic Pythagorean notes by specific microtonal
ratios defined for each prime.  It provides visually distinctive logos
distinguishing families of justly tuned intervals that relate to the harmonic
series.  These take the form of strings of additional accidental symbols based
on historical precedents, extending the traditional sharps and flats.  Since
its 2020 update, HEJI version 2 (HEJI2) provides unique microtonal symbols
through the 47-limit.  This package is a simple LaTeX implementation of HEJI2
that allows for in-line typesetting of microtonal accidentals for use within
theoretical texts, program notes, symbol legends, etc.  Documents must be
compiled using XeLaTeX.")
    (license license:cc-by4.0)))

(define-public texlive-hep
  (package
    (name "texlive-hep")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hep/" "tex/latex/hep/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p7phgv3d4xch9c9qwkpgrpc34nzijxfxiqkpnc9b9a3xfwh71sg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hep")
    (synopsis "Convenience wrapper for High Energy Physics packages")
    (description
     "This package loads the author's @code{hepunits} and @code{hepnicenames}
packages, and a selection of others that are useful in High Energy Physics
papers, etc.")
    (license license:lppl)))

(define-public texlive-hep-bibliography
  (package
    (name "texlive-hep-bibliography")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hep-bibliography/"
                                     "source/latex/hep-bibliography/"
                                     "tex/latex/hep-bibliography/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00zz26cp361z3wx9c8h7qq798xqm9gh945vg81hp9s4fpdd4wgzk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hep-bibliography")
    (synopsis "Acronym extension for glossaries")
    (description
     "The @code{hep-bibliography} package extends the BibLaTeX package with
some functionality mostly useful for high energy physics.  In particular it
makes full use of all BibTeX fields provided by Discover High-Energy
Physics.")
    (license license:lppl1.3c)))

(define-public texlive-hep-font
  (package
    (name "texlive-hep-font")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/hep-font/"
                                     "source/fonts/hep-font/"
                                     "tex/latex/hep-font/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k2kjq50zd5rdgwcgj3c803d68xx3zl77qp39nxzshbm3nks2sb9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hep-font")
    (synopsis "Latin modern extended by Computer Modern")
    (description
     "The @code{hep-font} package loads standard font packages and extends the
usual Latin Modern implementations by replacing missing fonts with Computer
Modern counterparts.")
    (license license:lppl1.3c)))

(define-public texlive-hep-math-font
  (package
    (name "texlive-hep-math-font")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/hep-math-font/"
                                     "source/fonts/hep-math-font/"
                                     "tex/latex/hep-math-font/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v1fbll0knibmzsnbl7jiip99r79zr21f0kjkq9p5r49a55nwpi3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hep-math-font")
    (synopsis "Extended Greek and sans-serif math")
    (description
     "The @code{hep-math-font} package adjust the math fonts to be sans-serif
if the document is sans-serif.  Additionally Greek letters are redefined to be
always italic and upright in math and text mode respectively.  Some math font
macros are adjusted to give more consistently the naively expected results.")
    (license license:lppl1.3c)))

(define-public texlive-hep-paper
  (package
    (name "texlive-hep-paper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hep-paper/"
                                     "source/latex/hep-paper/"
                                     "tex/latex/hep-paper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "192q9nhqmdxrfz1qh5i211k1b9g0cvlgdg5j85r1zx6lwfrrzfdi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hep-paper")
    (synopsis "Publications in @emph{High Energy Physics}")
    (description
     "This package aims to provide a single style file containing most
configurations and macros necessary to write appealing publications in
@emph{High Energy Physics}.  Instead of reinventing the wheel by introducing
newly created macros, hep-paper preferably loads third party packages as long
as they are light-weight enough.  For usual publications it suffices to load
the @code{hep-paper} package, without optional arguments, in addition to the
@code{article} class.")
    (license license:lppl1.3c)))

(define-public texlive-hep-reference
  (package
    (name "texlive-hep-reference")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hep-reference/"
                                     "source/latex/hep-reference/"
                                     "tex/latex/hep-reference/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1931sdr8ivh2aslrs3gzi1cvp1djcisypfzsyn6xjgjsbvrnw96k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hep-reference")
    (synopsis "Adjustments for publications in High Energy Physics")
    (description
     "This package makes some changes to the reference, citation and footnote
macros to improve the default behavior of LaTeX for High Energy Physics
publications.")
    (license license:lppl1.3c)))

(define-public texlive-hepnames
  (package
    (name "texlive-hepnames")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hepnames/" "tex/latex/hepnames/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wvqf4r7p8bkvxwp7mvqnngxillbpii38i413q8acz0777bpassl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hepnames")
    (synopsis "Pre-defined high energy particle names")
    (description
     "Hepnames provides a pair of LaTeX packages, @code{heppennames} and @code{hepnicenames},
providing a large set of pre-defined high energy physics particle names built
with the @code{hepparticles} package.  The packages are based on
@file{pennames.sty} by Michel Goosens and Eric van Herwijnen.  Heppennames
re-implements the particle names in @file{pennames.sty}, with some additions
and alterations and greater flexibility and robustness due to the
@code{hepparticles} structures, which were written for this purpose.
Hepnicenames provides the main non-resonant particle names from
@code{heppennames} with more friendly names.")
    (license license:lppl)))

(define-public texlive-hepparticles
  (package
    (name "texlive-hepparticles")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hepparticles/"
                                     "tex/latex/hepparticles/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k8nzw5py23zvp4r4hgddjd2xypcpw85h4slad1yk43zxivb33n7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hepparticles")
    (synopsis "Macros for typesetting high energy physics particle names")
    (description
     "HEPparticles is a set of macros for typesetting high energy particle names,
to meet the following criteria:

@enumerate
@item The main particle name is a Roman or Greek symbol, to be typeset in
upright font in normal contexts.
@item Additionally a superscript or subscript may follow the main symbol.
@item Particle resonances may also have a resonance specifier which is typeset
in parentheses following the main symbol.  In general the parentheses may also
be followed by sub- and superscripts.
@item The particle names are expected to be used both in and out of
mathematical contexts.
@item If the surrounding text is bold or italic then the particle name should
adapt to that context as best as possible (this may not be possible for Greek
symbols).  As a consequence, well-known problems with boldness of particle
names in section titles, headers and tables of contents automatically
disappear if these macros are used.
@end enumerate")
    (license license:lppl)))

(define-public texlive-hepthesis
  (package
    (name "texlive-hepthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hepthesis/"
                                     "tex/latex/hepthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10yrdsrvnb259fi2qyjldwc6h55s5z8vadr5pf6sbaihyqnv9igg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hepthesis")
    (synopsis "Class for academic reports, especially PhD theses")
    (description
     "@code{hepthesis} is a LaTeX class for typesetting large academic
reports, in particular PhD theses.  In particular, @code{hepthesis} offers:

@itemize
@item attractive semantic environments for various rubric sections;
@item extensive options for draft production, screen viewing and binding-ready
output;
@item helpful extensions of existing environments, including equation and
tabular;
@item support for quotations at the start of the thesis and each chapter.
@end itemize

The class is based on @code{scrbook}, from the KOMA-Script bundle.")
    (license license:lppl)))

(define-public texlive-hepunits
  (package
    (name "texlive-hepunits")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hepunits/"
                                     "tex/latex/hepunits/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k89jdw5hpav5wr2imrb5wcasi53qswnqqn6jb89kh5crbrywrlz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hepunits")
    (synopsis "Set of units useful in high energy physics applications")
    (description
     "@code{hepunits} is a LaTeX package built on the SIunits package which
adds a collection of useful @acronym{HEP, High Energy Physics} units to the
existing SIunits set.")
    (license license:lppl)))

(define-public texlive-heros-otf
  (package
    (name "texlive-heros-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/heros-otf/"
                                     "tex/latex/heros-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17ac8a8r5hvf76lifap070c4746jdhva9arcn1s0bqrs6kydfm56"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/heros-otf")
    (synopsis "Using the OpenType fonts TeX Gyre Heros")
    (description
     "This package can only be used with LuaLaTeX or XeLaTeX.  It does the
font setting for the OpenType font TeX Gyre Heros.  The condensed versions of
the fonts are also supported.  The missing typefaces for slanted text are
defined.")
    (license license:lppl1.3+)))

(define-public texlive-heuristica
  (package
    (name "texlive-heuristica")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/heuristica/"
                                     "fonts/enc/dvips/heuristica/"
                                     "fonts/map/dvips/heuristica/"
                                     "fonts/opentype/public/heuristica/"
                                     "fonts/tfm/public/heuristica/"
                                     "fonts/type1/public/heuristica/"
                                     "fonts/vf/public/heuristica/"
                                     "tex/latex/heuristica/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bpf3iikl3yv35bkihrnr7hjhvb0jgjpz01flllkp9zvbfl3kcb6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/heuristica")
    (synopsis "Fonts extending Utopia, with LaTeX support files")
    (description
     "The fonts extend the Utopia set with Cyrillic glyphs, additional figure
styles, ligatures and Small Caps in Regular style only.  Macro support, and
maths fonts that match the Utopia family, are provided by the Fourier and the
Mathdesign font packages.")
    (license license:silofl1.1)))

(define-public texlive-hexboard
  (package
    (name "texlive-hexboard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hexboard/"
                                     "source/latex/hexboard/"
                                     "tex/latex/hexboard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04z0qhajbjn55mqax4kaw53h7s6g84iy1yh0pfhzj3ib7gd4cpw4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hexboard")
    (synopsis "For drawing Hex boards and games")
    (description
     "@code{hexboard} is a package for LaTeX that should also work with LuaTeX
and XeTeX, that provides functionality for drawing Hex boards and games.")
    (license license:cc-by-sa4.0)))

(define-public texlive-hexgame
  (package
    (name "texlive-hexgame")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hexgame/" "tex/latex/hexgame/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qr9v7225k6xzykw3rdsxf2sa3b5asvmd767i88jwimmacwi2cp1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hexgame")
    (synopsis "Provide an environment to draw a hexgame-board")
    (description
     "Hex is a mathematical game invented by the Danish mathematician Piet
Hein and independently by the mathematician John Nash.  This package defines
an environment that enables the user to draw such a game in a trivial way.")
    (license license:lppl)))

(define-public texlive-hfbright
  (package
    (name "texlive-hfbright")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/hfbright/"
                                     "fonts/afm/public/hfbright/"
                                     "fonts/enc/dvips/hfbright/"
                                     "fonts/map/dvips/hfbright/"
                                     "fonts/type1/public/hfbright/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1aw4h2law9q7sn2ppf3pxdazsk9kypss3chvca3741w8bzhxq5qr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hfbright")
    (synopsis "@code{hfbright} fonts")
    (description
     "These are Adobe Type 1 versions of the OT1-encoded and maths parts of
the Computer Modern Bright fonts.")
    (license license:lppl)))

(define-public texlive-hfoldsty
  (package
    (name "texlive-hfoldsty")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/hfoldsty/"
                                     "fonts/tfm/public/hfoldsty/"
                                     "fonts/vf/public/hfoldsty/"
                                     "source/fonts/hfoldsty/"
                                     "tex/latex/hfoldsty/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0skzw845i1b3lq76m4an4mpkm2w82hlpirnx4pckz3138nr1rlpf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hfoldsty")
    (synopsis "Old style numerals with EC fonts")
    (description
     "The @code{hfoldsty} package provides virtual fonts for using old-style
figures with the European Computer Modern fonts.  It does a similar job as the
@code{eco} package but includes a couple of improvements, i.e., better kerning
with guillemets, and support for character protruding using the
@code{pdfcprot} package.")
    (license license:gpl3+)))

(define-public texlive-hfutexam
  (package
    (name "texlive-hfutexam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hfutexam/" "tex/latex/hfutexam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14zvjkj0icdzb8bq31c5gv3nmw52s0969nlcbacbaxhgmkix9lfk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hfutexam")
    (synopsis "Exam class for Hefei University of Technology, China")
    (description
     "This package provides an exam class for Hefei University of
Technology (China).")
    (license license:lppl1.3c)))

(define-public texlive-hfutthesis
  (package
    (name "texlive-hfutthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/hfutthesis/"
                                     "tex/xelatex/hfutthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i7ljf5521f9dynrcnim0m4jzz2qkvpsb4pjvxbj5c7pr85gc34r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hfutthesis")
    (synopsis "LaTeX thesis template for Hefei University of Technology")
    (description
     "This project is based on the HFUT_Thesis LaTeX template of Hefei
University of Technology compiled on the basis of @code{ustctug} and
@code{ustcthesis}, in accordance with the latest version of @emph{Hefei
University of Technology Graduate Dissertation Writing Specifications} and
@emph{Hefei University of Technology Undergraduate Graduation Project (Thesis)
Work Implementation Rules}.")
    (license license:lppl1.3c)))

(define-public texlive-hithesis
  (package
    (name "texlive-hithesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/hithesis/"
                                     "doc/xelatex/hithesis/"
                                     "makeindex/hithesis/"
                                     "source/xelatex/hithesis/"
                                     "tex/xelatex/hithesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w701f0ivf7k8jb2jiy5lhns4qiflyrslyiplm6aca67g2rcqgwn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; "hithesis.ins" writes files to "./figures" Create these
               ;; directories first to prevent an error.
               (add-before 'build 'prepare-build
                 (lambda _
                   (mkdir-p "build/figures"))))))
    (home-page "https://ctan.org/pkg/hithesis")
    (synopsis "Harbin Institute of Technology thesis template")
    (description
     "@code{hithesis} is a LaTeX thesis template package for Harbin Institute
of Technology supporting bachelor, master, doctor dissertations.")
    (license license:lppl1.3a)))

(define-public texlive-hindmadurai
  (package
    (name "texlive-hindmadurai")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/hindmadurai/"
                                     "fonts/enc/dvips/hindmadurai/"
                                     "fonts/map/dvips/hindmadurai/"
                                     "fonts/opentype/public/hindmadurai/"
                                     "fonts/tfm/public/hindmadurai/"
                                     "fonts/type1/public/hindmadurai/"
                                     "fonts/vf/public/hindmadurai/"
                                     "tex/latex/hindmadurai/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15bf8hka7f04l7zpkaav1azbailjv21w15iidbaxx9n2d4plf2kk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hindmadurai")
    (synopsis "HindMadurai font face with support for LaTeX and pdfLaTeX")
    (description
     "This package provides the HindMadurai family of fonts designed by the
Indian Type Foundry, with support for LaTeX and pdfLaTeX.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-historische-zeitschrift
  (package
    (name "texlive-historische-zeitschrift")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/historische-zeitschrift/"
                                     "tex/latex/historische-zeitschrift/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w8zhk1darw39lrgs4i1p8zk78a1q7skc93ac8qczbrw5pln27k5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/historische-zeitschrift")
    (synopsis "BibLaTeX style for the journal @emph{Historische Zeitschrift}")
    (description
     "The package provides citations according with the house style of the
@emph{Historische Zeitschrift}, a German historical journal.")
    (license license:lppl)))

(define-public texlive-hitex
  (package
    (name "texlive-hitex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/hitex/base/"
                                     "doc/man/man1/hishrink.1"
                                     "doc/man/man1/hishrink.man1.pdf"
                                     "doc/man/man1/histretch.1"
                                     "doc/man/man1/histretch.man1.pdf"
                                     "doc/man/man1/hitex.1"
                                     "doc/man/man1/hitex.man1.pdf"
                                     "makeindex/hitex/"
                                     "tex/hitex/base/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wim25zd8wmqc2g8l9lk2gwwq51fwmj46hj8bmzbzy1a455ih0zq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:create-formats #~(list "hilatex" "hitex")))
    (propagated-inputs
     (list texlive-babel
           texlive-cm
           texlive-etex
           texlive-firstaid
           texlive-hitex-bin
           texlive-hyphen-base
           texlive-knuth-lib
           texlive-l3backend
           texlive-l3kernel
           texlive-latex
           texlive-latex-fonts
           texlive-plain
           texlive-tex-ini-files
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/hitex")
    (synopsis "TeX extension writing HINT output for on-screen reading")
    (description
     "This package provides a TeX extension that generates HINT output.  The
HINT file format is an alternative to the DVI and PDF formats which was
designed specifically for on-screen reading of documents.  Especially on
mobile devices, reading DVI or PDF documents can be cumbersome.  Mobile
devices are available in a large variety of sizes but typically are not large
enough to display documents formated for a4/letter-size paper.  To compensate
for the limitations of a small screen, users are used to alternating between
landscape (few long lines) and portrait (more short lines) mode.  The HINT
format supports variable and varying screen sizes, leveraging the ability of
TeX to format a document for nearly-arbitrary values of @code{\\hsize} and
@code{\\vsize}.")
    (license license:x11)))

(define-public texlive-hitex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-hitex-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons* "--disable-web2c"
                 "--enable-hitex"
                 (delete "--disable-hitex"
                         (delete "--enable-web2c" #$flags))))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (let ((bin (string-append #$output "/bin"))
                        (files '("hishrink" "histretch" "hitex")))
                    (for-each (lambda (f) (invoke "make" f)) files)
                    (for-each (lambda (f) (install-file f bin)) files)
                    (with-directory-excursion bin
                      (symlink "hitex" "hilatex"))))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-hitex))
    (synopsis "Binaries for @code{texlive-hitex}")
    (description
     "This package provides the binaries for @code{texlive-hitex}.")
    (license (package-license texlive-hitex))))

(define-public texlive-hitszbeamer
  (package
    (name "texlive-hitszbeamer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/hitszbeamer/"
                                     "doc/latex/hitszbeamer/"
                                     "source/latex/hitszbeamer/"
                                     "tex/latex/hitszbeamer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00c23sdhkvr79lzag8v1j5hyzf5iwmkr07xnz0s0n3haicbfzz44"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hitszbeamer")
    (synopsis "Beamer theme for Harbin Institute of Technology, ShenZhen")
    (description
     ;; XXX: Cannot use @acronym and @comma here, because Guile Texinfo does
     ;; not support this combination.
     "This is a Beamer theme designed for HITSZ (Harbin Institute of
Technology, ShenZhen).")
    (license license:lppl1.3c)))

(define-public texlive-hitszthesis
  (package
    (name "texlive-hitszthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/hitszthesis/"
                                     "doc/latex/hitszthesis/"
                                     "makeindex/hitszthesis/"
                                     "source/latex/hitszthesis/"
                                     "tex/latex/hitszthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m1wr3iq1nzcymvnamgna0iiqb3ndllflgawzjjv85aay9jszra0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hitszthesis")
    (synopsis
     "Dissertation template for Harbin Institute of Technology, ShenZhen")
    (description
     ;; XXX: Cannot use @acronym and @comma here, because Guile Texinfo does
     ;; not support this combination.
     "This package provides a dissertation template for HITSZ (Harbin
Institute of Technology, ShenZhen), including bachelor, master and doctor
dissertations.")
    (license license:lppl1.3c)))

(define-public texlive-hmtrump
  (package
    (name "texlive-hmtrump")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/hmtrump/"
                                     "fonts/truetype/public/hmtrump/"
                                     "tex/lualatex/hmtrump/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03r1f784ipr2j38y2xy8agl94xwcmyv4pxd0l42iclmx08rczb9q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hmtrump")
    (synopsis "Describe card games")
    (description
     "This package provides a font with LuaLaTeX support for describing
card games.")
    (license
     (list (license:fsf-free
            "doc/lualatex/hmtrump/nkd04_playing_cards_index/LICENSE")
           license:cc-by-sa4.0))))

(define-public texlive-hobete
  (package
    (name "texlive-hobete")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hobete/" "tex/latex/hobete/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gccpxh3bfj4sbnag8rjrz8hyrx3107mwxpydl0bcdn8dxyjkfi2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hobete")
    (synopsis "Unofficial Beamer theme for the University of Hohenheim")
    (description
     "The package provides a Beamer theme which features the Ci colors of the
University of Hohenheim.  Please note that this is not an official theme, and
that there will be no support for it from the University.")
    (license license:lppl)))

(define-public texlive-horoscop
  (package
    (name "texlive-horoscop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/horoscop/"
                                     "source/latex/horoscop/"
                                     "tex/latex/horoscop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08acv1sg37qzq3h14kxv62xhrzrv4psgpychshj3gmzvp4vz0jsn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/horoscop")
    (synopsis "Generate astrological charts in LaTeX")
    (description
     "The @code{horoscop} package provides a unified interface for
astrological font packages; typesetting with @code{pict2e} of standard wheel
charts and some variations, in PostScript- and PDF-generating TeX engines; and
access to external calculation software (Astrolog and Swiss Ephemeris) for
computing object positions.")
    (license license:public-domain)))

(define-public texlive-hrlatex
  (package
    (name "texlive-hrlatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hrlatex/" "source/latex/hrlatex/"
                                     "tex/latex/hrlatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16npkf18gy8clwkzvm0qysfv90wb6979cppj5rykn1x0icsvw2ix"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hrlatex")
    (synopsis "LaTeX support for Croatian documents")
    (description
     "This package simplifies creation of new documents for the (average)
Croatian user.  As an example, a class file @code{hrdipl.cls} (designed for
the graduation thesis at the University of Zagreb) and sample thesis documents
are included.")
    (license license:lppl)))

(define-public texlive-hu-berlin-bundle
  (package
    (name "texlive-hu-berlin-bundle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/hu-berlin-bundle/"
                                     "source/lualatex/hu-berlin-bundle/"
                                     "tex/lualatex/hu-berlin-bundle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y9qldwr231qh06djvck5zmvqva9hxppn8mx9a7isikr9d5152y9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hu-berlin-bundle")
    (synopsis "LaTeX classes for the Humboldt-Universitat zu Berlin")
    (description
     "This package provides files according to the corporate design of the
Humboldt-Universitat zu Berlin.  This is not an official package by the
university itself, and not officially approved by it.")
    (license (list license:lppl1.3c license:gpl2 license:bsd-3))))

(define-public texlive-huaz
  (package
    (name "texlive-huaz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/huaz/" "tex/latex/huaz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "103wnzw8401d1ckc31y6ga75bph0ls71hxs0hdkszw719ghm7vjr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/huaz")
    (synopsis "Automatic Hungarian definite articles")
    (description
     "In Hungarian there are two definite articles, @samp{a} and @samp{az},
which are determined by the pronunciation of the subsequent word.  The
@code{huaz} package helps the user to insert automatically the correct
definite article for cross-references and other commands containing text.")
    (license license:lppl1.3+)))

(define-public texlive-hulipsum
  (package
    (name "texlive-hulipsum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hulipsum/"
                                     "source/latex/hulipsum/"
                                     "tex/latex/hulipsum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w62vawh2l49bgm7ivprmz61b71qsf38xdsrq6x2dc2ywzvs4z2f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hulipsum")
    (synopsis "Hungarian dummy text (Lorum ipse)")
    (description
     "Lorem ipsum is an improper Latin filler dummy text, cf.@: the
@code{lipsum} package.  It is commonly used for demonstrating the textual
elements of a document template.  Lorum ipse is a Hungarian variation of Lorem
ipsum. (Lorum is a Hungarian card game, and ipse is a Hungarian slang word
meaning bloke.)  With this package you can typeset 150 paragraphs of Lorum
ipse.")
    (license license:lppl1.3+)))

(define-public texlive-hustthesis
  (package
    (name "texlive-hustthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/hustthesis/"
                                     "doc/latex/hustthesis/"
                                     "source/latex/hustthesis/"
                                     "tex/latex/hustthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12sacpq43wjkr0j0ziszw37achyc7cf0z5kajqdfb5d7ksas0j2n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hustthesis")
    (synopsis "Unofficial thesis template for Huazhong University")
    (description
     "The package provides an unofficial thesis template in LaTeX for Huazhong
University of Science and Technology.")
    (license license:lppl1.3+)))

(define-public texlive-hvarabic
  (package
    (name "texlive-hvarabic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hvarabic/" "tex/latex/hvarabic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kjx2x3fnpqw6hybw7ifdlqad4mmbacba290qwlhhggpjrxsvp39"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hvarabic")
    (synopsis "Macros for RTL typesetting")
    (description
     "This package provides some macros for right-to-left typesetting.  It
uses by default the Arabic fonts Scheherazade and ALM fixed, the only
monospaced Arabic font.  The package only works with LuaLaTeX or XeLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-ibarra
  (package
    (name "texlive-ibarra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ibarra/"
                                     "fonts/enc/dvips/ibarra/"
                                     "fonts/map/dvips/ibarra/"
                                     "fonts/tfm/public/ibarra/"
                                     "fonts/truetype/public/ibarra/"
                                     "fonts/type1/public/ibarra/"
                                     "fonts/vf/public/ibarra/"
                                     "tex/latex/ibarra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mjf3mk95rs7qr2f4qpwa249kqycmbj0d13d3d0sc9lqkl0yza4w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ibarra")
    (synopsis "LaTeX support for the Ibarra Real Nova family of fonts")
    (description
     "The Ibarra Real Nova is a revival of a typeface designed by Geronimo Gil
for the publication of @emph{Don Quixote} for the Real Academia de la Lengua
in 1780.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-ibrackets
  (package
    (name "texlive-ibrackets")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ibrackets/"
                                     "source/latex/ibrackets/"
                                     "tex/latex/ibrackets/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "037c2g7dfr2c5l99ry0fvmwxh15jx9lq1hh4fwgcpnglh73lmkhp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ibrackets")
    (synopsis "Intelligent brackets")
    (description
     "This small package provides a new definition of brackets @samp{[} and
@samp{]} as active characters to get correct blank spaces in mathematical mode
when using for open intervals.")
    (license license:lppl1.3+)))

(define-public texlive-icite
  (package
    (name "texlive-icite")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/icite/" "source/latex/icite/"
                                     "tex/latex/icite/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a3gqnjbyn33ld3j66pfrrsv502zdrsag0glhar82fbba21qlj9w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/icite")
    (synopsis "Indices locorum citatorum")
    (description
     "The package is designed to produce from BibTeX or BibLaTeX
bibliographical databases the different indices of authors and works cited
which are called indices locorum citatorum.  It relies on a specific
@code{\\icite} command and can operate with either BibTeX or BibLaTeX.")
    (license (list license:gpl3+ license:cc-by-sa4.0))))

(define-public texlive-ietfbibs
  (package
    (name "texlive-ietfbibs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/bibtex/ietfbibs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18ypa96z1gclq4amka28sv26pm7lycak68zf4b3sf1bx4ldnzmxq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ietfbibs")
    (synopsis "Generate BibTeX entries for various IETF index files")
    (description
     "The package provides scripts to translate IETF index files to BibTeX
files.")
    (license license:expat)))

(define-public texlive-ifsym
  (package
    (name "texlive-ifsym")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ifsym/"
                                     "fonts/source/public/ifsym/"
                                     "fonts/tfm/public/ifsym/" "tex/latex/ifsym/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07r16sgqc65wf8c8ijgmnmwq50yrlvjlmzbnk0czgnwqrbdz642g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/ifsym")
    (synopsis "Collection of symbols")
    (description
     "This package provides a set of symbol fonts, written in Metafont, offering
(respectively) clock-face symbols, geometrical symbols, weather symbols,
mountaineering symbols, electronic circuit symbols and a set of miscellaneous
symbols.  A LaTeX package is provided, that allows the user to load only those
symbols needed in a document.")
    (license license:lppl1.0+)))

(define-public texlive-ijqc
  (package
    (name "texlive-ijqc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/ijqc/" "doc/bibtex/ijqc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18sqc8k21l15zlplpaimdcg8g75z3lrlc0qcb6wx838980gn961r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ijqc")
    (synopsis "BibTeX style file for the @emph{Intl. J. Quantum Chem}")
    (description
     "@file{ijqc.bst} is a BibTeX style file to support publication in Wiley's
@emph{International Journal of Quantum Chemistry}.")
    (license license:lppl)))

(define-public texlive-imfellenglish
  (package
    (name "texlive-imfellenglish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/imfellenglish/"
                                     "fonts/enc/dvips/imfellenglish/"
                                     "fonts/map/dvips/imfellenglish/"
                                     "fonts/opentype/iginomarini/imfellenglish/"
                                     "fonts/tfm/iginomarini/imfellenglish/"
                                     "fonts/type1/iginomarini/imfellenglish/"
                                     "fonts/vf/iginomarini/imfellenglish/"
                                     "tex/latex/imfellenglish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pw4nsw4pl1nf99j58sy37064712by6kqcb40xkrcl5d9czx45bh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/imfellenglish")
    (synopsis "IM Fell English fonts with LaTeX support")
    (description
     "Igino Marini has implemented digital revivals of fonts bequeathed to
Oxford University by Dr.@: John Fell, Bishop of Oxford and Dean of Christ
Church in 1686.  This package provides the English family, consisting of
Roman, Italic and Small-Cap fonts.")
    (license license:silofl1.1)))

(define-public texlive-impatient
  (package
    (name "texlive-impatient")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/impatient/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03cjl3lg7k7p4h8drw7vcbw6ymgmm2clv6sgfs3hdixs8dmab1b2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/impatient")
    (synopsis "@emph{TeX for the Impatient} book")
    (description
     "@emph{TeX for the Impatient} is a book on TeX, Plain TeX and Eplain.")
    (license license:fdl1.3+)))

(define-public texlive-impatient-cn
  (package
    (name "texlive-impatient-cn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/impatient-cn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pc20pb0las3slam1d9hmqigipmr6r98wwif12m33mm750vmq65i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/impatient")
    (synopsis "Chinese translation of @emph{TeX for the Impatient} book")
    (description
     "@emph{TeX for the Impatient} is a book (of around 350 pages) on TeX,
Plain TeX and Eplain.  This is its Chinese translation.")
    (license license:fdl1.3+)))

(define-public texlive-impatient-fr
  (package
    (name "texlive-impatient-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/impatient-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qwdllmi0ci304smf4yl6g8ah083jrch9clkyav7r5qsxnhwxbxh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/impatient")
    (synopsis "French translation of @emph{TeX for the Impatient} book")
    (description
     "@emph{TeX for the Impatient} is a book (of around 350 pages) on TeX,
Plain TeX and Eplain.  This is its French translation.")
    (license license:fdl1.3+)))

(define-public texlive-impnattypo
  (package
    (name "texlive-impnattypo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/impnattypo/"
                                     "source/latex/impnattypo/"
                                     "tex/latex/impnattypo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05ddbpxvybr0a7sg1ximsifvgjg83qwx5pd9xcc22bliz3j5ixvm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/impnattypo")
    (synopsis "Support typography of l'Imprimerie Nationale Francaise")
    (description
     "The package provides useful macros implementing recommendations by the
French Imprimerie Nationale.")
    (license license:lppl1.3+)))

(define-public texlive-import
  (package
    (name "texlive-import")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/import/" "tex/latex/import/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wlzs31li6nvzigkxw59bbpmyqrkzpdangvjqq3z7wl6y79sic6g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/import")
    (synopsis "Establish input relative to a directory")
    (description
     "The commands @code{\\import@{full_path@}@{file@}} and
@code{\\subimport@{path_extension@}@{file@}} set up input through standard
LaTeX mechanisms (@code{\\input}, @code{\\include} and
@code{\\includegraphics}) to load files relative to the imported directory.
There are also @code{\\includefrom}, @code{\\subincludefrom}, and starred
variants of the commands.")
    (license license:public-domain)))

(define-public texlive-imsproc
  (package
    (name "texlive-imsproc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/imsproc/"
                                     "tex/xelatex/imsproc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1akzdc4nas4fkmlhm6xp97xw65vm5bif73jq2ki5if5kwssxc38z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/imsproc")
    (synopsis "Typeset IMS conference proceedings")
    (description
     "The class typesets papers for IMS (Iranian Mathematical Society)
conference proceedings.  The class uses the XePersian package.")
    (license license:lppl1.3+)))

(define-public texlive-includernw
  (package
    (name "texlive-includernw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/includernw/"
                                     "tex/latex/includernw/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kc14nq0f3jybidifvr6gjfy4ggs5qkbs1syv1k7bw3xrdmpplb8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/includernw")
    (synopsis "Include .Rnw inside .tex")
    (description
     "This package is for including @file{.Rnw} (knitr/sweave) files inside
@file{.tex} files.  It requires that you have R and the R-package @code{knitr}
installed.")
    (license license:lppl1.3c)))

(define-public texlive-initials
  (package
    (name "texlive-initials")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/initials/"
                                     "dvips/initials/"
                                     "fonts/afm/public/initials/"
                                     "fonts/map/dvips/initials/"
                                     "fonts/tfm/public/initials/"
                                     "fonts/type1/public/initials/"
                                     "tex/latex/initials/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hbvk2qjrhcx2l8nkca1s5lj65k5xd2v2fnk4zjxjpwdcwxf09zp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/initials")
    (synopsis "Adobe Type 1 decorative initial fonts")
    (description
     "This package provides Adobe Type 1 decorative initial fonts.  For each
font, at least a @file{.pfb} and a @file{.tfm} file is provided, with an
@file{.fd} file for use with LaTeX.")
    (license license:lppl)))

(define-public texlive-inlinebib
  (package
    (name "texlive-inlinebib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/inlinebib/"
                                     "doc/bibtex/inlinebib/"
                                     "tex/latex/inlinebib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13kfygh2r8s038rnskxnj91h08k8xs6cln16vzsy1j59c82idvkb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/inlinebib")
    (synopsis "Citations in footnotes")
    (description
     "This package provides a BibTeX style and a LaTeX package that allow for
a full bibliography at the end of the document as well as citation details in
footnotes.")
    (license license:lppl)))

(define-public texlive-install-latex-guide-zh-cn
  (package
    (name "texlive-install-latex-guide-zh-cn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/install-latex-guide-zh-cn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hs9pqhbf5pkdk3a29xnicj7i8zxgf3vazf2mmm4z6fc4b0kfpjk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/install-latex-guide-zh-cn")
    (synopsis "Short introduction to LaTeX installation written in Chinese")
    (description
     "This package will introduce the operations related to installing TeX
Live and mainly introducing command line operations, in Chinese.")
    (license license:lppl1.3c)))

(define-public texlive-inter
  (package
    (name "texlive-inter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/inter/"
                                     "fonts/enc/dvips/inter/"
                                     "fonts/map/dvips/inter/"
                                     "fonts/opentype/public/inter/"
                                     "fonts/tfm/public/inter/"
                                     "fonts/type1/public/inter/"
                                     "fonts/vf/public/inter/"
                                     "tex/latex/inter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bfxp3ar62p1jddjisjnv3aqml00ckkz4fawacsjbb369jq9v0aj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/inter")
    (synopsis "Inter font face with support for LaTeX, XeLaTeX, and LuaLaTeX")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Inter Sans family of fonts, designed by Rasmus Andersson.  Inter is
a typeface specially designed for user interfaces with focus on high
legibility of small-to-medium sized text on computer screens.  The family
features a tall x-height to aid in readability of mixed-case and lower-case
text.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-interval
  (package
    (name "texlive-interval")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/interval/" "tex/latex/interval/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16qp8q95s8y4pvd7idh6nzz04nb81sm7w36gc2nc5sjmvjw1sk4f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/interval")
    (synopsis "Format mathematical intervals, ensuring proper spacing")
    (description
     "When typing an open interval as $]a,b[$, a closing bracket is being used
in place of an opening fence and vice versa.  This leads to wrong spacing.
The @code{\\interval} macro provided by this package attempts to solve this.
The package also supports fence scaling and ensures that the enclosing fences
will end up having the proper closing and opening types.")
    (license license:lppl1.3+)))

(define-public texlive-intro-scientific
  (package
    (name "texlive-intro-scientific")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/intro-scientific/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bzgi3zg0lm6zwjnac90ihaqwcvhindfdphjijv7mh11ii0qxlmf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/intro-scientific")
    (synopsis "Introducing scientific/mathematical documents using LaTeX")
    (description
     "@emph{Writing Scientific Documents Using LaTeX} is an article
introducing the use of LaTeX in typesetting scientific documents.  It covers
the basics of creating a new LaTeX document, special typesetting
considerations, mathematical typesetting and graphics.  It also touches on
bibliographic data and BibTeX.")
    (license license:lppl)))

(define-public texlive-ionumbers
  (package
    (name "texlive-ionumbers")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ionumbers/"
                                     "source/latex/ionumbers/"
                                     "tex/latex/ionumbers/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rbm4z2qg1ifwslxdsgzdcni701s3q32i2iaqldm7g7jinn8bivn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ionumbers")
    (synopsis "Restyle numbers in maths mode")
    (description
     "@code{ionumbers} stands for input/output numbers.  The package restyles
numbers in maths mode.  If a number in the input file is written, e.g., as
@samp{$3,231.44$} as commonly used in English texts, the package is able to
restyle it to be output as @samp{$3\\,231{,}44$} as commonly used in German
texts (and vice versa).  This may be useful, for example, if you have a large
table and want to include it in texts with different output conventions
without the need to change the table.

The package can also automatically group digits left of the decimal separator
(thousands) and right of the decimal separator (thousandths) in triplets
without the need of specifing commas (English) or points (German) as
separators.  E.g., the input @samp{$1234.567890$} can be output as
@samp{$1\\,234.\\,567\\,890$}.

Finally, an @emph{e} starts the exponent of the number.  For example,
@samp{$21e6$} may be output as @samp{$26\\times10\\,^@{6@}$}.")
    (license license:gpl3+)))

(define-public texlive-iopart-num
  (package
    (name "texlive-iopart-num")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/iopart-num/"
                                     "doc/bibtex/iopart-num/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n30ncmg0djhpdfa9jl5mv188347xmqsv08vgf2v4ipx7czhjm7v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/iopart-num")
    (synopsis "Numeric citation style for IOP journals")
    (description
     "This package provides a BibTeX style providing numeric citation in
Harvard-like format.  Intended for use with Institute of Physics (IOP)
journals, including @emph{Journal of Physics}.")
    (license license:lppl)))

(define-public texlive-ipaex
  (package
    (name "texlive-ipaex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ipaex/"
                                     "fonts/truetype/public/ipaex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zpvpdpry4ckgbs79hy0gv8cc98x9c0cizzdqzg2qkx8clp8y1bn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ipaex")
    (synopsis "IPA (Japanese) fonts")
    (description
     "The fonts provide fixed-width glyphs for Kana and Kanji characters,
proportional width glyphs for Western characters.")
    (license license:ipa)))

(define-public texlive-ipaex-type1
  (package
    (name "texlive-ipaex-type1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ipaex-type1/"
                                     "fonts/enc/dvips/ipaex-type1/"
                                     "fonts/map/dvips/ipaex-type1/"
                                     "fonts/tfm/public/ipaex-type1/"
                                     "fonts/type1/public/ipaex-type1/"
                                     "tex/latex/ipaex-type1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "123m8i8gvyq3cncn8s11qzk976ml89aqcyapx2zs6phg9h090bc8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ipaex-type1")
    (synopsis "IPAex fonts converted to Type-1 format Unicode sub-fonts")
    (description
     "The package contains the IPAex Fonts converted into Unicode sub-fonts in
Type 1 format, which is most suitable for use with the CJK package.")
    (license license:ipa)))

(define-public texlive-is-bst
  (package
    (name "texlive-is-bst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/is-bst/" "doc/bibtex/is-bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bdkk1s5nfqy95h9ia08h4kpij4khj1y5z6byxgn7fsvcxncl1cb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/is-bst")
    (synopsis "Extended versions of standard BibTeX styles")
    (description
     "The bundle contains an extended version (@file{xbtxbst.doc}) of the
source of the standard BibTeX styles, together with corresponding versions of
the standard styles.  The styles offer support for CODEN, ISBN, ISSN, LCCN,
and PRICE fields, extended PAGES fields, the PERIODICAL entry, and extended
citation label suffixing.")
    (license license:knuth)))

(define-public texlive-icsv
  (package
    (name "texlive-icsv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/icsv/" "source/latex/icsv/"
                                     "tex/latex/icsv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "133rbbq86qkd749bd20wdnjqddpwydm27ndh5yp2waimgij3cm8d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/icsv")
    (synopsis "Class for typesetting articles for the ICSV conference")
    (description
     "This is an ad-hoc class for typesetting articles for the ICSV
conference.")
    (license license:lppl)))

(define-public texlive-ieeeconf
  (package
    (name "texlive-ieeeconf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ieeeconf/"
                                     "source/latex/ieeeconf/"
                                     "tex/latex/ieeeconf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f7v199mc1dw2fhp30qdkx48dyzk5mqmbqr91c1jm235isgs4fam"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ieeeconf")
    (synopsis "Macros for IEEE conference proceedings")
    (description
     "The IEEEconf class implements the formatting dictated by the IEEE
Computer Society Press for conference proceedings.")
    (license license:lppl)))

(define-public texlive-ieeepes
  (package
    (name "texlive-ieeepes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/ieeepes/" "doc/latex/ieeepes/"
                                     "tex/latex/ieeepes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12nvllxxswww9p9l1h3ygak3g4j8ngmypxcbbw2jwwa8kh43yiqi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ieeepes")
    (synopsis "IEEE Power Engineering Society Transactions")
    (description
     "This package supports typesetting of transactions, as well as
discussions and closures, for the IEEE Power Engineering Society Transactions
journals.")
    (license license:lppl)))

(define-public texlive-ieeetran
  (package
    (name "texlive-ieeetran")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/ieeetran/"
                                     "bibtex/bst/ieeetran/" "doc/latex/ieeetran/"
                                     "tex/latex/ieeetran/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j7vv8hp0ymzmclyrk23zmixcclhlm1g241y8dk3dl18zsj00f1c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ieeetran")
    (synopsis "Document class for IEEE Transactions journals and conferences")
    (description
     "The class and its BibTeX style enable authors to produce
officially-correct output for the @acronym{IEEE, Institute of Electrical and
Electronics Engineers} transactions, journals and conferences.")
    (license license:lppl1.3+)))

(define-public texlive-ijmart
  (package
    (name "texlive-ijmart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/ijmart/" "doc/latex/ijmart/"
                                     "source/latex/ijmart/" "tex/latex/ijmart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18fpf0na5y1nxz0c7r43f560dp4r8yawx8vj8356vdmw6d5r15h0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ijmart")
    (synopsis "LaTeX Class for the @emph{Israel Journal of Mathematics}")
    (description
     "The @emph{Israel Journal of Mathematics} is published by The Hebrew
University Magnes Press.  This class provides LaTeX support for its authors
and editors.  It strives to achieve the distinct look and feel of the journal,
while having the interface similar to that of the @code{amsart} document
class.  This will help authors already familiar with @code{amsart} to easily
submit manuscripts for the @emph{Israel Journal of Mathematics} or to put the
preprints in arXiv with minimal changes in the LaTeX source.")
    (license license:lppl)))

(define-public texlive-ijsra
  (package
    (name "texlive-ijsra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ijsra/" "tex/latex/ijsra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k6a92c6fhwafrw3m4fcj0dj29ip0zb28aiz861cx2mac92hyqgs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ijsra")
    (synopsis
     "LaTeX document class for the International Journal of Student Research
in Archaeology")
    (description
     "This is a document class called ijsra which is used for the
International Journal of Student Research in Archaeology.")
    (license license:lppl1.3+)))

(define-public texlive-imac
  (package
    (name "texlive-imac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/imac/" "doc/latex/imac/"
                                     "tex/latex/imac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06sc9irv318fc5zgngwrcdwx84pnhyhwh59jiq9sb8iayy1yxldh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/imac")
    (synopsis "International Modal Analysis Conference format")
    (description
     "This package provides a set of files for producing correctly formatted
documents for the International Modal Analysis Conference.  The bundle
provides a LaTeX package and a BibTeX style file.")
    (license license:gpl3+)))

(define-public texlive-imakeidx
  (package
    (name "texlive-imakeidx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/imakeidx/"
                                     "source/latex/imakeidx/"
                                     "tex/latex/imakeidx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s65kbzafx5q7519pbxjldb87flws0mgg76yxi7a5mgxrnkfy961"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/imakeidx")
    (synopsis "Package for producing multiple indexes")
    (description
     "The package enables the user to produce and typeset one or more indexes
simultaneously with a document.  The package is known to work in LaTeX
documents processed with pdfLaTeX, XeLaTeX and LuaLaTeX.  If
@command{makeindex} is used for processing the index entries, no particular
setting up is needed.  When using Xindy or other programs, it is necessary to
enable shell escape; shell escape is also needed if @command{splitindex} is
used.")
    (license license:lppl1.3+)))

(define-public texlive-imtekda
  (package
    (name "texlive-imtekda")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/imtekda/" "source/latex/imtekda/"
                                     "tex/latex/imtekda/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pbv50c6g024dhyw8mpnnyafp18pvf0cqy7j1fvhrbqwf13bn37x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/imtekda")
    (synopsis "IMTEK thesis class")
    (description
     "The class permits typesetting of diploma, bachelor's and master's theses
for the @acronym{IMTEK, Institute of Microsystem Technology} at the University
of Freiburg (Germany).  The class is based on the KOMA-Script class
@code{scrbook}.")
    (license license:lppl)))

(define-public texlive-inkpaper
  (package
    (name "texlive-inkpaper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/inkpaper/" "tex/latex/inkpaper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yybzasv4708cw139k2dcqgi85lm6ard4ra9j78hrcdbnpnkqmw0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/inkpaper")
    (synopsis "Mathematical paper template")
    (description
     "InkPaper is designed to write mathematical papers, especially designed
for mathematics students, ZJGS students, and magazine editors.")
    (license license:gpl3)))

(define-public texlive-iodhbwm
  (package
    (name "texlive-iodhbwm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/iodhbwm/" "tex/latex/iodhbwm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10zqg2cyz7vcnsbgqajwlilakjzr23nhn49sqy82555zkqi27gsa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/iodhbwm")
    (synopsis "Unofficial template of the DHBW Mannheim")
    (description
     "This package provides an unofficial template of the DHBW Mannheim for
the creation of bachelor thesis, studies or project work with LaTeX.  The aim
of the package is the quick creation of a basic framework without much
effort.")
    (license license:lppl1.3+)))

(define-public texlive-iscram
  (package
    (name "texlive-iscram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/iscram/" "tex/latex/iscram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13p0nr6cwkchykdllf0ii035yjq7hxczb1g7qc7l7jaywfszr5ph"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/iscram")
    (synopsis "LaTeX class to publish article to ISCRAM conferences")
    (description
     "This is a LaTeX class to publish article to @acronym{ISCRAM,
International Conference on Information Systems for Crisis Response and
Management}.")
    (license license:lppl1.3+)))

(define-public texlive-isodate
  (package
    (name "texlive-isodate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/isodate/" "source/latex/isodate/"
                                     "tex/latex/isodate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bha4qpa1hi5i4npr00wz4qvzzc4yw4qydjjmm8n878p8cfygvga"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/isodate")
    (synopsis "Tune the output format of dates according to language")
    (description
     "This package provides ten output formats of the commands @code{\\today},
@code{\\printdate}, @code{\\printdateTeX}, and @code{\\daterange} (partly
language dependent).  The commands @code{\\printdate} and
@code{\\printdateTeX} print any date.  The command @code{\\daterange} prints
a date range and leaves out unnecessary year or month entries.  This package
supports German (old and new rules), Austrian, US English, British English,
French, Danish, Swedish, and Norwegian.")
    (license license:lppl)))

(define-public texlive-isomath
  (package
    (name "texlive-isomath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/isomath/" "tex/latex/isomath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jjz2hp9g6swjfbcd43j12dvsvgwgfid6v6lf3n1c87aq6jqx8ly"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/isomath")
    (synopsis "Mathematics style for science and technology")
    (description
     "The package provides tools for a mathematical style that conforms to the
International Standard ISO 80000-2 and is common in science and technology.
It changes the default shape of capital Greek letters to italic, sets up bold
italic and sans-serif bold italic math alphabets with Latin and Greek
characters, and defines macros for markup of vector, matrix and tensor
symbols.")
    (license license:lppl)))

(define-public texlive-itnumpar
  (package
    (name "texlive-itnumpar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/itnumpar/"
                                     "source/latex/itnumpar/"
                                     "tex/latex/itnumpar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jjl1mskg0vsxfjg2wpnqi0y462mv2qrfsg15zjri83zwrilaa6f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/itnumpar")
    (synopsis "Spell numbers in words (Italian)")
    (description
     "Sometimes we need to say ``Capitolo primo'' or ``Capitolo uno'' instead
of ``Capitolo 1'', that is, spelling the number in words instead of the usual
digit form.  This package provides support for spelling out numbers in Italian
words, both in cardinal and in ordinal form.")
    (license license:lppl)))

(define-public texlive-jablantile
  (package
    (name "texlive-jablantile")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/jablantile/"
                                     "fonts/source/public/jablantile/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14cxmph6hhzvb06jdqr6d428p1kg3mvbgw2nk133ggrr2k3wjppg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jablantile")
    (synopsis "Metafont version of tiles in the style of Slavik Jablan")
    (description
     "This is a Metafont font to implement the modular tiles described by
Slavik Jablan. ")
    (license license:public-domain)))

(define-public texlive-jacow
  (package
    (name "texlive-jacow")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jacow/" "tex/latex/jacow/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wdmk9zl3916hgj3f16dlfvrxxlr7ffmjih2nipgfz376ryvnbgf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jacow")
    (synopsis
     "Class for submissions to the proceedings of conferences on JACoW.org")
    (description
     "The @code{jacow} class is used for submissions to the proceedings of
conferences on @acronym{JACoW, Joint Accelerator Conferences Website}, an
international collaboration that publishes the proceedings of accelerator
conferences held around the world.")
    (license license:lppl1.3c)))

(define-public texlive-jamtimes
  (package
    (name "texlive-jamtimes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jamtimes/"
                                     "fonts/map/dvips/jamtimes/"
                                     "fonts/tfm/public/jamtimes/"
                                     "fonts/vf/public/jamtimes/"
                                     "tex/latex/jamtimes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03ww7w963hgsxazlrabg4f0h35rd8jbr9ga11lrhqf66b6zvpyv1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jamtimes")
    (synopsis "Expanded Times Roman fonts")
    (description
     "The package offers LaTeX support for the expanded Times Roman font,
which has been used for many years in the @emph{Journal d'Analyse
Mathematique}.  Mathematics support is based on the Belleek fonts.")
    (license license:bsd-3)))

(define-public texlive-jbact
  (package
    (name "texlive-jbact")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/jbact/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z0x6jrxaayp3w441r1zwlqirvv23g0b8h9xgy6r3ppi71glzqvp"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jbact")
    (synopsis "BibTeX style for biology journals")
    (description
     "The style is a development of @file{apalike.bst} in the BibTeX bundle.
The style serves two journals --- if the user executes
@samp{\\nocite@{TitlesOn@}}, the style serves for the @emph{Journal of
Theoretical Biology}; otherwise it serves for the @emph{Journal of Molecular
Biology}.")
    (license license:knuth)))

(define-public texlive-jeuxcartes
  (package
    (name "texlive-jeuxcartes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jeuxcartes/"
                                     "tex/latex/jeuxcartes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bs4jz87sh5mj0ka40w9lh4hq3pmlwmvm94fpmj8zwk1m7r74b7q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jeuxcartes")
    (synopsis "Macros to insert playing cards")
    (description
     "This package provides macros to insert playing cards, single, or
hand, or random-hand, Poker or French Tarot or Uno, from PNG files.")
    (license
     (list license:cc-by-sa4.0
           license:expat
           license:lgpl2.1
           license:lppl1.3c
           license:public-domain))))

(define-public texlive-jfmutil
  (package
    (name "texlive-jfmutil")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/jfmutil/" "scripts/jfmutil/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c23wak28a1kwgsk6bw1ifa794zywmqzm7a6w5g883nmbfmsq388"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "jfmutil.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/jfmutil")
    (synopsis "Utility to process pTeX-extended TFM and VF")
    (description
     "This program provides functionality to process data files (JFM and VF) that
form logical fonts used in (u)pTeX.  The functions currently available
include:
@itemize
@item The mutual conversion between Japanese virtual fonts (pairs of VF and
JFM) and files in the ZVP format, which is an original text format
representing data in virtual fonts.  This function can be seen as
a counterpart to the @code{vftovp} and @code{vptovf} programs.
@item The mutual conversion between VF files alone and files in the ZVP0
format, which is a subset of the ZVP format.
@end itemize")
    (license license:expat)))

(define-public texlive-jigsaw
  (package
    (name "texlive-jigsaw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jigsaw/" "tex/latex/jigsaw/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qpbsff6saxv2qp4fzyqrprxjy2434ylm11snyc3d59imdmksq0b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jigsaw")
    (synopsis "Draw jigsaw pieces with TikZ")
    (description
     "This is a small LaTeX package to draw jigsaw pieces with TikZ.  It is
possible to draw individual pieces and adjust their shape, create tile
patterns or automatically generate complete jigsaws.")
    (license license:lppl1.3c)))

(define-public texlive-jkmath
  (package
    (name "texlive-jkmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jkmath/" "tex/latex/jkmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gqm6wfarf20yi3cq2h4lbnqp39fif1wg6gpkvbqpy6zlndbdb0r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jkmath")
    (synopsis "Macros for mathematics that make the code more readable")
    (description
     "Inspired by the @code{physicspackage}, the package defines some simple
macros for mathematical notation which make the code more readable or allow
flexibility in typesetting material.")
    (license license:lppl)))

(define-public texlive-jmb
  (package
    (name "texlive-jmb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/jmb/" "tex/latex/jmb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a5nz825jppq3pl1263w2sbm0a48kmmndppfpp7vi69n5j2248dy"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jmb")
    (synopsis "BibTeX style for the @emph{Journal of Theoretical Biology}")
    (description
     "This BibTeX bibliography style is for the @emph{Journal of Molecular
Biology} and @emph{Journal of Theoretical Biology}; the accompanying LaTeX
package is a close relative of @code{apalike.sty} in the BibTeX distribution;
it features author-date references.")
    (license license:knuth)))

(define-public texlive-jmlr
  (package
    (name "texlive-jmlr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jmlr/" "source/latex/jmlr/"
                                     "tex/latex/jmlr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "125zcy1363xlay5ss411x1rl7nyidbh5aygvcr8q8j3qp4yqajrn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jmlr")
    (synopsis "Class files for the @emph{Journal of Machine Learning Research}")
    (description
     "The @code{jmlr} bundle provides a class for authors (@code{jmlr}) and
a class for production editors (@code{jmlrbook}) for the @emph{Journal of
Machine Learning Research}.  The @code{jmlrbook} class can be used to combine
articles written using the @code{jmlr} class into a book.")
    (license license:lppl1.3+)))

(define-public texlive-jneurosci
  (package
    (name "texlive-jneurosci")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/jneurosci/"
                                     "doc/latex/jneurosci/"
                                     "tex/latex/jneurosci/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y010df0hxqsjb1q571z4s3vnz2q03l2n4lycg6z89b2yyvdplsv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jneurosci")
    (synopsis "BibTeX style for the @emph{Journal of Neuroscience}")
    (description
     "This is a slightly modified version of the @code{namedplus} style, which
fully conforms with the @emph{Journal of Neuroscience} citation style.  It
should be characterised as an author-date citation style; a BibTeX style and
a LaTeX package are provided.")
    (license license:lppl)))

(define-public texlive-jnuexam
  (package
    (name "texlive-jnuexam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jnuexam/" "tex/latex/jnuexam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n4nj9k5ahk2fncgdxbmq20kzar7jskwqcpiz76kdv136ci3c176"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jnuexam")
    (synopsis "Exam class for Jinan University")
    (description
     "The package provides an exam class for Jinan University (China).")
    (license license:lppl1.3+)))

(define-public texlive-josefin
  (package
    (name "texlive-josefin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/josefin/"
                                     "fonts/enc/dvips/josefin/"
                                     "fonts/map/dvips/josefin/"
                                     "fonts/tfm/public/josefin/"
                                     "fonts/truetype/public/josefin/"
                                     "fonts/type1/public/josefin/"
                                     "fonts/vf/public/josefin/"
                                     "tex/latex/josefin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ja91mkcpgvdycqxlfa1xfay427b3d7akq8pcdwvgakzgf9bkb1s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/josefin")
    (synopsis "Josefin fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Josefin Sans family of fonts, designed by Santiago Orozco.  Josefin Sans
is available in seven weights, with corresponding italics.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-jourcl
  (package
    (name "texlive-jourcl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jourcl/" "tex/latex/jourcl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wbq0mjl6931267qiw0nrfqxa4blpddqyv27m3wggbpbrz9hvakb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jourcl")
    (synopsis "Cover letter for journal submissions")
    (description
     "Paper submissions to journals are usually accompanied by a cover letter.
This package provides a LaTeX class and a template for such a cover letter
with the following main features:

@itemize

@item minimalistic design,

@item custom image,

@item pre-defined commands for journal name, author, date, etc.

@item many macros contained in this package speed up the process of
preparing the necessary ingredients for the cover letter;

@item macros for recommending up to three reviewers and editors;

@item ORCID logo and link to the submitting author's ORCID page;

@item controls for adding a ``conflict of interest'' statement and declaration;

@item custom greeting;

@item predefined valedictions for different types of submissions.

@end itemize")
    (license license:cc-by-sa4.0)))

(define-public texlive-jpsj
  (package
    (name "texlive-jpsj")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jpsj/" "tex/latex/jpsj/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gvszj0igklm8b0p268j59ysfbahh03c6nbm6gpzkan3p4ijabdi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jpsj")
    (synopsis
     "Document class for @emph{Journal of the Physical Society of Japan}")
    (description
     "This package provides a document class for @emph{Journal of the Physical
Society of Japan}.")
    (license license:lppl)))

(define-public texlive-junicode
  (package
    (name "texlive-junicode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/junicode/"
                                     "fonts/enc/dvips/junicode/"
                                     "fonts/map/dvips/junicode/"
                                     "fonts/opentype/public/junicode/"
                                     "fonts/tfm/public/junicode/"
                                     "fonts/truetype/public/junicode/"
                                     "fonts/type1/public/junicode/"
                                     "fonts/vf/public/junicode/"
                                     "tex/latex/junicode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qm6p9dhibyp2q6slw2fw1ph230rak8vqvk4mdhx4fls3i6zfcfj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/junicode")
    (synopsis "TrueType font for medievalists")
    (description
     "Junicode is a TrueType font with many OpenType features for
antiquarians (especially medievalists) based on typefaces used by the Oxford
Press in the late 17th and early 18th centuries.  It works well with
Xe(La)TeX.")
    (license license:silofl1.1)))

(define-public texlive-jupynotex
  (package
    (name "texlive-jupynotex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jupynotex/"
                                     "tex/latex/jupynotex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dfb20pv1ws89ckk80hnj57w64m4whmm8s66wh2lb9s3a2rd0brk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jupynotex")
    (synopsis "Include whole or partial Jupyter notebooks in LaTeX documents")
    (description
     "This package provides a Python script and a LaTeX @file{.sty} file which
can be used together to include Jupyter Notebooks (all of them, or some
specific cells) as part of a LaTeX document.  It will convert the Jupyter
Notebook format to proper LaTeX so it gets included seamlessly, supporting
text, LaTeX, images, etc.")
    (license license:asl2.0)))

(define-public texlive-jura
  (package
    (name "texlive-jura")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jura/" "source/latex/jura/"
                                     "tex/latex/jura/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lxss00mymcxljzaqmwj9zpy9cpc71a0a4g6bqrzvgspj506jdp7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jura")
    (synopsis "Document class for German legal texts")
    (description
     "This package implements the standard layout for German term papers in law
(one-and-half linespacing, 7 cm margins, etc.).  It includes @code{alphanum}
that permits alphanumeric section numbering (e.g., @samp{A. Introduction};
@samp{III. International Law}).")
    (license license:gpl3+)))

(define-public texlive-juraabbrev
  (package
    (name "texlive-juraabbrev")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/juraabbrev/"
                                     "makeindex/juraabbrev/"
                                     "source/latex/juraabbrev/"
                                     "tex/latex/juraabbrev/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xybpc9j3x0gvq8hs5hrbb6ivilmp8ayjp6bq8xd7gsy7awag5d7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/juraabbrev")
    (synopsis "Abbreviations for typesetting (German) juridical documents")
    (description
     "This package should be helpful for people working on (German) law.  It
helps you to handle abbreviations and creates a list of those (pre-defined)
abbreviations that have actually been used in the document.")
    (license license:gpl3+)))

(define-public texlive-jurabib
  (package
    (name "texlive-jurabib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/jurabib/" "bibtex/bst/jurabib/"
                                     "doc/latex/jurabib/" "source/latex/jurabib/"
                                     "tex/latex/jurabib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z8n654n0f97qayql0111smpydwmdf6i22bg55i6nh5al2jcsbbb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jurabib")
    (synopsis
     "Extended BibTeX citation support for the humanities and legal texts")
    (description
     "This package enables automated citation with BibTeX for legal studies
and the humanities.  In addition, the package provides commands for specifying
editors in a commentary in a convenient way.  Simplified formatting of the
citation as well as the bibliography entry is also provided.  It is possible
to display the (short) title of a work only if an authors is cited with
multiple works.  Giving a full citation in the text, conforming to the
bibliography entry, is supported.  Several options are provided which might be
of special interest for those outside legal studies--for instance, displaying
multiple full citations.  In addition, the format of last names and first
names of authors may be changed easily.  Cross references to other footnotes
are possible.  Language dependent handling of bibliography entries is possible
by the special language field.")
    (license license:gpl3+)))

(define-public texlive-juramisc
  (package
    (name "texlive-juramisc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/juramisc/" "tex/latex/juramisc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ka6gmlb0vlg0317ihjnlklvaajj4rrbi7c2iisngz69fgjm26iy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/juramisc")
    (synopsis "Typesetting German juridical documents")
    (description
     "This package provides a collection of classes for typesetting court
sentences, legal opinions, books and dissertations for German lawyers.
A @code{jurabook} class is also provided, which may not yet be complete.")
    (license license:lppl)))

(define-public texlive-jurarsp
  (package
    (name "texlive-jurarsp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/jurarsp/" "doc/latex/jurarsp/"
                                     "source/latex/jurarsp/" "tex/latex/jurarsp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03lwp5v6fmq2zhiwaf4qj52k44grzh119il4pdp2fvgl2q4a39sm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jurarsp")
    (synopsis
     "Citations of judgements and official documents in (German) juridical
documents")
    (description
     "This package should be helpful for people working on (German) law.
It (ab)uses BibTeX for citations of judgements and official documents.  For
this purpose, a special BibTeX-style is provided.")
    (license license:gpl3+)))

(define-public texlive-jwjournal
  (package
    (name "texlive-jwjournal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jwjournal/"
                                     "tex/latex/jwjournal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "037brrxgd0zdjcac41n8gpvqiwj4n77f2q93bpdgla20ldyk7m51"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-einfart))
    (home-page "https://ctan.org/pkg/jwjournal")
    (synopsis "Personal class for writing journals")
    (description
     "This LaTeX document class enables the user to turn simple pure text
entries into a colorful and nicely formatted journal.")
    (license license:lppl1.3c)))

(define-public texlive-karnaugh
  (package
    (name "texlive-karnaugh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/karnaugh/" "tex/latex/karnaugh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zpn2q5v9dv8196h9186b9wx2hbp0j9l1fg6k2pdqhwxgdcgssxh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/karnaugh")
    (synopsis "Typeset Karnaugh-Veitch-maps")
    (description
     "The package provides macros for typesetting Karnaugh-Maps and
Veitch-Charts in a simple and user-friendly way.  Karnaugh-Maps and
Veitch-Charts are used to display and simplify logic functions manually.
These macros can typeset Karnaugh-Maps and Veitch-Charts with up to ten
variables.")
    (license license:lppl1.0+)))

(define-public texlive-karnaugh-map
  (package
    (name "texlive-karnaugh-map")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/karnaugh-map/"
                                     "source/latex/karnaugh-map/"
                                     "tex/latex/karnaugh-map/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01gcffk9vys81b0ad1rxlqnq8i8yflfhby43fr46h7li6p08rx09"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/karnaugh-map")
    (synopsis "LaTeX package for drawing Karnaugh maps with up to 6 variables")
    (description
     "This package draws Karnaugh maps with 2, 3, 4, 5, and 6 variables.  It
also contains commands for filling the karnaugh map with terms
semi-automatically or manually.  Last but not least it contains commands for
drawing implicants on top of the map.")
    (license license:cc-by-sa3.0)))

(define-public texlive-karnaughmap
  (package
    (name "texlive-karnaughmap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/karnaughmap/"
                                     "source/latex/karnaughmap/"
                                     "tex/latex/karnaughmap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wwgdcpv5chr7frnlf2j56yiwk5m28bixbv83p2h4f3jl10v5hwi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/karnaughmap")
    (synopsis "Typeset Karnaugh maps")
    (description
     "This package provides an easy to use interface to typeset Karnaugh maps
using TikZ.  Though similar to the @code{karnaugh} macros, it provides
a key-value system to customize Karnaugh maps and a proper LaTeX package.")
    (license license:lppl1.2+)))

(define-public texlive-kaytannollista-latexia
  (package
    (name "texlive-kaytannollista-latexia")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kaytannollista-latexia/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w45gqrvbjfzqsx84flyf150zj8jw1wcd1zfhd361nzazqz7b0xw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kaytannollista-latexia")
    (synopsis "Practical manual for LaTeX (Finnish)")
    (description
     "@emph{Kaytannollista Latexia} is a practical manual for LaTeX written in
the Finnish language.  The manual covers most of the topics that a typical
document author needs.  So it can be a useful guide for beginners as well as
a reference manual for advanced users.")
    (license license:cc-by-sa4.0)))

(define-public texlive-kdgdocs
  (package
    (name "texlive-kdgdocs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kdgdocs/" "source/latex/kdgdocs/"
                                     "tex/latex/kdgdocs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yjd6y3h8m08zwhnd0bg3153xapxxqy2i23i30fcvv5mj5pnnql8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kdgdocs")
    (synopsis "Document classes for Karel de Grote University College")
    (description
     "The bundle provides two classes for usage by @acronym{KdG, Karel de
Grote} University College professors and master students: @code{kdgcoursetext}
for writing course texts, and @code{kdgmasterthesis} for writing master's
theses.")
    (license license:lppl1.3+)))

(define-public texlive-kdpcover
  (package
    (name "texlive-kdpcover")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kdpcover/"
                                     "source/latex/kdpcover/"
                                     "tex/latex/kdpcover/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "116pzg0bdrj78vs2sq196jcwnv16b734kqnhfcg3fka4mf6jk2d1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-anyfontsize
           texlive-geometry
           texlive-graphics
           texlive-microtype
           texlive-pgf
           texlive-setspace
           texlive-textpos
           texlive-tools
           texlive-xcolor
           texlive-xifthen
           texlive-xkeyval))
    (home-page "https://ctan.org/pkg/kdpcover")
    (synopsis "Covers for books published by Kindle Direct Publishing")
    (description
     "The problem this class solves is the necessity to change the size of the
cover PDF according to the number of pages in the book --- the bigger the
book, the larger the spine of the book must be.  The provided class makes the
necessary calculations on-the-fly, using the @code{qpdf} tool.")
    (license license:expat)))

(define-public texlive-kfupm-math-exam
  (package
    (name "texlive-kfupm-math-exam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kfupm-math-exam/"
                                     "source/latex/kfupm-math-exam/"
                                     "tex/latex/kfupm-math-exam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hgyasjhqpb1b9xnffzcwhsi8rr6wx929awn0sadx6rsabiamb16"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kfupm-math-exam")
    (synopsis
     "LaTeX document style to produce homework, quiz and exam papers")
    (description
     "The package provides commands and environments that simplify and
streamline the process of preparing homework, quiz and exam papers according
to a preferred style.  The default style is based on the guidelines set by the
department of mathematics at @acronym{KFUPM, King Fahd University of Petroleum
and Minerals}.  It can be easily customized to fit any style for any
institution.")
    (license license:expat)))

(define-public texlive-kixfont
  (package
    (name "texlive-kixfont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/kixfont/"
                                     "fonts/source/public/kixfont/"
                                     "fonts/tfm/public/kixfont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w6fjsws26plm9p74c3qcvvgx5hhlabfbhpc046rb31183f7h0q5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/kixfont")
    (synopsis "Font for KIX codes")
    (description
     "The KIX code is a barcode-like format used by the Dutch PTT to encode
country codes, zip codes and street numbers in a machine-readable format.  If
printed below the address line on bulk mailings, a discount can be obtained.
The font is distributed in Metafont format, and covers the numbers and
upper-case letters.")
    (license license:public-domain)))

(define-public texlive-kluwer
  (package
    (name "texlive-kluwer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/kluwer/" "doc/latex/kluwer/"
                                     "source/latex/kluwer/" "tex/latex/kluwer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14y95srzggd8kaiyjq0sz5amvmppl3rilhj9fr0vcjsy2g1ms52z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          ;; The "kluwer.ins" file only generates "kluwer.cls".  To that
          ;; effect, it needs data from files located in
          ;; "tex/latex/kluwer/".  Bring them to build directory.
          (add-before 'build 'bring-data-files
            (lambda _
              (for-each (lambda (f) (install-file f "build/"))
                        (find-files "tex/latex/kluwer/" "\\.(clo|sty)$")))))))
    (home-page "https://ctan.org/pkg/kluwer")
    (synopsis "@emph{Kluwer} publication support")
    (description
     "This package provides a class file for @emph{Kluwer} journal
submissions, and bibliography style for named references.  It also includes
@file{klucite.sty}, which collapses bibliographic citations, and
@file{klups.sty}, which attempts to select Times for text and MathTime for
math instead of Computer Modern.  This package is most likely long obsolete,
unfortunately.")
    (license license:knuth)))

(define-public texlive-kotex-oblivoir
  (package
    (name "texlive-kotex-oblivoir")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kotex-oblivoir/"
                                     "tex/latex/kotex-oblivoir/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rnwzbalirc1qdhwkn976w09r2q39vycn027m2cmk6wxcc2v67bs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-kotex-utf texlive-memoir))
    (home-page "https://ctan.org/pkg/kotex-oblivoir")
    (synopsis "LaTeX document class for typesetting Korean documents")
    (description
     "The class is based on @code{memoir}, and is adapted to typesetting
Korean documents.")
    (license license:lppl1.3c)))

(define-public texlive-kotex-plain
  (package
    (name "texlive-kotex-plain")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/kotex-plain/"
                                     "tex/plain/kotex-plain/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r79cvm7iy1266yvrn60vwq9wjkgmzgfihbz9dqc84lif5q8kmnw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kotex-plain")
    (synopsis "Macros for typesetting Korean under Plain TeX")
    (description
     "The package provides macros for typesetting Hangul, the native alphabet
of the Korean language, using Plain TeX.  Korean text should be encoded in
UTF-8.")
    (license license:lppl1.3c)))

(define-public texlive-kotex-utf
  (package
    (name "texlive-kotex-utf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kotex-utf/"
                                     "tex/latex/kotex-utf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l3hlav7fihws2ly49fn994sc7mjcdwk3zp4xhkgvm0mqjbxzxzz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-cjk-ko))
    (home-page "https://ctan.org/pkg/kotex-utf")
    (synopsis "Typeset Hangul, coded in UTF-8")
    (description
     "The package typesets Hangul, which is the native alphabet of the Korean
language; input Korean text should be encoded in UTF-8.")
    (license license:lppl1.3c)))

(define-public texlive-kotex-utils
  (package
    (name "texlive-kotex-utils")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kotex-utils/"
                                     "makeindex/kotex-utils/"
                                     "scripts/kotex-utils/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01qmr50fr3i2gzgjyj69jgj4czf62s22z58kja6hbqygczc1jba3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts
           #~(list "jamo-normalize.pl" "komkindex.pl" "ttf2kotexfont.pl")))
    (inputs (list perl))
    (propagated-inputs (list texlive-kotex-utf))
    (home-page "https://ctan.org/pkg/kotex-utils")
    (synopsis "Utility scripts and support files for typesetting Korean")
    (description
     "The bundle provides scripts and support files for index generation in
Korean language typesetting.")
    (license license:lppl)))

(define-public texlive-knuth-errata
  (package
    (name "texlive-knuth-errata")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/knuth-errata/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rcyw7dqcwlnf9q421k017hrx5c0d9rra6rcr3n6wqmhxmdy5mn9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/knuth-errata")
    (synopsis "Knuth's published errata")
    (description
     "These files record details of problems reported in Knuth's Computers and
Typesetting series of books, for the Computer Modern fonts, and for TeX,
Metafont and related programs.")
    (license license:knuth)))

(define-public texlive-knuth-hint
  (package
    (name "texlive-knuth-hint")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/knuth-hint/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fl3nyzsf9jifccw75grhdgyh5qhj4akkkyaa7mp6kpfznipqbmc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/knuth-hint")
    (synopsis "HINT collection of typeset C/WEB sources in TeX Live")
    (description
     "The @code{knuth-hint} package contains the large collection of HINT
documents for many of the CWEB amd WEB sources of programs in the TeX Live
distribution (and, for technical reasons, PDF documents for CTWILL and XeTeX).
Each program is presented in its original form as written by the respective
authors, and in the changed form as used in TeX Live.  Care has been taken to
keep the section numbering intact, so that you can study the codes and the
changes in parallel.

Also included are the errata for Donald Knuth's @emph{Computers &
Typesetting}.  HINT is the dynamic document format created by Martin Ruckert's
HiTeX engine.  The HINT files can be viewed with the @code{hintview}
application.  The @code{knuth-hint} package is a showcase of HiTeX's
capabilities.")
    (license (list license:public-domain license:knuth))))

(define-public texlive-knuth-pdf
  (package
    (name "texlive-knuth-pdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/knuth-pdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ig3ml88gqks5j9ly73qsx0kdii5m2i46f9d9bnh7nr9bjbpmd38"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/knuth-pdf")
    (synopsis "PDF collection of typeset C/WEB sources in TeX Live")
    (description
     "Here you find a large collection of PDF documents for many C/WEB
programs in TeX Live, both in their original form as written by their
respective authors, and in the changed form as they are actually used in the
TeX Live system.  Care has been taken to keep the section numbering intact, so
that you can study the sources and their changes in parallel.

Also included is the collection of errata for Donald Knuth's @emph{Computers &
Typesetting series}.  Although not all the texts here are written or
maintained by Donald Knuth, it is more convenient for everything to be
collected in one place for reading and searching.  They all stem from the
system that Knuth created.  The central entry point is the index file, with
links to the individual documents, either in HTML or in PDF format.")
    (license license:public-domain)))

(define-public texlive-ksfh-nat
  (package
    (name "texlive-ksfh-nat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/ksfh_nat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qzn0n19lslf2qg8fvm844xx5k7s8a275a77z2ynbb0vs1w4prpw"))))
    (properties '((upstream-name . "ksfh_nat")))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ksfh-nat")
    (synopsis "BibTeX style for KSFH Munich")
    (description
     "The package supports bibliographies as standard for
KSFH (@emph{Katholische Stiftungsfachhochschule}) Munich.  BibTeX entries in
@code{article}, @code{book}, @code{inbook}, @code{incollection} and
@code{misc} formats are supported.")
    (license license:lppl1.3+)))

(define-public texlive-ksp-thesis
  (package
    (name "texlive-ksp-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ksp-thesis/"
                                     "tex/latex/ksp-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03jklx2yym78b29y3s8fh91mfsn9p4w1cl7yisj3kyyawygzs6hp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ksp-thesis")
    (synopsis
     "LaTeX class for theses published with KIT Scientific Publishing")
    (description
     "This package provides a LaTeX class intended for authors who want to
publish their thesis or other scientific work with @acronym{KSP, KIT
Scientific Publishing}.  The class is based on the @code{scrbook} class of the
KOMA-script bundle in combination with the ClassicThesis and ArsClassica
packages.  It modifies some of the layout and style definitions of these
packages in order to provide a document layout that should be compatible with
the requirements by KSP.")
    (license license:lppl1.3+)))

(define-public texlive-ku-template
  (package
    (name "texlive-ku-template")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ku-template/"
                                     "tex/latex/ku-template/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1aa3rday97l1b7vca6sq1jwj81bqx6j7d0ijz0jr4vp3r27pxgs9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ku-template")
    (synopsis "Copenhagen University or faculty logo for front page")
    (description
     "This package provides a comprehensive package for adding University of
Copenhagen or faculty logo to your front page.  For use by student or staff at
University of Copenhagen (Kobenhavns Universitet).")
    (license license:expat)))

(define-public texlive-kvmap
  (package
    (name "texlive-kvmap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kvmap/" "source/latex/kvmap/"
                                     "tex/latex/kvmap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04sjs8r2ijd0rdx5d13p6pwnwnwd0rgzx894j3cqfi29y860c7yr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-amsmath texlive-l3experimental
                             texlive-pgf))
    (home-page "https://ctan.org/pkg/kvmap")
    (synopsis "Create Karnaugh maps with LaTeX")
    (description
     "This LaTeX package allows the creation of (even large) Karnaugh maps.
It provides a tabular-like input syntax and support for drawing bundles
(implicants) around adjacent values.")
    (license license:lppl1.3c)))

(define-public texlive-langsci
  (package
    (name "texlive-langsci")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/langsci/"
                                     "tex/xelatex/langsci/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jqv69wbr9mwg019h4x8b7s717299dy6pvmdpqs1mrdnrpzvl1v6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/langsci")
    (synopsis "Typeset books for publication with Language Science Press")
    (description
     "This package allows you to typeset monographs and edited volumes for
publication with @url{https://www.langsci-press.org, Language Science Press}.
It includes all necessary files for title pages, frontmatter, main content,
list of references and indexes.")
    (license license:lppl1.3+)))

(define-public texlive-langsci-avm
  (package
    (name "texlive-langsci-avm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/langsci-avm/"
                                     "source/latex/langsci-avm/"
                                     "tex/latex/langsci-avm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n53syf2slndgjbndjhd3cl8y6bl9j3xgb86z9r1mwvdcdls5674"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/langsci-avm")
    (synopsis "Feature structures and attribute-value matrices (AVM)")
    (description
     "This package provides a package for typesetting feature structures,
also known as attribute-value matrices (AVMs), for use in linguistics.  The
package provides a minimal and easy to read syntax.  The package serves the
same purpose as @code{avm} package, but shares no code base with that
package.")
    (license license:lppl1.3c)))

(define-public texlive-lato
  (package
    (name "texlive-lato")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/lato/"
                                     "fonts/enc/dvips/lato/"
                                     "fonts/map/dvips/lato/"
                                     "fonts/tfm/typoland/lato/"
                                     "fonts/truetype/typoland/lato/"
                                     "fonts/type1/typoland/lato/"
                                     "fonts/vf/typoland/lato/"
                                     "tex/latex/lato/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ykwm108zh79dv96axl74izzhzvmbx74pcl46i99ix2qpicyvcf7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lato")
    (synopsis "Lato font family and LaTeX support")
    (description
     "Lato is a sanserif typeface family designed by Lukasz Dziedzic.  This
font, which includes five weights (hairline, light, regular, bold and black),
is available as TrueType files.  The package provides support for this font in
LaTeX.")
    (license (list license:silofl1.1 license:lppl1.3c))))

(define-public texlive-l2picfaq
  (package
    (name "texlive-l2picfaq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l2picfaq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mk8d082gcqlxw2x7d2w85sm6i51928pijybzbsh9fy2rfcv99xz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/l2picfaq")
    (synopsis "LaTeX pictures how-to (German)")
    (description
     "The document (in German) is a collection of how-to notes about LaTeX and
pictures.  The aim of the document is to provide a solution, in the form of
some sample code, for every problem.")
    (license license:fdl1.3+)))

(define-public texlive-l2tabu
  (package
    (name "texlive-l2tabu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l2tabu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jl0n43bqbys0c9v0xb4sjql0gvk4r14ldzp2rbwzjsk8a39q8v8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/l2tabu")
    (synopsis "Obsolete packages and commands")
    (description
     "This package provides a German translation of the @emph{l2tabu}
practical guide to LaTeX2e by Mark Trettin.  It focuses on obsolete packages
and commands.")
    (license license:gpl3+)))

(define-public texlive-l2tabu-english
  (package
    (name "texlive-l2tabu-english")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l2tabu-english/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dqmdr3lffhiaq7pg5pn6ia46miwq4nh5vimhd0qbf936amiv1mm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/l2tabu-english")
    (synopsis "English translation of @emph{Obsolete packages and commands}")
    (description
     "This package provides an English translation of the @emph{l2tabu}
practical guide to LaTeX2e by Mark Trettin.  It focuses on obsolete packages
and commands.")
    (license license:fdl1.2+)))

(define-public texlive-l2tabu-french
  (package
    (name "texlive-l2tabu-french")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l2tabu-french/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c6fbmgwv2adlxbhl1shvpa1w6xd36gmrwvkjgdp9xc3q999l4dj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/l2tabu-french")
    (synopsis "English translation of @emph{Obsolete packages and commands}")
    (description
     "This package provides a French translation of the @emph{l2tabu}
practical guide to LaTeX2e by Mark Trettin.  It focuses on obsolete packages
and commands.")
    (license license:fdl1.2+)))

(define-public texlive-l2tabu-italian
  (package
    (name "texlive-l2tabu-italian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l2tabu-italian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bgfmn5v80rdhs9wmjj6mki29p28ip1d29rmgbw4jh4z6gd4sf22"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/l2tabu-italian")
    (synopsis "Italian translation of @emph{Obsolete packages and commands}")
    (description
     "This package provides an Italian translation of the @emph{l2tabu}
practical guide to LaTeX2e by Mark Trettin.  It focuses on obsolete packages
and commands.")
    (license license:fdl1.2+)))

(define-public texlive-l2tabu-spanish
  (package
    (name "texlive-l2tabu-spanish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l2tabu-spanish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p83xflgv8x7nq9mylh468zn3hz5pv3zxprc63q51fwx0ylxfdbk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/l2tabu-spanish")
    (synopsis "Spanish translation of @emph{Obsolete packages and commands}")
    (description
     "This package provides a Spanish translation of the @emph{l2tabu}
practical guide to LaTeX2e by Mark Trettin.  It focuses on obsolete packages
and commands.")
    (license license:public-domain)))

(define-public texlive-labyrinth
  (package
    (name "texlive-labyrinth")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/labyrinth/"
                                     "tex/latex/labyrinth/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i4w3dmfjq9vp6m82p4afplca0pdvk36g2h1yskmwbis07bykdgp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/labyrinth")
    (synopsis "Draw labyrinths and solution paths")
    (description
     "The @code{labyrinth} package provides code and an environment for
typesetting simple labyrinths with LaTeX, and generating an automatic or
manual solution path.")
    (license license:lppl)))

(define-public texlive-lambda
  (package
    (name "texlive-lambda")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/lambda/base/" "tex/lambda/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ajx5g5cd5s9jqr4b196689k7zmlxmhhksly88qps31s7lzaprvn"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lambda")
    (synopsis "LaTeX for Omega and Aleph")
    (description "This is LaTeX for Omega and Aleph.")
    (license license:lppl1.0+)))

(define-public texlive-langnames
  (package
    (name "texlive-langnames")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/langnames/"
                                     "source/latex/langnames/"
                                     "tex/latex/langnames/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cyhqvr2j2h6sbblg4dpqwnl5kxlr82s0fs5ppm7vpnmqbhzcsm7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/langnames")
    (synopsis "Name languages and their genetic affiliations consistently")
    (description
     "This package attempts to make the typing of language names, codes, and
families slightly easier by providing macros to access pre-defined
language --- code --- family combinations from two important databases, as
well as the possibility to create new combinations.  It may be particularly
useful for large, collaborative projects as well as typologically minded ones
with a variety of language examples.")
    (license license:lppl1.3+)))

(define-public texlive-latex-notes-zh-cn
  (package
    (name "texlive-latex-notes-zh-cn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/latex-notes-zh-cn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w9rmd7b5fnfvix653n9vbnn1k8yxlaaak79ipvm8p53dx75xfxd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-notes-zh-cn")
    (synopsis "Chinese Introduction to TeX and LaTeX")
    (description
     "The document is an introduction to TeX and LaTeX, in Chinese.  It covers
basic text typesetting, mathematics, graphics, tables, Chinese language &
fonts, and some miscellaneous features (hyperlinks, long documents,
bibliographies, indexes and page layout).")
    (license license:lppl1.3+)))

(define-public texlive-latex2e-help-texinfo-fr
  (package
    (name "texlive-latex2e-help-texinfo-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/info/latex2e-fr.info"
                                     "doc/latex/latex2e-help-texinfo-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13s0zjwk3m95kbx4qrz2xwp8kifzc2zmasp1ks9l2acf1nqfac9p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex2e-help-texinfo-fr")
    (synopsis "French translation of @code{latex2e-help-texinfo}")
    (description
     "This package provides a complete French translation of
@code{latex2e-help-texinfo}.")
    (license license:public-domain)))

(define-public texlive-latex2e-help-texinfo-spanish
  (package
    (name "texlive-latex2e-help-texinfo-spanish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/info/latex2e-es.info"
                                     "doc/latex/latex2e-help-texinfo-spanish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v3wa99phdmsiajbq0ad4h939cpwjwzpq88h6s0796h5fr34hrvq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex2e-help-texinfo")
    (synopsis "Spanish translation of @code{latex2e-help-texinfo}")
    (description
     "This package provides a complete Spanish translation of
@code{latex2e-help-texinfo}.")
    (license license:public-domain)))

(define-public texlive-latex4musicians
  (package
    (name "texlive-latex4musicians")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex4musicians/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zvy2pa93kyn056d5n0irzdq5xmzki6d35zxacxfy19r0g9rwq6f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex4musicians")
    (synopsis "Guide for combining LaTeX and music")
    (description
     "This guide, @emph{LaTeX for Musicians}, explains how to create LaTeX
documents that include several kinds of music elements: music symbols, song
lyrics, guitar chords diagrams, lead sheets, music excerpts, guitar
tablatures, multi-page scores.")
    (license license:fdl1.3+)))

(define-public texlive-latexcheat-de
  (package
    (name "texlive-latexcheat-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexcheat-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cpqcvqkkyb2bf87yjvc2migxawnacx5mva8dapma7hmwx0z7rhm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexcheat-de")
    (synopsis "LaTeX cheat sheet, in German")
    (description
     "This is a translation to German of Winston Chang's LaTeX cheat sheet (a
reference sheet for writing scientific papers).  It has been adapted to German
standards using the KOMA script document classes.")
    (license license:lppl)))

(define-public texlive-latexcheat-esmx
  (package
    (name "texlive-latexcheat-esmx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexcheat-esmx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d6nk9p9adlhgr28mnnizrxzzqlk20zw2clcddqlaa8pn73dqhcm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexcheat-esmx")
    (synopsis "LaTeX cheat sheet, in Spanish")
    (description
     "This is a translation to Spanish (Castellano) of Winston Chang's LaTeX
cheat sheet (a reference sheet for writing scientific papers).")
    (license license:lppl)))

(define-public texlive-latino-sine-flexione
  (package
    (name "texlive-latino-sine-flexione")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latino-sine-flexione/"
                                     "tex/latex/latino-sine-flexione/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0py61xhgg73jlz6f9p7g9r06pn7m648d29068i4d97gqc20i2jvc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latino-sine-flexione")
    (synopsis "LaTeX support for documents written in Peano's Interlingua")
    (description
     "Latino sine Flexione (or Interlingua) is a language constructed by
Giuseppe Peano at the beginning of the last century.  This simplified Latin is
designed to be an instrument for international cooperation, especially in the
academic sphere.  This package provides the necessary translations to use the
language within a LaTeX document.  It also imports @code{fontenc} in order to
be able to use ligatures and quotation marks.  Finally, it offers a text in
Interlingua that can be used as a dummy text: @emph{Fundamento de
intelligentia}.")
    (license license:public-domain)))

(define-public texlive-leadsheets
  (package
    (name "texlive-leadsheets")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/leadsheets/"
                                     "tex/latex/leadsheets/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12aly170pf10dw82i6rykiaxl9r5mmva7kvkhlywir4s6gx07gjc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/leadsheets")
    (synopsis "Typesetting leadsheets and songbooks")
    (description
     "This LaTeX package offers support for typesetting simple leadsheets of
songs, i.e., song lyrics and the corresponding chords.")
    (license license:lppl1.3+)))

(define-public texlive-ledmac
  (package
    (name "texlive-ledmac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ledmac/" "source/latex/ledmac/"
                                     "tex/latex/ledmac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03b23rkhdhvr0rbmp687p76mlq68crsfyh67frxbnh11vccmfgnc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ledmac")
    (synopsis "Typeset scholarly editions")
    (description
     "This package provides a macro package for typesetting scholarly critical
editions.  The @code{ledmac} package is a LaTeX port of the Plain TeX EDMAC
macros.  It supports indexing by page and line number and simple
@code{tabular}- and @code{array}-style environments.  The package is
distributed with the related @code{ledpar} and @code{ledarab} packages.  The
package is now superseded by @code{reledmac}.")
    (license license:lppl1.3+)))

(define-public texlive-letgut
  (package
    (name "texlive-letgut")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/letgut/"
                                     "source/lualatex/letgut/"
                                     "tex/lualatex/letgut/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cylvg39cav72pg3h48awmj7fka5kyj805hv9ayzk9ybxyvkwayz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/letgut")
    (synopsis
     "Class for the newsletter @code{La Lettre GUTenberg} of the French TeX User
Group GUTenberg")
    (description
     "The French TeX User Group GUTenberg has been publishing @emph{The
GUTenberg Letter}, its irregular newsletter, since February 1993.  For this
purpose, a dedicated, in-house (La)TeX class was gradually created but,
depending on new needs and on the people who were publishing the Newsletter,
its development was somewhat erratic; in particular, it would not have been
possible to publish its code as it was.  In addition, its documentation was
non-existent.  The Board of Directors of the association, elected in November
2020, wished to provide a better structured, more perennial and documented
class, able to be published on the CTAN.  This is now done with the present
@code{letgut} class.")
    (license license:lppl1.3c)))

(define-public texlive-letterswitharrows
  (package
    (name "texlive-letterswitharrows")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/letterswitharrows/"
                                     "source/latex/letterswitharrows/"
                                     "tex/latex/letterswitharrows/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qws4in1qgj52z2d38lfyx3l3dxp01agfbipy5xdi1p4jyhw6b7c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/letterswitharrows")
    (synopsis "Draw arrows over math letters")
    (description
     "This package provides LaTeX math-mode commands for setting left and
right arrows over mathematical symbols so that the arrows dynamically scale
with the symbols.  While it is possible to set arrows over longer strings of
symbols, the focus lies on single characters.")
    (license license:lppl1.3+)))

(define-public texlive-lexend
  (package
    (name "texlive-lexend")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/lexend/"
                                     "fonts/truetype/public/lexend/"
                                     "tex/latex/lexend/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jk9m3zb3xik463nwsjh003ly3xrrph7kam519b9lyqybyxb16xs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lexend")
    (synopsis "Lexend fonts for XeLaTeX and LuaLaTeX")
    (description
     "The purpose of this package is pretty straightforward: the Lexend font
collection has been designed by Dr.@: Bonnie Shaver-Troup and Thomas Jockin to
make reading easier for everyone.")
    (license (list license:lppl1.3c license:silofl1.1))))

(define-public texlive-lexikon
  (package
    (name "texlive-lexikon")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lexikon/" "tex/latex/lexikon/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x2h8w3cchzr2lvx5xqs1fn01y7b4lqkky85dard223w2r1dn22m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lexikon")
    (synopsis "Macros for a two language dictionary")
    (description "This package provides macros for a two language
dictionary.")
    (license license:lppl)))

(define-public texlive-lexref
  (package
    (name "texlive-lexref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lexref/" "tex/latex/lexref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0562vjn0vvjsqfi2jqy1yp6mqi8nrs25yc9nr1zc950q421w0vrb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lexref")
    (synopsis "Convenient and uniform references to legal provisions")
    (description
     "The package is aimed at continental lawyers (especially those in
Switzerland and Germany), allowing the user to make references to legal
provisions conveniently and uniformly.  The package also allows the user to
add cited Acts to a nomenclature list (automatically), and to build specific
indexes for each cited Act.")
    (license license:lppl1.3+)))

(define-public texlive-lfb
  (package
    (name "texlive-lfb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/lfb/" "fonts/source/public/lfb/"
                                     "fonts/tfm/public/lfb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n0cf7igvhqnmdk8hjj1lahzr3iaiaqsq01pxkphg6myab127x71"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/lfb")
    (synopsis "Greek font with normal and bold variants")
    (description
     "This is a Greek font written in Metafont, with inspiration from the
Bodoni typefaces in old books.  It is stylistically a little more exotic than
the standard textbook Greek fonts, particularly in glyphs like the lowercase
rho and kappa.  It aims for a rather calligraphic feel, but seems to blend
well with Computer Modern.  There is a ligature scheme which automatically
inserts the breathings required for ancient texts, making the input text more
readable than in some schemes.")
    (license license:lppl)))

(define-public texlive-libertinegc
  (package
    (name "texlive-libertinegc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/libertinegc/"
                                     "fonts/enc/dvips/libertinegc/"
                                     "fonts/map/dvips/libertinegc/"
                                     "fonts/tfm/public/libertinegc/"
                                     "tex/latex/libertinegc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17712j1gb38l4c5b2br7db8ix36kc8kwfpa7d6ass32wz5jck656"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/libertinegc")
    (synopsis "Libertine add-on to support Greek and Cyrillic")
    (description
     "The package provides LaTeX support files to access the Greek and
Cyrillic glyphs in Linux Libertine.  It functions as an add-on to the
@code{libertine} package, using filenames and macro names that are compatible
with that package.")
    (license license:lppl1.3+)))

(define-public texlive-libertinus
  (package
    (name "texlive-libertinus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/libertinus/"
                                     "tex/latex/libertinus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13m20jkrf0sp39f0ihc0fw7spzc3gys5xdc720r5gzdnbdqdvih4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/libertinus")
    (synopsis
     "Use the correct @code{libertinus} package according to current TeX
engine")
    (description
     "This package is only a wrapper for the two packages @code{libertinus-type1}
(pdfLaTeX) and @code{libertinus-otf} (LuaLaTeX and XeLaTeX).  The Libertinus
fonts are similiar to Libertine and Biolinum, but come with math symbols.")
    (license license:lppl1.3+)))

(define-public texlive-libertinus-fonts
  (package
    (name "texlive-libertinus-fonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/libertinus-fonts/"
                                     "fonts/opentype/public/libertinus-fonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g4y3v7i8bs1677rj56v3kw5q3nkl9ksljmly4m7n42dlpggxiaj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/libertinus-fonts")
    (synopsis "Libertinus font family")
    (description
     "This is a fork of the Linux Libertine and Linux Biolinum fonts that
started as an OpenType math companion of the Libertine font family, but grown
as a full fork.  The family consists of Libertinus Serif, Libertinus Sans,
Libertinus Mono, and Libertinus Math, an OpenType math font for use in
OpenType math-capable applications.")
    (license license:silofl1.1)))

(define-public texlive-libertinus-otf
  (package
    (name "texlive-libertinus-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/libertinus-otf/"
                                     "tex/latex/libertinus-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j6p4q251jk3im3ghw9klp7m5psyz0vmkz2ivynml389sd466zgj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/libertinus-otf")
    (synopsis "Support for Libertinus OpenType")
    (description
     "This package offers LuaLaTeX and XeLaTeX support for the Libertinus
OpenType fonts.  Missing fonts are defined via several font feature settings.
The Libertinus fonts are similiar to Libertine and Biolinum, but come with
math symbols.")
    (license license:lppl1.3+)))

(define-public texlive-libertinus-type1
  (package
    (name "texlive-libertinus-type1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/libertinus-type1/"
                                     "fonts/enc/dvips/libertinus-type1/"
                                     "fonts/map/dvips/libertinus-type1/"
                                     "fonts/tfm/public/libertinus-type1/"
                                     "fonts/type1/public/libertinus-type1/"
                                     "fonts/vf/public/libertinus-type1/"
                                     "tex/latex/libertinus-type1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04maqnzdwk3c0pkjhslyrxdprr581vc078bqzqapr03jxx9x1rlx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/libertinus-type1")
    (synopsis "Support for using Libertinus fonts with LaTeX")
    (description
     "This package provides support for use of Libertinus fonts with
traditional processing engines (LaTeX with Dvips or Dvipdfmx, or pdfLaTeX).")
    (license (list license:gpl2 license:silofl1.1 license:lppl))))

(define-public texlive-libertinust1math
  (package
    (name "texlive-libertinust1math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/libertinust1math/"
                                     "fonts/afm/public/libertinust1math/"
                                     "fonts/enc/dvips/libertinust1math/"
                                     "fonts/map/dvips/libertinust1math/"
                                     "fonts/tfm/public/libertinust1math/"
                                     "fonts/type1/public/libertinust1math/"
                                     "fonts/vf/public/libertinust1math/"
                                     "tex/latex/libertinust1math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v9hj90lqv4rx9ivqj53n3f4cnnmjmk7bw396w4xryrpwvk2hssx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/libertinust1math")
    (synopsis "Type 1 font and LaTeX support for Libertinus Math")
    (description
     "The package provides a Type 1 version of Libertinus Math, with a number
of additions and changes, plus LaTeX support files that allow it to serve as
a math accompaniment to Libertine under LaTeX.  In addition, with option
@code{sansmath}, it can function as a standalone math font with sans serif
Roman and Greek letters.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-librebaskerville
  (package
    (name "texlive-librebaskerville")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/librebaskerville/"
                                     "fonts/enc/dvips/librebaskerville/"
                                     "fonts/map/dvips/librebaskerville/"
                                     "fonts/tfm/impallari/librebaskerville/"
                                     "fonts/truetype/impallari/librebaskerville/"
                                     "fonts/type1/impallari/librebaskerville/"
                                     "fonts/vf/impallari/librebaskerville/"
                                     "tex/latex/librebaskerville/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rjac2w8q0m4a6qcdjphv3rgws19vbg65wv6gk1frl0d14bijqdy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/librebaskerville")
    (synopsis "Libre Baskerville family of fonts with LaTeX support")
    (description
     "This package provides the Libre Baskerville family of fonts, designed by
Pablo Impallari, for use with LaTeX, pdfLaTeX, XeLaTeX or LuaLaTeX.  It is
primarily intended to be a web font but is also attractive as a text font.
A BoldItalic variant has been artificially generated.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-librebodoni
  (package
    (name "texlive-librebodoni")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/librebodoni/"
                                     "fonts/enc/dvips/librebodoni/"
                                     "fonts/map/dvips/librebodoni/"
                                     "fonts/opentype/impallari/librebodoni/"
                                     "fonts/tfm/impallari/librebodoni/"
                                     "fonts/type1/impallari/librebodoni/"
                                     "fonts/vf/impallari/librebodoni/"
                                     "tex/latex/librebodoni/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1skyjmb0drrs6z8bhmdyx7q9wqz9vbyi6nkif5rj95kqxxwznkyz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/librebodoni")
    (synopsis "Libre Bodoni fonts with LaTeX support")
    (description
     "The Libre Bodoni fonts are designed by Pablo Impallari and Rodrigo
Fuenzalida, based on the 19th century Morris Fuller Benton's.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-librecaslon
  (package
    (name "texlive-librecaslon")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/librecaslon/"
                                     "fonts/enc/dvips/librecaslon/"
                                     "fonts/map/dvips/librecaslon/"
                                     "fonts/opentype/impallari/librecaslon/"
                                     "fonts/tfm/impallari/librecaslon/"
                                     "fonts/type1/impallari/librecaslon/"
                                     "fonts/vf/impallari/librecaslon/"
                                     "tex/latex/librecaslon/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16lmaa0rsrgrib00r8rsj9librkybq2zf1as11l3hiw5zcq3wj0w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/librecaslon")
    (synopsis "Libre Caslon fonts, with LaTeX support")
    (description
     "The Libre Caslon fonts are designed by Pablo Impallari.  Although they
have been designed for use as web fonts, they work well as conventional text
fonts.  An artificially generated BoldItalic variant has been added.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-librefranklin
  (package
    (name "texlive-librefranklin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/librefranklin/"
                                     "fonts/enc/dvips/librefranklin/"
                                     "fonts/map/dvips/librefranklin/"
                                     "fonts/opentype/impallari/librefranklin/"
                                     "fonts/tfm/impallari/librefranklin/"
                                     "fonts/type1/impallari/librefranklin/"
                                     "fonts/vf/impallari/librefranklin/"
                                     "tex/latex/librefranklin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vkc2sj7689zn2rxc03q2spvs10865jrnv37s9dgw35hifb69m5s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/librefranklin")
    (synopsis "LaTeX support for the Libre-Franklin family of fonts")
    (description
     "Libre Franklin is an interpretation and expansion based on the 1912
Morris Fuller Benton's classic, designed by Pablo Impallari, Rodrigo
Fuenzalida and Nhung Nguyen.")
    (license (list license:lppl license:silofl1.1))))

(define-public texlive-libris
  (package
    (name "texlive-libris")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/libris/"
                                     "fonts/afm/arkandis/libris/"
                                     "fonts/enc/dvips/libris/"
                                     "fonts/map/dvips/libris/"
                                     "fonts/tfm/arkandis/libris/"
                                     "fonts/type1/arkandis/libris/"
                                     "fonts/vf/arkandis/libris/"
                                     "source/fonts/libris/"
                                     "tex/latex/libris/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ky2b4knhfd51yz6ycsly6q5rz2fk4h3rhnxmcx3qnhnai6cf9fc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/libris")
    (synopsis "Libris ADF fonts, with LaTeX support")
    (description
     "LibrisADF is a sans-serif family designed to mimic Lydian.  The bundle
includes: fonts, in Adobe Type 1, TrueType and OpenType formats, and LaTeX
support macros, for use with the Type 1 versions of the fonts.")
    (license license:gpl3+)))

(define-public texlive-lie-hasse
  (package
    (name "texlive-lie-hasse")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lie-hasse/"
                                     "tex/latex/lie-hasse/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p4ln326spkzcp42p0bjk8cma4cj4ks8xs6ps5mq1b9q1r3vknaa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lie-hasse")
    (synopsis "Draw Hasse diagrams")
    (description
     "This package draws Hasse diagrams of the partially ordered sets of the
simple roots of any complex simple Lie algebra.  It uses the Dynkin diagrams
package @code{dynkin-diagrams}.")
    (license license:lppl1.3c)))

(define-public texlive-lilyglyphs
  (package
    (name "texlive-lilyglyphs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lilyglyphs/"
                                     "fonts/opentype/public/lilyglyphs/"
                                     "scripts/lilyglyphs/"
                                     "source/latex/lilyglyphs/fonts/"
                                     "source/latex/lilyglyphs/glyphimages/definitions/"
                                     "source/latex/lilyglyphs/glyphimages/generated_src/"
                                     "tex/latex/lilyglyphs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g5v2bq7ml9pnh2xlkzf6k9zh3azw7i96iapp8yajyxk8akj0ki2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts
           #~(list "lily-glyph-commands.py"
                   "lily-image-commands.py"
                   "lily-rebuild-pdfs.py")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/lilyglyphs")
    (synopsis "Access Lilypond fragments and glyphs, in LaTeX")
    (description
     "The package provides the means to include arbitrary elements of LilyPond
notation, including symbols from Lilypond's Emmentaler font, in a LaTeX
document.  The package uses OpenType fonts, and as a result must be compiled
with LuaLaTeX or XeLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-limecv
  (package
    (name "texlive-limecv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/limecv/" "source/latex/limecv/"
                                     "tex/latex/limecv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bqqkbxzayb8wwlkj1vkf01lx78i7pq2kb9clrir0paxjm8xa6ja"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/limecv")
    (synopsis "(Xe/Lua)LaTeX document class for curriculum vitae")
    (description
     "@code{limecv} is a LaTeX document class to write curriculum vitae.  It
is designed with the following design rules: simple, elegant and clean.  To
this end, it offers several environments and macros for convenience.")
    (license license:lppl1.3c)))

(define-public texlive-lineara
  (package
    (name "texlive-lineara")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/lineara/"
                                     "fonts/afm/public/lineara/"
                                     "fonts/map/dvips/lineara/"
                                     "fonts/tfm/public/lineara/"
                                     "fonts/type1/public/lineara/"
                                     "source/fonts/lineara/"
                                     "tex/latex/lineara/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k3frdshsc2cj1y61bcpz9fcs1rw1rkzh8fk3fzbaqyqmyka3yl7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lineara")
    (synopsis "Linear A script fonts")
    (description
     "The @code{lineara} package provides a simple interface to two fonts
which include all known symbols, simple and complex, of the Linear A script.
This way one can easily replicate Linear A texts using modern typographic
technology.")
    (license license:lppl)))

(define-public texlive-ling-macros
  (package
    (name "texlive-ling-macros")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ling-macros/"
                                     "tex/latex/ling-macros/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q5l9h5xkd9gkpx2g5inzkcsssqvdicv05r8xvlmmx41mf1ikc88"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ling-macros")
    (synopsis "Macros for typesetting formal linguistics")
    (description
     "This package contains macros for typesetting glosses and formal
expressions.  It covers a range of subfields in formal linguistics.")
    (license license:lppl1.3+)))

(define-public texlive-linguex
  (package
    (name "texlive-linguex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/linguex/" "tex/latex/linguex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w2rxvjljrl4b7s1dr7k2vk5nifq0zgmjlx68ajpsihjnzal7k8g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/linguex")
    (synopsis "Format linguists' examples")
    (description
     "This bundle comprises two packages: the @code{linguex} package
facilitates the formatting of linguist examples, automatically taking care of
example numbering, indentations, indexed brackets, and the @samp{*} in
grammaticality judgments.  The @code{ps-trees} package provides linguistic
trees.")
    (license license:lppl)))

(define-public texlive-linguisticspro
  (package
    (name "texlive-linguisticspro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/linguisticspro/"
                                     "fonts/enc/dvips/linguisticspro/"
                                     "fonts/map/dvips/linguisticspro/"
                                     "fonts/opentype/public/linguisticspro/"
                                     "fonts/tfm/public/linguisticspro/"
                                     "fonts/type1/public/linguisticspro/"
                                     "fonts/vf/public/linguisticspro/"
                                     "tex/latex/linguisticspro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yyclkwsa4ibsdc60mw22f2skq2wify9ic4lzvkjsaigvq28zj3y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/linguisticspro")
    (synopsis "LinguisticsPro fonts with LaTeX support")
    (description
     "The package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the LinguisticsPro family of fonts.  This family is derived from the Utopia
Nova font family, by Andreas Nolda.")
    (license (list license:lppl license:silofl1.1))))

(define-public texlive-lion-msc
  (package
    (name "texlive-lion-msc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/lion-msc/" "doc/latex/lion-msc/"
                                     "tex/latex/lion-msc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yj3xwbd4lb5vjkfqhwhy82pc9p59vffah6zmiqbgjaj10q1ihb5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lion-msc")
    (synopsis
     "LaTeX class for B.Sc.@: and M.Sc.@: reports at Leiden Institute of
Physics (LION)")
    (description
     "This is a LaTeX class for B.Sc.@: and M.Sc.@: reports at Leiden
Institute of Physics (LION).  The purpose of this class is twofold.  It
creates a uniform layout of the student theses from our department.  More
importantly, it contains several fields on the front-page that the user needs
to fill that are used in the university administration (name, student number
and name of supervisor).  Students are free to change the layout of the text
but should leave the title page as it is.")
    (license license:lppl1.3+)))

(define-public texlive-listbib
  (package
    (name "texlive-listbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/listbib/" "doc/latex/listbib/"
                                     "scripts/listbib/" "source/latex/listbib/"
                                     "tex/latex/listbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k4xwmv6lh1vaggimzmiqib8aai9dm0j586m0hds04485pvhv5ky"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "listbib")))
    (home-page "https://ctan.org/pkg/listbib")
    (synopsis "Lists contents of BibTeX files")
    (description
     "This package generates listings of bibliographic data bases in BibTeX
format.  Included is a @file{listbib.bst}, which is better suited for this
purpose than the standard styles.")
    (license license:gpl3+)))

(define-public texlive-lithuanian
  (package
    (name "texlive-lithuanian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lithuanian/"
                                     "fonts/enc/dvips/lithuanian/"
                                     "fonts/map/dvips/lithuanian/"
                                     "fonts/tfm/public/lithuanian/"
                                     "tex/latex/lithuanian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iq06vlryl4fj2mzkmmphw9ihm0y7wmi5k8wxniaciw5mm5vrw7x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lithuanian")
    (synopsis "Lithuanian language support")
    (description
     "This language support package provides:

@itemize
@item extra 8-bit encoding L7x used by @code{fontenc}: @file{l7xenc.def},
@file{l7xenc.dfu}, @file{l7xenc.sty};
@item Lithuanian TeX support for URW family Type1 fonts: map, fd, tfm with L7x
encoding;
@item extra code page definitions used by @code{inputenc}: @file{cp775.def}
and @file{latin7.def}.
@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-liturg
  (package
    (name "texlive-liturg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/liturg/" "source/latex/liturg/"
                                     "tex/latex/liturg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nmcz7zg27aasczdv3p6ilsmy66cbfjg9yri45d0pml7m7c56din"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    ;; The "liturg.ins" provided by the package does not generate anything.
    ;; As a consequence, there's nothing to build.
    (arguments (list #:build-targets #~'()))
    (home-page "https://ctan.org/pkg/liturg")
    (synopsis "Support for typesetting Catholic liturgical texts")
    (description
     "The packages offers simple macros for typesetting Catholic liturgical
texts, particularly @code{Missal} and @code{Breviary} texts.  The package
assumes availability of Latin typesetting packages.")
    (license license:lppl)))

(define-public texlive-llncs
  (package
    (name "texlive-llncs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/llncs/" "doc/latex/llncs/"
                                     "tex/latex/llncs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ix21bqh7wjlcwpljy3wvbir76n270n8phxrls3pwq3dhd2aqz51"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/llncs")
    (synopsis
     "Document class and bibliography style for @acronym{LNCS, Lecture Notes
in Computer Science}")
    (description
     "This is Springer's official macro package for typesetting contributions
to be published in Springer's @acronym{LNCS, Lecture Notes in Computer
Science} and its related proceedings series CCIS, LNBIP, LNICST, and IFIP
AICT.")
    (license license:cc-by4.0)))

(define-public texlive-llncsconf
  (package
    (name "texlive-llncsconf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/llncsconf/"
                                     "tex/latex/llncsconf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18z94lh90pzvbzfgxj27n2l12mfbcjd20vga16h8d2bln56lrfpm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/llncsconf")
    (synopsis "LaTeX package extending Springer's @code{llncs} class")
    (description
     "The package extends Springer's @code{llncs} class for adding additional
notes describing the status of the paper (submitted, accepted) as well as for
creating author-archived versions that include the references to the official
version hosted by Springer (as requested by the copyright transfer agreement
for Springer's LNCS series).")
    (license license:lppl1.3c)))

(define-public texlive-lni
  (package
    (name "texlive-lni")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/lni/" "doc/latex/lni/"
                                     "source/latex/lni/" "tex/latex/lni/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q4z7rkijx4gafsvz8rj3j1bvsd84cx323rz1hr44d3g8ra7hkj9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lni")
    (synopsis "Official class for the @emph{Lecture Notes in Informatics}")
    (description
     "This is the official version of the class @code{lni} for submissions to
the @emph{Lecture Notes in Informatics} published by the Gesellschaft fur
Informatik.")
    (license license:lppl1.3c)))

(define-public texlive-lobster2
  (package
    (name "texlive-lobster2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/lobster2/"
                                     "fonts/enc/dvips/lobster2/"
                                     "fonts/map/dvips/lobster2/"
                                     "fonts/opentype/impallari/lobster2/"
                                     "fonts/tfm/impallari/lobster2/"
                                     "fonts/type1/impallari/lobster2/"
                                     "fonts/vf/impallari/lobster2/"
                                     "tex/latex/lobster2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jq6287n0c0qzcx6jch0d9k7axg119z2p2mw6i3s40jdyg67m3a4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lobster2")
    (synopsis "Lobster Two fonts, with support for all LaTeX engines")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Lobster Two family of fonts, designed by Pablo Impallari.  This is
a family of script fonts with many ligatures and terminal forms; for the best
results, use XeLaTeX or LuaLaTeX.  There are two weights and italic variants
for both.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-logicproof
  (package
    (name "texlive-logicproof")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/logicproof/"
                                     "source/latex/logicproof/"
                                     "tex/latex/logicproof/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02iif9rvp8njp7zc4ab4jgksf0hrbg6z5cp7066y245bjwi99fi3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/logicproof")
    (synopsis "Box proofs for propositional and predicate logic")
    (description
     "This package provides a common style of proof used in propositional and
predicate logic is Fitch proofs, in which each line of the proof has
a statement and a justification, and subproofs within a larger proof have
boxes around them.  The package provides environments for typesetting such
proofs and boxes.  It creates proofs in a style similar to that used in
@emph{Logic in Computer Science} by Huth and Ryan.")
    (license license:lppl1.3+)))

(define-public texlive-logicpuzzle
  (package
    (name "texlive-logicpuzzle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/logicpuzzle/"
                                     "scripts/logicpuzzle/"
                                     "tex/latex/logicpuzzle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m2yrizdj76gywxkcfz90by2qwx8pq8akacj5qmsin095hnyskfh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/logicpuzzle")
    (synopsis "Typeset (grid-based) logic puzzles")
    (description
     "The package allows the user to typeset various logic puzzles.  At the
moment the following puzzles are supported:

@itemize

@item 2D-Sudoku (aka Magiequadrat, Diagon, ...),

@item Battleship (aka Bimaru, Marinespiel, Batalla Naval, ...),

@item Bokkusu (aka Kakurasu, Feldersummenratsel, ...),

@item Bridges (akak Bruckenbau, Hashi, ...),

@item Chaos Sudoku,

@item Four Winds (aka Eminent Domain, Lichtstrahl, ...),

@item Hakyuu (aka Seismic, Ripple Effect, ...),

@item Hitori,

@item Kakuro,

@item Kendoku (aka Mathdoku, Calcudoku, Basic, MiniPlu, Ken Ken, Square
Wisdom, Sukendo, Caldoku, ...),

@item Killer Sudoku (aka Samunapure, Sum Number Place, Sumdoku, Gebietssummen,
...),

@item Laser Beam (aka Laserstrahl, ...),

@item Magic Labyrinth (aka Magic Spiral, Magisches Labyrinth, ...),

@item Magnets (aka Magnetplatte, Magnetfeld, ...),

@item Masyu (aka Mashi, White or Black Pearls, ...),

@item Minesweeper (aka Minensuche, ...),

@item Nonogram (aka Griddlers, Hanjie, Tsunami, Logic Art, Logimage, ...),

@item Number Link (aka Alphabet Link, Arukone, Buchstabenbund, ...),

@item Resuko,

@item Schatzsuche,

@item Skyline (aka Skycrapers, Wolkenkratzer, Hochhauser, ...), including
Skyline Sudoku and Skyline Sudou (N*N) variants,

@item Slitherlink (aka Fences, Number Line, Dotty Dilemma, Sli-Lin, Takegaki,
Great Wall of China, Loop the Loop, Rundweg, Gartenzaun, ...),

@item Star Battle (aka Sternenschlacht, ...),

@item Stars and Arrows (aka Sternenhimmel, ...),

@item Sudoku,

@item Sun and Moon (aka Sternenhaufen, Munraito, ...),

@item Tents and Trees (aka Zeltlager, Zeltplatz, Camping, ...),

@item and Tunnel.

@end itemize")
    (license license:lppl1.3+)))

(define-public texlive-logix
  (package
    (name "texlive-logix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/logix/"
                                     "fonts/opentype/public/logix/"
                                     "fonts/truetype/public/logix/"
                                     "tex/latex/logix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19ak3zfqnx04rb5wcmzc5z3g8sp2wphi83lx9i58y41y3lp2z4kq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/logix")
    (synopsis "Supplement to the Unicode math symbols")
    (description
     "The package provides a Unicode font with over 4,000 symbols to
supplement the Unicode math symbols.  It is compatible with and
complements the AMS STIX2 math fonts, but focuses on new symbols and
symbol variants more suited to work in logic.")
    (license (list license:silofl1.1 license:lppl1.3c))))

(define-public texlive-lollipop
  (package
    (name "texlive-lollipop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/otherformats/lollipop/" "tex/lollipop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xdldlnhsr2n8544j9vd6gllin8bfkpcbhlpmxlhrvjl5bdg0rjp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "lollipop")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((tex (search-input-file inputs "bin/tex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink tex "lollipop"))))))))
    (propagated-inputs (list texlive-cm texlive-hyphen-base texlive-tex))
    (home-page "https://ctan.org/pkg/lollipop")
    (synopsis "TeX made easy")
    (description
     "Lollipop is a macro package that functions as a toolbox for writing TeX
macros.  Its main aim is to make macro writing so easy that implementing
a fully new layout in TeX would become a matter of less than an hour for an
average document.  The aim is that such a task could be accomplished by
someone with only a very basic training in TeX programming.")
    (license license:gpl3)))

(define-public texlive-longdivision
  (package
    (name "texlive-longdivision")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/longdivision/"
                                     "tex/latex/longdivision/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16pg9b4jxjfb0ik93i3pwfim0nz3c3b8cklarvpsngavzyx9mr2h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/longdivision")
    (synopsis "Typesets long division")
    (description
     "This package executes the long division algorithm and typesets the solutions.
The dividend must be a positive decimal number and the divisor must be
a positive integer.  Repeating decimals is handled correctly, putting a bar
over the repeated part of the decimal.

The package defines two macros, @code{\\longdivision} and
@code{\\intlongdivision}.  Each takes two arguments, a dividend and
a divisor. @code{\\longdivision} keeps dividing until the remainder is zero,
or it encounters a repeated remainder. @code{\\intlongdivision} stops when the
dividend stops (though the dividend doesn't have to be an integer).")
    (license license:lppl)))

(define-public texlive-lpform
  (package
    (name "texlive-lpform")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/lpform/" "tex/generic/lpform/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13pg4wb3z8xhmf9wry4rvdzhg0ydhpbdp6vxjk7g91p6s3lvqa51"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lpform")
    (synopsis
     "Typesetting linear programming formulations and sets of equations")
    (description
     "The package is designed to aid the author writing linear programming
formulations, one restriction at a time.  With the package, one can easily
label equations, formulations can span multiple pages and several elements of
the layout (such as spacing, texts and equation tags) are also customizable.
Besides linear programming formulations, this package can also be used to
display any series of aligned equations with easy labeling/referencing and
other customization options.")
    (license license:lppl)))

(define-public texlive-lplfitch
  (package
    (name "texlive-lplfitch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lplfitch/"
                                     "source/latex/lplfitch/"
                                     "tex/latex/lplfitch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x396k71r8sb04pby3h6snjzmyzmai9s11icgxf1vi9dswh191cz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lplfitch")
    (synopsis "Fitch-style natural deduction proofs")
    (description
     "The package provides macros for typesetting natural deduction proofs in
Fitch style, with subproofs indented and offset by scope lines.  The proofs
from use of the package are in the format used in the textbook @emph{Language,
Proof, and Logic} by Dave Barker-Plummer, Jon Barwise, and John Etchemendy.")
    (license license:lppl1.3+)))

(define-public texlive-lps
  (package
    (name "texlive-lps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lps/" "source/latex/lps/"
                                     "tex/latex/lps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11jd8k1w2mk0xmwaxb1ps8pabxlzvs24z5hl74dwcim2xad7ahvj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lps")
    (synopsis "Class for @emph{Logic and Philosophy of Science}")
    (description
     "The @emph{Logic and Philosophy of Science} journal is an online
publication of the University of Trieste (Italy).  The class builds on the
standard article class to offer a format that LaTeX authors may use when
submitting to the journal.")
    (license license:lppl)))

(define-public texlive-lshort-bulgarian
  (package
    (name "texlive-lshort-bulgarian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-bulgarian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qg23asq2i5mqhp9xblv5hm3qxmd5886d5x0gq1fkdbyy9gsawi3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-bulgarian")
    (synopsis
     "Bulgarian translation of the @emph{Short Introduction to LaTeX2e}")
    (description
     "This package includes the source files, PostScript and PDF files of the
Bulgarian translation of the @emph{Short Introduction to LaTeX2e}.")
    (license license:public-domain)))

(define-public texlive-lshort-chinese
  (package
    (name "texlive-lshort-chinese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-chinese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05b9fq4jhh9xifn2lj58fs17fc0prx915gwfz47s92spvv9fwbi6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-zh-cn")
    (synopsis "Introduction to LaTeX, in Chinese")
    (description
     "This package provides a Chinese edition of the @emph{(Not so) short
introduction to LaTeX2e}, with additional information of typesetting Chinese
language.")
    (license license:fdl1.3+)))

(define-public texlive-lshort-czech
  (package
    (name "texlive-lshort-czech")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-czech/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ar9qa0cg0mjv6ydgx1phaa1qpiy25s3jciznbylgi5xprvnnfa9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-czech")
    (synopsis "Czech translation to LaTeX")
    (description
     "This is the Czech translation of a @emph{(Not So) Short Introduction to
LaTeX2e}.}")
    (license license:gpl3+)))

(define-public texlive-lshort-dutch
  (package
    (name "texlive-lshort-dutch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-dutch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "160r060gmw6f6lgbnyvfxafjpqvyr4jwd56ddkjfm3ir2bfl973d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-dutch")
    (synopsis "Introduction to LaTeX in Dutch")
    (description
     "This is the Dutch (Nederlands) translation of the @emph{(No So) Short
Introduction to LaTeX2e}.")
    (license license:gpl3+)))

(define-public texlive-lshort-estonian
  (package
    (name "texlive-lshort-estonian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-estonian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dfwp7kkynpskb345i3yz7h5pvc8iljqg3q6l546vrwla0bmb95c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-estonian")
    (synopsis "Estonian introduction to LaTeX")
    (description
     "This is the Estonian translation of @emph{(No So) Short Introduction to
LaTeX2e}.")
    (license license:gpl2)))

(define-public texlive-lshort-english
  (package
    (name "texlive-lshort-english")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-english/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pzqdbzynlwvpamd69cmfpa8jdcvq96qjr9k1fy3dxpzi2mapvhd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-english")
    (synopsis "(Not So) short introduction to LaTeX2e")
    (description
     "@emph{The Not So Short Introduction to LaTeX2e} derives from a German
introduction (@emph{lkurz}), which was translated and updated; it continues to
be updated.  This translation has, in its turn, been translated into several
other languages; see the @code{lshort} catalogue entry for the current list.")
    (license license:gpl2)))

(define-public texlive-lshort-finnish
  (package
    (name "texlive-lshort-finnish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-finnish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06madlm869kmwxprmy2c78ma4s8zk8mclzmd4xdl0r4mlhk4vdsl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-finnish")
    (synopsis "Finnish introduction to LaTeX")
    (description
     "This is the Finnish translation of @emph{(No So) Short Introduction to
LaTeX2e}, with added coverage of Finnish typesetting rules.")
    (license license:public-domain)))

(define-public texlive-lshort-french
  (package
    (name "texlive-lshort-french")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-french/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hdl0w7b1ablx7qfcvgniz7dcbgazb49b8wfw7c08hlb38gxfqh7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-french")
    (synopsis "Short introduction to LaTeX, French translation")
    (description
     "This package contains a French version of a @emph{(Not so) short
introduction to LaTeX2e}.")
    (license license:gpl3+)))

(define-public texlive-lshort-german
  (package
    (name "texlive-lshort-german")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-german/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "073v7zvk8xri0f05mr0ad770p81akl9b9cnia1q4hcma9fk89k10"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-german")
    (synopsis
     "German version of @emph{A Short Introduction to LaTeX2e:
LaTeX2e-Kurzbeschreibung}")
    (description
     "This package provides the German version of @emph{A Short Introduction
to LaTeX2e: LaTeX2e-Kurzbeschreibung}.")
    (license license:opl1.0+)))

(define-public texlive-lshort-italian
  (package
    (name "texlive-lshort-italian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-italian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "085ydria5q7s648r7frl54sa1y4kyr569zvqjjkancfd83h873cg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-italian")
    (synopsis "Introduction to LaTeX in Italian")
    (description
     "This is the Italian translation of the @emph{(Not so) Short Introduction
to LaTeX2e.}")
    (license license:gpl3+)))

(define-public texlive-lshort-japanese
  (package
    (name "texlive-lshort-japanese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-japanese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mfxig980jyzhay1i83d69p294hgbr92v3kk2a4z8ca3fwzy8w74"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-japanese")
    (synopsis "Japanese version of the @emph{Short Introduction to LaTeX2e}")
    (description "This is the Japanese version of the @emph{(Not so) Short
Introduction to LaTeX2e}.")
    (license license:gpl3+)))

(define-public texlive-lshort-korean
  (package
    (name "texlive-lshort-korean")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-korean/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07660lrss97hswmis7rgc419h05mgrvsfrrwmnrwk5yn97flhhqd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-korean")
    (synopsis "Korean introduction to LaTeX")
    (description
     "This package provides a translation of Oetiker's original @emph{(Not so)
short introduction to LaTeX2e}.")
    (license license:fdl1.3+)))

(define-public texlive-lshort-mongol
  (package
    (name "texlive-lshort-mongol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-mongol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "153k4dzia30fpx847wli7i5p407a808gmj3p7jifq5bpx479qg1g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-mongol")
    (synopsis "Short introduction to LaTeX, in Mongolian")
    (description
     "This package provides a translation of Oetiker's @emph{(Not so) short
introduction to LaTeX2e}.")
    (license license:lppl)))

(define-public texlive-lshort-persian
  (package
    (name "texlive-lshort-persian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-persian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b1b45nh2d3d3zv735dymgyllj6m8i57icbihjkl1im0nghrzklk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-persian")
    (synopsis "Persian (Farsi) introduction to LaTeX")
    (description
     "This package provides a Persian (Farsi) translation of Oetiker's
@emph{(Not so) short introduction to LaTeX2e}.")
    (license license:public-domain)))

(define-public texlive-lshort-polish
  (package
    (name "texlive-lshort-polish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-polish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "121y638k4f4pbjpa4q0n9qj2w57624q2d1v4jz09qh399fl5yk81"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-polish")
    (synopsis "Introduction to LaTeX in Polish")
    (description
     "This is the Polish translation of the @emph{(Not so) Short Introduction
to LaTeX2e}.")
    (license license:gpl2+)))

(define-public texlive-lshort-portuguese
  (package
    (name "texlive-lshort-portuguese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-portuguese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wg51rjcayiizkz0vvjkirrx19q8fbnfrwilgh13prlbpams1hsh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-portuguese")
    (synopsis "Introduction to LaTeX in Portuguese")
    (description
     "This is the Portuguese translation of a @emph{(Not So) Short
Introduction to LaTeX2e}.")
    (license license:public-domain)))

(define-public texlive-lshort-russian
  (package
    (name "texlive-lshort-russian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-russian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02abh69xl43p56fcciyan4j0z4mqq2j7ynwazq1nywhz37d6zn7y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-russian")
    (synopsis "Russian introduction to LaTeX")
    (description "This package provides the Russian version of the @emph{Short
Introduction to LaTeX2e}.")
    (license license:gpl3+)))

(define-public texlive-lshort-slovak
  (package
    (name "texlive-lshort-slovak")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-slovak/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b5gn95i32dyn8r7v2cdcz759fllp3b0zwx17adjs282n06vfymq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-slovak")
    (synopsis "Slovak introduction to LaTeX")
    (description
     "This package provides a Slovak translation of Oetiker's @emph{(Not So)
Short Introduction to LaTeX2e}.")
    (license license:lppl)))

(define-public texlive-lshort-slovenian
  (package
    (name "texlive-lshort-slovenian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-slovenian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cwjg0z5vr4x93bz1khwl27rk8k7kpjm978iyzn6w7gx3wi87zr0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-slovenian")
    (synopsis "Slovenian introduction to LaTeX")
    (description
     "This package provides a Slovenian translation of the @emph{(Not So)
Short Introduction to LaTeX2e}.")
    (license license:gpl3+)))

(define-public texlive-lshort-spanish
  (package
    (name "texlive-lshort-spanish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-spanish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ls50syrg3dl5dl5a3fi33cr9j990l2xr6pribn1vqglsqrh191l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-spanish")
    (synopsis "Short introduction to LaTeX, in Spanish")
    (description
     "This package provides a Spanish translation of the @emph{(Not So) Short
Introduction to LaTeX2e}.")
    (license license:gpl3+)))

(define-public texlive-lshort-thai
  (package
    (name "texlive-lshort-thai")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-thai/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16r9gx902a342q2mj570y269yw97yaj6hrbqrk4h49ihm695z30i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-thai")
    (synopsis "Introduction to LaTeX in Thai")
    (description
     "This is the Thai translation of the @emph{Short Introduction to LaTeX2e}.")
    (license license:public-domain)))

(define-public texlive-lshort-turkish
  (package
    (name "texlive-lshort-turkish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-turkish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00r6pv4z4933jw072djdasd2wp5j05wghln62ga4g6y6jblf6zks"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-turkish")
    (synopsis "Turkish introduction to LaTeX")
    (description
     "This package provides a Turkish translation of Oetiker's @emph{(Not so)
short introduction to LaTeX2e}.")
    (license license:public-domain)))

(define-public texlive-lshort-ukr
  (package
    (name "texlive-lshort-ukr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-ukr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nsah1h3z3sy96a9x0mfdwby7pvvjwq7zxfv2s8nvsbvnn1al17s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-ukr")
    (synopsis "Ukrainian version of the LaTeX introduction")
    (description
     "This package provides the Ukrainian version of the @emph{Short
Introduction to LaTeX2e}.")
    (license license:gpl2+)))

(define-public texlive-lshort-vietnamese
  (package
    (name "texlive-lshort-vietnamese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-vietnamese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "094lfry6cqvpk02c3acss6581mgb7j30fnja1b3qwzxmyxjdblwa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-vietnamese")
    (synopsis "Vietnamese version of the LaTeX introduction")
    (description
     "This is the Vietnamese version of the @emph{Short Introduction to
LaTeX2e}.")
    (license license:lppl)))

(define-public texlive-lstbayes
  (package
    (name "texlive-lstbayes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lstbayes/"
                                     "source/latex/lstbayes/"
                                     "tex/latex/lstbayes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gd3zyq1z1n0ksmazky9dbal0qaiss2lgh7dh3021ckj7c3mwkmd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lstbayes")
    (synopsis "Listings language driver for Bayesian modeling languages")
    (description
     "The package provides language drivers for the listings package for
several languages not included in that package: BUGS, JAGS, and Stan.")
    (license license:lppl1.3+)))

(define-public texlive-ltb2bib
  (package
    (name "texlive-ltb2bib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ltb2bib/" "source/latex/ltb2bib/"
                                     "tex/latex/ltb2bib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wrm89bynjm4g4a1zpx38v6yd2l3b1gh13h4m5hknvla2lydljfg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ltb2bib")
    (synopsis "Converts @code{amsrefs} bibliographical databases to BibTeX
format")
    (description
     "This package implements a LaTeX command that converts an @code{amsrefs}
bibliographical database (@file{.ltb}) to a BibTeX bibliographical database
(@file{.bib}).  @code{ltb2bib} is the reverse of the @samp{amsxport} option in
@code{amsrefs}.")
    (license license:lppl1.3+)))

(define-public texlive-ltxdockit
  (package
    (name "texlive-ltxdockit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ltxdockit/"
                                     "tex/latex/ltxdockit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n1c8g8kaaazg7kahfkckh86s29bi1p3sw9h8v7hl5zgg6mb3415"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ltxdockit")
    (synopsis "Documentation support")
    (description
     "This bundle, consisting of a simple wrapper class and some packages,
forms a small LaTeX and BibTeX documentation kit; the author uses it for some
of his own packages.")
    (license license:lppl)))

(define-public texlive-luabibentry
  (package
    (name "texlive-luabibentry")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luabibentry/"
                                     "source/lualatex/luabibentry/"
                                     "tex/lualatex/luabibentry/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00f6sxkzmfznjbisicacxd546v8zizm1fz36s05iiyra04cawnw4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luabibentry")
    (synopsis "Repeat BibTeX entries in a LuaLaTeX document body")
    (description
     "The package reimplements @code{bibentry}, for use in LuaLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-lxfonts
  (package
    (name "texlive-lxfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/lxfonts/"
                                     "fonts/map/dvips/lxfonts/"
                                     "fonts/source/public/lxfonts/"
                                     "fonts/tfm/public/lxfonts/"
                                     "fonts/type1/public/lxfonts/"
                                     "source/fonts/lxfonts/"
                                     "tex/latex/lxfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n7bznkcc1ma2k977306rjg1mlpcspc46xg14abnc2d4k2970bfg"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ec")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ec texlive-metafont))
    (home-page "https://ctan.org/pkg/lxfonts")
    (synopsis "Set of slide fonts based on CM")
    (description
     "The bundle contains the traditional slides fonts revised to be
completely usable both as text fonts and mathematics fonts; they are fully
integrate with the new operators, letters, symbols and extensible delimiter
fonts, as well as with the AMS fonts, all redone with the same stylistic
parameters.")
    (license license:lppl)))

(define-public texlive-lyluatex
  (package
    (name "texlive-lyluatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/lyluatex/" "scripts/lyluatex/"
                                     "tex/luatex/lyluatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d6yiyfbhlaljz80znjdzy9prhsxrzq0yhmylqc4yx9ajbjyp989"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lyluatex")
    (synopsis
     "Commands to include LilyPond scores within a (Lua)LaTeX document")
    (description
     "This package provides macros for the inclusion of LilyPond scores within
LuaLaTeX.  It calls LilyPond to compile scores, then includes the produced
files.")
    (license license:expat)))

(define-public texlive-m-tx
  (package
    (name "texlive-m-tx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/m-tx/"
                                     "doc/man/man1/prepmx.1"
                                     "doc/man/man1/prepmx.man1.pdf"
                                     "scripts/m-tx/"
                                     "tex/generic/m-tx/"
                                     "tex/latex/m-tx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sakzv7r6mybx0k7k0fi1qb789nf7lvbl0ns8s0hhc9fz37b0br5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "m-tx.lua")))
    (propagated-inputs (list texlive-m-tx-bin))
    (home-page "https://ctan.org/pkg/m-tx")
    (synopsis "Preprocessor for @command{pmx}")
    (description
     "M-Tx is a preprocessor to @command{pmx}, which is itself a preprocessor
to MusixTeX, a music typesetting system.  The prime motivation to the
development of M-Tx was to provide lyrics for music to be typeset.  In fact,
@command{pmx} now provides a lyrics interface, but M-Tx continues in use by
those who prefer its language.")
    (license license:expat)))

(define-public texlive-m-tx-bin
  (package
    (inherit texlive-bin)
    (name "texlive-m-tx-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("m-tx"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-m-tx" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/m-tx"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/m-tx"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-m-tx))
    (synopsis "Binary for @code{texlive-m-tx}")
    (description
     "This package provides the binary for @code{texlive-m-tx}.")
    (license (package-license texlive-m-tx))))

(define-public texlive-macros2e
  (package
    (name "texlive-macros2e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/macros2e/" "tex/latex/macros2e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vdw389gvwmpqs7ykm3vlyqbpwm45mgqasmqyxm7q9jgay3dn2iz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/macros2e")
    (synopsis "List of internal LaTeX2e macros")
    (description
     "This document lists the internal macros defined by the LaTeX2e base files,
which can also be useful to package authors.  The macros are hyper-linked to
their description in @code{source2e}.  For this to work both PDFs must be
inside the same directory.  This document is not yet complete in content and
format and may miss some macros.")
    (license license:lppl1.3c)))

(define-public texlive-mafr
  (package
    (name "texlive-mafr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mafr/" "tex/latex/mafr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bzmf36xy2ppd2bkc5lkcw43jangwn0w4scgr9il06d14lbw68yn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mafr")
    (synopsis "Mathematics in accord with French usage")
    (description
     "The package provides settings and macros for typesetting mathematics
with LaTeX in compliance with French usage.  It comes with two document
classes, @code{fiche} and @code{cours}, useful to create short high school
documents such as tests or lessons.  The documentation is in French.")
    (license license:gpl3+)))

(define-public texlive-magra
  (package
    (name "texlive-magra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/magra/"
                                     "fonts/enc/dvips/magra/"
                                     "fonts/map/dvips/magra/"
                                     "fonts/tfm/public/magra/"
                                     "fonts/type1/public/magra/"
                                     "fonts/vf/public/magra/"
                                     "tex/latex/magra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bbybiv6v05886qydj1c7l2ja520j15jgz6jz4g8qa58ycrls4kl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/magra")
    (synopsis "Magra font face with support for LaTeX and pdfLaTeX")
    (description
     "This package provides the Magra family of fonts designed by FontFuror,
with support for LaTeX and pdfLaTeX.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-mahjong
  (package
    (name "texlive-mahjong")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mahjong/" "source/latex/mahjong/"
                                     "tex/latex/mahjong/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nkj6kri9dpk3gkms4raldzkj3dhsf54vggivb6nh169s7a16m7q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mahjong")
    (synopsis "Typeset mahjong tiles using MPSZ Notation")
    (description
     "The @code{mahjong} package provides a LaTeX interface for typesetting
mahjong tiles using an extended version of MPSZ algebraic notation.  Its
features include spaces, rotated, blank, and concealed tiles, as well as red
fives.  The size of the mahjong tiles can be controlled using a package option
and an optional argument of @code{\\mahjong}.  It is primarily aimed at
Riichi (aka Japanese) Mahjong but can be used to typeset any style of
mahjong.")
    (license (list license:expat license:cc-by4.0))))

(define-public texlive-marcellus
  (package
    (name "texlive-marcellus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/marcellus/"
                                     "fonts/enc/dvips/marcellus/"
                                     "fonts/map/dvips/marcellus/"
                                     "fonts/tfm/public/marcellus/"
                                     "fonts/truetype/public/marcellus/"
                                     "fonts/type1/public/marcellus/"
                                     "fonts/vf/public/marcellus/"
                                     "tex/latex/marcellus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nnc0v15sjwzivy504lvrrfyzjhha7p42nwp0qqy7pwspb7cqsm5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/marcellus")
    (synopsis "Marcellus fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Marcellus family of fonts, designed by Brian J. Bonislawsky.  Marcellus is
a flared-serif family, inspired by classic Roman inscription letterforms.
There is currently just a regular weight and small-caps.  The regular weight
will be silently substituted for bold.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-margbib
  (package
    (name "texlive-margbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/margbib/" "source/latex/margbib/"
                                     "tex/latex/margbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04aa9nfdxc475nyj4cl8gkj2grn7v3rkb3hwhbhff5nr88nx4aqq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/margbib")
    (synopsis "Display bibitem tags in the margins")
    (description
     "The package redefines the @code{thebibliography} environment to place
the citation key into the margin.")
    (license license:gpl3+)))

(define-public texlive-matapli
  (package
    (name "texlive-matapli")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/matapli/" "tex/latex/matapli/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0khkgc80hbydnlciqr02ay88gazr4nxdq099pjgf1xcjlnlmnwcp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/matapli")
    (synopsis "Class for the French journal @emph{MATAPLI}")
    (description
     "This is a class for the French journal @emph{MATAPLI} of the Société de
Mathématiques Appliquées et Industrielles (SMAI).")
    (license license:lppl1.3c)))

(define-public texlive-matc3
  (package
    (name "texlive-matc3")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/matc3/" "source/latex/matc3/"
                                     "tex/latex/matc3/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rmrkdcda87pjl1lvyvzky0vdhghx0j6z1vdi9fdz2122f2drmpm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/matc3")
    (synopsis "Commands for Matematica C3 textbooks")
    (description
     "The package provides support for the Matematica C3 project to produce
mathematical textbooks for use in Italian high schools.")
    (license license:lppl1.3+)))

(define-public texlive-matc3mem
  (package
    (name "texlive-matc3mem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/matc3mem/"
                                     "source/latex/matc3mem/"
                                     "tex/latex/matc3mem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10igcyqzddl25gxasa9dxj2j49gqs9vi2g1ay0z6jyd5nfsp8ic0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/matc3mem")
    (synopsis "Class for MatematicaC3 textbooks")
    (description
     "The class is a development of @code{memoir}, with
additions (specifically, mathematical extensions) that provide support for
writing the books for the Matematica C3 project to produce mathematical
textbooks for use in Italian high schools.")
    (license license:lppl1.3+)))

(define-public texlive-math-into-latex-4
  (package
    (name "texlive-math-into-latex-4")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/math-into-latex-4/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k11j92h9hpxnyciczknhl83b05avc0rqdnwn82ssqi1k3qixibd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/math-into-latex-4")
    (synopsis "Samples from @emph{(More) Math into LaTeX}, 4th Edition")
    (description
     "This package contains samples for the book @emph{(More) Math into LaTeX},
4th edition.")
    (license license:public-domain)))

(define-public texlive-mathabx
  (package
    (name "texlive-mathabx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/mathabx/"
                                     "fonts/source/public/mathabx/"
                                     "fonts/tfm/public/mathabx/"
                                     "tex/generic/mathabx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kj95jl89wh43b9mfqp05hpa5jqyxca7hp9pfk21js2dhysr7x18"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/mathabx")
    (synopsis "Three series of mathematical symbols")
    (description
     "Mathabx is a set of three mathematical symbols font series.
They are defined by Metafont code.  The package includes Plain TeX and LaTeX
support macros.  A version of the fonts, in Adobe Type 1 format, is also
available.")
    (license license:lppl)))

(define-public texlive-mathabx-type1
  (package
    (name "texlive-mathabx-type1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/mathabx-type1/"
                                     "fonts/map/dvips/mathabx-type1/"
                                     "fonts/type1/public/mathabx-type1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j9aiwxq512bnwjvah06rygd8m6b68dpfkynagad627sfyrblcaa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-mathabx))
    (home-page "https://ctan.org/pkg/mathabx-type1")
    (synopsis "Outline version of the @code{mathabx} fonts")
    (description
     "This is an Adobe Type 1 outline version of the @code{mathabx} fonts.")
    (license license:lppl)))

(define-public texlive-mathalpha
  (package
    (name "texlive-mathalpha")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathalpha/"
                                     "tex/latex/mathalpha/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19wniyaba8cz4vk279ashg68bxq9178cvvz53cng2cn6i6rw32rv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathalpha")
    (synopsis "General package for loading maths alphabets in LaTeX")
    (description
     "Package @code{mathalfa} was renamed to @code{mathalpha}.  For backward
compatibility the old name will continue to be recognized in LaTeX documents.
The package provides means of loading maths alphabets (such as are normally
addressed via macros @code{\\mathcal}, @code{\\mathbb}, @code{\\mathfrak} and
@code{\\mathscr}).")
    (license license:lppl1.3c)))

(define-public texlive-mathastext
  (package
    (name "texlive-mathastext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathastext/"
                                     "source/latex/mathastext/"
                                     "tex/latex/mathastext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02zx7v3vffz4wag24pd29dgw2l6vbs30vhrrkylsi26rwsr839zc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathastext")
    (synopsis "Use the text font in maths mode")
    (description
     "The package uses a text font (usually the document's text font) for the
letters of the Latin alphabet needed when typesetting
mathematics. (Optionally, other characters in the font may also be used).
This facility makes possible (for a document with simple mathematics) a far
wider choice of text font, with little worry that no specially designed
accompanying maths fonts are available.  The package also offers a simple
mechanism for using many different choices of (text hence, now, maths) font in
the same document.  Of course, using one font for two purposes helps produce
smaller PDF files.")
    (license license:lppl1.3+)))

(define-public texlive-mathcommand
  (package
    (name "texlive-mathcommand")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathcommand/"
                                     "source/latex/mathcommand/"
                                     "tex/latex/mathcommand/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vm7k1p5d74vkqmpxdza4127qj7622w0vfr2bh51wb612dpps2a5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathcommand")
    (synopsis "@code{\\newcommand}-like commands for defining math macros")
    (description
     "This package provides functionalities for defining macros that have
different behaviors depending on whether in math or text mode, that absorb
Primes, Indices and Exponents (PIE) as extra parameters usable in the code;
and it offers some iteration facilities for defining macros with similar code.
The primary objective of this package is to be used together with the
knowledge package for a proper handling of mathematical notations.")
    (license license:lppl1.3+)))

(define-public texlive-mathcomp
  (package
    (name "texlive-mathcomp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathcomp/"
                                     "source/latex/mathcomp/"
                                     "tex/latex/mathcomp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a7y6r9ikasr9v48671ij40z31j0mxiliy1k3yg3ldbiggrjh07i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathcomp")
    (synopsis "Text symbols in maths mode")
    (description
     "This package provides a package which provides access to some
interesting characters of the Text Companion fonts (TS1 encoding) in maths
mode.")
    (license license:lppl)))

(define-public texlive-mathfixs
  (package
    (name "texlive-mathfixs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathfixs/"
                                     "source/latex/mathfixs/"
                                     "tex/latex/mathfixs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "069gcdc6mhf045cpg5dbd81ng8v7bhqjxwpg9dvz4qdpf508jvq0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathfixs")
    (synopsis "Fix various layout issues in math mode")
    (description
     "This is a LaTeX2e package to fix some odd behaviour in math mode such as
spacing around fractions and roots, math symbols within bold text as well as
capital Greek letters.  It also adds some related macros.")
    (license license:lppl1.3+)))

(define-public texlive-mathlig
  (package
    (name "texlive-mathlig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/mathlig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pyaqwr2h9knxf1axi55vm6wr9xj15d5j5pagb2011k3b830f91b"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathlig")
    (synopsis "Define maths ligatures")
    (description
     "The package defines character sequences that behave like ligatures, in
maths mode.")
    ;; The license is basically CC-BY.
    (license (license:fsf-free "file://tex/generic/mathlig/mathlig.tex"))))

(define-public texlive-mathpartir
  (package
    (name "texlive-mathpartir")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathpartir/"
                                     "source/latex/mathpartir/"
                                     "tex/latex/mathpartir/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1baadhdxs4rp1qijkwiki2f4w1faarsq3dqy62q7rxs4640mxqa1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathpartir")
    (synopsis
     "Typesetting sequences of math formulas, e.g., type inference rules")
    (description
     "The package provides macros for typesetting math formulas in mixed
horizontal and vertical mode, automatically as best fit.  It provides an
environment @code{mathpar} that behaves much as a loose centered paragraph
where words are math formulas, and spaces between them are larger and
adjustable.  It also provides a macro @code{\\inferrule} for typesetting
fractions where both the numerator and denominator may be sequences of
formulas that will be also typeset in a similar way.  It can typically be used
for typeseting sets of type inference rules or typing derivations.")
    (license license:gpl2)))

(define-public texlive-mathpunctspace
  (package
    (name "texlive-mathpunctspace")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathpunctspace/"
                                     "tex/latex/mathpunctspace/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kbsdbnhiwgxa1yznsknni7gvv7x96x02ir2vxmlmhph1j3wqx28"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathpunctspace")
    (synopsis "Control the space after punctuation in math expressions")
    (description
     "This package provides a mechanism to control the space after commas and
semicolons in mathematical expressions.")
    (license license:bsd-2)))

(define-public texlive-mathsemantics
  (package
    (name "texlive-mathsemantics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathsemantics/"
                                     "tex/latex/mathsemantics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06p4i9nx8sh3dv2nzq3vk1m36nshxgalr8c6660ns9kbhraprkbp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathsemantics")
    (synopsis "Semantic math commands in LaTeX")
    (description
     "This LaTeX package provides both syntactic and semantic helpers to
typeset mathematics in LaTeX.  The syntactic layer eases typesetting of
formulae in general, while the semantic layer provides commands like
@code{\\inner@{x@}@{y@}} to unify typesetting of inner products.  These not
only unify typesetting of math formulae but also allow to easily adapt
notation if a user prefers to.  The semantic layer is split into topics.")
    (license license:expat)))

(define-public texlive-maths-symbols
  (package
    (name "texlive-maths-symbols")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/maths-symbols/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z83qf1rz84cr0b1zvwlacf24pc5r8dn1cxiiyl0xrqncl3279ka"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/maths-symbols")
    (synopsis "Summary of mathematical symbols available in LaTeX")
    (description
     "This package provides a predecessor of the comprehensive symbols list,
covering mathematical symbols available in standard @code{LaTeX} (including
the AMS symbols, if available at compile time).")
    (license license:lppl1.2+)))

(define-public texlive-matlab-prettifier
  (package
    (name "texlive-matlab-prettifier")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/matlab-prettifier/"
                                     "source/latex/matlab-prettifier/"
                                     "tex/latex/matlab-prettifier/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mr3h2pwz5ghhy3k9c35c6q9k946qzmg7clldmlzlrq3cm685lsh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/matlab-prettifier")
    (synopsis "Pretty-print Matlab source code")
    (description
     "The package extends the facilities of the listings package, to
pretty-print Matlab and Octave source code. (Note that support of Octave
syntax is not complete.)")
    (license license:lppl1.3+)))

(define-public texlive-matrix-skeleton
  (package
    (name "texlive-matrix-skeleton")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/matrix-skeleton/"
                                     "tex/latex/matrix-skeleton/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07mqmc0kli0azp2vlzm8q3lp1b70lyggm2hqnq0v9c0jlfhvj9j7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/matrix-skeleton")
    (synopsis
     "PGF/TikZ library that simplifies working with multiple matrix nodes")
    (description
     "The package provides a PGF/TikZ library that simplifies working with
multiple matrix nodes.  To do so, it correctly aligns groups of nodes with the
content of the whole matrix.  Furthermore, @code{matrix-skeleton} provides
rows and columns for easy styling.")
    (license license:isc)))

(define-public texlive-mattens
  (package
    (name "texlive-mattens")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mattens/" "source/latex/mattens/"
                                     "tex/latex/mattens/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18v2hypd9vkxk3anixvgf16rmsjzq3apm6s7qxrkk4vyrgrahsnj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mattens")
    (synopsis "Matrices and tensor typesetting")
    (description
     "The @code{mattens} package contains the definitions to typeset matrices,
vectors and tensors as used in the engineering community for the
representation of common vectors and tensors such as forces, velocities,
moments of inertia, etc.")
    (license license:lppl1.3c)))

(define-public texlive-maze
  (package
    (name "texlive-maze")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/maze/" "tex/latex/maze/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dwsv62rpyll1cfh1qpz6msmypc1a61b1pb0a7lm89ks1cj42zmg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/maze")
    (synopsis "Generate random mazes")
    (description
     "This package can generate random square mazes of a specified size.
The mazes generated by this package are natural and their solution is not too
obvious.  The output it based on the @code{picture} environment.")
    (license license:lppl1.3c)))

(define-public texlive-mcmthesis
  (package
    (name "texlive-mcmthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mcmthesis/"
                                     "source/latex/mcmthesis/"
                                     "tex/latex/mcmthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15v7dkf3ssjvxkxnwvmsz7h8cjcansf7cfc653j78504pvhj4jqr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mcmthesis")
    (synopsis "Template designed for MCM and ICM")
    (description
     "The package offers a template for @acronym{MCM, The Mathematical Contest
in Modeling} and @acronym{ICM, The Interdisciplinary Contest in Modeling} for
typesetting the submitted paper.")
    (license license:lppl1.3c)))

(define-public texlive-mdputu
  (package
    (name "texlive-mdputu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mdputu/"
                                     "fonts/tfm/public/mdputu/"
                                     "fonts/vf/public/mdputu/"
                                     "tex/latex/mdputu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01baplnisdakypsrzcvz1hibqw2gq70hyk2dwgljhwcb14rcxylw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mdputu")
    (synopsis "Upright digits in Adobe Utopia Italic")
    (description
     "The @emph{Annals of Mathematics} uses italics for theorems.  However,
slanted digits and parentheses look disturbing when surrounded by (upright)
mathematics.  This package provides virtual fonts with italics and upright
digits and punctuation, as an extension to Mathdesign's Utopia bundle.")
    (license license:bsd-3)))

(define-public texlive-mdsymbol
  (package
    (name "texlive-mdsymbol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/mdsymbol/"
                                     "doc/latex/mdsymbol/"
                                     "fonts/enc/dvips/mdsymbol/"
                                     "fonts/map/dvips/mdsymbol/"
                                     "fonts/opentype/public/mdsymbol/"
                                     "fonts/source/public/mdsymbol/"
                                     "fonts/tfm/public/mdsymbol/"
                                     "fonts/type1/public/mdsymbol/"
                                     "source/latex/mdsymbol/"
                                     "tex/latex/mdsymbol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ssvyqyh3k8q2snj8wk0xdbxgnafacsyj4iyh14hrxybknxxqh22"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/mdsymbol")
    (synopsis "Symbol fonts to match Adobe Myriad Pro")
    (description
     "The package provides a font of mathematical symbols, MyriadPro.  The
font is designed as a companion to Adobe Myriad Pro, but it might also fit
well with other contemporary typefaces.")
    (license license:silofl1.1)))

(define-public texlive-mecaso
  (package
    (name "texlive-mecaso")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mecaso/" "tex/latex/mecaso/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11h10mxjdmknvi8r4dnkhv5q2bzgckwaq7p3dziyxkibq1ciq622"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mecaso")
    (synopsis "Formulas frequently used in rigid body mechanics")
    (description
     "This package provides a number of formulas frequently used in rigid body
mechanics.  Since most of these formulas are long and tedious to write, this
package wraps them up in short commands.")
    (license license:gpl3+)))

(define-public texlive-membranecomputing
  (package
    (name "texlive-membranecomputing")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/membranecomputing/"
                                     "tex/latex/membranecomputing/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r5k8ipf435vvffr7da8nl2j14myfp102i5qf0yy0jczziddbq6z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/membranecomputing")
    (synopsis "Membrane Computing notation")
    (description
     "This is a LaTeX package for the Membrane Computing community.  It
comprises the definition of @samp{P} systems, rules and some concepts related
to languages and computational complexity usually needed for Membrane
Computing research.")
    (license license:lppl1.3+)))

(define-public texlive-memdesign
  (package
    (name "texlive-memdesign")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/memdesign/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0aij1b7l1kb2x44qn33m39k0kbhdrclmr25nmvzfn6yw42lh9fz7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/memdesign")
    (synopsis "Notes on book design")
    (description
     "@emph{A Few Notes on Book Design} provides an introduction to the
business of book design.  It is an extended version of what used to be the
first part of the @code{memoir} users manual.")
    (license license:lppl1.3+)))

(define-public texlive-memoirchapterstyles
  (package
    (name "texlive-memoirchapterstyles")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/memoirchapterstyles/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jxd7sbh5vc3j5d5jd3zmyg58kwhy550l5z8q14b4msm00fp6z0a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/memoirchapterstyles")
    (synopsis "Chapter styles in @code{memoir} class")
    (description
     "This package provides a showcase of chapter styles available to users of
@code{memoir}: the six provided in the class itself, plus many from
elsewhere (by the present author and others).  The package's resources apply
only to @code{memoir}, but the package draws from a number of sources relating
to standard classes, including the @code{fncychap} package, and Vincent
Zoonekynd's tutorial on headings.")
    (license license:lppl)))

(define-public texlive-memorygraphs
  (package
    (name "texlive-memorygraphs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/memorygraphs/"
                                     "tex/latex/memorygraphs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03wsql3aq6327k905fz902il1acxcz2ik4adxfkl4vm1f1g045xn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/memorygraphs")
    (synopsis "TikZ styles to typeset graphs of program memory")
    (description
     "This package defines some TikZ styles and adds anchors to existing
styles that ease the declaration of memory graphs.  It is intended for graphs
that represent the memory of a computer program during its execution.")
    (license license:lppl1.3+)))

(define-public texlive-mendex-doc
  (package
    (name "texlive-mendex-doc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/mendex-doc/"
                                     "makeindex/mendex-doc/"
                                     "source/latex/mendex-doc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "096b1v9zzl3qm189paaxz16z4a1xgcj7l2bhdgvl2wqshsz9lx4p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mendex-doc")
    (synopsis "Documentation for Mendex index processor")
    (description
     "This package provides documentation for Mendex (Japanese index
processor).")
    (license license:bsd-3)))

(define-public texlive-mentis
  (package
    (name "texlive-mentis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mentis/" "source/latex/mentis/"
                                     "tex/latex/mentis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0js6gp93jzj6kzvwqycilp42zbwslxk6z77g2198gip2i4m1li0i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mentis")
    (synopsis "Basis for books to be published by Mentis publishers")
    (description
     "This LaTeX class loads @code{scrbook} and provides changes necessary for
publishing at Mentis publishers in Paderborn, Germany.  It is not an official
Mentis class, but developed in close co-operation with Mentis.")
    (license license:lppl)))

(define-public texlive-merriweather
  (package
    (name "texlive-merriweather")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/merriweather/"
                                     "fonts/enc/dvips/merriweather/"
                                     "fonts/map/dvips/merriweather/"
                                     "fonts/opentype/sorkin/merriweather/"
                                     "fonts/tfm/sorkin/merriweather/"
                                     "fonts/type1/sorkin/merriweather/"
                                     "fonts/vf/sorkin/merriweather/"
                                     "tex/latex/merriweather/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dgjw3ld1srv2irnhn6b592y9q9917y6w1x1kcqb4a7dv8s7wpzj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/merriweather")
    (synopsis "Merriweather and MerriweatherSans fonts, with LaTeX support")
    (description
     "This package provides the Merriweather and MerriweatherSans families of
fonts, designed by Eben Sorkin, with support for LaTeX, pdfLaTeX, XeLaTeX, and
LuaLaTeX.  Merriweather features a very large x-height, slightly condensed
letterforms, a mild diagonal stress, sturdy serifs and open forms.  The Sans
family closely harmonizes with the weights and styles of the serif family.
There are four weights and italics for each.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-messagepassing
  (package
    (name "texlive-messagepassing")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/messagepassing/"
                                     "source/latex/messagepassing/"
                                     "tex/latex/messagepassing/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y73kc0jfk7mbcqa0z8g3rdqrw9yhz0z23j94wsks3g2lfl31l0j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/messagepassing")
    (synopsis "Draw diagrams to represent communication protocols")
    (description
     "This package provides an environment to easily draw diagrams to
represent communication protocols using message passing among processes.
Processes are represented as horizontal or vertical lines, and communications
as arrows between lines.  The package also provides multiple macros to
decorate those diagrams, for instance to annotate the diagram, to add crashes
to the processes, checkpoints, ...")
    (license license:lppl1.3+)))

(define-public texlive-metafont-beginners
  (package
    (name "texlive-metafont-beginners")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/metafont-beginners/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12hhvlnvh8dj1396242m6yi0341cina7sxrv7pwzqxzzahwdvmgm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metafont-beginners")
    (synopsis "Introductory tutorial for Metafont")
    (description
     "This package provides an old introduction to the use of Metafont, that
has stood the test of time.  It focuses on using the program, rather than
designing fonts, but does offer advice about understanding errors in other
people's fonts.")
    (license license:public-domain)))

(define-public texlive-metapost-examples
  (package
    (name "texlive-metapost-examples")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/metapost-examples/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rslyjnw27b5br17cbf6mjjkcgyr49yav4kw12spm3vdwyzb7gxr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metapost-examples")
    (synopsis "Example drawings using MetaPost")
    (description
     "This package provides a few (hundred) example pictures drawn with MetaPost,
ranging from very simple (lines and circles) to rather intricate (uncommon
geometric transformations, fractals, bitmap, etc).")
    (license license:gpl1+)))

(define-public texlive-metrix
  (package
    (name "texlive-metrix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/metrix/" "source/latex/metrix/"
                                     "tex/latex/metrix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "185w7pgil8zix0czvd69l5pv6pcjc0n4nfbllm5v5mzr31sc0k5j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metrix")
    (synopsis "Typeset metric marks for Latin text")
    (description
     "The package may be used to type the prosodics/metrics of (Latin) verse;
it provides macros to typeset the symbols standing alone, and in combination
with symbols, giving automatic alignment.")
    (license license:lppl1.3c)))

(define-public texlive-mex
  (package
    (name "texlive-mex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/mex/base/" "source/mex/base/"
                                     "tex/mex/base/" "tex/mex/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kc766cvvbcqrj60ncz4a105nrn454y5c2330y7s7jzh45dx8qsi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "mex" "pdfmex" "utf8mex")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((pdftex (search-input-file inputs "bin/pdftex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink pdftex "mex")
                       (symlink pdftex "pdfmex")
                       (symlink pdftex "utf8mex"))))))))
    (propagated-inputs
     (list texlive-enctex
           texlive-hyphen-complete
           texlive-knuth-lib
           texlive-pdftex
           texlive-pl
           texlive-plain
           texlive-tex
           texlive-tex-ini-files
           texlive-utf8mex))
    (home-page "https://ctan.org/pkg/mex")
    (synopsis "Polish formats for TeX")
    (description
     "MeX is an adaptation of Plain TeX (MeX) and LaTeX209 (LaMeX) formats to
the Polish language and to Polish printing customs.  It contains a complete
set of Metafont sources of Polish fonts, hyphenation rules for the Polish
language and sources of formats.")
    (license license:knuth)))

(define-public texlive-mgltex
  (package
    (name "texlive-mgltex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mgltex/" "source/latex/mgltex/"
                                     "tex/latex/mgltex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lv18k5z59ayxm9z02pnfibhdblvl802nhmpxd7wg0fbl1sk886x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mgltex")
    (synopsis
     "High-quality graphics from MGL scripts embedded in LaTeX documents")
    (description
     "This package allows you to create high-quality publication-ready
graphics directly from MGL scripts embedded into your LaTeX document, using
the MathGL library.

MathGL is a fast and efficient library by Alexey Balakin for the creation of
high-quality publication-ready scientific graphics.  Although it defines
interfaces for many programming languages, it also implements its own
scripting language, called MGL, which can be used independently.")
    (license (list license:gpl3 license:cc-by-sa3.0))))

(define-public texlive-mhchem
  (package
    (name "texlive-mhchem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mhchem/" "tex/latex/mhchem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lnvca8f4xyc756mq2nj9skzjmm5m66ahzxf70yh4gpixc5ijq2r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-amsmath
           texlive-chemgreek
           texlive-graphics
           texlive-l3kernel
           texlive-l3packages
           texlive-tools))
    (home-page "https://ctan.org/pkg/mhchem")
    (synopsis
     "Typeset chemical formulae/equations and H and P statements")
    (description
     "The bundle provides three packages: The @code{mhchem} package provides
commands for typesetting chemical molecular formulae and equations.  The
@code{hpstatement} package provides commands for the official hazard
statements and precautionary statements (H and P statements) that are used to
label chemicals.  The @code{rsphrase} package provides commands for the
official Risk and Safety (R and S) Phrases that are used to label chemicals.")
    (license license:lppl1.3c)))

(define-public texlive-mhequ
  (package
    (name "texlive-mhequ")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mhequ/" "tex/latex/mhequ/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08k45mklj8ag5z3rmn9c15f6pgixz6pxlip4wp07q4l6xdzkk8fq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mhequ")
    (synopsis "Multicolumn equations, tags, labels, sub-numbering")
    (description
     "The @code{mhequ} style file simplifies creating multi-column equation
environments and tagging equations therein.  It supports sub-numbering of
blocks of equations, such as @samp{(1.2a)} and @samp{(1.2b)}, references to
each equation individually @samp{(1.2a)} or to the whole block @samp{(1.2)}.
The labels can be shown in draft mode.  The default behaviour is to show an
equation number if and only if the equation actually has a label, which
reduces visual clutter.")
    (license license:public-domain)))

(define-public texlive-miama
  (package
    (name "texlive-miama")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/miama/"
                                     "fonts/afm/public/miama/"
                                     "fonts/enc/dvips/miama/"
                                     "fonts/map/dvips/miama/"
                                     "fonts/opentype/public/miama/"
                                     "fonts/tfm/public/miama/"
                                     "fonts/type1/public/miama/"
                                     "source/fonts/miama/"
                                     "tex/latex/miama/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07a2i250himdjnphq39kq08ycl7mgi9v1w3cnsg1q2c7qwwizrkw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/miama")
    (synopsis "Miama Nueva handwriting font with LaTeX support")
    (description
     "Miama Nueva is a handwriting and script font with over 1300 glyphs that
supports Latin, Cyrillic, and Greek.  It comes complete with LaTeX support.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-miller
  (package
    (name "texlive-miller")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/miller/" "source/latex/miller/"
                                     "tex/latex/miller/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "062pzzzi72hrhvxqg8ay9bacqq1rcjry3ms3j9amzmz6zma3jrgw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/miller")
    (synopsis "Typeset Miller indices")
    (description
     "This package typesets Miller indices that are used in material science
with an easy syntax.  Minus signs are printed as bar above the corresponding
number.")
    (license license:lppl)))

(define-public texlive-minimalist
  (package
    (name "texlive-minimalist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/minimalist/"
                                     "tex/latex/minimalist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rcplrng5ib61pwzi32rjxjprk8b5y087xbcyz5jrmkhsyawy575"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-projlib))
    (home-page "https://ctan.org/pkg/minimalist")
    (synopsis "Write your articles or books in a simple and clear way")
    (description
     "This package offers you a LaTeX style file and two classes to typeset
articles or books in a simple and clear way.  These classes currently have
native support for English, French, German, Italian, Portuguese (European and
Brazilian), and Spanish typesetting.  They compile with any major TeX engine.
You may also wish to consider the packages @code{einfart} and
@code{simplivre}, which are enhanced versions of the classes provided here.")
    (license license:lppl1.3c)))

(define-public texlive-mintspirit
  (package
    (name "texlive-mintspirit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/mintspirit/"
                                     "fonts/enc/dvips/mintspirit/"
                                     "fonts/map/dvips/mintspirit/"
                                     "fonts/opentype/arkandis/mintspirit/"
                                     "fonts/tfm/arkandis/mintspirit/"
                                     "fonts/type1/arkandis/mintspirit/"
                                     "fonts/vf/arkandis/mintspirit/"
                                     "tex/latex/mintspirit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rh8xjrxm996k2qkd42r27fz8ir8cg8bpy1fgbdbbjyd3a6xpic3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mintspirit")
    (synopsis "LaTeX support for MintSpirit font families")
    (description
     "The package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the MintSpirit and MintSpiritNo2 families of fonts, designed by Hirwen
Harendal.  MintSpirit was originally designed for use as a system font on
a Linux Mint system.  The No.@: 2 variant provides more conventional shapes
for some glyphs.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-mismath
  (package
    (name "texlive-mismath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mismath/" "source/latex/mismath/"
                                     "tex/latex/mismath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1400jh0lnrz24zdwn9hai222haz9fqr0rxld9lnf42drlmb0nlxz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mismath")
    (synopsis "Miscellaneous mathematical macros")
    (description
     "The package provides some mathematical macros to typeset: mathematical
constants @samp{e}, @samp{i}, @samp{p} in upright shape (automatically) as
recommended by ISO 80000-2, vectors with beautiful arrows and adjusted norm,
some standard operator names, improved spacings in mathematical formulas,
systems of equations and small matrices, @code{displaymath} in double columns
for long calculations.")
    (license license:lppl1.3+)))

(define-public texlive-missaali
  (package
    (name "texlive-missaali")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/missaali/"
                                     "fonts/opentype/public/missaali/"
                                     "tex/latex/missaali/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wa6knx1s82q86rl2icd9nqlh5ppa3636f28ns6g1l5fag6wd283"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/missaali")
    (synopsis "Late medieval OpenType Textura font")
    (description
     "This package contains the OpenType Textura font Missaali and a style
file for using it with XeLaTeX.  Textura is a typeface based on the
@emph{textus quadratus} form of the @emph{textualis formata} that late
medieval scribes used for the most valuable manuscripts.  The font Missaali is
based on Textura that German printer Bartholomew Ghotan used for printing
missals and psalters in the 1480s.

This font has two intended use cases: as a Gothic display font; and for
emulating late-medieval manuscripts.  In addition to the basic Textura
letters, the font contains a large number of abbreviation sigla as well as
a set of Lombardic initials.  As modern typesetting algorithms are not
intended for creating 15th century style layout, the package contains
a XeLaTeX style file that makes it easier to achieve the classic incunabula
look.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-mlacls
  (package
    (name "texlive-mlacls")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mlacls/" "source/latex/mlacls/"
                                     "tex/latex/mlacls/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g6kqsrvcvf8xmygb7rh18a1amqc83fp7fghvd17klsaslal83cd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mlacls")
    (synopsis "LaTeX class for MLA papers")
    (description
     "In the United States, secondary and undergraduate students are generally
expected to adhere to the format prescribed by the @acronym{MLA, Modern
Language Association} for typewritten essays, research papers and writings.
This package provides a simple, straightforward LaTeX class for composing
papers almost perfectly adherent to the MLA style guide.")
    (license license:lppl1.3c)))

(define-public texlive-mlmodern
  (package
    (name "texlive-mlmodern")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/mlmodern/"
                                     "fonts/map/dvips/mlmodern/"
                                     "fonts/tfm/public/mlmodern/"
                                     "fonts/type1/public/mlmodern/"
                                     "tex/latex/mlmodern/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cw802x67yqh6zlkf89pdjlx0r5lmwdca5vcqxmv24c5gx2bc666"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mlmodern")
    (synopsis
     "Blacker Type 1 version of Computer Modern, with multilingual support")
    (description
     "MLModern is a text and math font family with (La)TeX support, based on
the design of Donald Knuth's Computer Modern and the Latin Modern project.  It
avoids the spindliness of most other Type 1 versions of Computer Modern.")
    (license license:lppl1.3c)))

(define-public texlive-mltex
  (package
    (name "texlive-mltex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mltex/" "tex/latex/mltex/"
                                     "tex/mltex/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ip0q5kqj6bg4jkginzljknbrd74ss4iky2gvlmf8nnrq06n89my"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "mllatex" "mltex")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((pdftex (search-input-file inputs "bin/pdftex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink pdftex "mllatex")
                       (symlink pdftex "mltex"))))))))
    (propagated-inputs
     (list texlive-babel
           texlive-cm
           texlive-firstaid
           texlive-hyphen-complete
           texlive-knuth-lib
           texlive-l3backend
           texlive-l3kernel
           texlive-latex
           texlive-latex-fonts
           texlive-latexconfig
           texlive-plain
           texlive-tex-ini-files
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/mltex")
    (synopsis "The MLTeX system")
    (description
     "MLTeX is a modification of TeX that allows the hyphenation of words with
accented letters using ordinary Computer Modern (CM) fonts.  The system is
distributed as a TeX change file.")
    (license license:knuth)))

(define-public texlive-mluexercise
  (package
    (name "texlive-mluexercise")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mluexercise/"
                                     "source/latex/mluexercise/"
                                     "tex/latex/mluexercise/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zvnz3rm9dq8h00hlbzll5cvw4zlcy8xr8l6cfjg0winfnyznky8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:build-targets #~(list "mluexercice.dtx")))
    (home-page "https://ctan.org/pkg/mluexercise")
    (synopsis
     "Exercises and homework at the Martin Luther University Halle-Wittenberg")
    (description
     "This package provides a template class for solving weekly exercises at
the Institute for Computer Science of Martin Luther University
Halle-Wittenberg.  The class can be used by all students --- especially first
semesters --- to typeset their exercises with low effort in beautiful LaTeX.
A bunch of handy macros are included that are used throughout many lectures
during the bachelor's degree program.")
    (license license:expat)))

(define-public texlive-mnras
  (package
    (name "texlive-mnras")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/mnras/" "doc/latex/mnras/"
                                     "tex/latex/mnras/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fzdd0r49g7wbdwhin93b8m4z8zx3n9ipl3gmpypncsmwr096crg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mnras")
    (synopsis "Monthly Notices of the Royal Astronomical Society")
    (description
     "This package is used for preparing papers in the journal @emph{Monthly
Notices of the Royal Astronomical Society}.")
    (license license:lppl1.3+)))

(define-public texlive-mnsymbol
  (package
    (name "texlive-mnsymbol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mnsymbol/"
                                     "fonts/enc/dvips/mnsymbol/"
                                     "fonts/map/dvips/mnsymbol/"
                                     "fonts/map/vtex/mnsymbol/"
                                     "fonts/opentype/public/mnsymbol/"
                                     "fonts/source/public/mnsymbol/"
                                     "fonts/tfm/public/mnsymbol/"
                                     "fonts/type1/public/mnsymbol/"
                                     "source/latex/mnsymbol/"
                                     "tex/latex/mnsymbol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "164zspl0wcpmba9j0kl6wy8k46xaafjvwjp0dn82dzh73r85jdk2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/mnsymbol")
    (synopsis "Mathematical symbol font for Adobe MinionPro")
    (description
     "MnSymbol is a symbol font family, designed to be used in conjunction
with Adobe Minion Pro (via the MinionPro package).  Almost all of LaTeX and
AMS mathematical symbols are provided; remaining coverage is available from
the MinionPro font with the MinionPro package.  The fonts are available both
as Metafont source and as Adobe Type 1 format, and a comprehensive support
package is provided.")
    (license license:public-domain)))

(define-public texlive-modeles-factures-belges-assocs
  (package
    (name "texlive-modeles-factures-belges-assocs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/modeles-factures-belges-assocs/"
                                     "tex/latex/modeles-factures-belges-assocs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rj4r3qa5khgc54f1gz73zywrh61rdw76hlrk9jb6b08gz56wzdz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/modeles-factures-belges-assocs")
    (synopsis "Generate invoices for Belgian non-profit organizations")
    (description
     "This package provides templates and a @file{.sty} file for generating
invoices for Belgian non-profit organizations.")
    (license license:lppl1.3c)))

(define-public texlive-montserrat
  (package
    (name "texlive-montserrat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/montserrat/"
                                     "fonts/enc/dvips/montserrat/"
                                     "fonts/map/dvips/montserrat/"
                                     "fonts/opentype/public/montserrat/"
                                     "fonts/tfm/public/montserrat/"
                                     "fonts/type1/public/montserrat/"
                                     "fonts/vf/public/montserrat/"
                                     "tex/latex/montserrat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08aaypw8l30sb0rvv2s9jcw15k3909xam98z2c6vj2x5jyi9wzn7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/montserrat")
    (synopsis "Montserrat sans serif, with LaTeX support files")
    (description
     "Montserrat is a geometric sans-serif typeface designed by Julieta
Ulanovsky.  It is rather close in spirit to Gotham and Proxima Nova, but has
its own individual appearance --- more informal, less extended, and more
idiosyncratic.  It is provided in a total of nine different weights, each
having eight figure styles and small caps in both upright and italic shapes.
There are two quite different versions that don't fit into the usual LaTeX
classifications.  The version having the appellation Alternates has letter
shapes that are much more rounded than the default version, reflecting the
signage in the neighborhood of Montserrat.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-mparhack
  (package
    (name "texlive-mparhack")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mparhack/"
                                     "source/latex/mparhack/"
                                     "tex/latex/mparhack/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ajlpri5bi62k9wsmic3j2xjkz1wzjc3n4fr04c5d667jsibpfmg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mparhack")
    (synopsis "Work around a LaTeX bug in marginpars")
    (description
     "This package works around the LaTeX bug that marginpars will sometimes
come out at the wrong margin.")
    (license license:gpl2+)))

(define-public texlive-mpfonts
  (package
    (name "texlive-mpfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/mpfonts/"
                                     "fonts/map/dvips/mpfonts/"
                                     "fonts/type3/mpfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z6pdjwi14fq6y1s39gxyqlpg6p5j09psjv1cyp7xjwjffdikgaf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mpfonts")
    (synopsis "Computer Modern Type 3 fonts converted using MetaPost")
    (description
     "The Computer Modern fonts are available in Type 1 format, but these
renditions are somewhat thin and spindly, and produce much lighter results
than the originals.  These fonts are conversions to Type 3 fonts, done
entirely in MetaPost; they are vector fonts which are a direct conversion from
the original Metafont files, so they are the design most authentic to the
originals.  However, these fonts, because they are PostScript Type 3 fonts,
are not suitable for on-screen reading, and should probably only be used for
printing.")
    (license (list license:knuth
                   license:lppl1.2+
                   license:silofl1.1
                   license:public-domain))))

(define-public texlive-mucproc
  (package
    (name "texlive-mucproc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mucproc/" "source/latex/mucproc/"
                                     "tex/latex/mucproc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l6xycas6asggpd4hd1b7x5x867nsx8aw2fkdd1ib8g98i5a8vhk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mucproc")
    (synopsis "Conference proceedings for the German MuC-conference")
    (description
     "The @file{mucproc.cls} is a document class to support the formatting
guidelines for submissions to the German Mensch und Computer conference.")
    (license license:lppl1.3+)))

(define-public texlive-mugsthesis
  (package
    (name "texlive-mugsthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mugsthesis/"
                                     "source/latex/mugsthesis/"
                                     "tex/latex/mugsthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xf3zjwx6k2dg1hrz4nw6shn6xk3lvmjprg3psfrh3z38r1sp9nh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mugsthesis")
    (synopsis
     "Thesis class complying with Marquette University Graduate School
requirements")
    (description
     "The bundle offers a thesis class, based on @code{memoir}, that complies
with Marquette University Graduate School requirements.")
    (license license:lppl1.3+)))

(define-public texlive-muling
  (package
    (name "texlive-muling")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/muling/" "source/latex/muling/"
                                     "tex/latex/muling/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lz19h237xkijcxlmbv982bs8niscya9m4l9w5ai01vlvh1hg9z6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/muling")
    (synopsis
     "MA thesis class for the Department of Linguistics, University of
Mumbai")
    (description
     "This is a class file for writing MA thesis as required by the
Department of Linguistics at the University of Mumbai.")
    (license license:lppl1.3c)))

(define-public texlive-multibib
  (package
    (name "texlive-multibib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/multibib/" "doc/latex/multibib/"
                                     "makeindex/multibib/"
                                     "source/latex/multibib/"
                                     "tex/latex/multibib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m16vi9fj2yc49a6iqcccd7yay26i8zpyzzsgxywlrp4ijrx4hqc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/multibib")
    (synopsis "Multiple bibliographies within one document")
    (description
     "The package the creation of references to multiple bibliographies within
one document.  It thus provides complementary functionality to packages like
@code{bibunits} and @code{chapterbib}, which allow the creation of one
bibliography for multiple, but different parts of the document.  Multibib is
compatible with @code{inlinebib}, @code{natbib}, and @code{koma-script}.")
    (license license:lppl)))

(define-public texlive-multibibliography
  (package
    (name "texlive-multibibliography")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/multibibliography/"
                                     "doc/latex/multibibliography/"
                                     "scripts/multibibliography/"
                                     "source/latex/multibibliography/"
                                     "tex/latex/multibibliography/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10281fv7xfqmdc08pyk9l9280crklsfqwf5cwd5ysbhdz1r0grcm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "multibibliography.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/multibibliography")
    (synopsis
     "Multiple versions of a bibliography, with different sort orders")
    (description
     "Conventional standards for bibliography styles impose a forced choice
between index and name/year citations, and corresponding references.  The
package avoids this choice, by providing alphabetic, sequenced, and even
chronological orderings of references.  Inline citations, that integrate these
heterogeneous styles, are also supported (and work with other bibliography
packages).")
    (license license:lppl1.3+)))

(define-public texlive-multiobjective
  (package
    (name "texlive-multiobjective")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/multiobjective/"
                                     "source/latex/multiobjective/"
                                     "tex/latex/multiobjective/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f5l6pg8877a7777vzlh91yxv2rliijgdhkm71fim5n66q0ym9y4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/multiobjective")
    (synopsis "Symbols for multiobjective optimisation etc")
    (description
     "The package provides a series of operators commonly used in papers
related to multiobjective optimisation, multiobjective evolutionary
algorithms, multicriteria decision making and similar fields.")
    (license license:lppl)))

(define-public texlive-munich
  (package
    (name "texlive-munich")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/munich/" "doc/latex/munich/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w464hiivzccfk0i4hz60x3q14h38y2yzycldckx144q0z6i4c5r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/munich")
    (synopsis "Alternative author-date bibliography style")
    (description
     "The Munich BibTeX style is produced with @code{custom-bib}, as a German
(and, more generally, Continental European) alternative to such author-date
styles as @code{harvard} and @code{oxford}.")
    (license license:lppl)))

(define-public texlive-musical
  (package
    (name "texlive-musical")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/musical/" "tex/latex/musical/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qdrd622vs5dkr5w6pvf04hvni1jqcgxfvhf0ak7gjaxjczisb9h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/musical")
    (synopsis "Typeset (musical) theatre scripts")
    (description
     "This package is designed to simplify the development and distribution of
scripts for theatrical musicals, especially ones under development.  The
output is formatted to follow generally accepted script style while also
maintaining a high level of typographic integrity, and includes commands for
dialog, lyrics, stage directions, music and dance cues, rehearsal marks, and
more.  It gracefully handles dialog that crosses page breaks, and can generate
lists of songs and lists of dances in the show.")
    (license license:lppl1.3+)))

(define-public texlive-musicography
  (package
    (name "texlive-musicography")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/musicography/"
                                     "tex/latex/musicography/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ppzxx875vzisdmmjkkgn6jcsnr0zvz06h0j1pkq2khl4mp59jik"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/musicography")
    (synopsis "Accessing symbols for music writing with pdfLaTeX")
    (description
     "This package makes available the most commonly used symbols in writing
about music in a way that can be used with pdfLaTeX and looks consistent and
attractive.  It includes accidentals, meters, and notes of different rhythmic
values.  The package builds on the approach used in the @code{harmony}
package, where the symbols are taken from the MusiXTeX fonts.  But it provides
a larger range of symbols and a more flexible, user-friendly interface.")
    (license license:lppl1.3+)))

(define-public texlive-musikui
  (package
    (name "texlive-musikui")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/musikui/" "tex/latex/musikui/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r5ygiavq51sj0l2jcn8jzc1jafach05a3pz2xvzxmxsxdjgzf02"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/musikui")
    (synopsis "Easy creation of ``arithmetical restoration'' puzzles")
    (description
     "This package permits to easily typeset arithmetical restorations using
LaTeX.")
    (license license:lppl)))

(define-public texlive-musixguit
  (package
    (name "texlive-musixguit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/musixguit/"
                                     "tex/latex/musixguit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ck8li0wdn22x0g4f57c9r57ans4rj7ggrm3rsp7xnqgc78as065"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/musixguit")
    (synopsis "Easy notation for guitar music, in MusixTeX")
    (description
     "The package provides commands for typesetting notes for guitar,
especially for simplifying guitar notation with MusixTeX.")
    (license license:lppl1.3+)))

(define-public texlive-musixtex
  (package
    (name "texlive-musixtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/musixtex/"
                                     "doc/man/man1/musixflx.1"
                                     "doc/man/man1/musixflx.man1.pdf"
                                     "doc/man/man1/musixtex.1"
                                     "doc/man/man1/musixtex.man1.pdf"
                                     "dvips/musixtex/"
                                     "scripts/musixtex/"
                                     "source/generic/musixtex/musixcrd/"
                                     "tex/generic/musixtex/"
                                     "tex/latex/musixtex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jjsciwgibw3zqng9ix51ykxjr9kvljsqpamrk7d62s2lkvxx4xn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:build-targets #~(list "strip.tex")
           #:link-scripts #~(list "musixflx.lua" "musixtex.lua")))
    (home-page "https://ctan.org/pkg/musixtex")
    (synopsis "Sophisticated music typesetting")
    (description
     "MusiXTeX provides a set of macros, based on the earlier MusicTeX,
for typesetting music with TeX.  To produce optimal spacing, MusiXTeX
is a three-pass system: @command{etex}, @command{musixflx}, and
@command{etex} again.  (Musixflx is a Lua script that is provided in
the bundle.) The three-pass process, optionally followed by processing
for printed output, is automated by the @command{musixtex} wrapper
script.

The package uses its own specialised fonts, which must be available on the
system for @command{musixtex} to run.  The MusiXTeX macros are universally
acknowledged to be challenging to use directly: the @command{pmx} preprocessor
compiles a simpler input language to MusiXTeX macros.")
    (license license:gpl2+)))

(define-public texlive-musixtex-fonts
  (package
    (name "texlive-musixtex-fonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/musixtex-fonts/"
                                     "fonts/map/dvips/musixtex-fonts/"
                                     "fonts/opentype/public/musixtex-fonts/"
                                     "fonts/source/public/musixtex-fonts/"
                                     "fonts/tfm/public/musixtex-fonts/"
                                     "fonts/type1/public/musixtex-fonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ychs959d1yvxkhwayf73iwvl4qg0a6v5fk7lnw8w3hk8n7zvp86"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/musixtex-fonts")
    (synopsis "Fonts used by MusixTeX")
    (description
     "These are fonts for use with MusixTeX; they are provided both as
original Metafont source, and as converted Adobe Type 1.  The bundle renders
the older (Type 1 fonts only) bundle @code{musixtex-t1fonts} obsolete.")
    (license license:gpl3+)))

(define-public texlive-musixtnt
  (package
    (name "texlive-musixtnt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/musixtnt/"
                                     "doc/man/man1/msxlint.1"
                                     "doc/man/man1/msxlint.man1.pdf"
                                     "tex/generic/musixtnt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z1rfscla1hiibd0gs3lgf8x5yx19pmwdsbzvx2vvz0ikwgjglm9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-musixtex texlive-musixtnt-bin))
    (home-page "https://ctan.org/pkg/musixtnt")
    (synopsis
     "MusiXTeX extension library enabling transformations of the effect of
notes commands")
    (description
     "This archive contains a MusiXTeX extension library @file{musixtnt.tex}
and a program, @command{msxlint}.

@file{musixtnt.tex} provides a macro @code{\\TransformNotes} that enables
transformations of the effect of notes commands such as @code{\\notes}.  In
general, the effect of @code{\\TransformNotes@{input@}@{output@}} is that
notes commands in the source will expect their arguments to match the input
pattern, but the notes will be typeset according to the output pattern.  An
example is extracting single-instrument parts from a multi-instrument score.

@command{msxlint} detects incorrectly formatted notes lines in a MusiXTeX
source file.  This should be used before using @code{\\TransformNotes}.")
    (license license:gpl2)))

(define-public texlive-musixtnt-bin
  (package
    (inherit texlive-bin)
    (name "texlive-musixtnt-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("musixtnt"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-musixtnt" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/musixtnt"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/musixtnt"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-musixtnt))
    (synopsis "Binary for @code{texlive-musixtnt}")
    (description
     "This package provides the binary for @code{texlive-musixtnt}.")
    (license (package-license texlive-musixtnt))))

(define-public texlive-musuos
  (package
    (name "texlive-musuos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/musuos/" "source/latex/musuos/"
                                     "tex/latex/musuos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a7cyjfgch6fvwdv2wi78sx2fdgmjbpb85gp2clhvgf15nkw0h94"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/musuos")
    (synopsis "Typeset papers for the department of music, Osnabruck")
    (description
     "The package provides a LaTeX class for typesetting term papers at the
institute of music and musicology of the University of Osnabruck, Germany,
according to the specifications of Prof.@: Stefan Hahnheide.  A BibLaTeX style
is provided.")
    (license license:lppl)))

(define-public texlive-muthesis
  (package
    (name "texlive-muthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/muthesis/" "tex/latex/muthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yydkhxpa9c5w8bpdx09w3mjggff0q2zsq8gkkbjjg29mg5x559j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/muthesis")
    (synopsis "Classes for University of Manchester Dept.@: of Computer
Science")
    (description
     "The bundle provides thesis and project report document classes from the
University of Manchester's Department of Computer Science.")
    (license license:lppl)))

(define-public texlive-msu-thesis
  (package
    (name "texlive-msu-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/msu-thesis/"
                                     "tex/latex/msu-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h84kk88mn1vvakcvxxfwpw1fhc9i8ypmz3y12frzvm6n9h2dyy2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/msu-thesis")
    (synopsis "Class for Michigan State University Master's and PhD theses")
    (description
     "This is a class file for producing dissertations and theses according to
the Michigan State University Graduate School Guidelines for Electronic
Submission of master's theses and dissertations.  The class should meet all
current requirements and is updated whenever the university guidelines change.
The class is based on the @code{memoir} document class, and inherits the
functionality of that class.")
    (license license:lppl1.3+)))

(define-public texlive-mwcls
  (package
    (name "texlive-mwcls")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mwcls/" "source/latex/mwcls/"
                                     "tex/latex/mwcls/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pj1m08gh5zsahvzan6wq9v0lnir9zb4qvgkadsl6jm9ia8990yn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mwcls")
    (synopsis "Polish-oriented document classes")
    (description
     "@code{mwcls} is a set of document classes for LaTeX designed with Polish
typographical tradition in mind.  The classes include: @code{mwart} (which is
a replacement for @code{article}), @code{mwrep} (replacing @code{report}), and
@code{mwbk} (replacing @code{book}).

Most features present in standard classes work with @code{mwcls} classes.
Some extensions/exceptions include: sectioning commands allow for second
optional argument (it is possible to state different texts for running head
and for TOC), new environments @code{itemize*} and @code{enumerate*} for lists
with long items, page styles have variants for normal, opening, closing, and
blank pages.")
    (license license:lppl1.2+)))

(define-public texlive-mxedruli
  (package
    (name "texlive-mxedruli")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/mxedruli/"
                                     "fonts/afm/public/mxedruli/"
                                     "fonts/map/dvips/mxedruli/"
                                     "fonts/source/public/mxedruli/"
                                     "fonts/tfm/public/mxedruli/"
                                     "fonts/type1/public/mxedruli/"
                                     "tex/latex/mxedruli/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "070lfw12mfimcwhkgb1hh092p8npmhpmba28rzzwfl1kmsmk99q5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/mxedruli")
    (synopsis "Pair of fonts for different Georgian alphabets")
    (description
     "This package provides two Georgian fonts, in both Metafont and Type
1 formats, which cover the Mxedruli and the Xucuri alphabets.")
    (license license:lppl)))

(define-public texlive-mynsfc
  (package
    (name "texlive-mynsfc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/mynsfc/"
                                     "source/xelatex/mynsfc/"
                                     "tex/xelatex/mynsfc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15vbgqmqsjqz068gn5ql5ca3wbw7gdq1vnaazpwmc71jdybxxv14"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; "mynsfc.ins" writes files to "./examples".  Create this
               ;; directory first to prevent an error.
               (add-before 'build 'prepare-build
                 (lambda _ (mkdir-p "build/examples"))))))
    (home-page "https://ctan.org/pkg/mynsfc")
    (synopsis "XeLaTeX template for writing the main body of NSFC proposals")
    (description
     "The package provides a XeLaTeX template for writing the main body of
@acronym{NSFC, National Natural Science Foundation of China} proposals, which
are allowed to apply online.  The package defines styles of the outlines and
uses BibLaTeX and Biber for the management of references.")
    (license license:lppl1.3c)))

(define-public texlive-na-box
  (package
    (name "texlive-na-box")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/na-box/" "tex/xelatex/na-box/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j02k0d4m23yackb1vn8pajxwkimkkrx9h512xs3hkxdi6qdwb73"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/na-box")
    (synopsis "Arabic-aware version of @code{pas-cours} package")
    (description
     "This is a modified version of the @code{pas-cours} package made
compatible with XeLaTeX and Polyglossia to write Arabic documents with fancy
boxed @code{theorem}-alike environments.")
    (license license:lppl)))

(define-public texlive-naive-ebnf
  (package
    (name "texlive-naive-ebnf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/naive-ebnf/"
                                     "source/latex/naive-ebnf/"
                                     "tex/latex/naive-ebnf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z32jdxnw9lzc49ar6h8wb7rzh52pbkh88jha7zgz6nywpr7dwk1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-filecontentsdef
           texlive-l3kernel
           texlive-pgfopts))
    (home-page "https://ctan.org/pkg/naive-ebnf")
    (synopsis "EBNF in Plain Text")
    (description
     "With the help of this LaTeX package, a context-free grammar (CFG) may be
rendered in a plain-text mode using a simplified Extended Backus-Naur
Form (EBNF) notation.")
    (license license:expat)))

(define-public texlive-namedtensor
  (package
    (name "texlive-namedtensor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/namedtensor/"
                                     "tex/latex/namedtensor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bsphfy1k9kplfmhn8qcb2y90l5ga1281r5xds4jn73m319n0iq5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/namedtensor")
    (synopsis "Macros for named tensor notation")
    (description "This style file provides macros for named tensor notation.")
    (license license:expat)))

(define-public texlive-nanicolle
  (package
    (name "texlive-nanicolle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/nanicolle/"
                                     "tex/xelatex/nanicolle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lzcsmy4iw0ch3w1g3h5b23hkzspi5q2gs406l4cihfmf30yiadk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nanicolle")
    (synopsis "Typesetting herbarium specimen labels")
    (description
     "This package provides a LaTeX class @file{nanicolle.cls} for typesetting
collection labels and identification labels in Chinese style or in western
style for plant herbarium specimens.  So far, documents using this class can
only be compiled with XeLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-nanumtype1
  (package
    (name "texlive-nanumtype1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/nanumtype1/"
                                     "fonts/afm/public/nanumtype1/"
                                     "fonts/map/dvips/nanumtype1/"
                                     "fonts/tfm/public/nanumtype1/"
                                     "fonts/type1/public/nanumtype1/"
                                     "fonts/vf/public/nanumtype1/"
                                     "tex/latex/nanumtype1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n7dbhxa186x7f2ql8kjr2bn425vlhswl2m5n2n3iklfam9bmf6k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nanumtype1")
    (synopsis "Type1 subfonts of Nanum Korean fonts")
    (description
     "Nanum is a unicode font designed especially for Korean-language script.
The font was designed by Sandoll Communication and Fontrix; it includes the
sans serif (gothic), serif (myeongjo), pen script and brush script typefaces.
The package provides Type1 subfonts converted from Nanum Myeongjo (Regular and
@code{ExtraBold)} and Nanum Gothic (Regular and Bold) OTFs.  C70, LUC, T1, and
TS1 font definition files are also provided.")
    (license license:silofl1.1)))

(define-public texlive-nar
  (package
    (name "texlive-nar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/nar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nwk71qirapkg3h6jwlv53fm6zwb2vq0fvmc4xcanf19sm3331mk"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nar")
    (synopsis "BibTeX style for @emph{Nucleic Acid Research}")
    (description
     "This BibTeX bibliography style is for the journal @emph{Nucleic Acid Research}.
It was adapted from the standard @file{unsrt.bst} style file.")
    (license license:knuth)))

(define-public texlive-natded
  (package
    (name "texlive-natded")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/natded/" "tex/latex/natded/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01zfxh4ryjjv5qyvbs1pgwpcnq19rdrg3drd2gfx3c4ppqvwbxp4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/natded")
    (synopsis "Typeset natural deduction proofs")
    (description
     "The package provides commands to typeset proofs in the style used by Jaskowski,
or that of Kalish and Montague.")
    (license license:lppl1.3+)))

(define-public texlive-nath
  (package
    (name "texlive-nath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nath/" "tex/latex/nath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dq9hb3gbqak6406x8av9zig4pc7kxasa3ak0fr50hx4fvfa6v8q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nath")
    (synopsis "Natural mathematics notation")
    (description
     "Nath is a LaTeX style to separate presentation and content in
mathematical typography.  The style delivers a particular context-dependent
presentation on the basis of a rather coarse context-independent notation.
Highlighted features: depending on the context, the command @code{\\frac}
produces either built-up or case or solidus fractions, with parentheses added
whenever required for preservation of the mathematical meaning; delimiters
adapt their size to the material enclosed, rendering @code{\\left} and
@code{\\right} almost obsolete.")
    (license license:gpl3+)))

(define-public texlive-nature
  (package
    (name "texlive-nature")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/nature/" "doc/latex/nature/"
                                     "tex/latex/nature/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04jxf6i83qnhy6i3rpqzm4nzqvc7r56ygx37741ii8yckz58xiah"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nature")
    (synopsis "Prepare papers for the journal @emph{Nature}")
    (description
     "@emph{Nature} does not accept papers in LaTeX, but it does accept PDF.
This class and BibTeX style provide what seems to be necessary to produce
papers in a format acceptable to the publisher.")
    (license license:lppl)))

(define-public texlive-navydocs
  (package
    (name "texlive-navydocs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/navydocs/"
                                     "source/latex/navydocs/"
                                     "tex/latex/navydocs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qisck3lr1nhjnqs195agvmiw93yld801nahr3bb7yyhzgn2f443"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/navydocs")
    (synopsis "Support for technical reports by US Navy organizations")
    (description
     "The @code{navydocs} package provides an easy means for creating title
pages and the following supplementary material pages used in technical reports
by United States Navy organizations.  These pages are generated by specifying
the page content via a set of commands and then calling a macro to create the
page at its occurence in the document.")
    (license license:lppl1.3+)))

(define-public texlive-nchairx
  (package
    (name "texlive-nchairx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nchairx/" "source/latex/nchairx/"
                                     "tex/latex/nchairx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cgp22c26afdpb5pfk5ljp1fr0wvlkf04viw9zbc4gss8hi3gqi5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nchairx")
    (synopsis "Maths macros from chair X of Wurzburg University")
    (description
     "This package was developed by members of the chair for mathematical
physics at the University of Wurzburg as a collection of macros and predefined
environments for quickly creating nice mathematical documents.")
    (license license:lppl1.3+)))

(define-public texlive-nddiss
  (package
    (name "texlive-nddiss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/nddiss/" "doc/latex/nddiss/"
                                     "source/latex/nddiss/" "tex/latex/nddiss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "131gzskjqhh5v677rxf2pap87jvi6jdznimqmql468y3pwc2zja0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nddiss")
    (synopsis "Notre Dame Dissertation format class")
    (description
     "This class file conforms to the requirements of the Graduate School of
the University of Notre Dame; with it a user can format a thesis or
dissertation in LaTeX.")
    (license license:lppl1.2+)))

(define-public texlive-nevelok
  (package
    (name "texlive-nevelok")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nevelok/" "source/latex/nevelok/"
                                     "tex/latex/nevelok/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02g60npy2hp181vnzpna7h2544y7bnbi9y6srpm7kjmd6immm7qn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nevelok")
    (synopsis "LaTeX package for automatic definite articles for Hungarian")
    (description
     "This LaTeX package provides automatic definite articles for Hungarian.")
    (license license:lppl1.3+)))

(define-public texlive-newcastle-bst
  (package
    (name "texlive-newcastle-bst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/newcastle-bst/"
                                     "doc/bibtex/newcastle-bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q5mwwiwf6pvlk6xbvrc6rfm87qrkpp7nba4qgdagjkdrn0hs4jz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newcastle-bst")
    (synopsis
     "BibTeX style following Harvard at Newcastle style recommendations")
    (description
     "This package provides a BibTeX style to format reference lists in the
Harvard at Newcastle style recommended by Newcastle University.  It should be
used alongside @code{natbib} for citations.")
    (license license:lppl1.3c)))

(define-public texlive-newcomputermodern
  (package
    (name "texlive-newcomputermodern")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/newcomputermodern/"
                                     "fonts/opentype/public/newcomputermodern/"
                                     "tex/latex/newcomputermodern/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qqw6src414v9f418xc9pjwzij67rh874rwz8vnrz9fczvpbiq8f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newcomputermodern")
    (synopsis "Computer Modern fonts including matching non-Latin alphabets")
    (description
     "This is a new assembly of Computer Modern fonts including extensions in
many directions for both Latin based languages, non-Latin based languages and
Mathematics, all compatible in style to CM fonts.  In addition to the Regular
weight of Computer Modern, it provides a Book weight for heavier printing.")
    (license license:gfl1.0)))

(define-public texlive-newpx
  (package
    (name "texlive-newpx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/newpx/"
                                     "fonts/afm/public/newpx/"
                                     "fonts/enc/dvips/newpx/"
                                     "fonts/map/dvips/newpx/"
                                     "fonts/opentype/public/newpx/"
                                     "fonts/tfm/public/newpx/"
                                     "fonts/type1/public/newpx/"
                                     "fonts/vf/public/newpx/"
                                     "source/fonts/newpx/"
                                     "tex/latex/newpx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ijy6hgdgyscp8jl2hf1g115k8w41z7mjjh010avgbjjrj7i8zky"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newpx")
    (synopsis "Alternative uses of the PX fonts, with improved metrics")
    (description
     "This package, initially based on @code{pxfonts}, provides many fixes and
enhancements to that package, and splits it in two parts (@code{newpxtext} and
@code{newpxmath}) which may be run independently of one another.  It provides
scaling, improved metrics, and other options.")
    (license (list license:lppl license:silofl1.1))))

(define-public texlive-newtxsf
  (package
    (name "texlive-newtxsf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/newtxsf/"
                                     "fonts/map/dvips/newtxsf/"
                                     "fonts/tfm/public/newtxsf/"
                                     "fonts/type1/public/newtxsf/"
                                     "fonts/vf/public/newtxsf/"
                                     "tex/latex/newtxsf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "042n07d46ps1ciqnkqf7hf21nbgmsmlsrswq3q3v6vcqsxvyrc7d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newtxsf")
    (synopsis "Sans-math fonts for use with @code{newtx}")
    (description
     "The package provides a maths support that amounts to modifications of
the STIX sans serif Roman and Greek letters with most symbols taken from
@code{newtxmath}.")
    (license license:silofl1.1)))

(define-public texlive-newtxtt
  (package
    (name "texlive-newtxtt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/newtxtt/"
                                     "fonts/enc/dvips/newtxtt/"
                                     "fonts/map/dvips/newtxtt/"
                                     "fonts/tfm/public/newtxtt/"
                                     "fonts/type1/public/newtxtt/"
                                     "tex/latex/newtxtt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yhlk13nmzaprkw3vp8gbrdripf9xix1b2wmb48ci2ja4j9fpm46"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newtxtt")
    (synopsis "Enhancement of typewriter fonts from @code{newtx}")
    (description
     "The package provides enhanced fonts with LaTeX support files providing
access to the typewriter fonts from @code{newtx}.  Regular and bold weights,
slanted variants and a choice of four different styles for zero.")
    (license (list license:gpl3 license:lppl))))

(define-public texlive-niceframe-type1
  (package
    (name "texlive-niceframe-type1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/niceframe-type1/"
                                     "fonts/afm/public/niceframe-type1/"
                                     "fonts/map/dvips/niceframe-type1/"
                                     "fonts/type1/public/niceframe-type1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vqdy0k94qn72mbz2kqccx2zlmzrh14qfwgqb16n017wlnynzvd7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/niceframe-type1")
    (synopsis "Type 1 versions of the fonts recommended in @code{niceframe}")
    (description
     "The bundle provides Adobe Type 1 versions of the fonts @code{bbding10},
@code{dingbat}, @code{karta15}, @code{umranda} and @code{umrandb}.")
    (license license:lppl)))

(define-public texlive-nicematrix
  (package
    (name "texlive-nicematrix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nicematrix/"
                                     "source/latex/nicematrix/"
                                     "tex/latex/nicematrix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15jlm41gi2573l1bsqh1ldw49g5gk2bcgcaxm959388xzyky53gy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nicematrix")
    (synopsis "Improve the typesetting of mathematical matrices with PGF")
    (description
     "This package is based on the package @code{array}.  It creates PGF/TikZ
nodes under the cells of the array and uses these nodes to provide
functionalities to construct tabulars, arrays and matrices.  Among the
features, it provides: continuous dotted lines for the mathematical matrices;
exterior rows and columns (so-called border matrices); control of the width of
the columns; tools to color rows and columns with a good PDF result; blocks of
cells; etc.")
    (license license:lppl1.3+)))

(define-public texlive-nimbus15
  (package
    (name "texlive-nimbus15")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/nimbus15/"
                                     "fonts/afm/public/nimbus15/"
                                     "fonts/enc/dvips/nimbus15/"
                                     "fonts/map/dvips/nimbus15/"
                                     "fonts/opentype/public/nimbus15/"
                                     "fonts/tfm/public/nimbus15/"
                                     "fonts/type1/public/nimbus15/"
                                     "fonts/vf/public/nimbus15/"
                                     "tex/latex/nimbus15/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x5y8jcwg3ns4jdz3rqzmd1xsfsdjbab70dnlm3n7lgs64ljlzyk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-fontools))
    (home-page "https://ctan.org/pkg/nimbus15")
    (synopsis "Support files for Nimbus 2015 Core fonts")
    (description
     "The Nimbus 2015 Core fonts added Greek and Cyrillic glyphs.  This
package may be best suited as an add-on to the comprehensive Times package,
providing support for Greek and Cyrillic.  A new intermediate weight of
NimbusMono (AKA Courier) is provided, along with a narrower version which may
be useful for rendering code.")
    (license (list license:agpl3 license:lppl1.3+))))

(define-public texlive-nimsticks
  (package
    (name "texlive-nimsticks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nimsticks/"
                                     "source/latex/nimsticks/"
                                     "tex/latex/nimsticks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y7v01a02lz6mj1fdyrqzgz7kf7y4m3jarkr3sdyid25k0zx9dbj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nimsticks")
    (synopsis "Draws sticks for games of multi-pile nim")
    (description
     "This LaTeX package provides commands @code{\\drawnimstick} to draw
a single nim stick and @code{\\nimgame} which represents games of multi-pile
Nim.  Nim sticks are drawn with a little random wobble so they look thrown
together and not too regular.  The package also provides options to customise
the size and colour of the sticks, and flexibility to draw heaps of different
objects.")
    (license license:expat)))

(define-public texlive-nkarta
  (package
    (name "texlive-nkarta")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/nkarta/"
                                     "fonts/source/public/nkarta/"
                                     "fonts/tfm/public/nkarta/"
                                     "metapost/nkarta/" "source/latex/nkarta/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x5rdacf3d2jm4rgcvmpz76icga4gis4ykmsmp745xb7kh99npjv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/nkarta")
    (synopsis "New version of the Karta cartographic fonts")
    (description
     "This package provides a development of the Karta font, offering more
mathematical stability in Metafont.  A version that will produce the glyphs as
Encapsulated PostScript is also provided.")
    (license license:public-domain)))

(define-public texlive-nmbib
  (package
    (name "texlive-nmbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/nmbib/" "doc/latex/nmbib/"
                                     "source/latex/nmbib/" "tex/latex/nmbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17snspchv0yafz062h59gs9px4dwjk99pwfyxcraw9243k2gd79g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nmbib")
    (synopsis "Multiple versions of a bibliography, with different sort orders")
    (description
     "This package is a rewrite of the @code{multibibliography} package
providing multiple bibliographies with different sorting.  The new version
offers a number of citation commands, streamlines the creation of
bibliographies, ensures compatibility with the @code{natbib} package, and
provides other improvements.")
    (license license:lppl1.3+)))

(define-public texlive-nnext
  (package
    (name "texlive-nnext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nnext/" "source/latex/nnext/"
                                     "tex/latex/nnext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hh2kn4ghnxv9l0xfkh0c0bkflmq5qwnc24y0jm1djjwrnyg1y2r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nnext")
    (synopsis "Extension for the @code{gb4e} package")
    (description
     "This is an add-on for the @code{gb4e} package used in linguistics.  It
implements the @code{\\Next}, @code{\\NNext}, @code{\\Last}, and
@code{\\LLast} commands from the @code{linguex} package or the @code{\\nextx},
@code{\\anextx}, @code{\\lastx}, @code{\\blastx}, and @code{\\bblastx}
commands from the @code{expex} package.")
    (license license:lppl1.3+)))

(define-public texlive-notes2bib
  (package
    (name "texlive-notes2bib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/notes2bib/"
                                     "source/latex/notes2bib/"
                                     "tex/latex/notes2bib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d51xy7hlwdl752yl1sfr7f6r77j41nkpj1mf1l7pycn5nlnii79"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/notes2bib")
    (synopsis "Integrating notes into the bibliography")
    (description
     "The package defines a new type of note, @code{bibnote}, which will
always be added to the bibliography.  The package allows footnotes and
endnotes to be moved into the bibliography in the same way.  The package can
be used with @code{natbib} and BibLaTeX as well as plain LaTeX citations.
Both sorted and unsorted bibliography styles are supported.")
    (license license:lppl1.3c)))

(define-public texlive-notex-bst
  (package
    (name "texlive-notex-bst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/notex-bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14r3q4z35k5n0rl2igjs4lj5ic4yd14xksg1qam5klb6raaf1jkh"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/notex-bst")
    (synopsis "BibTeX style that outputs HTML")
    (description
     "@file{noTeX.bst} produces a number of beautifully formatted HTML
@samp{P} elements instead of TeX code.  It can be used to automatically
generate bibliographies to be served on the web starting from BibTeX files.")
    (license license:public-domain)))

(define-public texlive-noto-emoji
  (package
    (name "texlive-noto-emoji")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/noto-emoji/"
                                     "fonts/truetype/google/noto-emoji/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "117mj4w0gvbndhm7mcxbxzxscd73np5s35467jr2sq2pwbv87i8r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/noto-emoji")
    (synopsis "Noto Emoji fonts")
    (description
     "Noto Color Emoji supports all emoji defined in the latest Unicode
version.")
    (license license:silofl1.1)))

(define-public texlive-notomath
  (package
    (name "texlive-notomath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/notomath/"
                                     "fonts/map/dvips/notomath/"
                                     "fonts/tfm/public/notomath/"
                                     "fonts/type1/public/notomath/"
                                     "fonts/vf/public/notomath/"
                                     "tex/latex/notomath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yb7gs2ks0n714n9isbrh4rdrr96b10v58f29907kjixjhf52cd5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/notomath")
    (synopsis "Math support for Noto fonts")
    (description
     "This package provides math support via @code{newtxmath} for NotoSerif
and NotoSans.  (Regular and Bold weights only.)")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-nuc
  (package
    (name "texlive-nuc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nuc/" "tex/latex/nuc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "006c9k3nix0y8nys3sf6r1sjzswhc0kwxhm01q0sk2pzih981w37"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nuc")
    (synopsis "Notation for nuclear isotopes")
    (description
     "This package provides a simple package providing nuclear sub- and
superscripts as commonly used in radiochemistry, radiation science, and
nuclear physics and engineering applications.  Isotopes which have Z with more
digits than A require special spacing to appear properly; this spacing is
supported in the package.")
    (license license:lppl)))

(define-public texlive-njurepo
  (package
    (name "texlive-njurepo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/njurepo/" "source/latex/njurepo/"
                                     "tex/latex/njurepo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03dli7kk1h8kycbj83h2gy434zl6wvj4xz0lli91b1h8k59i8fv4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/njurepo")
    (synopsis "Reports for Nanjing University")
    (description
     "This LaTeX document class provides a thesis template for Nanjing
University in order to make it easy to write experiment reports and homework
for the bachelor's curriculum.")
    (license license:lppl1.3c)))

(define-public texlive-ndsu-thesis
  (package
    (name "texlive-ndsu-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ndsu-thesis/"
                                     "tex/latex/ndsu-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nwn17993jqiwgjjfi2jqj6m1qq8b1cbgxvq7shqvk48a0zh6y6h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ndsu-thesis")
    (synopsis "North Dakota State University disquisition class")
    (description
     "This package provides a class for generating disquisitions, intended to
be in compliance with North Dakota State University requirements.")
    (license license:lppl1.3+)))

(define-public texlive-ndsu-thesis-2022
  (package
    (name "texlive-ndsu-thesis-2022")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ndsu-thesis-2022/"
                                     "tex/latex/ndsu-thesis-2022/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dpkqwl7w2rqv0k0a3s72incfp9qg04m1ql3mc1hsjnn8f9dysq2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ndsu-thesis-2022")
    (synopsis "North Dakota State University disquisition class 2022")
    (description
     "This package provides a class for generating disquisitions intended to
be in compliance with North Dakota State University requirements.
Updated (2022) North Dakota State University LaTeX thesis class features
several functionalities, including not limited to, numbered and non-numbered
versions, overall justification, document point sizes, fonts options, SI
units, show frames, URL breaking, long tables, subfigures, multi-page figures,
chapter styles, sub-files, algorithm listing, BibTeX and BibLaTeX support,
individual chapter and whole document bibliography, @code{natbib} citations,
and clever references.")
    (license license:lppl1.3c)))

(define-public texlive-nih
  (package
    (name "texlive-nih")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nih/" "tex/latex/nih/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fa4z598i5hvlc4g9zjvqfn34pmmpab37ghi5miklvji5r2a1835"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nih")
    (synopsis "Class for NIH grant applications")
    (description
     "The @code{nih} class offers support for grant applications to @acronym{NIH,
National Institutes of Health}, a US government agency.")
    (license license:lppl)))

(define-public texlive-nihbiosketch
  (package
    (name "texlive-nihbiosketch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nihbiosketch/"
                                     "tex/latex/nihbiosketch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15d22va4bxwy6h0dwahpakiqry0pq0j4mpc0rbm10lgm3z7hz25c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nihbiosketch")
    (synopsis "Class for NIH biosketches based on the 2015 updated format")
    (description
     "This LaTeX document class tries to adhere to the Biographical Sketch
formatting requirements outlined in NIH Notice NOT-OD-15-032..  This new
format is required for applications submitted for due dates on or after May
25, 2015.")
    (license license:lppl1.3+)))

(define-public texlive-njustthesis
  (package
    (name "texlive-njustthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/njustthesis/"
                                     "source/latex/njustthesis/"
                                     "tex/latex/njustthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11xbxz3vvq15v5nr32ww6llq08v7r0x52zmq13dp90nmh0xyj7y6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/njustthesis")
    (synopsis
     "Thesis template for the Nanjing University of Science and Technology")
    (description
     "This is a thesis template for the Nanjing University of Science and
Technology.")
    (license license:gpl3+)))

(define-public texlive-njuthesis
  (package
    (name "texlive-njuthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/njuthesis/"
                                     "source/latex/njuthesis/"
                                     "tex/latex/njuthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s8vf63yhkmyzz3x72cmch4i69q5py0nr9n83rxxjs5rlv3aid9l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/njuthesis")
    (synopsis "LaTeX thesis template for Nanjing University")
    (description
     "The @code{njuthesis} class is intended for typesetting Nanjing
University dissertations with LaTeX, providing support for bachelor, master,
and doctoral theses as well as postdoctoral reports.  Compilation of this
class requires either XeLaTeX or LuaLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-njuvisual
  (package
    (name "texlive-njuvisual")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/njuvisual/"
                                     "source/latex/njuvisual/"
                                     "tex/latex/njuvisual/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v5iv44wi0hh77j56jjccgyrh9kyyfvzbl305vqryphq0r73bk36"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/njuvisual")
    (synopsis "Display logos related to Nanjing University")
    (description
     "The njuvisual package collects standard colors and logos related to
Nanjing University, saves the vector logos as TikZ pictures and provides
a user-friendly interface to display them in documents and beamers.")
    (license license:lppl1.3c)))

(define-public texlive-nostarch
  (package
    (name "texlive-nostarch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/nostarch/" "doc/latex/nostarch/"
                                     "makeindex/nostarch/"
                                     "source/latex/nostarch/"
                                     "tex/latex/nostarch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18c43p8mygfcjxl1swrn5i9snydxp4s9d0mcb4k5qng6b7saavf1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nostarch")
    (synopsis "LaTeX class for No Starch Press")
    (description
     "The package provides the official LaTeX style for No Starch Press.
Provided are a class, a package for interfacing to @code{hyperref} and an
index style file.  The style serves both for printed and for electronic
books.")
    (license license:lppl)))

(define-public texlive-nrc
  (package
    (name "texlive-nrc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nrc/" "source/latex/nrc/"
                                     "tex/latex/nrc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10h5adzwj8558rwgwipjsbq4j5h674v8nrqfp6hvs3wbn8gdd9hj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nrc")
    (synopsis "Class for the NRC technical journals")
    (description
     "This package provides macros, and some documentation, for typesetting
papers for submission to journals published by the National Research Council
Research Press.  At present, only @file{nrc2.cls} (for two-column layout)
should be used.")
    (license license:lppl)))

(define-public texlive-nucleardata
  (package
    (name "texlive-nucleardata")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nucleardata/"
                                     "source/latex/nucleardata/"
                                     "tex/latex/nucleardata/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sdqgb38yyk3bhjgfxy3gxvfmpc0y9s60hhig5rry7kydm2w5jfc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nucleardata")
    (synopsis "Provides data about atomic nuclides for documents")
    (description
     "The package provides data and commands for including nuclear and atomic
mass and energy data in LaTeX documents.  It uses the PythonTeX package and
requires @command{pythontex} to be called with the TeX file as the argument.")
    (license license:lppl1.3+)))

(define-public texlive-numberpt
  (package
    (name "texlive-numberpt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/numberpt/"
                                     "source/latex/numberpt/"
                                     "tex/latex/numberpt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14515d1l9d9pxs333f8m99mclaf8mklrs14h2w3bdk5m37m7pv8i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/numberpt")
    (synopsis "Counters spelled out in Portuguese")
    (description
     "This package defines commands to display counters spelled out in Portuguese.
Options are offered to select variations in the spelling of @samp{14}, or
Brazilian vs. European Portuguese forms in the spelling of @samp{16},
@samp{17}, and @samp{19}.")
    (license license:lppl1.3c)))

(define-public texlive-numerica
  (package
    (name "texlive-numerica")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/numerica/" "tex/latex/numerica/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wgfc68v9n16kj5qc0x4l134jx5xc6gbara5wrci309gmxrylpj6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/numerica")
    (synopsis "Numerically evaluate mathematical expressions in LaTeX form")
    (description
     "This package defines a command to wrap around a mathematical expression
in its LaTeX form and, once values are assigned to variables, numerically
evaluate it.  The intent is to avoid the need to modify the LaTeX form of the
expression being evaluated.  For programs with a preview facility like LyX, or
compile-as-you-go systems, interactive back-of-envelope calculations and
numerical exploration are possible within the document being worked on.")
    (license license:lppl1.3c)))

(define-public texlive-numerica-plus
  (package
    (name "texlive-numerica-plus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/numerica-plus/"
                                     "tex/latex/numerica-plus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "098l5jfkwkkwlja5d0hizn4awd9gfgbr9m3f2cxi062fkjyk7rrv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/numerica-plus")
    (synopsis "Iteration and recurrence relations")
    (description
     "The package defines commands to iterate functions of a single variable,
find fixed points, zeros and extrema of such functions, and calculate the
terms of recurrence relations.")
    (license license:lppl1.3c)))

(define-public texlive-numerica-tables
  (package
    (name "texlive-numerica-tables")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/numerica-tables/"
                                     "tex/latex/numerica-tables/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q39rlmi1f9xaf627vdqnnhl0b36ppk5hrql64incf3i8vvqziyw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/numerica-tables")
    (synopsis "Create multi-column tables of mathematical functions")
    (description
     "The package defines a command to create possibly multi-column tables of
mathematical function values.")
    (license license:lppl1.3c)))

(define-public texlive-nunito
  (package
    (name "texlive-nunito")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/nunito/"
                                     "fonts/enc/dvips/nunito/"
                                     "fonts/map/dvips/nunito/"
                                     "fonts/opentype/public/nunito/"
                                     "fonts/tfm/public/nunito/"
                                     "fonts/type1/public/nunito/"
                                     "fonts/vf/public/nunito/"
                                     "tex/latex/nunito/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0arx54h5hw50rlikw3sdxgqwhn1sr2jss30103cjip9wff606pa7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nunito")
    (synopsis "The Nunito font face with support for LaTeX and pdfLaTeX")
    (description
     "This package provides LaTeX and pdfLaTeX support for the Nunito family
of fonts, designed by Vernon Adams.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-nwafuthesis
  (package
    (name "texlive-nwafuthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nwafuthesis/"
                                     "source/latex/nwafuthesis/"
                                     "tex/latex/nwafuthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fmq2cf7687bwczwlh0br67smvwnkv7agxrqbcd2bqzijq0r8ks0"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-xetex")))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-format "xetex" #:build-targets #~(list "nwafuthesis.dtx")))
    (native-inputs (list texlive-xetex))
    (home-page "https://ctan.org/pkg/nwafuthesis")
    (synopsis "Thesis template package for Northwest A&F University, China")
    (description
     "This template supports doctoral and master dissertations and
undergraduate theses in Chinese.  It aims to create a simple interface,
a normative format, as well as a hackable class for the users.  At present, it
only supports XeTeX and LuaTeX engines.")
    (license license:lppl1.3c)))

(define-public texlive-nwejm
  (package
    (name "texlive-nwejm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nwejm/" "source/latex/nwejm/"
                                     "tex/latex/nwejm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16lcn84hp3l5ibdiz9wpfdghlva4m9lq2xhppv4rcpixkxnm9g60"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list  #:build-targets #~(list "nwejm.dtx")))
    (home-page "https://ctan.org/pkg/nwejm")
    (synopsis
     "Support for the journal @emph{North-Western European Journal of
Mathematics}")
    (description
     "The bundle includes LaTeX classes and BibLaTeX styles files dedicated to
the new journal @emph{North-Western European Journal of Mathematics}:
@code{nwejm} for the complete issues of the journal, aimed at the NWEJM's
team, @code{nwejmart}, intended for the authors who wish to publish an article
in the NWEJM.")
    (license license:lppl1.3c)))

(define-public texlive-objectz
  (package
    (name "texlive-objectz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/objectz/" "source/latex/objectz/"
                                     "tex/latex/objectz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a10ajlpmx6gfg4h9rvwf0q7zkb843pl5xfcsd9pzfg33245wbrz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/objectz")
    (synopsis "Macros for typesetting Object Z")
    (description
     "The package will typeset both Z and Object-Z specifications.")
    (license license:lppl)))

(define-public texlive-obnov
  (package
    (name "texlive-obnov")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/obnov/"
                                     "fonts/source/public/obnov/"
                                     "fonts/tfm/public/obnov/" "tex/latex/obnov/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hjc381fw38qr7rkj137d5rp2jjv002g29bx5g3jjaxl9civvplq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/obnov")
    (synopsis "Obyknovennaya Novaya fonts")
    (description
     "The Obyknovennaya Novaya (Ordinary New Face) typeface was widely used in
the USSR for scientific and technical publications, as well as textbooks.  The
fonts are encoded to KOI8-R (which is a long-established Russian font
encoding, rather than a TeX/LaTeX encoding).  To use the fonts, the user needs
Cyrillic font support.")
    (license license:lppl)))

(define-public texlive-ocherokee
  (package
    (name "texlive-ocherokee")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/omega/ocherokee/"
                                     "fonts/afm/public/ocherokee/"
                                     "fonts/map/dvips/ocherokee/"
                                     "fonts/ofm/public/ocherokee/"
                                     "fonts/ovf/public/ocherokee/"
                                     "fonts/ovp/public/ocherokee/"
                                     "fonts/tfm/public/ocherokee/"
                                     "fonts/type1/public/ocherokee/"
                                     "omega/ocp/ocherokee/"
                                     "omega/otp/ocherokee/"
                                     "tex/lambda/ocherokee/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j2giz3rjr8hdzca5hny31zklnl721mhsgxm575fhh82qrpvdx26"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ocherokee")
    (synopsis "LaTeX Support for the Cherokee language")
    (description
     "This package provides macros and Type 1 fonts for Typesetting the
Cherokee language with the Omega version of LaTeX (known as Lambda).")
    (license license:lppl)))

(define-public texlive-octave
  (package
    (name "texlive-octave")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/octave/" "tex/latex/octave/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1avikh00n92lxk7p7h0kvsv2dk2z411fv85fagj7bg6azb3fch8g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/octave")
    (synopsis "Typeset musical pitches with octave designations")
    (description
     "This package package typesets musical pitch names with designation for
the octave in either the Helmholtz system (with octave numbers), or the
traditional system (with prime symbols).  The system can also be changed
mid-document.")
    (license license:lppl1.3+)))

(define-public texlive-ocr-b
  (package
    (name "texlive-ocr-b")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ocr-b/"
                                     "fonts/source/public/ocr-b/"
                                     "fonts/tfm/public/ocr-b/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "089y4hihxdln1rvn87lmmiamcy8xc0niiv4gqxivahwkdjl8w0zw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/ocr-b")
    (synopsis "Fonts for OCR-B")
    (description
     "This package includes Metafont source for OCR-B at several sizes.")
    ;; "you may freely use, modify, and/or distribute any of these files or
    ;; the resulting fonts, without limitation."
    (license (license:fsf-free "file://doc/fonts/ocr-b-outline/README"))))

(define-public texlive-ocr-b-outline
  (package
    (name "texlive-ocr-b-outline")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ocr-b-outline/"
                                     "fonts/map/dvips/ocr-b-outline/"
                                     "fonts/opentype/public/ocr-b-outline/"
                                     "fonts/type1/public/ocr-b-outline/"
                                     "source/fonts/ocr-b-outline/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wlgwz91iv3ck8qmwgqda1kmijs3076hccfvbk6v7dkrcy726014"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ocr-b-outline")
    (synopsis "OCR-B fonts in Type 1 and OpenType")
    (description
     "The package contains OCR-B fonts in Type1 and OpenType formats.")
    ;; "You may freely use, modify, and/or distribute any of these files,
    ;; without limitation."
    (license (license:fsf-free "file://doc/fonts/ocr-b-outline/README"))))

(define-public texlive-ogham
  (package
    (name "texlive-ogham")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ogham/"
                                     "fonts/source/public/ogham/"
                                     "fonts/tfm/public/ogham/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lk419jbg3ahgcrmffl7snbgv521fccjpsx5i0nq55cs9vrsnav1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/ogham")
    (synopsis "Fonts for typesetting Ogham script")
    (description
     "The font provides the Ogham alphabet, which is found on a number of
Irish and Pictish carvings dating from the 4th century AD.  The font is
distributed as Metafont source.")
    (license license:public-domain)))

(define-public texlive-oinuit
  (package
    (name "texlive-oinuit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/oinuit/"
                                     "fonts/map/dvips/oinuit/"
                                     "fonts/ofm/public/oinuit/"
                                     "fonts/ovf/public/oinuit/"
                                     "fonts/tfm/public/oinuit/"
                                     "fonts/type1/public/oinuit/"
                                     "omega/ocp/oinuit/"
                                     "omega/otp/oinuit/"
                                     "source/lambda/oinuit/"
                                     "tex/lambda/oinuit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f5rlqgdz4r93z5prxjq7z7591frqz89gplj3y0dscjnlc98wxy4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/oinuit")
    (synopsis "LaTeX Support for the Inuktitut Language")
    (description
     "The package provides a set of Lambda (Omega LaTeX) typesetting tools for
the Inuktitut language.  Five different input methods are supported and with
the necessary fonts are also provided.")
    (license license:lppl)))

(define-public texlive-old-arrows
  (package
    (name "texlive-old-arrows")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/old-arrows/"
                                     "fonts/afm/public/old-arrows/"
                                     "fonts/enc/dvips/old-arrows/"
                                     "fonts/map/dvips/old-arrows/"
                                     "fonts/tfm/public/old-arrows/"
                                     "fonts/type1/public/old-arrows/"
                                     "tex/latex/old-arrows/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lrw3r982646pdp5nf9y9s8w85c2zw7cvbq3lqa3d3lsnykvn3y7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/old-arrows")
    (synopsis "Computer Modern old-style arrows with smaller arrowheads")
    (description
     "This package provides Computer Modern old-style arrows with smaller
arrowheads, associated with the usual LaTeX commands.  It can be used in
documents that contain other amssymb arrow characters that also have small
arrowheads.  It is also possible to use the usual new-style Computer Modern
arrows together with the old-style ones.")
    (license license:lppl1.3+)))

(define-public texlive-oldlatin
  (package
    (name "texlive-oldlatin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/oldlatin/"
                                     "fonts/source/public/oldlatin/"
                                     "fonts/tfm/public/oldlatin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fvy8myxxa3a5g2s8b5m57a9ijg1qanwcrf701s9lix5yxaqn474"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/oldlatin")
    (synopsis "Compute Modern-like font with long @emph{s}")
    (description
     "This package provides Metafont sources modified from Computer Modern in
order to generate long @emph{s}, which was used in old text.")
    (license license:lppl)))

(define-public texlive-oldstandard
  (package
    (name "texlive-oldstandard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/oldstandard/"
                                     "fonts/enc/dvips/oldstandard/"
                                     "fonts/map/dvips/oldstandard/"
                                     "fonts/opentype/public/oldstandard/"
                                     "fonts/tfm/public/oldstandard/"
                                     "fonts/type1/public/oldstandard/"
                                     "fonts/vf/public/oldstandard/"
                                     "tex/latex/oldstandard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1siw4zjyx40whsi7gsd05nhbhii2mf91vn837srhai2v7nll4fa8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/oldstandard")
    (synopsis "OldStandard fonts with LaTeX support")
    (description
     "Old Standard is designed to reproduce the actual printing style of the
early 20th century, reviving a specific type of Modern (classicist) style of
serif typefaces, very commonly used in various editions of the late 19th and
early 20th century.

The font supports typesetting of Old and Middle English, Old Icelandic,
Cyrillic (with historical characters, extensions for Old Slavonic and
localised forms), Gothic transliterations, critical editions of Classical
Greek and Latin, and many more.")
    (license (list license:silofl1.1 license:lppl license:gpl3+))))

(define-public texlive-omega
  (package
    (name "texlive-omega")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/omega/base/"
                                     "dvips/omega/"
                                     "fonts/afm/public/omega/"
                                     "fonts/map/dvips/omega/"
                                     "fonts/ofm/public/omega/"
                                     "fonts/ovf/public/omega/"
                                     "fonts/ovp/public/omega/"
                                     "fonts/tfm/public/omega/"
                                     "fonts/type1/public/omega/"
                                     "omega/ocp/char2uni/"
                                     "omega/ocp/misc/"
                                     "omega/ocp/omega/"
                                     "omega/ocp/uni2char/"
                                     "omega/otp/char2uni/"
                                     "omega/otp/misc/"
                                     "omega/otp/omega/"
                                     "omega/otp/uni2char/"
                                     "tex/generic/encodings/"
                                     "tex/generic/omegahyph/"
                                     "tex/plain/omega/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gma5angnq5wdxianz0ml7y9jh04lsq9ksspykan06p0cp1bnmjc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/omega")
    (synopsis "Wide-character-set extension of TeX")
    (description
     "This package provides a development of TeX, which deals in multi-octet
Unicode characters, to enable native treatment of a wide range of languages
without changing character-set.  Work on Omega has ceased; its compatible
successor is Aleph, which is itself also in major maintenance mode only.
Ongoing projects developing Omega (and Aleph) ideas include Omega-2 and
LuaTeX.")
    (license license:gpl3+)))

(define-public texlive-omegaware
  (package
    (name "texlive-omegaware")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/odvicopy.1"
                                     "doc/man/man1/odvicopy.man1.pdf"
                                     "doc/man/man1/odvitype.1"
                                     "doc/man/man1/odvitype.man1.pdf"
                                     "doc/man/man1/ofm2opl.1"
                                     "doc/man/man1/ofm2opl.man1.pdf"
                                     "doc/man/man1/opl2ofm.1"
                                     "doc/man/man1/opl2ofm.man1.pdf"
                                     "doc/man/man1/otangle.1"
                                     "doc/man/man1/otangle.man1.pdf"
                                     "doc/man/man1/otp2ocp.1"
                                     "doc/man/man1/otp2ocp.man1.pdf"
                                     "doc/man/man1/outocp.1"
                                     "doc/man/man1/outocp.man1.pdf"
                                     "doc/man/man1/ovf2ovp.1"
                                     "doc/man/man1/ovf2ovp.man1.pdf"
                                     "doc/man/man1/ovp2ovf.1"
                                     "doc/man/man1/ovp2ovf.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04fchy1n6ppi2l2c99mz1x64m8zl741d0z8fkjxapqn266z4bc7k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-omegaware-bin))
    (home-page "https://ctan.org/pkg/omega")
    (synopsis "Wide-character-set extension of TeX")
    (description
     "This package provides a development of TeX, which deals in multi-octet
Unicode characters, to enable native treatment of a wide range of languages
without changing character-set.  Work on Omega has ceased (the TeX Live
package contains only support files); its compatible successor is Aleph, which
is itself also in major maintenance mode only.  Ongoing projects developing
Omega (and Aleph) ideas include Omega-2 and LuaTeX.")
    (license license:gpl3+)))

(define-public texlive-omegaware-bin
  (package
    (inherit texlive-bin)
    (name "texlive-omegaware-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(delete "--enable-web2c" #$flags))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (let ((bin (string-append #$output "/bin")))
                  (with-directory-excursion "texk/web2c"
                    (let ((files '("odvicopy" "odvitype""otangle" "wofm2opl"
                                   "wopl2ofm" "wovf2ovp")))
                      (for-each (lambda (t) (invoke "make" t)) files)
                      (for-each (lambda (f) (install-file f bin)) files))
                    (with-directory-excursion "omegafonts"
                      (invoke "make" "omfonts")
                      (install-file "omfonts" bin))
                    (with-directory-excursion "otps"
                      (for-each (lambda (t)
                                  (invoke "make" t)
                                  (install-file t bin))
                                '("otp2ocp" "outocp"))))
                  (with-directory-excursion bin
                    (for-each (lambda (l) (symlink "omfonts" l))
                              '("ofm2opl" "opl2ofm" "ovf2ovp" "ovp2ovf"))))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-omegaware))
    (synopsis "Binaries for @code{texlive-omegaware}")
    (description
     "This package provides the binaries for @code{texlive-omegaware}.")
    (license (package-license texlive-omegaware))))

(define-public texlive-onrannual
  (package
    (name "texlive-onrannual")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/onrannual/"
                                     "tex/latex/onrannual/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m701gqf0my947jh4lsgwryn3h9m6w4b6rimm8wmzsxlvnag9ag7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/onrannual")
    (synopsis
     "Class for Office of Naval Research Ocean Battlespace Sensing annual
report")
    (description
     "This is an unofficial document class for writing @acronym{ONR, Office of
Naval Research} annual reports using LaTeX; as ONR has had numerous problems
with LaTeX-generated PDF submissions in the past.")
    (license license:lppl1.3+)))

(define-public texlive-opensans
  (package
    (name "texlive-opensans")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/opensans/"
                                     "fonts/enc/dvips/opensans/"
                                     "fonts/map/dvips/opensans/"
                                     "fonts/tfm/ascender/opensans/"
                                     "fonts/truetype/ascender/opensans/"
                                     "fonts/type1/ascender/opensans/"
                                     "fonts/vf/ascender/opensans/"
                                     "tex/latex/opensans/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l81y548cslwsy7m06pckf5w33gq53ly3a35zkd9jzfz6yg6w4bq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/opensans")
    (synopsis "Open Sans font family, and LaTeX support")
    (description
     "Open Sans is a humanist sans serif typeface designed by Steve Matteson.
The package provides support for this font family in LaTeX. It includes the
original TrueType fonts, as well as Type 1 versions.")
    (license (list license:asl2.0 license:lppl1.3c))))

(define-public texlive-oplotsymbl
  (package
    (name "texlive-oplotsymbl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/oplotsymbl/"
                                     "tex/latex/oplotsymbl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kbkxy18yq7990rbbm8b8ky9dyvxknzhczkfa9ki93jap8hwac2r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/oplotsymbl")
    (synopsis "Some symbols which are not easily available")
    (description
     "This package is named oPlotSymbl and it includes symbols, which are not
easily available.  Especially, these symbols are used in scientific plots, but
the potential user is allowed to use them in other ways.")
    (license license:lppl1.3+)))

(define-public texlive-opteng
  (package
    (name "texlive-opteng")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/opteng/" "tex/latex/opteng/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1svis9n0ssrc6pnvlshwprfjimdfrbisb0jjnlhhys343dv95jqs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/opteng")
    (synopsis "SPIE Optical Engineering and OE Letters manuscript template")
    (description
     "With this template, and associated style and LaTeX packages, it is
possible to estimate the page length of manuscripts for submission to the SPIE
journals @emph{Optical Engineering} and @emph{Optical Engineering Letters}.
With a strict three-page limit, this is particularly important for the latter.
The template gives simple instructions on how to prepare the manuscript.")
    (license license:lppl)))

(define-public texlive-ordinalpt
  (package
    (name "texlive-ordinalpt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ordinalpt/"
                                     "source/latex/ordinalpt/"
                                     "tex/latex/ordinalpt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02hsl021gd23qrfm3myazg606lmp149dmpss3vyx93dyqcg8axbr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ordinalpt")
    (synopsis "Counters as ordinal numbers in Portuguese")
    (description
     "The package provides a counter style (like @code{\\arabic},
@code{\\alph} and others) which produces output strings like
@samp{primeiro} (``first'' in Portuguese), @samp{segundo}, (``second''), and
so on up to 1999th.  Separate counter commands are provided for different
letter case variants, and for masculine and feminine gender inflections.")
    (license license:lppl)))

(define-public texlive-orkhun
  (package
    (name "texlive-orkhun")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/orkhun/"
                                     "fonts/source/public/orkhun/"
                                     "fonts/tfm/public/orkhun/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18p78sprnig93iq74y1vb1ai3ixqqj1pssrqczr1fiy0rnxsjdig"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/orkhun")
    (synopsis "Font for Orkhun script")
    (description
     "The Orkhun font covers an old Turkic script.  It is provided as Metafont
source.")
    (license license:lppl)))

(define-public texlive-oscola
  (package
    (name "texlive-oscola")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/oscola/" "makeindex/oscola/"
                                     "tex/latex/oscola/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lx883rqq9p3f0vfv6i5xp35qpi79jf1jxycyi5j86i1fvk0jz08"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/oscola")
    (synopsis
     "BibLaTeX style for the Oxford Standard for the Citation of Legal
Authorities")
    (description
     "The package provides a set of style files for use with BibLaTeX and
Biber to produce citations and bibliographies in accordance with the
widely-used Oxford Standard for the Citation of Legal Authorities.  It also
includes facilities for constructing tables of cases and legislation from
citations (in conjunction with appropriate indexing packages).")
    (license license:lppl1.3+)))

(define-public texlive-oswald
  (package
    (name "texlive-oswald")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/oswald/"
                                     "fonts/enc/dvips/oswald/"
                                     "fonts/map/dvips/oswald/"
                                     "fonts/tfm/public/oswald/"
                                     "fonts/type1/public/oswald/"
                                     "fonts/vf/public/oswald/"
                                     "tex/latex/oswald/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ib7k3vgzmsjaxhfb3zcpy3m0yx8p5yyc2hr8x7b8ik7n1ik5sgm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/oswald")
    (synopsis "Oswald family of fonts with support for LaTeX and pdfLaTeX")
    (description
     "This package provides the Oswald family of fonts, designed by Vernon Adams,
Kalapi Gajjar, Cyreal, with support for LaTeX and pdfLaTeX.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-ot-tableau
  (package
    (name "texlive-ot-tableau")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ot-tableau/"
                                     "tex/latex/ot-tableau/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nbadc2c3973y7b28ddklpmhmms8f1nxc48ln5fxv68jmsmd4wb2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ot-tableau")
    (synopsis "Optimality Theory tableaux in LaTeX")
    (description
     "The package makes it easy to create beautiful optimality-theoretic tableaux.
The LaTeX source is visually very similar to a formatted tableau, which makes
working with the source code painless (well, less painful).  A variety of
stylistic variants are available to suit personal taste.")
    (license license:lppl1.3+)))

(define-public texlive-othello
  (package
    (name "texlive-othello")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/othello/"
                                     "fonts/source/public/othello/"
                                     "fonts/tfm/public/othello/"
                                     "tex/latex/othello/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ijb2giry6bjvx6ll51n9c8fqy1kmwgrwvrg21mxnj9xc4gkdjrh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/othello")
    (synopsis "Create othello boards")
    (description
     "This package can be used to create othello boards.  It includes also
fonts, as Metafont source.")
    (license license:gpl3+)))

(define-public texlive-othelloboard
  (package
    (name "texlive-othelloboard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/othelloboard/"
                                     "tex/latex/othelloboard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kaj01bn4828261n8s761qcv7hg6a5aqi577rqglbkjg9grdh1s6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/othelloboard")
    (synopsis
     "Typeset othello (Reversi) diagrams of any size, with annotations")
    (description
     "The package enables the user to generate high-quality othello (also
known as Reversi) board diagrams of any size.  The diagrams support
annotations, including full game transcripts.  Automated board or transcript
creation, from plain text formats standard to WZebra (and other programs) is
also supported.")
    (license license:lppl1.3+)))

(define-public texlive-otibet
  (package
    (name "texlive-otibet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/otibet/"
                                     "fonts/ofm/public/otibet/"
                                     "fonts/ovf/public/otibet/"
                                     "fonts/ovp/public/otibet/"
                                     "fonts/source/public/otibet/"
                                     "fonts/tfm/public/otibet/"
                                     "omega/ocp/otibet/"
                                     "omega/otp/otibet/"
                                     "source/latex/otibet/"
                                     "tex/latex/otibet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cman22brlm8qklb60mzq8f6c9kmdspv3zfg4s5p0lj9sf03bb6c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/otibet")
    (synopsis "Support for Tibetan using Omega")
    (description "This package provides support for Tibetan using Omega.")
    ;; Per "unidoc.tex": "this package is freely distributable under the GPL
    ;; Version~?.? or any later one."
    (license license:gpl1+)))

(define-public texlive-oubraces
  (package
    (name "texlive-oubraces")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/oubraces/" "tex/latex/oubraces/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kh2acj4420cxd5x5y3dnfkdfqp5m70d16kiwz5b0f095af42v1g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/oubraces")
    (synopsis "Braces over and under a formula")
    (description
     "This package provides a means to interleave @code{\\overbrace} and
@code{\\underbrace} in the same formula.")
    ;; Library states: "Redistribution and use, with or without modification,
    ;; are permitted provided that the above copyright notice and this
    ;; condition for use are retained".
    (license (license:fsf-free "file://tex/latex/oubraces/oubraces.sty"))))

(define-public texlive-oup-authoring-template
  (package
    (name "texlive-oup-authoring-template")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/oup-authoring-template/"
                                     "tex/latex/oup-authoring-template/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fbkrka650pv2k5n0fcdcgmzlfpj2kzlg9d72d145b24zza79qh0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/oup-authoring-template")
    (synopsis
     "General template for journals published by Oxford University
Press (OUP)")
    (description
     "This package provides a general LaTeX template for journals published by
@acronym{OUP, Oxford University Press}.  The template outputs to the three
official page designs (traditional, contemporary, modern) used by many
journals published by OUP, with large, medium and small page options.")
    (license license:lppl1.2+)))

(define-public texlive-overarrows
  (package
    (name "texlive-overarrows")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/overarrows/"
                                     "source/latex/overarrows/"
                                     "tex/latex/overarrows/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zr1qq6g3zfabz4x37bc2ajlbrkdlskk99144kqwkvmrwr9nxpww"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/overarrows")
    (synopsis "Custom extensible arrows over math expressions")
    (description
     "This package provides a LaTeX package to create custom arrows over math
expressions, mainly for vectors (but arrows can as well be drawn below).
Arrows stretch with content, scale with math styles, and have a correct
kerning when a subscript follows.  Some predefined commands are also
provided.")
    (license license:lppl1.3c)))

(define-public texlive-overlock
  (package
    (name "texlive-overlock")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/overlock/"
                                     "fonts/enc/dvips/overlock/"
                                     "fonts/map/dvips/overlock/"
                                     "fonts/opentype/tipo/overlock/"
                                     "fonts/tfm/tipo/overlock/"
                                     "fonts/type1/tipo/overlock/"
                                     "fonts/vf/tipo/overlock/"
                                     "tex/latex/overlock/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rpqpd5ja32i44lf8szr2hn0dz5dh2p238iid0dnkpylf006wni2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/overlock")
    (synopsis "Overlock sans fonts with LaTeX support")
    (description
     "The package provides the Overlock and OverlockSC families of fonts,
designed by Dario Manuel Muhafara, rounded sans-serif fonts in three
weights (Regular, Bold, Black) with italic variants for each of them.  There
are also small-caps and old-style figures in the Regular weight.")
    (license license:silofl1.1)))

(define-public texlive-pacioli
  (package
    (name "texlive-pacioli")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/pacioli/"
                                     "fonts/source/public/pacioli/"
                                     "fonts/tfm/public/pacioli/"
                                     "source/fonts/pacioli/" "tex/latex/pacioli/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "100fs89b2nfybnjdg8b4v3z8q982b6x0azn0sc31533pkkkp19i3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/pacioli")
    (synopsis "Fonts designed by Fra Luca de Pacioli in 1497")
    (description
     "Pacioli was a 15th century mathematician, and his font was designed
according to the divine proportion.  The font consists of uppercase letters
together with punctuation and some analphabetics; no lowercase or digits.  The
package provides Metafont source for the font together with LaTeX support.")
    (license license:lppl)))

(define-public texlive-padauk
  (package
    (name "texlive-padauk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/padauk/"
                                     "fonts/truetype/public/padauk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yn5w8bkcf9ihqy4v2zq4yc74d2d3dc1c6dcissaa6pcdj4z9r9l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/padauk")
    (synopsis
     "High-quality TrueType font for languages using the Myanmar script")
    (description
     "Padauk is a Unicode-based font family with broad support for writing
systems that use the Myanmar script.")
    (license license:silofl1.1)))

(define-public texlive-pagella-otf
  (package
    (name "texlive-pagella-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/pagella-otf/"
                                     "tex/latex/pagella-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yi5d5wffqcrlslk9gxifnx4imhpi1hqya6x7k1qq9znvlf97inl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pagella-otf")
    (synopsis "Using the OpenType fonts TeX Gyre Pagella")
    (description
     "This package can only be used with LuaLaTeX or XeLaTeX.  It does the
font setting for the OpenType font TeX Gyre Pagella for text and math.  The
missing typefaces like bold math and slanted text are also defined.")
    (license license:lppl1.3+)))

(define-public texlive-parallel
  (package
    (name "texlive-parallel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/parallel/"
                                     "source/latex/parallel/"
                                     "tex/latex/parallel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14gca28ph90vhsliy5g8jc6fd87igni1wkiy41jrp33qhjiz94qa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/parallel")
    (synopsis "Typeset parallel texts")
    (description
     "This package provides a @code{parallel} environment which allows two
potentially different texts to be typeset in two columns, while maintaining
alignment.  The two columns may be on the same page, or on facing pages.  This
arrangement of text is commonly used when typesetting translations, but it can
have value when comparing any two texts.")
    (license license:lppl)))

(define-public texlive-paratype
  (package
    (name "texlive-paratype")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/paratype/"
                                     "fonts/afm/paratype/ptmono/"
                                     "fonts/afm/paratype/ptsans/"
                                     "fonts/afm/paratype/ptserif/"
                                     "fonts/enc/dvips/paratype/"
                                     "fonts/map/dvips/paratype/"
                                     "fonts/tfm/paratype/ptmono/"
                                     "fonts/tfm/paratype/ptsans/"
                                     "fonts/tfm/paratype/ptserif/"
                                     "fonts/truetype/paratype/ptmono/"
                                     "fonts/truetype/paratype/ptsans/"
                                     "fonts/truetype/paratype/ptserif/"
                                     "fonts/type1/paratype/ptmono/"
                                     "fonts/type1/paratype/ptsans/"
                                     "fonts/type1/paratype/ptserif/"
                                     "fonts/vf/paratype/ptmono/"
                                     "fonts/vf/paratype/ptsans/"
                                     "fonts/vf/paratype/ptserif/"
                                     "tex/latex/paratype/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k93y4xlng9b9cwa9mk7bdxj2zzbyigv02z358lm0vpr7nw8vxig"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/paratype")
    (synopsis "LaTeX support for ParaType fonts")
    (description
     "The package offers LaTeX support for the fonts PT Sans, PT Serif and PT
Mono developed by ParaType for the project @emph{Public Types of Russian
Federation}.  The fonts themselves are provided in both the TrueType and Type
1 formats.  The fonts provide encodings OT1, T1, IL2, TS1, T2* and X2.  The
package provides a convenient replacement of the two packages @code{ptsans}
and @code{ptserif}.")
    (license license:lppl)))

(define-public texlive-parrun
  (package
    (name "texlive-parrun")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/parrun/" "source/latex/parrun/"
                                     "tex/latex/parrun/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cfqvsda505pxwyjv6k197lg464y4njr2j65sghvzk7qp3i6vq11"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/parrun")
    (synopsis "Typesets (two) streams of text running parallel")
    (description
     "This package can be used for typesetting translated text and the
original source, parallel on the same page, one above the other.")
    (license license:lppl)))

(define-public texlive-pas-crosswords
  (package
    (name "texlive-pas-crosswords")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pas-crosswords/"
                                     "tex/latex/pas-crosswords/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1masrs2ywyxa9rfw7vz9j9jw0b1hhkd5fin2rg7rd2x1qb305q5w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pas-crosswords")
    (synopsis "Creating crossword grids, using TikZ")
    (description
     "The package produces crossword grids, using a wide variety of colours
and decorations of the grids and the text in them.  The package uses TikZ for
its graphical output.")
    (license license:lppl)))

(define-public texlive-pascaltriangle
  (package
    (name "texlive-pascaltriangle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pascaltriangle/"
                                     "tex/latex/pascaltriangle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g5y02gcgwhdq168n7d33plfhfp83zq97vjrfyz8ldlc7vncdnlh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pascaltriangle")
    (synopsis "Draw beautiful Pascal (Yanghui) triangles")
    (description
     "This LaTeX3 package based on TikZ helps to generate beautiful
Pascal (Yanghui) triangles.  It provides a unique drawing macro
@code{\\pascal} which can generate isosceles or right-angle triangles
customized by means of different @code{\\pascal} macro options or the
@code{\\pascalset} macro.")
    (license license:lppl1.3c)))

(define-public texlive-patgen2-tutorial
  (package
    (name "texlive-patgen2-tutorial")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/patgen2-tutorial/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "016bx1rp8kpvlywg0yafhbbhlzw4zxdcbdrd5525vffn6fyp9fi3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/patgen2-tutorial")
    (synopsis "Tutorial on the use of Patgen 2")
    (description
     "This document describes the use of Patgen 2 to create hyphenation
patterns for wide ranges of languages.")
    (license license:lppl1.3c)))

(define-public texlive-perception
  (package
    (name "texlive-perception")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/perception/"
                                     "doc/bibtex/perception/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0958g65hv8fpyhhbkvkd2ybdbp6aiblnc5izbr5z5w8b0v5n0ixx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/perception")
    (synopsis "BibTeX style for the journal @emph{Perception}")
    (description
     "This package provides a BibTeX style for the journal
@emph{Perception}.")
    (license license:lppl)))

(define-public texlive-perfectcut
  (package
    (name "texlive-perfectcut")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/perfectcut/"
                                     "tex/latex/perfectcut/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13lclcf5aynbivhlsgnssi36dgacmyjl3rmr0i8s3az5941bsyfh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/perfectcut")
    (synopsis
     "Nested delimiters that consistently grow regardless of the contents")
    (description
     "This package defines the command @code{\\perfectcut#1#2} which displays
a bracket @samp{<#1||#2>}.  Various other delimiters are similarly
defined (parentheses, square brackets ...).  The effect of these commands is
to let the delimiters grow according to the number of nested
@code{\\perfectcommands} (regardless of the size of the contents).

The package was originally intended for solving a notational issue for
direct-style continuation calculi in proof theory.  For general use, the
package also defines commands for defining other sorts of delimiters which
will behave in the same way.  The package also offers a robust
reimplementation of @code{\\big}, @code{\\bigg}, etc.")
    (license license:lppl1.3+)))

(define-public texlive-persian-bib
  (package
    (name "texlive-persian-bib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/persian-bib/"
                                     "bibtex/csf/persian-bib/"
                                     "doc/xelatex/persian-bib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18x592g8y1i8kw724an65q84jj91cam5qvwp9mgnhqpwh3gjflpw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/persian-bib")
    (synopsis "Persian translations of classic BibTeX styles")
    (description
     "This package provides BibTeX styles modified for Persian documents
prepared with XePersian (which the present package depends on).  The Persian
@file{.bst} files can simultaneously handle both Latin and Persian references.
A file @file{p1256fa.csf} is provided for correct sorting of Persian
references and three fields LANGUAGE, TRANSLATOR and AUTHORFA are defined.")
    (license license:lppl1.3+)))

(define-public texlive-pfdicons
  (package
    (name "texlive-pfdicons")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pfdicons/" "tex/latex/pfdicons/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16xdy0ah7za1gr63w1pdfvbq8x4fkin7q0yfpml7y4wv7m1qxqgc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pfdicons")
    (synopsis "Draw process flow diagrams in chemical engineering")
    (description
     "This package provides TikZ shapes to represent commonly encountered unit
operations for depiction in process flow diagrams (PFDs) and, to a lesser
extent, process and instrumentation diagrams (PIDs).  The package was designed
with undergraduate chemical engineering students and faculty in mind, and the
number of units provided should cover--in Turton's estimate--about 90 percent
of all fluid processing operations.")
    (license license:lppl1.3c)))

(define-public texlive-phaistos
  (package
    (name "texlive-phaistos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/phaistos/"
                                     "fonts/afm/public/phaistos/"
                                     "fonts/map/dvips/phaistos/"
                                     "fonts/opentype/public/phaistos/"
                                     "fonts/tfm/public/phaistos/"
                                     "fonts/type1/public/phaistos/"
                                     "source/fonts/phaistos/"
                                     "tex/latex/phaistos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b5mjfzmhr6dw6i90mjym2hwi4cm2jfwfagl41dm6grnznwcn8bb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/phaistos")
    (synopsis "Disk of Phaistos font")
    (description
     "This package provides a font that contains all the symbols of the famous
Disc of Phaistos, together with a LaTeX package.  The disc was printed by
stamping the wet clay with some sort of punches, probably around 1700 BCE.
The font is available in Adobe Type 1 and OpenType formats (the latter using
the Unicode positions for the symbols).")
    (license license:lppl)))

(define-public texlive-philosophersimprint
  (package
    (name "texlive-philosophersimprint")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/philosophersimprint/"
                                     "source/latex/philosophersimprint/"
                                     "tex/latex/philosophersimprint/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12rflr3w8lxk9yg1fx3kpyz52002571lh4g3m6hcp73mb393fq1w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/philosophersimprint")
    (synopsis "Typesetting articles for @emph{Philosophers' Imprint}")
    (description
     "The @emph{Philosophers' Imprint} is a series of original papers in
philosophy, edited by philosophy faculty at the University of Michigan, and
published on the World Wide Web by the University of Michigan Digital Library.
The class helps authors to typeset their own articles in Web-ready format.")
    (license license:lppl1.3+)))

(define-public texlive-phonetic
  (package
    (name "texlive-phonetic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/phonetic/"
                                     "fonts/source/public/phonetic/"
                                     "fonts/tfm/public/phonetic/"
                                     "tex/latex/phonetic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f1z1kzfyxap4hbmpjfhy417n3jcg3rv0m8f5ab1wlil64jn0rgb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/phonetic")
    (synopsis "Metafont Phonetic fonts, based on Computer Modern")
    (description
     "The Phonetic fonts are based on Computer Modern, and specified in
Metafont.  Macros for the fonts use are provided for LaTeX.")
    (license license:lppl)))

(define-public texlive-physconst
  (package
    (name "texlive-physconst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/physconst/"
                                     "source/latex/physconst/"
                                     "tex/latex/physconst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jrhsycm9fp4crhy4g9i4hn7wll85fczwmvxvlzgkzi249zcssm9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/physconst")
    (synopsis "Macros for commonly used physical constants")
    (description
     "This package consists of several macros that are shorthand for a variety
of physical constants, e.g. the speed of light.  The constants can be used in
two forms, the most accurate available values, or versions that are rounded to
3 significant digits for use in typical classroom settings, homework
assignments, etc.  Most constants are taken from CODATA 2018, with the
exception of the astronomical objects, whose values are taken from
International Astronomical Union specified values.  Constants that are derived
from true constants, e.g. the fine structure constant, have been calculated
using the accepted values of the fundamental constants.")
    (license license:lppl1.3c)))

(define-public texlive-phonrule
  (package
    (name "texlive-phonrule")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/phonrule/" "tex/latex/phonrule/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09nhlhqgq2af2p6rn5r0q8ccn9a2qq35znn5j4z2kjq744wbzjih"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/phonrule")
    (synopsis "Typeset linear phonological rules")
    (description
     "The package provides macros for typesetting phonological rules like
those in @emph{Sound Pattern of English} (Chomsky and Halle 1968).")
    (license license:lppl1.0+)))

(define-public texlive-physics2
  (package
    (name "texlive-physics2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/physics2/"
                                     "source/latex/physics2/"
                                     "tex/latex/physics2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m4wv8kcmy3jrhsnfl5dx4aqzgrq51w8h32l3k378lfg5zdh0axa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/physics2")
    (synopsis "Macros for typesetting math faster and more simply")
    (description
     "The @code{physics2} package defines commands for typesetting math
formulae faster andmore simply.  @code{physics2} is a modularized package,
each module provides its own function.  You can load modules separately after
loading @code{physics2}.

Modules of physics provide the following supports:
@itemize
@item automatic braces,
@item Dirac bracket notation,
@item easy way to typeset diagonal matrices and matrices with similar entries,
@item double cross and double dot (binary) operators for tensors.
@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-physunits
  (package
    (name "texlive-physunits")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/physunits/"
                                     "source/latex/physunits/"
                                     "tex/latex/physunits/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "139qcg10879q17l84kqh8x1rzp8bgdcyd4iaxwgl4qlnrkg5rbl5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/physunits")
    (synopsis "Macros for commonly used physical units")
    (description
     "This package provides a collection of macros to simplify using physical units
(e.g., @samp{m} for meters, @samp{J} for joules, etc.), especially in math
mode.  All major SI units are included, as well as some @acronym{CGS,
Centimetre–Gram–Second} units used in astronomy.")
    (license license:lppl1.3c)))

(define-public texlive-piano
  (package
    (name "texlive-piano")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/piano/" "tex/latex/piano/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nbax18dgg2a9l6bihqhwx0va7829324lk29ibq29wjissmhjqww"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/piano")
    (synopsis "Typeset a basic 2-octave piano diagram")
    (description
     "This package adds the @code{\\keyboard[1][2]..[7]} command to your
project.  When used, it draws a small 2 octaves piano keyboard on your
document, with up to 7 keys highlighted.")
    (license license:lppl)))

(define-public texlive-pigpen
  (package
    (name "texlive-pigpen")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/pigpen/"
                                     "fonts/map/dvips/pigpen/"
                                     "fonts/source/public/pigpen/"
                                     "fonts/tfm/public/pigpen/"
                                     "fonts/type1/public/pigpen/"
                                     "tex/latex/pigpen/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17jgzzjyi6skpqgjmrbvd4mm3gggs5dls0jfj6qd8ccf7qdrxiaz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/pigpen")
    (synopsis "Font for the Pigpen (or masonic) cipher")
    (description
     "The Pigpen cipher package provides the font and the necessary
wrappers (style file, etc.) in order to write Pigpen ciphers, a simple
substitution cipher.  The package provides a font (available both as Metafont
source, and as an Adobe Type 1 file), and macros for its use.")
    (license license:lppl)))

(define-public texlive-pinoutikz
  (package
    (name "texlive-pinoutikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pinoutikz/"
                                     "tex/latex/pinoutikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kqdvldrr7r0jsi2sd8rzqcgwfdy0p9ixqcrwg2k94dcs6ad9mhy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pinoutikz")
    (synopsis "Draw chip pinouts with TikZ")
    (description
     "The package provides a set of macros for typesetting electronic chip pinouts.
It is designed as a tool that is easy to use, with a lean syntax, native to
LaTeX, and directly supporting PDF output format.")
    (license license:lppl1.3c)))

(define-public texlive-pittetd
  (package
    (name "texlive-pittetd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pittetd/" "source/latex/pittetd/"
                                     "tex/latex/pittetd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q8ikj4qqlzw3kimywdmbvkvwyvyjn8q6gr68kc0wpypqd1a91as"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pittetd")
    (synopsis
     "Electronic theses and dissertations at the University of Pittsburgh")
    (description
     "This package provides a document class for theses and dissertations at
the University of Pittsburgh.")
    (license license:lppl)))

(define-public texlive-pkuthss
  (package
    (name "texlive-pkuthss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pkuthss/" "tex/latex/pkuthss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0chc8ikl3xkcrdcgj7mrlam5f8x39mafj2w1yyydq917i7xi129b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pkuthss")
    (synopsis "LaTeX template for dissertations in Peking University")
    (description
     "The package provides a simple, clear and flexible LaTeX template for
dissertations in Peking University.")
    (license
     (list license:lppl1.3+
           license:bsd-3
           license:public-domain))))

(define-public texlive-plainyr
  (package
    (name "texlive-plainyr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/plainyr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09py8psdqqnxmq2nkczxz092668zscvf9hbr6fcvrnj0blvz3wxy"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plainyr")
    (synopsis "Plain bibliography style, sorted by year first")
    (description
     "This is a version of the standard plain BibTeX style, modified to sort
chronologically (by year) first, then by author, title, etc.")
    (license license:knuth)))

(define-public texlive-plari
  (package
    (name "texlive-plari")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/plari/" "source/latex/plari/"
                                     "tex/latex/plari/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07g4rn4nn5wvwqd39s0xnn35ijkamhzxi12icnha8vb0b564jwq8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plari")
    (synopsis "Typesetting stageplay scripts")
    (description
     "Plari is a @code{report}-alike class, without section headings, and with
paragraphs vertically separated rather than indented.")
    (license license:gpl3+)))

(define-public texlive-play
  (package
    (name "texlive-play")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/play/" "source/latex/play/"
                                     "tex/latex/play/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v1d8hfng6s8x8spzrzhhkgg36zay9jvfna9md1mh4ijlipnzyma"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/play")
    (synopsis "Typeset drama using LaTeX")
    (description
     "This package provides a class and style file that supports the
typesetting of plays, including options for line numbering.")
    (license license:lppl)))

(define-public texlive-playfair
  (package
    (name "texlive-playfair")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/playfair/"
                                     "fonts/enc/dvips/playfair/"
                                     "fonts/map/dvips/playfair/"
                                     "fonts/opentype/public/playfair/"
                                     "fonts/tfm/public/playfair/"
                                     "fonts/type1/public/playfair/"
                                     "fonts/vf/public/playfair/"
                                     "tex/latex/playfair/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "060l6q6m410nn31mn09v3gy5nvbimplraifqcqlp3h8pzcrc3akf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/playfair")
    (synopsis "Playfair Display fonts with LaTeX support")
    (description
     "This package provides the PlayFairDisplay family of fonts, designed by
Claus Eggers Sorensen, for use with LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX.
PlayFairDisplay is well suited for titling and headlines.  It has an extra
large x-height and short descenders.  It can be set with no leading if space
is tight, for instance in news headlines, or for stylistic effect in titles.
Capitals are extra short, and only very slightly heavier than the lowercase
characters.  This helps achieve a more even typographical colour when
typesetting proper nouns and initialisms.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-plex
  (package
    (name "texlive-plex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/plex/"
                                     "fonts/enc/dvips/plex/"
                                     "fonts/map/dvips/plex/"
                                     "fonts/opentype/ibm/plex/"
                                     "fonts/tfm/ibm/plex/"
                                     "fonts/type1/ibm/plex/"
                                     "fonts/vf/ibm/plex/"
                                     "tex/latex/plex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h05ln5c74r85mpj0psf0zcv22mz5psbhqq10vap7x32pc7bhb48"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plex")
    (synopsis "Support for IBM Plex fonts")
    (description
     "The package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the IBM Plex families of fonts.  Serif, Sans and Mono families are available
in eight weights: Regular, Light, ExtraLight, Thin, Bold, Text, Medium and
SemiBold (with corresponding italics).")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-plex-otf
  (package
    (name "texlive-plex-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/plex-otf/" "tex/latex/plex-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zkzr7mrmvfgnfd554vb0g6bka7976p93hqfmzapf17js2mfxfsz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plex-otf")
    (synopsis "Support for the OpenType font IBM Plex")
    (description
     "This package supports the OTF fonts from the IBM Plex project.  This
package supports only XeLaTeX or LuaLaTeX; for pdfLaTeX use
@code{}plex-mono.sty}, @code{}plex-sans.sty}, and @code{plex-serif.sty} from
the @code{plex} package.  IBM Plex has no math symbols.  You will have to use
one of the existing math fonts if you need them.")
    (license license:lppl1.3+)))

(define-public texlive-plimsoll
  (package
    (name "texlive-plimsoll")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/plimsoll/"
                                     "fonts/afm/public/plimsoll/"
                                     "fonts/enc/dvips/plimsoll/"
                                     "fonts/map/dvips/plimsoll/"
                                     "fonts/tfm/public/plimsoll/"
                                     "fonts/type1/public/plimsoll/"
                                     "source/fonts/plimsoll/"
                                     "tex/latex/plimsoll/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cxvlpb7z83ajyqh5nw1596i7ak582pp2mmqmfjqk2bffv6jqay1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plimsoll")
    (synopsis "Fonts with the Plimsoll symbol and LaTeX support")
    (description
     "This package provides access to the Plimsoll symbol for use with LaTeX.
The Plimsoll symbol is sometimes used in chemistry for denoting standard
states and values.  The LaTeX package provides access to this notation as
well.")
    (license license:gpl3+)))

(define-public texlive-pm-isomath
  (package
    (name "texlive-pm-isomath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pm-isomath/"
                                     "source/latex/pm-isomath/"
                                     "tex/latex/pm-isomath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a3qsv8x1pj2fd8hdbds6skvda9hpaph0a3hakf61xngc7q4ymxn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pm-isomath")
    (synopsis "Poor man ISO math for pdfLaTeX users")
    (description
     "This small package realizes a poor man approximation of the ISO
regulations for physical sciences and technology.  Contrary to other more
elegant solutions, it does not load any math alphabet, since pdfLaTeX can use
only a maximum of such alphabets.  The necessary user macros are defined for
typsetting common math symbols that require special ISO treatment.")
    (license license:lppl1.3c)))

(define-public texlive-pmhanguljamo
  (package
    (name "texlive-pmhanguljamo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pmhanguljamo/"
                                     "tex/latex/pmhanguljamo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k8cvzmrrpb6hkkjczfq4mad71450pappf68jdlf1vmg3qb0f9z3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pmhanguljamo")
    (synopsis "Poor man's Hangul Jamo input method")
    (description
     "This package provides a Hangul transliteration input method that allows
to typeset Korean letters (Hangul) using the proper fonts. The use of XeLaTeX
is recommended.")
    (license license:lppl1.3+)))

(define-public texlive-pmx
  (package
    (name "texlive-pmx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pmx/"
                                     "doc/man/man1/pmxab.1"
                                     "doc/man/man1/pmxab.man1.pdf"
                                     "doc/man/man1/scor2prt.1"
                                     "doc/man/man1/scor2prt.man1.pdf"
                                     "tex/generic/pmx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p9js9izv50vg7qqqmyg5jz4am4phhscqdfnn4nszlyfv3zkg7p3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-pmx-bin))
    (home-page "https://ctan.org/pkg/pmx")
    (synopsis "Preprocessor for MusiXTeX")
    (description
     "PMX provides a preprocessor for MusiXTeX.  @command{pmxab} builds a TeX
input file based on a @file{.pmx} input file in a much simpler language,
making most of the layout decisions by itself.  It has most of MusiXTeX's
functionality, but it also permits in-line TeX to give access to virtually all
of MusiXTeX.  For proof-listening, @command{pmxab} will make a MIDI file of
your score.  @command{scor2prt} is an auxiliary program that makes parts from
a score.")
    (license license:gpl2)))

(define-public texlive-pmx-bin
  (package
    (inherit texlive-bin)
    (name "texlive-pmx-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("pmx"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-pmx" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/pmx"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/pmx"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-pmx))
    (synopsis "Binaries for @code{texlive-pmx}")
    (description
     "This package provides the binaries for @code{texlive-pmx}.")
    (license (package-license texlive-pmx))))

(define-public texlive-pmxchords
  (package
    (name "texlive-pmxchords")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pmxchords.1"
                                     "doc/man/man1/pmxchords.man1.pdf"
                                     "doc/pmxchords/" "scripts/pmxchords/"
                                     "tex/generic/pmxchords/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01dlic0b0fdm41982mqj3xpin0wksmsyz4h53vdckkz2ayyagagk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pmxchords.lua")))
    (home-page "https://ctan.org/pkg/pmxchords")
    (synopsis "Produce chord information to go with @command{pmx} output")
    (description
     "The bundle supplements @command{pmx}, providing the means of typesetting
chords above the notes of a score.  The bundle contains: macros for typing the
chords; a Lua script to transpose chord macros to the required key signature;
and support scripts for common requirements.")
    (license license:gpl2)))

(define-public texlive-pnas2009
  (package
    (name "texlive-pnas2009")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/pnas2009/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yl475rlfhlnd9d0pyzm1gj2gixrdzyn6858j1ndvkhr8vc055ns"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pnas2009")
    (synopsis "BibTeX style for PNAS (newer version)")
    (description
     "This style produces bibliographies in the format of @emph{Proceedings of
the National Academy of Sciences, USA}.  The style was derived from the
standard @file{unsrt.bst} and adapted to the new (2009) formatting rules.")
    (license license:knuth)))

(define-public texlive-poemscol
  (package
    (name "texlive-poemscol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/poemscol/"
                                     "source/latex/poemscol/"
                                     "tex/latex/poemscol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hz6zsqcvlzcccxywwzwlpp9gsv41g4hc88481vmj313bys77spd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/poemscol")
    (synopsis "Typesetting critical editions of poetry")
    (description
     "The package offers LaTeX macros for typesetting critical editions of
poetry.  Its features include automatic linenumbering, generation of separate
endnotes sections for emendations, textual collations, and explanatory notes,
special marking for cases in which page breaks occur during stanza breaks,
running headers of the form @samp{Notes to pp.@: xx-yy} for the notes
sections, index of titles and first lines, and automatic generation of a table
of contents.")
    (license license:lppl1.3c)))

(define-public texlive-poetry
  (package
    (name "texlive-poetry")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/poetry/" "source/latex/poetry/"
                                     "tex/latex/poetry/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z262am0qh6h1qqf36hxj2lc7d5pr4r65yx8ysrydh0sijccgild"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/poetry")
    (synopsis "Facilities for typesetting poetry and poetical structure")
    (description
     "This package provides some macros and general doodads for typesetting poetry.
There is, of course, already the excellent @code{verse} package, and the
@code{poetrytex} package provides some extra functionality on top of it.  But
@code{poetry} provides much of the same functionality in a bit of a different
way, and with a few additional abilities, such as facilities for a list of
poems, an index of first lines, and some structural commands.")
    (license license:lppl1.3c)))

(define-public texlive-poetrytex
  (package
    (name "texlive-poetrytex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/poetrytex/"
                                     "source/latex/poetrytex/"
                                     "tex/latex/poetrytex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y78zd1hd3z1901x6mc6q0mw4rgj3qcqhnjn34zix11r0gn4b2jr"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-format "latex"
           #:phases
           #~(modify-phases %standard-phases
               ;; Replace "\code{...}" with "\texttt{...}" (which is the alias
               ;; chosen in the documentation) in order to prevent a "Command
               ;; \code already defined" error.
               (add-after 'unpack 'fix-documentation-source
                 (lambda _
                   (substitute* "source/latex/poetrytex/poetrytex.dtx"
                     (("\\\\newcommand\\*\\\\code\\[1\\].*") "")
                     (("\\\\code\\{") "\\texttt{")))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-etoolbox
                  texlive-fancyvrb
                  texlive-framed
                  texlive-hologo
                  texlive-hypdoc
                  texlive-parskip
                  texlive-tipa
                  texlive-tocloft))))
    (home-page "https://ctan.org/pkg/poetrytex")
    (synopsis "Typeset anthologies of poetry")
    (description
     "The package is designed to aid in the management and formatting of
anthologies of poetry and other writings; it does not concern itself with
actually typesetting the verse itself.")
    (license license:lppl1.3+)))

(define-public texlive-poiretone
  (package
    (name "texlive-poiretone")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/poiretone/"
                                     "fonts/enc/dvips/poiretone/"
                                     "fonts/map/dvips/poiretone/"
                                     "fonts/tfm/public/poiretone/"
                                     "fonts/truetype/public/poiretone/"
                                     "fonts/type1/public/poiretone/"
                                     "fonts/vf/public/poiretone/"
                                     "tex/latex/poiretone/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zdncw8pj0x8nwgk7b5lgqldiifqjnsci57jnkf5vyhzsxx1c8kr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/poiretone")
    (synopsis "PoiretOne family of fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the PoiretOne family of fonts, designed by Denis Masharov.  PoiretOne is
a decorative geometric grotesque with a hint of Art Deco and constructivism.
There is currently just a regular weight and an artificially emboldened
bold.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-polexpr
  (package
    (name "texlive-polexpr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/polexpr/"
                                     "tex/generic/polexpr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09lryzizy59aaq92m2rzryxf0q0b9wqhrm258q1kqgm0sd2z6pn3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/polexpr")
    (synopsis "Parser for polynomial expressions")
    (description
     "The package provides a parser @code{\\poldef} of algebraic polynomial
expressions.  Once defined, a polynomial is usable by its name either as
a numerical function in @code{\\xintexpr} or @code{\\xinteval}, or for
additional polynomial definitions, or as argument to the package macros.  The
localization of real roots to arbitrary precision as well as the determination
of all rational roots is implemented via such macros.")
    (license license:lppl1.3c)))

(define-public texlive-powerdot-fuberlin
  (package
    (name "texlive-powerdot-fuberlin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/powerdot-fuberlin/"
                                     "tex/latex/powerdot-fuberlin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q49f7sbywfgdgn24ayg7ybfnqdnaqiwn463hiahib0vznwv1fn6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/powerdot-fuberlin")
    (synopsis "Powerdot, using the style of FU Berlin")
    (description
     "The bundle provides a Powerdot-derived class and a package for use with
Powerdot to provide the corporate design of the Free University in Berlin.
Users may use the class itself (FUpowerdot) or use the package in the usual
way with @code{\\style=BerlinFU} as a class option.")
    (license license:lppl)))

(define-public texlive-powerdot-tuliplab
  (package
    (name "texlive-powerdot-tuliplab")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/powerdot-tuliplab/"
                                     "tex/latex/powerdot-tuliplab/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wwml3n7lrfm4m9xw3a14ksa8mcrrp2gbwi9y4m5pgz1r92jmph3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/powerdot-tuliplab")
    (synopsis "Style package for Powerdot to provide the design of TULIP Lab")
    (description
     "@code{powerdot-tuliplab} is the LaTeX package used in TULIP Lab for
presentation drafting.")
    (license license:lppl1.3+)))

(define-public texlive-pracjourn
  (package
    (name "texlive-pracjourn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pracjourn/"
                                     "source/latex/pracjourn/"
                                     "tex/latex/pracjourn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pavlcxv7jqni6rl2hdqfmmns566151rvsaa1p5xhgfb6qa4l1b1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pracjourn")
    (synopsis "Typeset articles for PracTeX")
    (description
     "The @code{pracjourn} class is used for typesetting articles in the
@emph{PracTeX Journal}.  It is based on the @code{article} class with
modifications to allow for more flexible front-matter and revision control,
among other small changes.")
    (license license:gpl3+)))

(define-public texlive-prftree
  (package
    (name "texlive-prftree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/prftree/" "tex/latex/prftree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h5cgk0jsdngmhzr90910fqyvnvabbpicwskan6yay7h8iqqmxvf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/prftree")
    (synopsis "Macros for building proof trees")
    (description
     "This package provides a package to typeset proof trees for natural
deduction calculi, sequent-like calculi, and similar.")
    (license license:gpl3+)))

(define-public texlive-principia
  (package
    (name "texlive-principia")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/principia/"
                                     "tex/latex/principia/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i429lcyblqx6g6nf6s6bbbfnb62wxgglgkg28hmip81xxbx4vbg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/principia")
    (synopsis "Notations for typesetting the @emph{Principia Mathematica}")
    (description
     "This package supports typesetting the Peanese notation in Volume I of
Whitehead and Russell's 1910 @emph{Principia Mathematica}.")
    (license license:lppl1.3c)))

(define-public texlive-proba
  (package
    (name "texlive-proba")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/proba/" "source/latex/proba/"
                                     "tex/latex/proba/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ym6szixg2dl17l07kdqmyah6pi6hn68ckr95xmimqhv8ib124kj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/proba")
    (synopsis "Shortcuts commands to symbols used in probability texts")
    (description
     "This package includes some of the most often used commands in
probability texts, e.g., probability, expectation, variance, etc.  It also
includes some short commands for set (blackboard) or
filtrations (calligraphic).")
    (license license:lppl)))

(define-public texlive-prociagssymp
  (package
    (name "texlive-prociagssymp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/prociagssymp/"
                                     "tex/latex/prociagssymp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c8fa2d0rsq5drrrckvm1b9mfdfn3p0b9wwwzr263lw7qdqhnlwj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/prociagssymp")
    (synopsis "Macros for IAG symposium papers")
    (description
     "This package provides (re-)definitions of some LaTeX commands that can
be useful for the preparation of papers with the style of the proceedings of
symposia sponsored by the @acronym{IAG, International Association of Geodesy}
published by Springer-Verlag.")
    (license license:lppl)))

(define-public texlive-prodint
  (package
    (name "texlive-prodint")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/prodint/"
                                     "fonts/afm/public/prodint/"
                                     "fonts/map/dvips/prodint/"
                                     "fonts/tfm/public/prodint/"
                                     "fonts/type1/public/prodint/"
                                     "tex/latex/prodint/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k354qidij22mwxafh2zbam7qb4jd5pb8jakw0c660xdxaxrdxx3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/prodint")
    (synopsis "Font that provides the product integral symbol")
    (description
     "Product integrals are to products, as integrals are to sums.  They have
been around for more than a hundred years, they have not become part of the
standard mathematician's toolbox, possibly because no-one invented the right
mathematical symbol for them.  The authors have remedied that situation by
proposing the symbol and providing this font.")
    (license license:silofl1.1)))

(define-public texlive-profcollege
  (package
    (name "texlive-profcollege")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/profcollege/"
                                     "metapost/profcollege/"
                                     "tex/latex/profcollege/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03cnyd4dwxmsl2z46878x7l1k3dshwjkwc7lclw1ivlakl6h4g1f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/profcollege")
    (synopsis "LaTeX package for French maths teachers in college")
    (description
     "This package provides some commands to help French mathematics teachers
for 11-16 years olds.")
    (license license:lppl1.3c)))

(define-public texlive-proflabo
  (package
    (name "texlive-proflabo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/proflabo/" "tex/latex/proflabo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0208sjybqgvd7xrrnc49d31cpvd0bfjyjamfsyzi6yb0fhsxd7x7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/proflabo")
    (synopsis "Draw laboratory equipment")
    (description
     "This package was developed to help French chemistry teachers to create
drawings (using TikZ) for laboratory stuff.")
    (license license:lppl)))

(define-public texlive-proflycee
  (package
    (name "texlive-proflycee")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/proflycee/"
                                     "metapost/proflycee/"
                                     "tex/latex/proflycee/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cmda7dqydvrg327sz5z635kzjs4p2r31z5pc1bj8zq7jc9c5f6h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/proflycee")
    (synopsis "LaTeX package for French maths teachers in high school")
    (description
     "This package provides some commands to help French mathematics teachers
for 15-18 years olds.")
    (license license:lppl1.3c)))

(define-public texlive-projlib
  (package
    (name "texlive-projlib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/projlib/" "source/latex/projlib/"
                                     "tex/latex/projlib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kp8khsr848lksnypj0n4j24pg5xi1lcplvfi8fksrmv0whzyi31"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-create-theorem))
    (home-page "https://ctan.org/pkg/projlib")
    (synopsis "Tools to simplify your workflow")
    (description
     "ProjLib is a collection of tools to help you write LaTeX documents.
With the main package ProjLib loaded, you no longer need to set up the
@code{theorem}-like environments, nor to manually configure the appropriate
multilingual settings.  In addition, a series of auxiliary functionalities are
introduced.")
    (license license:lppl1.3c)))

(define-public texlive-proof-at-the-end
  (package
    (name "texlive-proof-at-the-end")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/proof-at-the-end/"
                                     "source/latex/proof-at-the-end/"
                                     "tex/latex/proof-at-the-end/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1axgv5lln20iwhn07z8ar3blnqmaj4fm6g98948zzlmvysjw5vi9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/proof-at-the-end")
    (synopsis "Move proofs to appendix")
    (description
     "This package aims to provide a way to easily move proofs to the appendix.
You can (among other things) move proofs to different places/sections, create
links from theorems to proofs, restate theorems, add comments in appendix...")
    (license license:lppl1.3+)))

(define-public texlive-prooftrees
  (package
    (name "texlive-prooftrees")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/prooftrees/"
                                     "tex/latex/prooftrees/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0apfsvnappjfnnw3962fwd5wmax6a0hqq8kz29qy3x20n4l8akk3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/prooftrees")
    (synopsis "Forest-based proof trees (symbolic logic)")
    (description
     "The package supports drawing proof trees of the kind often used in
introductory logic classes, especially those aimed at students without strong
mathemtical backgrounds.  Hodges (1991) is one example of a text which uses
this system.  When teaching such a system it is especially useful to annotate
the tree with line numbers, justifications and explanations of branch
closures.  The package provides a single environment, @code{prooftree}, and
a variety of tools for annotating, customising and highlighting such trees.
A cross-referencing system is provided for trees which cite line numbers in
justifications for proof lines or branch closures.")
    (license license:lppl1.3+)))

(define-public texlive-proposal
  (package
    (name "texlive-proposal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/proposal/base/"
                                     "doc/latex/proposal/dfg/"
                                     "doc/latex/proposal/eu/"
                                     "source/latex/proposal/base/"
                                     "source/latex/proposal/bin/"
                                     "source/latex/proposal/dfg/"
                                     "source/latex/proposal/eu/"
                                     "source/latex/proposal/lib/"
                                     "tex/latex/proposal/base/"
                                     "tex/latex/proposal/dfg/"
                                     "tex/latex/proposal/eu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0km6i418hdcbl457dfwh1hl3q8qshp1gvqc1frqc84f9a6cr0kzc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/proposal")
    (synopsis
     "Set of LaTeX classes preparing proposals for collaborative projects")
    (description
     "The process of preparing a collaborative proposal, to a major funding body,
involves integration of contributions of a many people at many sites.  It is
therefore an ideal application for a text-based document preparation system
such as LaTeX, in concert with a distributed version control system such as
SVN.  The @code{proposal} class itself provides a basis for such an
enterprise.  The @code{dfgproposal} and @code{dfgproposal} classes provide two
specialisations of the base class for (respectively) German and European
research proposals.")
    (license license:lppl)))

(define-public texlive-prtec
  (package
    (name "texlive-prtec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/prtec/" "doc/latex/prtec/"
                                     "tex/latex/prtec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15l75a6blk1dpcj2q841i92cdvlfjxmmaqi5lk01rac8rxa5cghx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/prtec")
    (synopsis "Template for PRTEC conference papers")
    (description
     "This package provides a LaTeX class, a BibTeX style, and a LaTeX
template to format conference papers for the @acronym{PRTEC, Pacific Rim
Thermal Engineering Conference}.")
    (license license:expat)))

(define-public texlive-pseudo
  (package
    (name "texlive-pseudo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pseudo/" "tex/latex/pseudo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rdhgg8y224959qr5c6ph66bkm572147fab3mdp8rw7s4dqkmjli"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pseudo")
    (synopsis "Straightforward pseudocode")
    (description
     "The package permits writing pseudocode without much fuss and with quite
a bit of configurability.  Its main environment combines aspects of
enumeration, tabbing and tabular for nonintrusive line numbering, indentation
and highlighting, and there is functionality for typesetting common syntactic
elements such as keywords, identifiers, and comments.")
    (license license:expat)))

(define-public texlive-pseudocode
  (package
    (name "texlive-pseudocode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pseudocode/"
                                     "tex/latex/pseudocode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "180m5yja3wkdnpfz0qx9m031qmhqyjjjgxynm3v4y8fz9jz7vidq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pseudocode")
    (synopsis "LaTeX environment for specifying algorithms in a natural way")
    (description
     "This package provides the environment @code{pseudocode} for describing
algorithms in a natural manner.")
    (license license:lppl)))

(define-public texlive-psgo
  (package
    (name "texlive-psgo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/psgo/" "tex/latex/psgo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ki49zbdn0qvzsz7h53vqwpf4rmiiranq52lh344z7wypznddi28"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/psgo")
    (synopsis "Typeset go diagrams with PSTricks")
    (description
     "This package can be used to typeset go diagrams with PSTricks.")
    (license license:lppl)))

(define-public texlive-psizzl
  (package
    (name "texlive-psizzl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/otherformats/psizzl/base/"
                                     "source/psizzl/base/" "tex/psizzl/base/"
                                     "tex/psizzl/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07h8raq2k80ycvsaaaxaaczwwnhkxdbnvnr52mihr8dyih5s7jns"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/psizzl")
    (synopsis "TeX format for physics papers")
    (description
     "PSIZZL is a TeX format for physics papers written at SLAC and used at
several other places.  It dates from rather early in the development of TeX82;
as a result, some of the descriptions of limitations look rather quaint to
modern eyes.")
    (license license:lppl)))

(define-public texlive-ptptex
  (package
    (name "texlive-ptptex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ptptex/" "tex/latex/ptptex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f040dv31g8bdn0awa40mvhzp095glsfsxcg28cbslckbdds5k6c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ptptex")
    (synopsis "Macros for @emph{Progress of Theoretical Physics}")
    (description
     "The distribution contains the class (which offers an option file for
preprints), a template, and macros for writing articles in @emph{Progress of
Theoretical Physics}.")
    (license license:lppl)))

(define-public texlive-punk
  (package
    (name "texlive-punk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/punk/"
                                     "fonts/source/public/punk/"
                                     "fonts/tfm/public/punk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ncarqjmwrsiw65p7mr44gjy0h90q5hw5n4jb5y2fxr1kgbzmz1p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/punk")
    (synopsis "Donald Knuth's Punk font")
    (description
     "This package provides a response to the assertion in a lecture that
``typography tends to lag behind other stylistic changes by about 10 years''.
Knuth felt it was (in 1988) time to design a replacement for his designs of
the 1970s, and came up with the Punk font!  The fonts are distributed as
Metafont source.  The package also offers LaTeX support for them, although
@code{punk-latex} is a better choice.")
    (license license:knuth)))

(define-public texlive-punk-latex
  (package
    (name "texlive-punk-latex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/punk-latex/"
                                     "tex/latex/punk-latex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gkbv3fwlfq8f3nn9zibhzwa5xw2scaf3xnkvlbxqcslmi129b2l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/punk-latex")
    (synopsis "LaTeX support for Punk fonts")
    (description
     "The package and @file{.fd} file provide support for Knuth's Punk fonts.
Although that bundle also offers support within LaTeX; the present package is
to be preferred.")
    (license license:gpl3+)))

(define-public texlive-punknova
  (package
    (name "texlive-punknova")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/punknova/"
                                     "fonts/opentype/public/punknova/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07g0j329bgyzn3f3ac8gf9m6jh6zpwirw5l72mzzm8n32sgajym0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/punknova")
    (synopsis "OpenType version of Knuth's Punk font")
    (description
     "Knuth's original Punk fonts generated different shapes at random.
This isn't actually possible in an OpenType font; rather, the font contains
several variants of each glyph, and uses the OpenType randomize function to
select a variant for each invocation.")
    (license license:knuth)))

(define-public texlive-pxtxalfa
  (package
    (name "texlive-pxtxalfa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/pxtxalfa/"
                                     "fonts/tfm/public/pxtxalfa/"
                                     "fonts/vf/public/pxtxalfa/"
                                     "tex/latex/pxtxalfa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zanrgazaffpby6jmfncyq2g4sgi23p27wi2dx18zp0350ai55ia"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxtxalfa")
    (synopsis
     "Virtual maths alphabets based on @code{pxfonts} and @code{txfonts}")
    (description
     "The package provides virtual math alphabets based on @code{pxfonts} and
@code{txfonts}, with LaTeX support files and adjusted metrics.  The
@code{mathalpha} package offers support for this collection.")
    (license license:lppl)))

(define-public texlive-pythonhighlight
  (package
    (name "texlive-pythonhighlight")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pythonhighlight/"
                                     "tex/latex/pythonhighlight/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1grvq2sih8klkvzgyrc4fpalv7q670l9q00vs8293n698bhmn72g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pythonhighlight")
    (synopsis
     "Highlighting of Python code, based on the @code{listings} package")
    (description
     "This package allows highlighting of Python code, based on the
@code{listings} package.")
    (license license:bsd-3)))

(define-public texlive-qobitree
  (package
    (name "texlive-qobitree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/qobitree/" "tex/latex/qobitree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pzy5i8fi37zhkpsrh179qd4gp8ahwk8s2gw6261kjjiqf6p6znc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qobitree")
    (synopsis "LaTeX macros for typesetting trees")
    (description
     "This package provides commands @code{\\branch} and @code{\\leaf} for
specifying the elements of the tree; you build up your tree with those
commands, and then issue the @code{\\tree} command to typeset the whole.")
    (license license:lppl)))

(define-public texlive-qrbill
  (package
    (name "texlive-qrbill")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/qrbill/" "scripts/qrbill/"
                                     "source/latex/qrbill/" "tex/latex/qrbill/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "162czrwklb4ybxga12zw5mm50i0zg9abm3aydlz1kk453n2rzynp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qrbill")
    (synopsis "Create QR bills using LaTeX")
    (description
     "This LaTeX package provides support for creating QR-bills for the new
Swiss payment standards.  This implementation is intended to offer an option
to support these regulations and can be adapted for international use.")
    (license (list license:lppl1.3c license:bsd-3))))

(define-public texlive-qsharp
  (package
    (name "texlive-qsharp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/qsharp/" "source/latex/qsharp/"
                                     "tex/latex/qsharp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "104asd1z3n7yqpq2midca2sjjxbbr0c9ngaqncj8zzb0i7ky19v4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qsharp")
    (synopsis "Syntax highlighting for the Q# language")
    (description
     "The package provides syntax highlighting for the Q# language,
a domain-specific language for quantum programming.")
    (license license:lppl1.3c)))

(define-public texlive-qtree
  (package
    (name "texlive-qtree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/qtree/" "tex/latex/qtree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gmwkm6400pcrjnq111bih7za0p45nx6gy4lksvgjhdcpnykbbla"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qtree")
    (synopsis "Draw tree structures")
    (description
     "The package offers support for drawing tree diagrams, and is especially
suitable for linguistics use.  It allows trees to be specified in a simple
bracket notation, automatically calculates branch sizes, and supports both
DVI/PostScript and PDF output by use of @code{pict2e} facilities.  The package
is a development of the existing @code{qobitree} package, offering a new front
end.")
    (license license:lppl)))

(define-public texlive-qualitype
  (package
    (name "texlive-qualitype")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/qualitype/"
                                     "fonts/opentype/public/qualitype/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "027n3i9cy4p7wkbj1zrlsvagplxk74gz5cwv7mr4yl8gqzd41058"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qualitype")
    (synopsis "QualiType font collection")
    (description
     "This is a collection of 45 fonts, created by QualiType.")
    (license (list license:silofl1.1 license:gpl2+))))

(define-public texlive-quantumarticle
  (package
    (name "texlive-quantumarticle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/quantumarticle/"
                                     "doc/latex/quantumarticle/"
                                     "tex/latex/quantumarticle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00v04n109mbi7w0xcmfdzs8f1fabwd2qhf53fqps99k3dj4z5f0a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quantumarticle")
    (synopsis "Document class for submissions to the @emph{Quantum} journal")
    (description
     "This package provides the preferred document class for papers to be
submitted to @emph{Quantum --- the open journal of quantum science}.  It is
based on the @code{article} document class.

As a service to authors, the document class comes with a predefined
bibliography style @file{quantum.bst} that is optimized to be used with the
@code{quantumarticle} document class.  Additionally, the @code{quantumview}
document class is provided, which can be used as a proxy to typeset the
HTML-only editorial pieces in @emph{Quantum Views}.

The @code{quantumarticle} document class also offers an option to remove the
@emph{Quantum}-related branding.  In that way, users can use it for their
notes as well.")
    (license license:lppl1.3c)))

(define-public texlive-quattrocento
  (package
    (name "texlive-quattrocento")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/quattrocento/"
                                     "fonts/enc/dvips/quattrocento/"
                                     "fonts/map/dvips/quattrocento/"
                                     "fonts/tfm/impallari/quattrocento/"
                                     "fonts/truetype/impallari/quattrocento/"
                                     "fonts/type1/impallari/quattrocento/"
                                     "fonts/vf/impallari/quattrocento/"
                                     "tex/latex/quattrocento/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mgsyl3xc9274mdh3ssd9ifxb0d9rlv0y33nlw9pwnl9y9f9gd9a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quattrocento")
    (synopsis "Quattrocento and Quattrocento Sans fonts with LaTeX support")
    (description
     "The package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Quattrocento and Quattrocento Sans families of fonts, designed by Pablo
Impallari; the fonts themselves are also provided, in both TrueType and Type1
format.  Quattrocento is a classic typeface with wide and open letterforms,
and great x-height, which makes it very legible for body text at small sizes.
Tiny details that only show up at bigger sizes make it also great for display
use.  Quattrocento Sans is the perfect sans-serif companion for
Quattrocento.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-raleway
  (package
    (name "texlive-raleway")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/raleway/"
                                     "fonts/enc/dvips/raleway/"
                                     "fonts/map/dvips/raleway/"
                                     "fonts/opentype/impallari/raleway/"
                                     "fonts/tfm/impallari/raleway/"
                                     "fonts/type1/impallari/raleway/"
                                     "fonts/vf/impallari/raleway/"
                                     "tex/latex/raleway/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pp5m31rr4lww0z92q3vsaz1l01nb78ll5mn2l9w469hpghf2gd3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/raleway")
    (synopsis "Use Raleway with TeX(-alike) systems")
    (description
     "The package provides the Raleway family in an easy to use way.  For
XeLaTeX and LuaLaTeX users the original OpenType fonts are used.  The entire
font family is included.")
    (license license:silofl1.1)))

(define-public texlive-rank-2-roots
  (package
    (name "texlive-rank-2-roots")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rank-2-roots/"
                                     "tex/latex/rank-2-roots/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mjck9vcysgak245fl43vklzw0z1znmmz9jr5qxa2gdargnkvgxl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rank-2-roots")
    (synopsis "Draw (mathematical) rank 2 root systems")
    (description
     "This package concerns mathematical drawings arising in representation
theory.  The purpose of this package is to ease drawing of rank 2 root
systems, with Weyl chambers, weight lattices, and parabolic subgroups.")
    (license license:lppl1.3c)))

(define-public texlive-rbt-mathnotes
  (package
    (name "texlive-rbt-mathnotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rbt-mathnotes/"
                                     "tex/latex/rbt-mathnotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12zhnciww00z4rkxp2pr2l31nwgsp10h38pla5jqgicvvz77x67c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rbt-mathnotes")
    (synopsis
     "Rebecca Turner's personal macros and styles for typesetting mathematics notes")
    (description
     "This package includes styles for typesetting mathematics notes, classes
for typesetting homework assignments, and formula cheat sheets for exams.")
    (license license:lppl1.3c)))

(define-public texlive-realtranspose
  (package
    (name "texlive-realtranspose")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/realtranspose/"
                                     "source/latex/realtranspose/"
                                     "tex/latex/realtranspose/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ar1yisx6pq8qjhsvb406l5j06y9jkyxvvgq9s1sg15nk9sjzy1r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/realtranspose")
    (synopsis "The ``real'' way to transpose a matrix")
    (description
     "With @code{realtranspose} you can notate the transposition of a matrix
by rotating the symbols 90 degrees.")
    (license license:expat)))

(define-public texlive-rec-thy
  (package
    (name "texlive-rec-thy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rec-thy/" "tex/latex/rec-thy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hnh371kvp2m98gg01cnqqia8gp6m0rvblff53sq86ihcij8ifz9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rec-thy")
    (synopsis "Commands to typeset recursion theory papers")
    (description
     "This package is designed to help mathematicians publishing papers in the
area of recursion theory (aka Computability Theory) easily use standard
notation.  This includes easy commands to denote Turing reductions, Turing
functionals, c.e.@: sets, stagewise computations, forcing and syntactic
classes.")
    (license license:public-domain)))

(define-public texlive-recorder-fingering
  (package
    (name "texlive-recorder-fingering")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/recorder-fingering/"
                                     "tex/latex/recorder-fingering/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yq4fwh7pqkhh52f1zfdgf0a5f0kqfh167c4fnh2pvirkfwi7312"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/recorder-fingering")
    (synopsis "Package to display recorder fingering diagrams")
    (description
     "This package provides support for generating and displaying fingering
diagrams for baroque fingering recorders.  Standard fingerings are provided
for recorders in both C and F, along with methods to create and display
alternate fingerings for trills, etc.")
    (license license:lppl1.3+)))

(define-public texlive-recycle
  (package
    (name "texlive-recycle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/recycle/"
                                     "fonts/map/dvips/recycle/"
                                     "fonts/source/public/recycle/"
                                     "fonts/tfm/public/recycle/"
                                     "fonts/type1/public/recycle/"
                                     "tex/latex/recycle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16kmi7a75vrv3pfnxydxb21pafvi98q39jrdd10a94vxx6fdlx7s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    ;; FIXME: Font metrics generation fails with "! Inconsistent equation (off
    ;; by 0.00162)." errors.
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/recycle")
    (synopsis "Font providing the ``recyclable'' logo")
    (description
     "This single-character font is provided as Metafont source, and in Adobe
Type 1 format.  It is accompanied by a trivial LaTeX package to use the logo
at various sizes.")
    (license license:gpl3+)))

(define-public texlive-reledmac
  (package
    (name "texlive-reledmac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/reledmac/"
                                     "source/latex/reledmac/"
                                     "tex/latex/reledmac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12ds4zbpv4zv6igg2pnqjxayxkrg06a69s4i10p408kwp9wwhs17"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/reledmac")
    (synopsis "Typeset scholarly editions")
    (description
     "This package provides a package for typesetting scholarly critical
editions, replacing the established @code{ledmac} and @code{eledmac} packages.
It supports indexing by page and by line numbers, and simple @code{tabular}-
and @code{array}-style environments.  The package is distributed with the
related @code{reledpar} package.")
    (license license:lppl1.3+)))

(define-public texlive-resolsysteme
  (package
    (name "texlive-resolsysteme")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/resolsysteme/"
                                     "tex/latex/resolsysteme/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g51cmjd5gs0p198sb8v95l8jra6cv6smz2068b1pdpv1fqpmjfv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/resolsysteme")
    (synopsis "Work on linear systems using xint or pyluatex")
    (description
     "This package provides some commands (in French) to perform calculations
on small (2x2 or 3x3 or 4x4) linear systems, with @code{xint} or
@code{pyluatex}:

@itemize
@item @code{\\DetMatrice} or @code{\\DetMatricePY} to diplay the determinant
of a matrix;
@item @code{\\MatriceInverse} or @code{\\MatriceInversePY} to display the
inverse of a matrix;
@item @code{\\SolutionSysteme} or @code{\\SolutionSystemePY} to display the
solution of a linear system;
@item @dots{}
@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-resphilosophica
  (package
    (name "texlive-resphilosophica")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/resphilosophica/"
                                     "doc/latex/resphilosophica/"
                                     "source/latex/resphilosophica/"
                                     "tex/latex/resphilosophica/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12a0pnksxh3b0w9iwhly9sb8j6jhhmk9r1957mb7m01h435n9yb4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/resphilosophica")
    (synopsis "Typeset articles for the journal @emph{Res Philosophica}")
    (description
     "The bundle provides a class for typesetting articles for the journal
@emph{Res Philosophica}.")
    (license license:lppl1.3+)))

(define-public texlive-rest-api
  (package
    (name "texlive-rest-api")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rest-api/"
                                     "source/latex/rest-api/"
                                     "tex/latex/rest-api/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yv81yisaqkxnq33803z7kx3rk6hsdnyza0dzgqmkf6x1jmsnlp9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rest-api")
    (synopsis "Describing a REST API")
    (description
     "This LaTeX package provides macros to describe REST APIs for
documentation purposes.  The endpoints can hold the following information:
method description path parameter request body and content type response body,
content type and status code.")
    (license license:lppl1.3c)))

(define-public texlive-resumecls
  (package
    (name "texlive-resumecls")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/resumecls/"
                                     "source/xelatex/resumecls/"
                                     "tex/xelatex/resumecls/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14za3bvvksq6xjvbppfm17cj8abspj7h7l7snyd2vciy0dc305yg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/resumecls")
    (synopsis "Typeset a resume both in English and Chinese")
    (description
     "This package provides a LaTeX document class to typeset a resume or CV
both in English and Chinese with more ease and flexibility.")
    (license license:lppl1.3+)))

(define-public texlive-reverxii
  (package
    (name "texlive-reverxii")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/reverxii/"
                                     "source/generic/reverxii/"
                                     "tex/generic/reverxii/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gg8qbc8ll3n6rfp3pjshbbjd30s4n3yk219y6qcmz1nv66fp1qq"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs (list (texlive-updmap.cfg)))
    (home-page "https://ctan.org/pkg/reverxii")
    (synopsis "Playing Reversi in TeX")
    (description
     "Following the lead of @file{xii.tex}, this little program plays
Reversi.")
    (license license:lppl1.3c)))

(define-public texlive-revquantum
  (package
    (name "texlive-revquantum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/revquantum/"
                                     "source/latex/revquantum/"
                                     "tex/latex/revquantum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00wac9xjzx9mw6vxd3wnjyb1f8c1661s2zwvd4d0r337ccs6jqbl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/revquantum")
    (synopsis
     "Hacks to make writing quantum papers for revtex4-1 less painful")
    (description
     "This package provides a number of useful hacks to solve common
annoyances with the @code{revtex4-1} package, and to define notation in common
use within quantum information.  In doing so, it imports and configures
a number of commonly-available and used packages, and where reasonable,
provides fallbacks.  It also warns when users try to load packages which are
known to be incompatible with @code{revtex4-1}.")
    (license license:lppl1.3+)))

(define-public texlive-revtex4
  (package
    (name "texlive-revtex4")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/revtex4/" "doc/latex/revtex4/"
                                     "source/latex/revtex4/" "tex/latex/revtex4/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mfjp8ycsvq63vk5348r7yfcskldx6ipcwflxz7pnf60xfla5646"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/revtex4-0")
    (synopsis "Styles for various physics journals (old version)")
    (description
     "This is an old version of @code{revtex}, and is kept as a courtesy to
users having difficulty with the incompatibility of that latest version.")
    (license license:lppl)))

(define-public texlive-revtex4-1
  (package
    (name "texlive-revtex4-1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/revtex4-1/"
                                     "doc/latex/revtex4-1/"
                                     "source/latex/revtex4-1/"
                                     "tex/latex/revtex4-1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "023pzbf8hgyk6038zz9g4g95pwqrsqy1ahzy6byxh28b2p8qyk9a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:modules '((ice-9 match)
                  (ice-9 regex)
                  (srfi srfi-1)
                  (guix build texlive-build-system)
                  (guix build utils))
      #:build-targets #~(list "revtex4-1.dtx")
      #:phases
      #~(modify-phases %standard-phases
          ;; In order to build revtex4-1, we need files from revtex source.
          ;; Add them to TEXINPUTS.
          (add-before 'build 'extend-texinputs
            (lambda* (#:key inputs native-inputs #:allow-other-keys)
              (let ((revtex-source
                     (any (match-lambda
                            ((_ . dir)
                             (and (string-match "texlive-revtex-[^-]+-checkout"
                                                dir)
                                  dir)))
                          (or native-inputs inputs))))
                (setenv "TEXINPUTS"
                        (string-append revtex-source
                                       "/source/latex/revtex/:"))))))))
    (native-inputs (list (package-source texlive-revtex)))
    (home-page "https://ctan.org/pkg/revtex4-1")
    (synopsis "Styles for various physics journals")
    (description
     "This is an old version of @code{revtex}, and is kept as a courtesy to
users having difficulty with the incompatibility of that latest version.")
    (license license:lppl1.3+)))

(define-public texlive-ribbonproofs
  (package
    (name "texlive-ribbonproofs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ribbonproofs/"
                                     "tex/latex/ribbonproofs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1590hcnmzffm1z2rqz0g3h5a7xpidjzw5am603pqvlsdxvjfm6my"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ribbonproofs")
    (synopsis "Drawing ribbon proofs")
    (description
     "The package provides a way to draw ribbon proofs in LaTeX, a graphical
proof system for the propositional fragment of the logic of bunched
implications.")
    (license license:lppl1.3+)))

(define-public texlive-rmathbr
  (package
    (name "texlive-rmathbr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rmathbr/" "source/latex/rmathbr/"
                                     "tex/latex/rmathbr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rgkl8fmq00w7yn445sfq3w2xf39d3waiphivvm6hx49nd6vacv0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rmathbr")
    (synopsis
     "Repeating of math operator at the broken line and the new line in inline equations")
    (description
     "Repeating of math operators at the broken line and the new line in
inline equations is used in Cyrillic mathematical typography (Russian for
example), but unfortunately LaTeX does not provide such an option.  This
package solves the problem by extending ideas described in M. I. Grinchuk
@emph{TeX and Russian Traditions of Typesetting}, and supports most of LaTeX
mathematical packages.")
    (license license:lppl1.3+)))

(define-public texlive-roboto
  (package
    (name "texlive-roboto")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/roboto/"
                                     "fonts/enc/dvips/roboto/"
                                     "fonts/map/dvips/roboto/"
                                     "fonts/opentype/google/roboto/"
                                     "fonts/tfm/google/roboto/"
                                     "fonts/type1/google/roboto/"
                                     "fonts/vf/google/roboto/"
                                     "tex/latex/roboto/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gbg9p9y6a2fis88qfcsscksrkkcnqvsrhdkak2jm2dfjnq6v2n8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/roboto")
    (synopsis "Support for the Roboto family of fonts")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Roboto Sans, Roboto Condensed, Roboto Mono, Roboto Slab and Roboto Serif
families of fonts, designed by Christian Robertson and Greg Gazdowicz.")
    (license (list license:asl2.0 license:silofl1.1 license:lppl))))

(define-public texlive-romande
  (package
    (name "texlive-romande")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/romande/"
                                     "fonts/afm/arkandis/romande/"
                                     "fonts/enc/dvips/romande/"
                                     "fonts/map/dvips/romande/"
                                     "fonts/tfm/arkandis/romande/"
                                     "fonts/type1/arkandis/romande/"
                                     "fonts/vf/arkandis/romande/"
                                     "source/fonts/romande/"
                                     "tex/latex/romande/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xvahacjs8g5bl7yy89wi50m894r2402d5203ai79fk9d7rbc116"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/romandeadf")
    (synopsis "Romande ADF fonts and LaTeX support")
    (description
     "Romande ADF is a serif font family with oldstyle figures, designed as
a substitute for Times, Tiffany or Caslon.  The family currently includes
upright, italic and small-caps shapes in each of regular and demi-bold weights
and an italic script in regular.  The support package renames the fonts
according to the Karl Berry fontname scheme and defines four families.  Two of
these primarily provide access to the standard, or default, characters while
the alternate families support alternate characters, additional ligatures and
the long @emph{s}.  The included package files provide access to these
features in LaTeX.")
    (license license:lppl)))

(define-public texlive-rosario
  (package
    (name "texlive-rosario")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/rosario/"
                                     "fonts/enc/dvips/rosario/"
                                     "fonts/map/dvips/rosario/"
                                     "fonts/opentype/public/rosario/"
                                     "fonts/tfm/public/rosario/"
                                     "fonts/type1/public/rosario/"
                                     "fonts/vf/public/rosario/"
                                     "source/fonts/rosario/"
                                     "tex/latex/rosario/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bmz2xzx1xi3vn9s4wqij65nq54k9bc0kbxgnzd0p6q030g5yqby"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rosario")
    (synopsis "Using the Rosario fonts with LaTeX")
    (description
     "The package provides the files required to use the Rosario fonts with
LaTeX.  Rosario is a set of four fonts provided by Hector Gatti.")
    (license license:lppl1.3c)))

(define-public texlive-rsfso
  (package
    (name "texlive-rsfso")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/rsfso/" "fonts/map/dvips/rsfso/"
                                     "fonts/tfm/public/rsfso/"
                                     "fonts/vf/public/rsfso/" "tex/latex/rsfso/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fm65p7k0kfiksap2f2g8lqmgdykmhq80ff5qgma4cnqa4sa3jza"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rsfso")
    (synopsis "Mathematical calligraphic font based on @code{rsfs}")
    (description
     "The package provides virtual fonts and LaTeX support files for
mathematical calligraphic fonts based on the @code{rsfs} Adobe Type 1 fonts,
with the slant substantially reduced.  The output is quite similar to that
from the Adobe Mathematical Pi script font.")
    (license license:lppl)))

(define-public texlive-rrgtrees
  (package
    (name "texlive-rrgtrees")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rrgtrees/"
                                     "source/latex/rrgtrees/"
                                     "tex/latex/rrgtrees/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h33q32pb1s8zv598aacdzfhpk2psrzxgxnav6am16cxfri60hpi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rrgtrees")
    (synopsis
     "Linguistic tree diagrams for Role and Reference Grammar (RRG) with LaTeX")
    (description
     "This package provides a set of LaTeX macros that makes it easy to
produce linguistic tree diagrams suitable for Role and Reference
Grammar (RRG).  This package allows the construction of trees with crossing
lines, as is required by this theory for many languages.")
    (license license:lppl)))

(define-public texlive-rsc
  (package
    (name "texlive-rsc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/rsc/" "doc/latex/rsc/"
                                     "source/latex/rsc/" "tex/latex/rsc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fgc54fyikrgx81gfhv7mab6sqj4xjz6pyrkxk8jnlwwqrsk0yxb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rsc")
    (synopsis "BibTeX style for use with RSC journals")
    (description
     "The @code{rsc} package provides a BibTeX style in accordance with the
requirements of the Royal Society of Chemistry.  It was originally based on
the file @file{pccp.bst}, but also implements a number of styles from the
@code{achemso} package.  The package is now a stub for the @code{chemstyle}.")
    (license license:lppl1.3+)))

(define-public texlive-rtklage
  (package
    (name "texlive-rtklage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rtklage/" "tex/latex/rtklage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p9z4dgh572n7j6b8vf8aqag8ybqw3xzsh5kab1czks2774gm7cq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ratex")
    (synopsis "Package for German lawyers")
    (description
     "RATeX is a newly developed bundle of packages and classes provided for
German lawyers.  Now in the early beginning it only contains @code{rtklage},
a class to make lawsuits.")
    (license license:lppl)))

(define-public texlive-rubik
  (package
    (name "texlive-rubik")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rubik/"
                                     "doc/man/man1/rubikrotation.1"
                                     "doc/man/man1/rubikrotation.man1.pdf"
                                     "scripts/rubik/"
                                     "source/latex/rubik/"
                                     "tex/latex/rubik/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v7j88d72acgrj24x8g859k7q6qd47pjy3wdqfvrqq3y39x48011"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "rubikrotation.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/rubik")
    (synopsis "Document Rubik cube configurations and rotation sequences")
    (description
     "The bundle provides four packages:
@itemize

@item @code{rubikcube} provides commands for typesetting Rubik cubes
and their transformations,

@item @code{rubiktwocube} provides commands for typesetting Rubik
twocubes and their transformations,

@item @code{rubikrotation} can process a sequence of Rubik rotation
moves, with the help of a Perl package executed via
@code{\\write18} (shell escape) commands,

@item @code{rubikpatterns} is a collection of well known patterns and
their associated rotation sequences.

@end itemize")
    (license license:lppl1.3+)))

(define-public texlive-rutitlepage
  (package
    (name "texlive-rutitlepage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rutitlepage/"
                                     "source/latex/rutitlepage/"
                                     "tex/latex/rutitlepage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pcd6cqlm3r7wq9k96ignvars436hg9j5la4aaq35ldm01sqy268"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rutitlepage")
    (synopsis "Radboud University titlepage package")
    (description
     "This is an unofficial LaTeX package to generate titlepages for the
Radboud University, Nijmegen.  It uses official vector logos from the
university.")
    (license license:lppl1.3+)))

(define-public texlive-ryersonsgsthesis
  (package
    (name "texlive-ryersonsgsthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ryersonsgsthesis/"
                                     "tex/latex/ryersonsgsthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "170z5xqxwbx999dxlxhwf7mbml6j4pak6a8lgi4vbj8ii4njlygb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ryersonsgsthesis")
    (synopsis "Ryerson School of Graduate Studies thesis template")
    (description
     "This package provides a LaTeX class and template files for Ryerson
School of Graduate Studies (SGS) theses.")
    (license license:asl2.0)))

(define-public texlive-ryethesis
  (package
    (name "texlive-ryethesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ryethesis/"
                                     "source/latex/ryethesis/"
                                     "tex/latex/ryethesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xjzl1ng0nbcakiasi6sfbkannfipcfv96crq6y6cb7p7l707wg7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ryethesis")
    (synopsis "Class for Ryerson Unversity Graduate School requirements")
    (description
     "The class offers support for formatting a thesis, dissertation or
project according to Ryerson University's School of Graduate Studies thesis
formatting regulations.")
    (license license:lppl1.3+)))

(define-public texlive-sageep
  (package
    (name "texlive-sageep")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/sageep/" "doc/latex/sageep/"
                                     "source/latex/sageep/" "tex/latex/sageep/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xmfqqsabc7vv3rh74qlry5jkvp0ddyi8m4yynriv5vzyqigfw5y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sageep")
    (synopsis "Format papers for the annual meeting of EEGS")
    (description
     "The class provides formatting for papers for the annual meeting of the
@acronym{EEGS, Environmental and Engineering Geophysical Society}: Application
of Geophysics to Engineering and Environmental Problems, known as SAGEEP.")
    (license license:lppl)))

(define-public texlive-sankey
  (package
    (name "texlive-sankey")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sankey/" "source/latex/sankey/"
                                     "tex/latex/sankey/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "020in4r4pim07nya119767zjs90yqpkcyr6h6l5v7ig21n4q7d8s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sankey")
    (synopsis "Draw Sankey diagrams with TikZ")
    (description
     "This package provides macros and an environment for creating Sankey
diagrams, i.e., flow diagrams in which the width of the arrows is proportional
to the flow rate.")
    (license (list license:lppl1.3+ license:gpl3+))))

(define-public texlive-sansmathaccent
  (package
    (name "texlive-sansmathaccent")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/sansmathaccent/"
                                     "fonts/map/dvips/sansmathaccent/"
                                     "fonts/tfm/public/sansmathaccent/"
                                     "fonts/vf/public/sansmathaccent/"
                                     "tex/latex/sansmathaccent/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03xd3wpmzrggpmjrff4ka56v2zycbznlcdfyvz74xxjnngxz81qm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sansmathaccent")
    (synopsis "Correct placement of accents in sans-serif maths")
    (description
     "Sans serif maths (produced by the @code{beamer} class or the
@code{sfmath} package) often has accents positioned incorrectly.  This package
fixes the positioning of such accents when the default font (@code{cmssi}) is
used for sans serif maths.")
    (license license:lppl1.3+)))

(define-public texlive-sapthesis
  (package
    (name "texlive-sapthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/sapthesis/"
                                     "doc/latex/sapthesis/"
                                     "tex/latex/sapthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15livlw0xbc6ys408pqqvh3qvzphigar9cr57dd0is4zrh4c2y36"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sapthesis")
    (synopsis "Typeset theses for Sapienza-University, Rome")
    (description
     "The class will typeset PhD, master, and bachelor theses that adhere to
the publishing guidelines of the Sapienza University of Rome.")
    (license license:lppl1.3+)))

(define-public texlive-sasnrdisplay
  (package
    (name "texlive-sasnrdisplay")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sasnrdisplay/"
                                     "tex/latex/sasnrdisplay/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0siifxzkvgryixypgw7dywr5g7qqqrnbq622qhhyfd4xlgix43in"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sasnrdisplay")
    (synopsis "Typeset SAS or R code or output")
    (description
     "The SASnRdisplay package serves as a front-end to listings, which
permits statisticians and others to import source code and the results of
their calculations or simulations into LaTeX projects.  The package is also
capable of overloading the Sweave User Manual and SASweave packages.")
    (license license:lppl1.3+)))

(define-public texlive-sauterfonts
  (package
    (name "texlive-sauterfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sauterfonts/"
                                     "source/latex/sauterfonts/"
                                     "tex/latex/sauterfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h34vp94i16al0z8zw5xn3igk2hg4nnb507kiv87qxrr3gl11zy4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sauterfonts")
    (synopsis "Use Sauter's fonts in LaTeX")
    (description
     "The package provides font definition files (plus a replacement for the
package @code{exscale}) to access many of the fonts in Sauter's collection.
These fonts are available in all point sizes and look nicer for such
intermediate document sizes as 11pt.  Also included is the package
@code{sbbm}, an alternative to access the BBM fonts.")
    (license license:gpl3+)))

(define-public texlive-schola-otf
  (package
    (name "texlive-schola-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/schola-otf/"
                                     "tex/latex/schola-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ygc9bhdc9qgp20r17am8k7zmc1c1rdra0a56davw5y93zjvyzji"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/schola-otf")
    (synopsis "Using the OpenType fonts TeX Gyre Schola")
    (description
     "This package can only be used with LuaLaTeX or XeLaTeX.  It does the
font setting for the OpenType font TeX Gyre Schola for text and math.  The
missing typefaces like bold math and slanted text are also defined.")
    (license license:lppl1.3+)))

(define-public texlive-scholax
  (package
    (name "texlive-scholax")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/scholax/"
                                     "fonts/afm/public/scholax/"
                                     "fonts/enc/dvips/scholax/"
                                     "fonts/map/dvips/scholax/"
                                     "fonts/opentype/public/scholax/"
                                     "fonts/tfm/public/scholax/"
                                     "fonts/type1/public/scholax/"
                                     "fonts/vf/public/scholax/"
                                     "tex/latex/scholax/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jw09a75gw9favzpfkp4kmwf6wz9kp4jsk8f838rk1x76q213rrw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scholax")
    (synopsis
     "Extension of TeXGyreSchola (New Century Schoolbook) with math support")
    (description
     "This package contains an extension of TeXGyreSchola with extensive
superiors, inferior figures, upright punctuation glyphs added to the Italic
face for a theorem font, plus slanted and bold slanted faces.  Math support is
provided by one of two options to @code{newtxmath}, one of which uses an
adaptation of the Fourier math Greek letters.")
    (license license:lppl)))

(define-public texlive-schule
  (package
    (name "texlive-schule")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/schule/" "tex/latex/schule/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j1qpr8712zailnl6cal11wl27zq2vk456xgx9dza354imxpsjs9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/schule")
    (synopsis "Support for teachers at German schools")
    (description
     "The @code{schule} bundle was built to provide packages and commands that
could be useful for documents in German schools.  At the moment, its main
focus lies on documents for informatics as a school subject.  An extension for
physics is currently in progress.

For the time being, the whole package splits up into individual packages for
informatics (including syntax diagrams, Nassi-Shneiderman diagrams, sequence
diagrams, object diagrams, and class diagrams) as well as classes for written
exams (tests, quizzes, teaching observations, information sheets, worksheets,
and answer keys).")
    (license license:lppl1.3+)))

(define-public texlive-schulschriften
  (package
    (name "texlive-schulschriften")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/schulschriften/"
                                     "fonts/source/public/schulschriften/"
                                     "fonts/tfm/public/schulschriften/"
                                     "tex/latex/schulschriften/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14nbgqr213zfm1y50bh0ggs40zpi1lfjmc4yc5mprwf7q174zrbr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/schulschriften")
    (synopsis "German school scripts from Suetterlin to the present day")
    (description
     "This package provides the Metafont sources for the following school
fonts: Das Paket enthalt im wesentlichen die Metafont-Quellfiles fur die
folgenden Schulausgangsschriften: Suetterlinschrift, Deutsche Normalschrift,
Lateinische Ausgangsschrift, Schulausgangsschrift, and Vereinfachte
Ausgangsschrift.")
    (license license:lppl)))

(define-public texlive-scientific-thesis-cover
  (package
    (name "texlive-scientific-thesis-cover")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scientific-thesis-cover/"
                                     "source/latex/scientific-thesis-cover/"
                                     "tex/latex/scientific-thesis-cover/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ny19pczzrrwb20sin1qn914hy1npwxkx573g3n5gm62kzl1vc4k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scientific-thesis-cover")
    (synopsis "Provides cover page and affirmation at the end of a thesis")
    (description
     "Institutions require a cover page and an affirmation at the end of
a thesis.  This package provides both.")
    (license license:lppl1.3c)))

(define-public texlive-shobhika
  (package
    (name "texlive-shobhika")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/shobhika/"
                                     "fonts/opentype/public/shobhika/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a9l8gdn9ddz334dwfdn7vjgrq9jz6b41wph9sgchank4yj0sc64"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/shobhika")
    (synopsis "OpenType Devanagari font designed for scholars")
    (description
     "This package provides a Unicode compliant OpenType font with support for
Devanagari, Latin, and Cyrillic scripts.  It is available in two
weights--regular and bold.  The font is designed with over 1600 Devanagari
glyphs, including support for over 1100 conjunct consonants, as well as vedic
accents.  The Latin component of the font not only supports a wide range of
characters required for Roman transliteration of Sanskrit, but also provides
a subset of regularly used mathematical symbols for scholars working with
scientific and technical documents.")
    (license license:silofl1.1)))

(define-public texlive-schwalbe-chess
  (package
    (name "texlive-schwalbe-chess")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/schwalbe-chess/"
                                     "source/latex/schwalbe-chess/"
                                     "tex/latex/schwalbe-chess/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i68bl4hb7cagwwb4lyihvdnwgd0irgqp7344m5kmsdxy7z94fmr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/schwalbe-chess")
    (synopsis "Typeset the German chess magazine @emph{Die Schwalbe}")
    (description
     "The package is used to typeset the German chess magazine @emph{Die
Schwalbe}.  It is based on @code{chess-problem-diagrams}, which in its turn
has a dependency on the @code{bartel-chess-fonts}.")
    (license license:lppl1.2+)))

(define-public texlive-sciposter
  (package
    (name "texlive-sciposter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sciposter/"
                                     "tex/latex/sciposter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d4bfzx08df0vx805rhmcsl9b79lqglqbzg0i8y4rk9z9qbaajrq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sciposter")
    (synopsis "Make posters of ISO A3 size and larger")
    (description
     "This collection of files contains LaTeX packages for posters of ISO A3
size and larger (ISO A0 is the default size).  American paper sizes and custom
paper are supported.  In particular, @file{sciposter.cls} defines a document
class which allows cutting and pasting most of an article to a poster without
any editing (save reducing the size).")
    (license license:lppl)))

(define-public texlive-sclang-prettifier
  (package
    (name "texlive-sclang-prettifier")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sclang-prettifier/"
                                     "source/latex/sclang-prettifier/"
                                     "tex/latex/sclang-prettifier/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pjqhwnz7lihl4yqxr0xgfdxnsj2p7k10vj5y7smjyv0p93lqvaw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sclang-prettifier")
    (synopsis "Pretty-printing SuperCollider source code")
    (description
     "Built on top of the @code{listings} package, the package allows
effortless pretty-printing of SuperCollider source code in documents typeset
with LaTeX and friends.")
    (license license:lppl1.3+)))

(define-public texlive-scrabble
  (package
    (name "texlive-scrabble")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scrabble/" "tex/latex/scrabble/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zqqwxh4v7jmx7hamrhkix98b2my3j4kqfz5s1p5c5vq40dvfha3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scrabble")
    (synopsis "Commands for Scrabble boards")
    (description
     "This package provides some commands (in English and in French) to work
with a Scrabble board.")
    (license license:lppl1.3c)))

(define-public texlive-scratchx
  (package
    (name "texlive-scratchx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scratchx/" "tex/latex/scratchx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vy8599n8hxrvjc063p1dis0y7y221rlcwxxxryvibhz2kk7zwc2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scratchx")
    (synopsis "Include Scratch programs in LaTeX documents")
    (description
     "This package can be used to include every kind of Scratch program in
LaTeX documents.  This may be particularly useful for Math Teachers and IT
specialists.")
    (license license:lppl1.3c)))

(define-public texlive-screenplay
  (package
    (name "texlive-screenplay")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/screenplay/"
                                     "source/latex/screenplay/"
                                     "tex/latex/screenplay/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16vw7ikxblzlmamz0d95d0zj6vzhdg75w0q645sfh75pj7v6b1v0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/screenplay")
    (synopsis "Class file to typeset screenplays")
    (description
     "The class implements the format recommended by the Academy of Motion
Picture Arts and Sciences.")
    (license license:gpl3+)))

(define-public texlive-screenplay-pkg
  (package
    (name "texlive-screenplay-pkg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/screenplay-pkg/"
                                     "tex/latex/screenplay-pkg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07xl6631yjjx56whl1vl4mzdcn8k63i624lspxiw18ppfrxdh3an"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/screenplay-pkg")
    (synopsis "Package version of the screenplay document class")
    (description
     "This package implements the tools of the @code{screenplay} document
class in the form of a package so that screenplay fragments can be included
within another document class.")
    (license license:lppl1.3+)))

(define-public texlive-scripture
  (package
    (name "texlive-scripture")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scripture/"
                                     "source/latex/scripture/"
                                     "tex/latex/scripture/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d57w9av2ysji31sm8qafi29irhvz7ds22jjx6ckm00idqbxvn9i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scripture")
    (synopsis "LaTeX style for typesetting @emph{Bible} quotations")
    (description
     "The @code{scripture} package provides a set of macros for typesetting
quotations from the @emph{Bible}.  It provides many features commonly seen in
bibles such as dropped text for chapter numbers, superscripts for verse
numbers, indented lines for poetry sections, narrow sections and hanging
paragraphs.  A reference for the quotation can optionally be added.")
    (license license:lppl1.3c)))

(define-public texlive-scrjrnl
  (package
    (name "texlive-scrjrnl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scrjrnl/" "source/latex/scrjrnl/"
                                     "tex/latex/scrjrnl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10smy8cq2papzv63q5lsharxcn1l1ln97fhrd39wm2jf48967lbn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scrjrnl")
    (synopsis "Typeset diaries or journals")
    (description
     "This package provides a class, based on @code{scrbook}, designed for
typesetting diaries, journals or devotionals.")
    (license license:lppl1.3+)))

(define-public texlive-sduthesis
  (package
    (name "texlive-sduthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sduthesis/"
                                     "source/latex/sduthesis/"
                                     "tex/latex/sduthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c9dmgjbxc0xyphi4hcb9yilmhh6hg0l2r4vkyjds3xgii7kwkn7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sduthesis")
    (synopsis "Thesis template of Shandong University")
    (description
     "This package provides a thesis template of Shandong University.")
    (license license:lppl1.3+)))

(define-public texlive-se2thesis
  (package
    (name "texlive-se2thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/se2thesis/"
                                     "source/latex/se2thesis/"
                                     "tex/latex/se2thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02hlq4pr0bn33x45azbajxyqp4bh3lb9bvr338pki04qdjja9ayg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/se2thesis")
    (synopsis
     "Thesis class for the Chair of Software Engineering II at the
University of Passau, Germany")
    (description
     "The @code{se2thesis} bundle provides a document class for writing
a theses with the Chair of Software Engineering II at the University of
Passau, Germany.  The class is based on KOMA-Script classes.  While the class
provides some basic settings, mostly regrading the type area, fonts, and the
title page, it still provides large degrees of freedom to its users.")
    (license license:lppl1.3c)))

(define-public texlive-serbian-apostrophe
  (package
    (name "texlive-serbian-apostrophe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/serbian-apostrophe/"
                                     "tex/latex/serbian-apostrophe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hkgm4q74kn172nr5whlwjq88sfqm66cvnsv7nidcqssybnn5891"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/serbian-apostrophe")
    (synopsis "Commands for Serbian words with apostrophes")
    (description
     "The package provides a collection of commands (whose names are Serbian
words) whose expansion is the Serbian word with appropriate apostrophes.")
    (license license:lppl1.3+)))

(define-public texlive-serbian-date-lat
  (package
    (name "texlive-serbian-date-lat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/serbian-date-lat/"
                                     "tex/latex/serbian-date-lat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m23r2i2dxw4xnxih94iyiwk4a5ggvn7wkqhp8ai5va5grp36kfk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/serbian-date-lat")
    (synopsis "Updated date typesetting for Serbian")
    (description
     "Babel defines dates for Serbian texts, in Latin script.  The style it
uses does not match current practices.  The present package defines
a @code{\\date} command that solves the problem.")
    (license license:gpl2)))

(define-public texlive-serbian-def-cyr
  (package
    (name "texlive-serbian-def-cyr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/serbian-def-cyr/"
                                     "tex/latex/serbian-def-cyr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "116sgzxvny1hbkfc5s8bxirk9zshyv8qdd2fdr8iwqjfd7lhx03i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/serbian-def-cyr")
    (synopsis "Serbian Cyrillic localization")
    (description
     "This package provides abstract, chapter, title, date etc, for Serbian
language in Cyrillic scripts in T2A encoding and CP1251 code pages.")
    (license license:lppl1.3+)))

(define-public texlive-serbian-lig
  (package
    (name "texlive-serbian-lig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/serbian-lig/"
                                     "tex/latex/serbian-lig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vq33mr8br7z7y5ayb5wmhy0ralgx6alb9kmhaahdx8a105dl81b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/serbian-lig")
    (synopsis "Control ligatures in Serbian")
    (description
     "The package suppresses @samp{fi} and @samp{fl} (and other ligatures) in
Serbian text written using Roman script.")
    (license license:lppl1.3+)))

(define-public texlive-sesamanuel
  (package
    (name "texlive-sesamanuel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sesamanuel/"
                                     "source/latex/sesamanuel/"
                                     "tex/latex/sesamanuel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jgr6syi26qbzdg37rq4d633klgb7s5bp1k3zvb3r538bawag8kc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sesamanuel")
    (synopsis "Class and package for sesamath books or paper")
    (description
     "The package contains a @code{sesamanuel} class which could be used to
compose a student's classroom book with LaTeX, and also
a @code{sesamanuelTIKZ} style to be used for TikZ pictures in the Sesamath
book.")
    (license license:lppl1.3+)))

(define-public texlive-seu-ml-assign
  (package
    (name "texlive-seu-ml-assign")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/seu-ml-assign/"
                                     "tex/latex/seu-ml-assign/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w8dhp0kmgi9ywskq772ccj5n0kd7j55y15xwm3ss3jjdh4vzh8m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/seu-ml-assign")
    (synopsis "Southeast University Machine Learning Assignment template")
    (description
     "This is a template for the Southeast University Machine Learning
Assignment that can be easily adapted to other usages.  This template features
a colorful theme that makes it look elegant and attractive.")
    (license license:expat)))

(define-public texlive-seuthesis
  (package
    (name "texlive-seuthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/seuthesis/"
                                     "doc/latex/seuthesis/"
                                     "source/latex/seuthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gb1bql0llnms1c18xzp4g8j16zffinjjydiv4gsasyvxc0p8c5n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/seuthesis")
    (synopsis "LaTeX template for theses at Southeastern University")
    (description
     "This template is for theses at Southeastern University, Nanjing,
China.")
    (license license:gpl3)))

(define-public texlive-seuthesix
  (package
    (name "texlive-seuthesix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/seuthesix/"
                                     "doc/latex/seuthesix/"
                                     "source/latex/seuthesix/"
                                     "tex/latex/seuthesix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k87ib96pbihph399rc3kl1c3ncb4w4ljmwmvw880vvrxvz8mxjs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/seuthesix")
    (synopsis "LaTeX class for theses at Southeast University, Nanjing, China")
    (description
     "This project provides a LaTeX document class as well as a bibliography
style file for typesetting theses at the Southeast University, Nanjing, China.
It is based on the @code{seuthesis}.")
    (license license:gpl3)))

(define-public texlive-sfg
  (package
    (name "texlive-sfg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sfg/" "tex/latex/sfg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bckiy5ahbbv69fdam1k74n5f7ikhmc3d08hh9770w4aqs6k017b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sfg")
    (synopsis "Draw signal flow graphs")
    (description
     "This package defines some commands to draw signal flow graphs as used by
electrical and electronics engineers and graph theorists.")
    (license license:lppl)))

(define-public texlive-sgame
  (package
    (name "texlive-sgame")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sgame/" "tex/latex/sgame/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kzrimwmgwa3f61vawc1fq5vvgx4pxa2586wqhd4cf66ywdikn0v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sgame")
    (synopsis "LaTeX style for typesetting strategic games")
    (description
     "This package can be used to format strategic games.  For a 2x2 game,
for example, the input: @samp{\\begin@{game@}{2}{2} &$L$ &$M$\\\\ $T$ &$2,2$
&$2,0$\\\\ $B$ &$3,0$ &$0,9$ \\end@{game@}} produces output with (a) boxes
around the payoffs, (b) payoff columns of equal width, and (c) payoffs
vertically centered within the boxes.")
    (license license:lppl)))

(define-public texlive-shortmathj
  (package
    (name "texlive-shortmathj")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/shortmathj/"
                                     "tex/latex/shortmathj/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rkrskx2fay7h6naa995l46xjj8v3ffdd6kx6fq6fknr091yfp7q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/shortmathj")
    (synopsis "Automatically shortify titles of mathematical journals")
    (description
     "This small dummy package just contains a simple list of full and short
journal names as written in AMS standard:
@url{https://mathscinet.ams.org/msnhtml/serials.pdf}.")
    (license license:lppl1.3c)))

(define-public texlive-showtags
  (package
    (name "texlive-showtags")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/showtags/" "tex/latex/showtags/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0690p94mmlwhg06wzisa73w4445yg3ljy98haqf65acrcb09rl6j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/showtags")
    (synopsis "Print the tags of bibliography entries")
    (description
     "This package prints the tag right-aligned on each line of the
bibliography.")
    (license license:public-domain)))

(define-public texlive-shtthesis
  (package
    (name "texlive-shtthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/shtthesis/"
                                     "tex/latex/shtthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l7vfqvfcgpndp5kmpdx4d9w89b83j5s2kwkr37hih9cp9l3n9vz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-alphalph
           texlive-biber
           texlive-biblatex
           texlive-biblatex-gb7714-2015
           texlive-booktabs
           texlive-caption
           texlive-colortbl
           texlive-ctex
           texlive-datetime
           texlive-enumitem
           texlive-fancyhdr
           texlive-fmtcount
           texlive-lastpage
           texlive-latexmk
           texlive-listings
           texlive-lua-alt-getopt
           texlive-lualatex-math
           texlive-mathtools
           texlive-ntheorem
           texlive-tex-gyre
           texlive-tocvsec2
           texlive-transparent
           texlive-undolabl
           texlive-unicode-math
           texlive-xits
           texlive-xstring))
    (home-page "https://ctan.org/pkg/shtthesis")
    (synopsis "Unofficial LaTeX thesis template for ShanghaiTech University")
    (description
     "This package, forked from @code{ucasthesis}, is an unofficial LaTeX
thesis template for ShanghaiTech University and satisfies all format
requirements of the school.")
    (license license:gpl3)))

(define-public texlive-shuffle
  (package
    (name "texlive-shuffle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/shuffle/"
                                     "fonts/source/public/shuffle/"
                                     "fonts/tfm/public/shuffle/"
                                     "source/latex/shuffle/" "tex/latex/shuffle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06ah481pi9bdbh1f9kpk66wa8yv9qbaif1b3l80415wcxijsxp24"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/shuffle")
    (synopsis "Symbol for the shuffle product")
    (description
     "The bundle provides a LaTeX package and a font (as Metafont source) for
the shuffle product which is used in some part of mathematics and physics.")
    (license license:public-domain)))

(define-public texlive-sides
  (package
    (name "texlive-sides")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sides/" "tex/latex/sides/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lffwhb6px6f09f8jk6r9kvfh49dl5n0461b261mk2sr6fgyxrfz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sides")
    (synopsis "LaTeX class for typesetting stage plays")
    (description
     "This is a LaTeX class for typesetting stage plays, based on the
@code{plari} class.  It has been updated and several formatting changes have
been made to it.")
    (license license:gpl3+)))

(define-public texlive-simplebnf
  (package
    (name "texlive-simplebnf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/simplebnf/"
                                     "tex/latex/simplebnf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0iwqhk0nk1bbc6sxx8ylywv8ag1g32ncck44cf7gan22nm1y3xb2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simplebnf")
    (synopsis "Simple package to format Backus-Naur form (BNF)")
    (description
     "This package provides a simple way to format Backus-Naur form (BNF).
The included @code{bnfgrammar} environment parses BNF expressions (possibly
annotated), so users can write readable BNF expressions in their documents.")
    (license license:expat)))

(define-public texlive-simpleicons
  (package
    (name "texlive-simpleicons")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/simpleicons/"
                                     "fonts/enc/dvips/simpleicons/"
                                     "fonts/map/dvips/simpleicons/"
                                     "fonts/opentype/public/simpleicons/"
                                     "fonts/tfm/public/simpleicons/"
                                     "fonts/type1/public/simpleicons/"
                                     "tex/latex/simpleicons/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k4dlyh9fng6358sp4njy51rh0165qipwaj5vpjljv2i3xbi7rxk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simpleicons")
    (synopsis "Simple Icons for LaTeX")
    (description
     "Similar to FontAwesome icons being provided on LaTeX by the
@code{fontawesome} package, this package aims to do the same with
@url{https://simpleicons.org/, Simple Icons}.")
    (license license:cc0)))

(define-public texlive-simpler-wick
  (package
    (name "texlive-simpler-wick")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/simpler-wick/"
                                     "tex/latex/simpler-wick/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0iicdx5n0ifjwifxk6i0242hkk388jz1mz01zpmznixjlhx780ni"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simpler-wick")
    (synopsis "Simpler Wick contractions")
    (description
     "In every quantum field theory course, there will be a chapter about
Wick's theorem and how it can be used to convert a very large product of many
creation and annihilation operators into something more tractable and normal
ordered.  The contractions are denoted with a square bracket over the
operators which are being contracted, which used to be rather annoying to
typeset in LaTeX as the only other package available was simplewick, which is
rather unwieldy.  This package provides a simpler syntax for Wick
contractions.")
    (license license:lppl1.3+)))

(define-public texlive-simples-matrices
  (package
    (name "texlive-simples-matrices")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/simples-matrices/"
                                     "source/latex/simples-matrices/"
                                     "tex/latex/simples-matrices/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dvb989qf0ibgax0rjj49y827f9mzls0axdh28a6ar0r6dfvyjb3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simples-matrices")
    (synopsis "Define matrices by given list of values")
    (description
     "This package provides macros to define and write matrices whose
coefficients are given row by row in a list of values separated by commas.")
    (license license:lppl1.3c)))

(define-public texlive-simplewick
  (package
    (name "texlive-simplewick")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/simplewick/"
                                     "source/latex/simplewick/"
                                     "tex/latex/simplewick/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13c5hk9f8cw48j08qb0i4vh649n9maq7kjs1cf0zfmkdiqi3b6iw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simplewick")
    (synopsis "Simple Wick contractions")
    (description
     "The package provides a simple means of drawing Wick contractions above
and below expressions.")
    (license license:gpl3+)))

(define-public texlive-sistyle
  (package
    (name "texlive-sistyle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sistyle/" "source/latex/sistyle/"
                                     "tex/latex/sistyle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y53ijyzridia40a5wrpgff74n6shbdh7xbn1n56ciqfgjn4rdq4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sistyle")
    (synopsis "Package to typeset SI units, numbers and angles")
    (description
     "This package typesets SI units, numbers and angles according to the ISO
requirements.  Care is taken with font setup and requirements, and language
customisation is available.  Note that this package is (in principle)
superseded by @code{siunitx}; @code{sistyle} has maintenance-only support,
now.")
    (license license:lppl)))

(define-public texlive-siunits
  (package
    (name "texlive-siunits")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/siunits/" "source/latex/siunits/"
                                     "tex/latex/siunits/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lw9qjb1bnk357z20yri3lhcvxdnknb7yymb6hh5y8jb61pskns4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/siunits")
    (synopsis "International System of Units")
    (description
     "This package typesets physical units following the rules of the
International System of Units (SI).  Note that the package is now superseded
by @code{siunitx}; @code{siunits} has maintenance-only support, now.")
    (license license:lppl1.3+)))

(define-public texlive-skak
  (package
    (name "texlive-skak")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/skak/"
                                     "fonts/source/public/skak/"
                                     "fonts/tfm/public/skak/" "tex/latex/skak/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12fbzvyz40fnb9v5y80wkmv1fmvi7frbyv28k68lagdalm7mwp3b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/skak")
    (synopsis "Fonts and macros for typesetting chess games")
    (description
     "This package provides macros and fonts in Metafont format which can be
used to typeset chess games using PGN, and to show diagrams of the current
board in a document.  An Adobe Type 1 implementation of skak's fonts is
available as package @code{skaknew}; an alternative chess notational scheme is
available in package @code{texmate}, and a general mechanism for selecting
chess fonts is provided in @code{chessfss}.")
    (license license:lppl)))

(define-public texlive-skaknew
  (package
    (name "texlive-skaknew")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/skaknew/"
                                     "fonts/afm/public/skaknew/"
                                     "fonts/map/dvips/skaknew/"
                                     "fonts/opentype/public/skaknew/"
                                     "fonts/tfm/public/skaknew/"
                                     "fonts/type1/public/skaknew/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jpm36qb65jbsrhq1yqhwajqz3jg35wid0wlav9hk7q4hd58qi4r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/skaknew")
    (synopsis "The @code{skak} chess fonts redone in Adobe Type 1")
    (description
     "This package offers Adobe Type 1 versions of the fonts provided as
Metafont source by the @code{skak} bundle.")
    (license license:lppl)))

(define-public texlive-skmath
  (package
    (name "texlive-skmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/skmath/" "source/latex/skmath/"
                                     "tex/latex/skmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0si369hs7550v26mm3wcp69vnyr5ci2iqa6k2b8nv8wbjpcsb9jc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/skmath")
    (synopsis "Extensions to the maths command repertoire")
    (description
     "The package provides a selection of new maths commands and improved
re-definitions of existing commands.")
    (license license:lppl1.3+)))

(define-public texlive-skull
  (package
    (name "texlive-skull")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/source/public/skull/"
                                     "fonts/tfm/public/skull/"
                                     "source/fonts/skull/" "tex/latex/skull/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vnqi8c5f1a78naa9pvsl43748bm52i3qhjcv96bwcf59miih730"))))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/skull")
    (synopsis "Font to draw a skull")
    (description
     "The font (defined in Metafont) defines a single character, a black solid
skull.  A package is supplied to make this character available as a symbol in
maths mode.")
    (license license:gpl3+)))

(define-public texlive-smflatex
  (package
    (name "texlive-smflatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/smflatex/" "doc/latex/smflatex/"
                                     "source/latex/smflatex/"
                                     "tex/latex/smflatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "160bdav5rzx2hzaqxqcmlc841awr7ks1k0bmpj8kq3gzzz1pqnwj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/smflatex")
    (synopsis "Classes for @emph{Societe mathematique de France} publications")
    (description
     "The @emph{Societe mathematique de France} provides a set of classes,
packages and BibTeX styles that are used in its publications.  They are based
on AMS classes.  Besides a quite different design, their main features are:

@itemize

@item new environments for typesetting some information in two languages
@code{altabstract}, @code{alttitle}, @code{altkeywords});

@item if necessary, use of Babel (option @code{frenchb});

@item deactivation of some features of @code{frenchb}.

@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-songbook
  (package
    (name "texlive-songbook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/songbook/" "makeindex/songbook/"
                                     "source/latex/songbook/"
                                     "tex/latex/songbook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ab4l130dyzaslqmy7vm71rszwszw11kqzkn0b5fb680kxvsyicf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/songbook")
    (synopsis "Package for typesetting song lyrics and chord books")
    (description
     "The package provides an all purpose songbook style.  Three types of
output may be created from a single input file: ``words and chords'' books for
the musicians to play from, ``words only'' songbooks for the congregation to
sing from, and overhead transparency masters for congregational use.

The package will also print a table of contents, an index sorted by title and
first line, and an index sorted by key, or by artist/composer.  The package
attempts to handle songs in multiple keys, as well as songs in multiple
languages.")
    (license license:lgpl2.1)))

(define-public texlive-songproj
  (package
    (name "texlive-songproj")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/songproj/"
                                     "source/latex/songproj/"
                                     "tex/latex/songproj/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h9v91fza4bj5fv157rdnbzy208a7l8j9w4mlj8gmvk4lxxkwzkk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/songproj")
    (synopsis "Generate Beamer slideshows with song lyrics")
    (description
     "This package, together with the Beamer class, is used to generate
slideshows with song lyrics.  This is typically used in religious services in
churches equipped with a projector, for which this package has been written,
but it can be useful for any type of singing assembly.  It provides
environments to describe a song in a natural way, and formatting it into
slides with overlays.  The package comes with an additional Python script that
can be used to convert plain-text song lyrics to the expected LaTeX markup.")
    (license license:bsd-3)))

(define-public texlive-songs
  (package
    (name "texlive-songs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/songs/" "source/latex/songs/"
                                     "tex/latex/songs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mgzkh6cvq3smwjlkvd1gnhb7m151fgiv7f4v3drjqlsjyg2qds6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/songs")
    (synopsis "Produce song books for church or fellowship")
    (description
     "The package provides a means of producing beautiful song books for
church or fellowship.  It offers:
@itemize
@item a very easy chord-entry syntax;
@item multiple modes (words-only; words+chords; slides; handouts);
@item measure bars;
@item guitar tablatures;
@item automatic transposition;
@item scripture quotations;
@item multiple indexes (sorted by title, author, important lyrics, or
scripture references);
@item and projector-style output generation, for interactive use.
@end itemize")
    (license license:gpl2)))

(define-public texlive-sort-by-letters
  (package
    (name "texlive-sort-by-letters")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/sort-by-letters/"
                                     "doc/bibtex/sort-by-letters/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19zsc6a97q5wjdgxcl7mjlbxzhj5xpfi4zi8ym1962l97dj4a96n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sort-by-letters")
    (synopsis "Bibliography styles for alphabetic sorting")
    (description
     "This bundle contains several bibliography styles for separating
a document's references by the first letter of the first author/editor in the
bibliography entry.  The styles are adapted from standard ones or from
@code{natbib} ones.")
    (license license:knuth)))

(define-public texlive-soton
  (package
    (name "texlive-soton")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/soton/" "tex/latex/soton/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ib4i98x14g5bl4l5bd9ciw6aay5n6fihkyzfls52l5y9vpyglix"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/soton")
    (synopsis "University of Southampton-compliant slides")
    (description
     "The bundle contains two packages: @code{soton-palette} which defines
colour-ways, and @code{soton-beamer}, which uses the colours to produce
compliant presentations.")
    (license license:lppl)))

(define-public texlive-soup
  (package
    (name "texlive-soup")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/soup/" "source/latex/soup/"
                                     "tex/latex/soup/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04lpc3nn45i66cwnjn0sycdpfaynzkb19djyfi8ca3ppb1sn79z6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/soup")
    (synopsis "Generate alphabet soup puzzles")
    (description
     "This package generates alphabet soup puzzles (aka word search puzzles),
and variations using numbers or other symbols.  It provides macros to generate
an alphabet soup style puzzle (also known as word search puzzles or
find-the-word puzzles).  It also allows creating number soup and soups with
custom symbol sets.")
    (license license:lppl1.3+)))

(define-public texlive-spalign
  (package
    (name "texlive-spalign")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/spalign/" "source/latex/spalign/"
                                     "tex/latex/spalign/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1paxgykj07y8l5gbcz2823bn80s6y81zabqx67k0j0513ag75grf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spalign")
    (synopsis
     "Typeset matrices and arrays with spaces and semicolons as delimiters")
    (description
     "The purpose of this package is to decrease the number of keystrokes
needed to typeset small amounts of aligned material (matrices, arrays, etc.).
It provides a facility for typing alignment environments and macros with
spaces as the alignment delimiter and semicolons (by default) as the
end-of-row indicator.  This package also contains utility macros for
typesetting augmented matrices, vectors, arrays, systems of equations, and
more, and is easily extendable to other situations that use alignments.
People who have to typeset a large number of matrices (like linear algebra
teachers) should find this package to be a real time saver.")
    (license license:lppl1.3+)))

(define-public texlive-spbmark
  (package
    (name "texlive-spbmark")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/spbmark/" "tex/latex/spbmark/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yyrl3367zaibn20pcxry2pcmhjh46ny1qaf7nc2syqhsyv12hnd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spbmark")
    (synopsis "Customize superscripts and subscripts")
    (description
     "This package provides three commands @code{\\super}, @code{\\sub} and
@code{\\supersub} to improve the layout of superscripts and subscripts which
can be adjusted with respect to relative position and format, and can be used
in text and math mode.")
    (license license:cc-by4.0)))

(define-public texlive-spectral
  (package
    (name "texlive-spectral")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/spectral/"
                                     "fonts/enc/dvips/spectral/"
                                     "fonts/map/dvips/spectral/"
                                     "fonts/tfm/production/spectral/"
                                     "fonts/truetype/production/spectral/"
                                     "fonts/type1/production/spectral/"
                                     "fonts/vf/production/spectral/"
                                     "tex/latex/spectral/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i5ijzzk18m65ibf8igll22992wgfxrgr4qpxki0dpynfm0wiwjj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spectral")
    (synopsis "Spectral fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Spectral family of fonts, designed by Jean-Baptiste Levee.  Spectral is
a new and versatile serif face available in seven weights of roman and italic,
with small caps.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-sphdthesis
  (package
    (name "texlive-sphdthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sphdthesis/"
                                     "tex/latex/sphdthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05ncll9vd2yh15vp6gqzidrp011d1i2hsmlzfrfz954f9449ydx4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sphdthesis")
    (synopsis "LaTeX template for writing PhD thesis")
    (description
     "The package provides a LaTeX document class for writing a PhD thesis.
By default, the class adheres to the @acronym{NUS, National University of
Singapore} Guidelines on Format of Research Thesis Submitted For Examination.
However, modifying the class for conformation to a different guideline should
not be difficult.")
    (license license:public-domain)))

(define-public texlive-spie
  (package
    (name "texlive-spie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/spie/" "bibtex/bst/spie/"
                                     "doc/latex/spie/" "tex/latex/spie/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z4nbm2w96lvwfcj8ghnzarv5f5klriyr3b6jjnb34wd3kw52xg8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spie")
    (synopsis "Support for formatting SPIE Proceedings manuscripts")
    (description
     "This package provides support for formatting SPIE Proceedings
manuscripts.  A class and a BibTeX style are provided.")
    (license license:lppl)))

(define-public texlive-splitbib
  (package
    (name "texlive-splitbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/splitbib/"
                                     "source/latex/splitbib/"
                                     "tex/latex/splitbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18jhdrj9zfnqr4wyazxsqng6a88fwgkw2ka03qskjps8s9pc2fw7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/splitbib")
    (synopsis "Split and reorder your bibliography")
    (description
     "This package enables you to split a bibliography into several categories
and subcategories.  It does not depend on BibTeX: any bibliography may be
split and reordered.")
    (license license:lppl)))

(define-public texlive-sr-vorl
  (package
    (name "texlive-sr-vorl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sr-vorl/" "source/latex/sr-vorl/"
                                     "tex/latex/sr-vorl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1izgzwg6a9i93zfxi0qvfrdgza3q8z5b4nhlhgq072glmdqzymf0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sr-vorl")
    (synopsis "Class for Springer books")
    (description
     "This package provides a LaTeX class and templates for books to be
published at Springer Gabler Research, Springer Vieweg Research, Springer
Spektrum Research, Springer VS Research, or Springer VS Forschung.  It may be
used to produce monographs in different formats and several-authors-books
fitting the conditions of the aforementioned publishers.")
    (license license:lppl1.3c)))

(define-public texlive-srbtiks
  (package
    (name "texlive-srbtiks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/srbtiks/"
                                     "fonts/enc/dvips/srbtiks/"
                                     "fonts/map/dvips/srbtiks/"
                                     "fonts/tfm/public/srbtiks/"
                                     "fonts/vf/public/srbtiks/"
                                     "tex/latex/srbtiks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12b4xigicn259ghi5kc6nyk0bqr81kdiqfg0hql9fpwrldvbj4k6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/srbtiks")
    (synopsis "Font STIX2 for Serbian and Macedonian")
    (description
     "The @code{srbtiks} package is the extension of the @code{stix2-type1}
package that enables usage of the STIX2 font in LaTeX for the Serbian and
Macedonian languages.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-srdp-mathematik
  (package
    (name "texlive-srdp-mathematik")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/srdp-mathematik/"
                                     "tex/latex/srdp-mathematik/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wxgjfb98qjbbp0l87ajly9b3wp3lp4caw9c3f3zw8798midar15"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/srdp-mathematik")
    (synopsis "Typeset Austrian SRDP in mathematics")
    (description
     "This package provides basic commands for the defined formats of the
Austrian @acronym{sRDP, Standardisierte Reife- und Diplomprufung} in
mathematics.  Furthermore, it includes ways to implement answers in the
@file{.tex} file which can optionally be displayed in the PDF file, and it
offers a way to vary the answers in order to create different groups (e.g.,
for tests) easily.")
    (license license:lppl1.3c)))

(define-public texlive-stage
  (package
    (name "texlive-stage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/stage/" "source/latex/stage/"
                                     "tex/latex/stage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0789mddzsadiw9fiasjzjdma0f9li8gddf8m9wy5jblnsl2asf5p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stage")
    (synopsis "LaTeX class for stage plays")
    (description
     "@file{stage.cls} is a LaTeX class for creating plays of any length in
a standard manuscript format for production and submission.")
    (license license:lppl1.3+)))

(define-public texlive-stanli
  (package
    (name "texlive-stanli")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/stanli/" "tex/latex/stanli/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kspb85303z642qj3c9b2q3g41p612vshn37j7npf3if2gcyyxbq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stanli")
    (synopsis "TikZ Library for Structural Analysis")
    (description
     "STANLI is a STructural ANalysis LIbrary based on PGF/TikZ.  Creating new
assignments and tests, at university, is usually a very time-consuming task,
especially when this includes drawing graphics.  In the field of structural
engineering, those small structures are a key part for teaching.  This package
permits to create such 2D and 3D structures in a very fast and simple way.")
    (license (list license:gpl3+ license:lppl1.3+))))

(define-public texlive-starfont
  (package
    (name "texlive-starfont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/starfont/"
                                     "fonts/afm/public/starfont/"
                                     "fonts/map/dvips/starfont/"
                                     "fonts/tfm/public/starfont/"
                                     "fonts/type1/public/starfont/"
                                     "tex/latex/starfont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c2vnd5mycr6mnhwxz9gkjvfxwq0l91h2lhvpf49fjlfc3hdnd3l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/starfont")
    (synopsis "StarFont Sans astrological font")
    (description
     "The package contains StarFontSans and StarFontSerif, two astrological
fonts designed by Anthony I.P. Owen, and the appropriate macros to use them
with TeX and LaTeX.  The fonts are supplied both in the original TrueType
Format and in Adobe Type 1 format.")
    (license license:public-domain)))

(define-public texlive-startex
  (package
    (name "texlive-startex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/otherformats/startex/"
                                     "makeindex/startex/"
                                     "source/startex/startex/" "tex/startex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06hyz1bwzvabavkl6j9588skjwx8hc5dmiv8z9n7gr1w9aa9zm7x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/startex")
    (synopsis "XML-inspired format for student use")
    (description
     "This package provides a TeX format designed to help students write short
reports and essays.  It provides the user with a suitable set of commands for
such a task.  It is also more robust than plain TeX and LaTeX.")
    (license license:public-domain)))

(define-public texlive-statex
  (package
    (name "texlive-statex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/statex/" "tex/latex/statex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02zd9877kryv749lyxlswdkdfbgc4i1d2vvbkaplxq81njxipxry"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/statex")
    (synopsis "Statistics style")
    (description
     "This package provides a package defining many macros for items of
significance in statistical presentations.  An updated, but incompatible,
version of the package is available: @code{statex2}.")
    (license license:lppl)))

(define-public texlive-statex2
  (package
    (name "texlive-statex2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/statex2/" "tex/latex/statex2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g0ymd0l0cvqn61vjbncrg8cr8wkaw7bywnk85c82rsl0wsc89xk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/statex2")
    (synopsis "Statistics style")
    (description
     "The package defines many macros for items of significance in statistical
presentations.  It represents a syntax-incompatible upgrade of
@code{statex}.")
    (license license:lppl)))

(define-public texlive-statistics
  (package
    (name "texlive-statistics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/statistics/"
                                     "source/latex/statistics/"
                                     "tex/latex/statistics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cdajj4fclsqcjfc46n82vi8d276qxqklpvdn4gm36dgckrrxaxf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/statistics")
    (synopsis "Compute and typeset statistics tables and graphics")
    (description
     "The @code{statistics} package can compute and typeset statistics like frequency tables,
cumulative distribution functions (increasing or decreasing, in frequency or
absolute count domain), from the counts of individual values, or ranges, or
even the raw value list with repetitions.  It can also compute and draw a bar
diagram in case of individual values, or, when the data repartition is known
from ranges, an histogram or the continuous cumulative distribution function.
You can ask @code{statistics} to display no result, selective results or all
of them.  Similarly @code{statistics} can draw only some parts of the
graphs.")
    (license license:gpl3+)))

(define-public texlive-statistik
  (package
    (name "texlive-statistik")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/statistik/"
                                     "source/latex/statistik/"
                                     "tex/latex/statistik/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j1g9hidkq02v3f4alafi53qny3diazpfxb1w936dcy4wi5l584x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/statistik")
    (synopsis "Store statistics of a document")
    (description
     "The package counts the numbers of pages per chapter, and stores the
results in a separate file; the format of the file is selectable.")
    (license license:gpl3+)))

(define-public texlive-statmath
  (package
    (name "texlive-statmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/statmath/"
                                     "source/latex/statmath/"
                                     "tex/latex/statmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zqln39cambscblrqck9lw4krpqbhlasz58zvx84h8pmapwsk13g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/statmath")
    (synopsis "Simple use of statistical notation")
    (description
     "The package offers a number of notational conventions to be used in
applied and theoretical papers in statistics which are currently lacking in
the popular @code{amsmath} package.")
    (license license:lppl1.3+)))

(define-public texlive-staves
  (package
    (name "texlive-staves")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/staves/"
                                     "fonts/map/dvips/staves/"
                                     "fonts/tfm/public/staves/"
                                     "fonts/type1/public/staves/"
                                     "source/latex/staves/"
                                     "tex/latex/staves/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wa4zx4c439q6ahs1fwa55dcxzrx382ksrj0bv1jnck6j3iw2dlc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/staves")
    (synopsis "Typeset Icelandic staves and runic letters")
    (description
     "This package contains all the necessary tools to typeset the magical
Icelandic staves plus the runic letters used in Iceland.  Included are a font
in Adobe Type 1 format and LaTeX support.")
    (license license:lppl)))

(define-public texlive-steinmetz
  (package
    (name "texlive-steinmetz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/steinmetz/"
                                     "source/latex/steinmetz/"
                                     "tex/latex/steinmetz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x7bs22q1p07njvsg7npm5wg25jx547nv7v98wvcfmlcr4zrvbh1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/steinmetz")
    (synopsis "Print Steinmetz notation")
    (description
     "The @code{steinmetz} package provides a command for typesetting complex
numbers in the Steinmetz notation used in electrotechnics.")
    (license license:lppl)))

(define-public texlive-stellenbosch
  (package
    (name "texlive-stellenbosch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/stellenbosch/"
                                     "doc/latex/stellenbosch/"
                                     "source/latex/stellenbosch/"
                                     "tex/latex/stellenbosch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yqlwlwlszrwg8bihkfxh77b3rkf8yx978vwb4a3xjmb5yyyx3q6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stellenbosch")
    (synopsis "Stellenbosch thesis bundle")
    (description
     "The @code{usthesis} class and style files are provided to typeset
reports, theses and dissertations that conform to the requirements of the
Engineering Faculty of the University of Stellenbosch.  The class file
@file{usthesis.cls} is based on the standard LaTeX @code{book} class, while
@file{usthesis.sty} is a style file to be loaded on top of the very powerful
@code{memoir} class.

Usthesis is primarily concerned with the formatting of the front matter such
as the title page, abstract, etc., and a decent page layout on A4 paper.  It
also works together with the Babel package to provide language options to
typeset documents in Afrikaans or in English.  Additional packages are
provided for bibliographic matter, note title pages, lists of symbols, as well
as various graphic files for logos.")
    (license license:lppl)))

(define-public texlive-step
  (package
    (name "texlive-step")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/step/"
                                     "fonts/enc/dvips/step/"
                                     "fonts/map/dvips/step/"
                                     "fonts/opentype/public/step/"
                                     "fonts/tfm/public/step/"
                                     "fonts/type1/public/step/"
                                     "fonts/vf/public/step/"
                                     "tex/latex/step/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p2fzbsxrq98hlykw23j26xi936vnnd95qggjcn5a4jjwfrzbx1g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/step")
    (synopsis "Times-like font")
    (description
     "The STEP fonts are a Times-like (i.e., Times replacement) font family,
implementing a design first created for The Times of London in 1932.  These
fonts are meant to be compatible in design with Adobe's digitization of
Linotype Times, commonly used in publishing.  Type 1 support is provided for
legacy TeX engines.")
    (license license:silofl1.1)))

(define-public texlive-stepgreek
  (package
    (name "texlive-stepgreek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/stepgreek/"
                                     "fonts/enc/dvips/stepgreek/"
                                     "fonts/map/dvips/stepgreek/"
                                     "fonts/tfm/public/stepgreek/"
                                     "fonts/type1/public/stepgreek/"
                                     "fonts/vf/public/stepgreek/"
                                     "tex/latex/stepgreek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00yh96gdk854yg61hgl7n938lyw11v9kdmwl7klriyq7wjy0zcaw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stepgreek")
    (synopsis "Times/Elsevier-style Greek font")
    (description
     "This is a beta version of the STEP Greek font.  Only a regular face is
available at present, though there are plans to add italic, bold and bold
italic in the future.  The font only supports LGR in TeX and is meant to serve
as a Greek complement to a Times-like font such as STEP.  The font supports
polytonic Greek.")
    (license license:silofl1.1)))

(define-public texlive-stickstoo
  (package
    (name "texlive-stickstoo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/stickstoo/"
                                     "fonts/afm/public/stickstoo/"
                                     "fonts/enc/dvips/stickstoo/"
                                     "fonts/map/dvips/stickstoo/"
                                     "fonts/tfm/public/stickstoo/"
                                     "fonts/type1/public/stickstoo/"
                                     "fonts/vf/public/stickstoo/"
                                     "tex/latex/stickstoo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15hmplphlg5vc3a966x379bkn74vb39pv73w0py65nd9zbb7z27i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stickstoo")
    (synopsis "Reworking of STIX2")
    (description
     "SticksToo is a reworking of the STIX2 fonts with support files focussing
on enhancements of support for LaTeX users wishing to be able to access more
of its features.  A companion addition to the @code{newtxmath} package
provides a matching math package using STIX2 letters (Roman and Greek) with
@code{newtxmath} symbols.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-stix
  (package
    (name "texlive-stix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/stix/"
                                     "fonts/enc/dvips/stix/"
                                     "fonts/map/dvips/stix/"
                                     "fonts/opentype/public/stix/"
                                     "fonts/tfm/public/stix/"
                                     "fonts/type1/public/stix/"
                                     "fonts/vf/public/stix/"
                                     "source/fonts/stix/"
                                     "tex/latex/stix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ixxglx4azdnppiqhlkgyahj9a67zamljzv98n6hycp7y6jbd1x0"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-format "latex"
           ;; FIXME: I cannot build this package from source.
           #:phases #~(modify-phases %standard-phases (delete 'build))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-accents
                  texlive-caption
                  texlive-enumitem
                  texlive-fonttable
                  texlive-hypdoc))))
    (home-page "https://ctan.org/pkg/stix")
    (synopsis "OpenType Unicode maths fonts")
    (description
     "The STIX fonts are a suite of unicode OpenType fonts containing
a complete set of mathematical glyphs.  This package is considered obsolete.
See @code{stix2-otf} and @code{stix2-type1} instead.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-stix2-type1
  (package
    (name "texlive-stix2-type1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/stix2-type1/"
                                     "fonts/enc/dvips/stix2-type1/"
                                     "fonts/map/dvips/stix2-type1/"
                                     "fonts/tfm/public/stix2-type1/"
                                     "fonts/type1/public/stix2-type1/"
                                     "source/fonts/stix2-type1/"
                                     "tex/latex/stix2-type1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jsnyxbi5054fw0j5jw9cisj9xm8i8gf1f48m9l77bkybq0qviwp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stix2-type1")
    (synopsis "Type1 versions of the STIX Two OpenType fonts")
    (description
     "The @code{stix2} package provides minimal support for using the STIX Two
fonts with versions of TeX that are limited to TFM files, Type 1 PostScript
fonts, and 8-bit font encodings.

Some glyphs that are traditionally available in TeX math fonts are not yet
available in the STIX Two OpenType fonts.  In such cases, we have chosen to
omit them from the @code{stix2} package rather than create incompatibilities
between the OpenType and Type 1 versions.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-structmech
  (package
    (name "texlive-structmech")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/structmech/"
                                     "tex/latex/structmech/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nglxb3qa0q22k598y8p16fzwpi4x9pkhlqs1bvbk3zp9nnvfvq4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/structmech")
    (synopsis "TikZ command set for structural mechanics drawings")
    (description
     "This package provides a collection of TikZ commands that allow users to
draw basic elements in material/structural mechanics.  It is thus possible to
draw member forces, nodal forces/displacements, various boundary conditions,
internal force distributions, etc.")
    (license license:gpl3+)))

(define-public texlive-struktex
  (package
    (name "texlive-struktex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/struktex/"
                                     "source/latex/struktex/"
                                     "tex/latex/struktex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05bvzxrqwiw9jcq1dvvwf6ss1207qygg3iqdlfd0yjv0y7rdjvvf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/struktex")
    (synopsis "Draw Nassi-Shneiderman charts")
    (description
     "Nassi-Shneiderman charts are a well known tool to describe an algorithm
in a graphical way.  The package offers some macros for generating those
charts in a LaTeX document.  The package provides the most important elements
of a Nassi-Shneiderman charts, including processing blocks, loops, mapping
conventions for alternatives, etc.  The charts are drawn using the
@code{picture} environment (using @code{pict2e} for preference).")
    (license license:lppl1.2+)))

(define-public texlive-subfiles
  (package
    (name "texlive-subfiles")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/subfiles/"
                                     "source/latex/subfiles/"
                                     "tex/latex/subfiles/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lwbpf852qi0gmibwgd3i63mlwi2p8zb1ps0fis21r69hnisym8j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-import))
    (home-page "https://ctan.org/pkg/subfiles")
    (synopsis "Individual typesetting of sub-files of a main document")
    (description
     "Using this package one can handle multi-file projects more comfortably,
making it possible to both process the subsidiary files by themselves and to
process the main file that includes them, without making any changes to
either.")
    (license license:lppl1.3+)))

(define-public texlive-substances
  (package
    (name "texlive-substances")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/substances/"
                                     "tex/latex/substances/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lqg0bx34f7f9sva1lvvqdb7nfdaaf6lh23j0nwdy70z2g3kgkxp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/substances")
    (synopsis "Database of chemicals")
    (description
     "The package provides the means to create a database-like file that
contains data of various chemicals.  These data may be retrieved in the
document; an index of the chemicals mentioned in the document can be
created.")
    (license license:lppl1.3+)))

(define-public texlive-subsupscripts
  (package
    (name "texlive-subsupscripts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/subsupscripts/"
                                     "tex/latex/subsupscripts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f9yn6ic1yn4nl2s8ngbrrl1xflb4g2j0iw77563j5n7prgy1wrf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/subsupscripts")
    (synopsis "Range of sub- and superscript commands")
    (description
     "The package provides a comprehensive and flexible set of commands for
combinations of left and right sub- and superscripts.")
    (license license:lppl)))

(define-public texlive-subtext
  (package
    (name "texlive-subtext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/subtext/" "tex/latex/subtext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wpb4087acwsgnsc1zw6ivqaqgdsq90zm63bgmrk77ban54qsqv0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/subtext")
    (synopsis "Easy text-style subscripts in math mode")
    (description
     "This LaTeX package gives easy access to text-style subscripts in math
mode by providing an optional argument to @samp{_}.  This is implemented by
using the @code{\\text@{@}} command from the @code{amstext} package.")
    (license license:gpl3)))

(define-public texlive-sudoku
  (package
    (name "texlive-sudoku")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sudoku/" "source/latex/sudoku/"
                                     "tex/latex/sudoku/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14g1kkxinp9l57yvdpbdx4wclgka71gilcbxl1dc6sdj4cmw7mbz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sudoku")
    (synopsis "Create sudoku grids")
    (description
     "The @code{sudoku} package provides an environment for typesetting sudoku
grids.")
    (license license:lppl)))

(define-public texlive-sudokubundle
  (package
    (name "texlive-sudokubundle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sudokubundle/"
                                     "source/latex/sudokubundle/"
                                     "tex/latex/sudokubundle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1swsx8r0chgxv8h27syj4h5cf7lnj6mxvwhhzixbkjg6scrvd8kw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sudokubundle")
    (synopsis "A set of sudoku-related packages")
    (description
     "The bundle provides three packages: @code{printsudoku}, which provides
a command @code{\\sudoku} whose argument is the name of a file containing
a puzzle specification; @code{solvesudoku}, which attempts to find a solution
to the puzzle in the file named in the argument; and @code{createsudoku},
which uses the @code{random} package to generate a puzzle according to a bunch
of parameters that the user sets via macros.

The bundle comes with a set of ready-prepared puzzle files.")
    (license license:lppl)))

(define-public texlive-suftesi
  (package
    (name "texlive-suftesi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/suftesi/" "source/latex/suftesi/"
                                     "tex/latex/suftesi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07p2fv265g78zbfrq4j33ryz1z1b13g2rvln646w2g5md1zwm2hb"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-format "lualatex"
           #:phases #~(modify-phases %standard-phases
                        (add-after 'unpack 'support-greek-input
                          (lambda _
                            (substitute* "source/latex/suftesi/suftesi.dtx"
                              (("\\\\usepackage\\[T1\\]\\{fontenc\\}")
                               "\\usepackage[LGR, T1]{fontenc}")))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-babel-greek
                  texlive-biblatex
                  texlive-biblatex-philosophy
                  texlive-booktabs
                  texlive-cbfonts
                  texlive-cbfonts-fd
                  texlive-cochineal
                  texlive-csquotes
                  texlive-etoolbox
                  texlive-fontaxes
                  texlive-fontsize
                  texlive-fontspec
                  texlive-greek-fontenc
                  texlive-guitlogo
                  texlive-hologo
                  texlive-hypdoc
                  texlive-inconsolata
                  texlive-libertine
                  texlive-listings
                  texlive-ltxdockit
                  texlive-manfnt
                  texlive-manfnt-font
                  texlive-mathalpha
                  texlive-mdframed
                  texlive-microtype
                  texlive-multirow
                  texlive-needspace
                  texlive-newtx
                  texlive-parskip
                  texlive-pgf
                  texlive-realscripts
                  texlive-sectsty
                  texlive-siunitx
                  texlive-txfonts
                  texlive-upquote
                  texlive-xcolor
                  texlive-xkeyval
                  texlive-xstring
                  texlive-zref))))
    (home-page "https://ctan.org/pkg/suftesi")
    (synopsis "Document class for typesetting theses, books and articles")
    (description
     "The class can be used to typeset any kind of book (originally designed
for use in the humanities).")
    (license license:lppl1.3+)))

(define-public texlive-sugconf
  (package
    (name "texlive-sugconf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sugconf/" "tex/latex/sugconf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v9fp0dpbk4g9aab8jvwhfzh71w4276awi8lyf2pgk66d5qhfxsb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sugconf")
    (synopsis "SAS(R) user group conference proceedings document class")
    (description
     "The class may be used to typeset articles to be published in the
proceedings of SAS(R) User group conferences and workshops.  The layout
produced by the class is based on that published by SAS Institute (2021).")
    (license license:lppl)))

(define-public texlive-superiors
  (package
    (name "texlive-superiors")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/superiors/"
                                     "tex/latex/superiors/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sm3kk2j66lbr5amk4i4sp6i6yad5g1nwhg0yq1r3kxiy2mrl1vk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/superiors")
    (synopsis "Attach superior figures to a font family")
    (description
     "The package allows the attachment of an arbitrary superior figures font
to a font family that lacks one. (Superior figures are commonly used as
footnote markers.)  Two superior figures fonts are provided --- one matching
Times, the other matching Libertine.")
    (license license:lppl)))

(define-public texlive-susy
  (package
    (name "texlive-susy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/susy/" "tex/latex/susy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17v3cmkrpkdxssa50vzdasp885waf9jpg8sfjyw1dcj9z7xfz91g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/susy")
    (synopsis "Macros for SuperSymmetry-related work")
    (description "The package macros for SuperSymmetry-related work, such as
abbreviations of longer expressions.")
    (license license:lppl)))

(define-public texlive-svg
  (package
    (name "texlive-svg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/svg/" "source/latex/svg/"
                                     "tex/latex/svg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yizgrjn6l9j1cf8mvkjz0zni7bzmajszc1y8q80xc723nwnbq7q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/svg")
    (synopsis "Include and extract SVG pictures in LaTeX documents")
    (description
     "This bundle contains the two packages @code{svg} and @code{svg-extract}.

The @code{svg} package is intended for the automated integration of SVG
graphics into LaTeX documents.  Therefore the capabilities provided by
Inkscape --- or more precisely its command line tool --- are used to export
the text within an SVG graphic to a separate file, which is then rendered by
LaTeX.  For this purpose the two commands @code{\\includesvg} and
@code{\\includeinkscape} are provided which are very similar to the
@code{\\includegraphics} command of the @code{graphicx} package.

In addition, the package @code{svg-extract} allows the extraction of these
graphics into independent files in different graphic formats, exactly as it is
rendered within the LaTeX document, using either ImageMagick or Ghostscript.")
    (license license:lppl1.3c)))

(define-public texlive-svrsymbols
  (package
    (name "texlive-svrsymbols")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/svrsymbols/"
                                     "fonts/afm/public/svrsymbols/"
                                     "fonts/map/dvips/svrsymbols/"
                                     "fonts/opentype/public/svrsymbols/"
                                     "fonts/tfm/public/svrsymbols/"
                                     "fonts/type1/public/svrsymbols/"
                                     "source/fonts/svrsymbols/"
                                     "tex/latex/svrsymbols/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l1pj97pqlh9mq3m3zswnxm2vws916yjlx0pq1gr3bc23kwvhhl3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/svrsymbols")
    (synopsis "Font with symbols for use in physics texts")
    (description
     "The @code{svrsymbols} package is a LaTeX interface to the SVRsymbols
font.  The glyphs of this font are ideograms that have been designed for use
in physics texts.")
    (license license:lppl1.3c)))

(define-public texlive-syllogism
  (package
    (name "texlive-syllogism")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/syllogism/"
                                     "tex/latex/syllogism/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ns8bv5qyzvcq59x7cjkncc9wlalcdhhnxs0r4s897qrrbz4cq43"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/syllogism")
    (synopsis "Typeset syllogisms in LaTeX")
    (description
     "The package provides a simple, configurable, way for neatly typesetting
syllogisms and syllogistic-like arguments, composed of two premises and
a conclusion.")
    (license license:lppl)))

(define-public texlive-symbats3
  (package
    (name "texlive-symbats3")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/symbats3/" "tex/latex/symbats3/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xr5m2irkbv376im1m5vms6gcpq3asj03dpfck2x1ccrywn4k3w2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/symbats3")
    (synopsis "Macros to use the Symbats3 dingbats fonts")
    (description
     "This package makes available for LaTeX the glyphs in Feorag's OpenType
Symbats3 neopagan dingbats fonts.")
    (license license:lppl1.3c)))

(define-public texlive-sympytexpackage
  (package
    (name "texlive-sympytexpackage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sympytexpackage/"
                                     "scripts/sympytexpackage/"
                                     "source/latex/sympytexpackage/"
                                     "tex/latex/sympytexpackage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ph8pldk2f477dm79vf5vrismfy8w1p2m455qfjqm7p704jm1pr3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sympytex")
    (synopsis "Include symbolic computation (using @code{sympy}) in documents")
    (description
     "The bundle supports inclusion of symbolic-python (@code{sympy})
expressions, as well as graphical output from the @code{sympy} plotting
module (or from Matplotlib).")
    (license license:gpl2)))

(define-public texlive-synproof
  (package
    (name "texlive-synproof")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/synproof/" "tex/latex/synproof/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02r0ld3lcxvjhij4lffx9kljmbv6fvz10x59bjvinqfbmmfmm58m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/synproof")
    (synopsis "Easy drawing of syntactic proofs")
    (description
     "The package provides a set of macros based on PSTricks that will enable
you to draw syntactic proofs easily (inspired by the Gamut books).  Very few
commands are needed, however fine tuning of the various
parameters (dimensions) can still be achieved through key=value pairs.")
    (license license:lppl)))

(define-public texlive-t-angles
  (package
    (name "texlive-t-angles")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/t-angles/" "tex/latex/t-angles/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jp16zd64c5xdsxfycdyvlwwss4k46y7nfd2dn6ybshx34kcv0qa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/t-angles")
    (synopsis
     "Draw tangles, trees, Hopf algebra operations and other pictures")
    (description
     "This package provides a LaTeX2e package for drawing tangles, trees, Hopf
algebra operations and other pictures.  It is based on emTeX or TPIC
@code{\\specials}.  Therefore, it can be used with the most popular drivers,
including emTeX drivers, dviwin, xdvi and dvips, and (using some code from
ConTeXt) it may also be used with pdfLaTeX.")
    (license license:gpl3+)))

(define-public texlive-t2
  (package
    (name "texlive-t2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/t2/" "fonts/enc/t2/"
                                     "tex/generic/t2/cyrfinst/" "tex/latex/t2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "058j3bpv03d9nb0nxal1vjpliqqibv6hsjl1qlbgnndm95xd5n1a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/t2")
    (synopsis "Support for using T2 encoding")
    (description
     "The T2 bundle provides a variety of separate support functions for using
Cyrillic characters in LaTeX:
@itemize
@item the @code{mathtext} package, for using Cyrillic letters
transparently in formulae;
@item the @code{citehack} package, for using Cyrillic (or indeed any
non-ASCII) characters in citation keys;
@item support for Cyrillic in BibTeX;
@item support for Cyrillic in Makeindex;
@item and various items of font support.
@end itemize")
    (license license:lppl)))

(define-public texlive-tablor
  (package
    (name "texlive-tablor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tablor/" "tex/latex/tablor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qacb25whzxwn85cxq1fa5rklq5fm06g6i5x88qymm8yaq1yxa71"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tablor")
    (synopsis "Create tables of signs and of variations")
    (description
     "The package allows the user to use the computer algebra system XCAS to
generate tables of signs and of variations (the actual plotting of the tables
uses the MetaPost macro package tableauVariations).  Tables with forbidden
regions may be developed using the package.  A configuration file permits some
configuration of the language to be used in the diagrams.  The @code{tablor}
package requires that shell escape be enabled.")
    (license license:lppl)))

(define-public texlive-tabriz-thesis
  (package
    (name "texlive-tabriz-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tabriz-thesis/"
                                     "doc/xelatex/tabriz-thesis/"
                                     "tex/latex/tabriz-thesis/"
                                     "tex/xelatex/tabriz-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13k6kmg1x143m1kfc3wcvyy6l60vpzz5ivmdpcqhjbdd3wz7b2ry"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tabriz-thesis")
    (synopsis "Template for the University of Tabriz")
    (description
     "The package offers a document class for typesetting theses and
dissertations at the University of Tabriz.  The class requires use of
XeLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-tabvar
  (package
    (name "texlive-tabvar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tabvar/"
                                     "fonts/afm/public/tabvar/"
                                     "fonts/map/dvips/tabvar/"
                                     "fonts/tfm/public/tabvar/"
                                     "fonts/type1/public/tabvar/"
                                     "metapost/tabvar/"
                                     "source/latex/tabvar/"
                                     "tex/latex/tabvar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yjf0j3296a5csr6xrzziralfsy2iny21cyjf4dmlwp4l0h6kcpc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tabvar")
    (synopsis "Typesetting tables showing variations of functions")
    (description
     "This LaTeX package is meant to ease the typesetting of tables showing
variations of functions as they are used in France.")
    (license license:lppl1.3+)))

(define-public texlive-tangramtikz
  (package
    (name "texlive-tangramtikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tangramtikz/"
                                     "tex/latex/tangramtikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18n67k7ggqh3mvp8iqyp44d70gh3s8jfbwbp3ympv2ff5drjjb3l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tangramtikz")
    (synopsis "Tangram puzzles, with TikZ")
    (description
     "This package provides some commands (with English and French keys) to
work with tangram puzzles: @code{\\begin{EnvTangramTikz}} and
@code{\\PieceTangram} to position a piece, @code{\\TangramTikz} to display
a predefined tangram.")
    (license license:lppl1.3c)))

(define-public texlive-tapir
  (package
    (name "texlive-tapir")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/tapir/"
                                     "fonts/source/public/tapir/"
                                     "fonts/type1/public/tapir/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b1r2zg8m46zd2cb8l3vglncvixzhcfq75s0s86pyn9f88b17w57"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tapir")
    (synopsis "Simple geometrical font")
    (description
     "Tapir is a simple geometrical font mostly created of line and circular
segments with constant thickness.  The font is available as Metafont source
and in Adobe Type 1 format.  The character set contains all ASCII characters
in the range 0-127 (as in @code{cmr10}), accented characters used in the
Czech, Slovak and Polish languages.")
    (license license:gpl3+)))

(define-public texlive-tdsfrmath
  (package
    (name "texlive-tdsfrmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tdsfrmath/"
                                     "source/latex/tdsfrmath/"
                                     "tex/latex/tdsfrmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z1z3jy0mbn6dc75pnfsq9877y8yafvdhv5p8a54dbxxkzdcl3ll"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tdsfrmath")
    (synopsis "Macros for French teachers of mathematics")
    (description
     "This package provides a collection of macros for French maths teachers
in colleges and lycées (and perhaps elsewhere).  It is hoped that the package
will facilitate the everyday use of LaTeX by mathematics teachers.")
    (license license:lppl)))

(define-public texlive-technion-thesis-template
  (package
    (name "texlive-technion-thesis-template")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/technion-thesis-template/"
                                     "tex/xelatex/technion-thesis-template/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fnz3d3knflhm9349rn9xw3k698fn6dyxxh2a7zv8rx3z3y7kzwn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/technion-thesis-template")
    (synopsis "Template for theses on the Technion graduate school")
    (description
     "This is a template for writing a thesis according to the Technion
specifications.")
    (license license:cc-by4.0)))

(define-public texlive-tempora
  (package
    (name "texlive-tempora")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/tempora/"
                                     "fonts/afm/public/tempora/"
                                     "fonts/enc/dvips/tempora/"
                                     "fonts/map/dvips/tempora/"
                                     "fonts/opentype/public/tempora/"
                                     "fonts/tfm/public/tempora/"
                                     "fonts/type1/public/tempora/"
                                     "fonts/vf/public/tempora/"
                                     "tex/latex/tempora/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vcg6al4navxhaha78zxigpwaj631hgm47z3ic36335rb80p8b83"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tempora")
    (synopsis "Greek and Cyrillic to accompany Times")
    (description
     "This package, derived from TemporaLGCUni by Alexej Kryukov, is meant as
a companion to Times text font packages, providing Greek and Cyrillic in
matching weights and styles.  OpenType and Type1 fonts are provided, with
LaTeX support files giving essentially complete LGR coverage of monotonic,
polytonic and ancient Greek, and almost full T2A coverage of Cyrillic.")
    (license license:gpl2)))

(define-public texlive-tengwarscript
  (package
    (name "texlive-tengwarscript")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tengwarscript/"
                                     "fonts/enc/dvips/tengwarscript/"
                                     "fonts/map/dvips/tengwarscript/"
                                     "fonts/tfm/public/tengwarscript/"
                                     "fonts/vf/public/tengwarscript/"
                                     "source/latex/tengwarscript/"
                                     "tex/latex/tengwarscript/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k3wgg8cj9n4ijj5qdbm74snwzdyabh1c93zm75p4x9pmawlpaa4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tengwarscript")
    (synopsis "LaTeX support for using Tengwar fonts")
    (description
     "The package provides mid-level access to Tengwar fonts, providing good
quality output.  Each tengwar sign is represented by a command, which will
place the sign nicely in relation to previous signs.  A transcription package
is available from the package's home page: writing all those tengwar commands
would quickly become untenable.  The package supports the use of a wide
variety of tengwar fonts that are available from the net; metric and map files
are provided for all the supported fonts.")
    (license license:lppl)))

(define-public texlive-tensind
  (package
    (name "texlive-tensind")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tensind/" "tex/latex/tensind/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i0iczq20ihx5y19j9ifpbm6sad6jv9cs8zwblgkddyhwxa7n764"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tensind")
    (synopsis "Typeset tensors")
    (description
     "This package typesets tensors with dots filling gaps and fine tuning of
index placement.")
    (license license:expat)))

(define-public texlive-tensor
  (package
    (name "texlive-tensor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tensor/" "source/latex/tensor/"
                                     "tex/latex/tensor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jnjx8zhzblg66m0ss7gsdwja87h0l07vzgyaqk332kgk457iz00"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tensor")
    (synopsis "Typeset tensors")
    (description
     "This allows the user to set tensor-style super- and subscripts with
offsets between successive indices.  It supports the typesetting of tensors
with mixed upper and lower indices with spacing, also typeset preposed
indices.")
    (license license:lppl)))

(define-public texlive-termes-otf
  (package
    (name "texlive-termes-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/termes-otf/"
                                     "tex/latex/termes-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z8a1d2k4170n14hf8faimwfd26cshsww1ypa8im937lna7c0j39"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/termes-otf")
    (synopsis "Using the OpenType fonts TeX Gyre Termes")
    (description
     "This package provides the OpenType version of the TeX Gyre Termes font,
including text and math fonts.  The package needs LuaLaTeX or XeLaTeX.  The
missing typefaces like bold math and slanted text are also defined.")
    (license license:lppl1.3+)))

(define-public texlive-tex-ewd
  (package
    (name "texlive-tex-ewd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tex-ewd/"
                                     "tex/generic/tex-ewd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xlxbnn16mf7mzz57rjzqqv18mcy0immmlcsnksda03dh7hn8b69"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tex-ewd")
    (synopsis
     "Macros to typeset calculational proofs and programs in Dijkstra's style")
    (description
     "Edsger W. Dijkstra and others suggest a unique style to present
mathematical proofs and to construct programs.  This package provides macros
that support calculational proofs and Dijkstra's guarded command language.")
    (license license:bsd-1)))

(define-public texlive-tex-virtual-academy-pl
  (package
    (name "texlive-tex-virtual-academy-pl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tex-virtual-academy-pl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kb86nn5vp1b0sy21aw9wlla1dwlaijppzq7728bmfs5nk1dnbjv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tex-virtual-academy-pl")
    (synopsis "TeX usage web pages, in Polish")
    (description
     "TeX Virtual Academy is a bundle of Polish documentation in HTML format
about TeX and Co.  It contains information for beginners, LaTeX packages,
descriptions, etc.")
    (license license:fdl1.3+)))

(define-public texlive-texilikechaps
  (package
    (name "texlive-texilikechaps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/texilikechaps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z9nvv2y2nzpkpxyf18p426wcl0g6gbg7qppq70b285kdbczbijd"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texilikechaps")
    (synopsis "Format chapters with a Texi-like format")
    (description
     "The package enables the user to reduce the size of the rather large
chapter headings in standard classes into a Texi-like smaller format.")
    (license license:lppl)))

(define-public texlive-texilikecover
  (package
    (name "texlive-texilikecover")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/texilikecover/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04bljvhvmrxh1a4sfqw57yysaw03c5ldi1bq63mlqqvd9p3hmyck"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texilikecover")
    (synopsis "Cover-page package, like TeXinfo")
    (description
     "The package creates document cover pages, like those that TeXinfo
produces.")
    (license license:lppl)))

(define-public texlive-texsis
  (package
    (name "texlive-texsis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/texsis/"
                                     "doc/man/man1/texsis.1"
                                     "doc/man/man1/texsis.man1.pdf"
                                     "doc/otherformats/texsis/base/"
                                     "tex/texsis/base/"
                                     "tex/texsis/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vdywyg03ab5w50370ml8hwiidim2sy7hhygmz917rnhsnm87lnv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "texsis")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((pdftex (search-input-file inputs "bin/pdftex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink pdftex "texsis"))))))))
    (propagated-inputs
     (list texlive-cm
           texlive-hyphen-base
           texlive-knuth-lib
           texlive-pdftex
           texlive-plain
           texlive-tex))
    (home-page "https://ctan.org/pkg/texsis")
    (synopsis "Plain TeX macros for Physicists")
    (description
     "TeXsis is a TeX macro package which provides useful features for
typesetting research papers and related documents.  For example, it includes
support specifically for:

@itemize
@item automatic numbering of equations, figures, tables and references;
@item simplified control of type sizes, line spacing, footnotes, running
headlines and footlines, and tables of contents, figures and tables;
@item specialized document formats for research papers, preprints and
e-prints, conference proceedings, theses, books, referee reports, letters, and
memoranda;
@item simplified means of constructing an index for a book or thesis;
@item easy to use double column formatting;
@item specialized environments for lists, theorems and proofs, centered or
non-justified text, and listing computer code;
@item specialized macros for easily constructing ruled tables.
@end itemize

TeXsis was originally developed for physicists, but others may also find it
useful.  It is completely compatible with Plain TeX.")
    (license license:lppl)))

(define-public texlive-textglos
  (package
    (name "texlive-textglos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/textglos/"
                                     "source/latex/textglos/"
                                     "tex/latex/textglos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jxx3wrwkmmm6ida3ih0yap57laflvsks8nv0395sv49xn7waxf0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/textglos")
    (synopsis "Typeset and index linguistic gloss abbreviations")
    (description
     "The package provides a set of macros for in-line linguistic examples (as
opposed to interlinear glossing, set apart from the main text).  It prevents
hyphenated examples from breaking across lines and consistently formats
phonemic examples, orthographic examples, and more.")
    (license license:lppl1.3+)))

(define-public texlive-textgreek
  (package
    (name "texlive-textgreek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/textgreek/"
                                     "source/latex/textgreek/"
                                     "tex/latex/textgreek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a0x07xyy1akqwya54k5bf3f8k4vcrv4hfmijmcp60ikw4v5gha1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-greek-fontenc))
    (home-page "https://ctan.org/pkg/textgreek")
    (synopsis "Upright greek letters in text")
    (description
     "This package provides macros to use upright greek letters as text
symbols.")
    (license license:lppl)))

(define-public texlive-textopo
  (package
    (name "texlive-textopo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/textopo/" "source/latex/textopo/"
                                     "tex/latex/textopo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rw41qg3l4jzvwsrhwazwxn85kgad8r7bxp9bfbq843b4zrlwnaz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/textopo")
    (synopsis "Annotated membrane protein topology plots")
    (description
     "This package provides a LaTeX package for setting shaded and annotated
membrane protein topology plots and helical wheels.")
    (license license:gpl3+)))

(define-public texlive-tfrupee
  (package
    (name "texlive-tfrupee")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/tfrupee/"
                                     "fonts/afm/public/tfrupee/"
                                     "fonts/map/dvips/tfrupee/"
                                     "fonts/tfm/public/tfrupee/"
                                     "fonts/type1/public/tfrupee/"
                                     "source/fonts/tfrupee/"
                                     "tex/latex/tfrupee/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qhgxn5g4wzhi81xgb30giw542nprlmf0ryyq6jy752jccl07b7j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tfrupee")
    (synopsis "Font offering the new (Indian) Rupee symbol")
    (description
     "The package provides LaTeX support for the (Indian) Rupee symbol font.
Simple LaTeX support written for its use.")
    (license license:gpl3)))

(define-public texlive-thaienum
  (package
    (name "texlive-thaienum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thaienum/" "tex/latex/thaienum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g7sf5gjnrmhgq4qmdh3gphc0ixyfx4rpm7kmbwmjra3b8j2i46w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thaienum")
    (synopsis "Thai labels in @code{enumerate} environments")
    (description
     "This LaTeX package provides a command to use Thai numerals or characters
as labels in enumerate environments.  Once the package is loaded with
@samp{\\usepackage@{thaienum@}} you can use labels such as @code{\\thainum*}
or @code{\\thaimultialph*} in conjunction with the package @code{enumitem}.
Concrete examples are given in the documentation.")
    (license license:lppl1.3+)))

(define-public texlive-thaispec
  (package
    (name "texlive-thaispec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thaispec/"
                                     "source/latex/thaispec/"
                                     "tex/latex/thaispec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d0mj98akv7bfq3msaplm2pffcwfayssn4i5an12zrw0wxicmp96"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thaispec")
    (synopsis "Thai language typesetting in XeLaTeX")
    (description
     "This package allows you to input Thai characters directly to LaTeX
documents and choose any (system wide) Thai fonts for typesetting in XeLaTeX.
It also tries to appropriately justify paragraphs with no more external
tools.")
    (license license:lppl1.3+)))

(define-public texlive-thalie
  (package
    (name "texlive-thalie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thalie/" "tex/latex/thalie/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08dg91nr469s3x5c8njj0gpki1j89dji7ii9sw5l5ajd3pk8xbwv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thalie")
    (synopsis "Typeset drama plays")
    (description
     "The package provides tools to typeset drama plays.  It defines commands
to introduce characters lines, to render stage directions, to divide a play
into acts and scenes and to build the dramatis personae automatically.")
    (license license:lppl1.3+)))

(define-public texlive-theanodidot
  (package
    (name "texlive-theanodidot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/theanodidot/"
                                     "fonts/enc/dvips/theanodidot/"
                                     "fonts/map/dvips/theanodidot/"
                                     "fonts/tfm/public/theanodidot/"
                                     "fonts/truetype/public/theanodidot/"
                                     "fonts/type1/public/theanodidot/"
                                     "fonts/vf/public/theanodidot/"
                                     "tex/latex/theanodidot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00qf03ssh7ncpl6l33zcmqkhbylv77w3d0jdvxv9pcbbsn3rzk7v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/theanodidot")
    (synopsis "TheanoDidot fonts with LaTeX support")
    (description
     "This package provides the TheanoDidot font designed by Alexey Kryukov,
in both TrueType and Type1 formats, with support for both traditional and
modern LaTeX processors.  An artificially-emboldened variant has been provided
but there are no italic variants.")
    (license (list license:lppl license:silofl1.1))))

(define-public texlive-theanomodern
  (package
    (name "texlive-theanomodern")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/theanomodern/"
                                     "fonts/enc/dvips/theanomodern/"
                                     "fonts/map/dvips/theanomodern/"
                                     "fonts/tfm/public/theanomodern/"
                                     "fonts/truetype/public/theanomodern/"
                                     "fonts/type1/public/theanomodern/"
                                     "fonts/vf/public/theanomodern/"
                                     "tex/latex/theanomodern/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17s04wcliqn5sgg5d6axc5ky3wg7xzh62c83hgrf3fq3pbykwm77"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/theanomodern")
    (synopsis "Theano Modern fonts with LaTeX support")
    (description
     "This package provides the TheanoModern font designed by Alexey Kryukov,
in both TrueType and Type1 formats, with support for both traditional and
modern LaTeX processors.  An artificially-emboldened variant has been provided
but there are no italic variants.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-theanooldstyle
  (package
    (name "texlive-theanooldstyle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/theanooldstyle/"
                                     "fonts/enc/dvips/theanooldstyle/"
                                     "fonts/map/dvips/theanooldstyle/"
                                     "fonts/tfm/public/theanooldstyle/"
                                     "fonts/truetype/public/theanooldstyle/"
                                     "fonts/type1/public/theanooldstyle/"
                                     "fonts/vf/public/theanooldstyle/"
                                     "tex/latex/theanooldstyle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jkfdfrpp6v12mw5khw51ib9dsjnc5bz3y6bazyabx8z7lgksig5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/theanooldstyle")
    (synopsis "Theano OldStyle fonts with LaTeX support")
    (description
     "This package provides the Theano OldStyle font designed by Alexey
Kryukov, in both TrueType and Type1 formats, with support for both traditional
and modern LaTeX processors.  An artificially-emboldened variant has been
provided but there are no italic variants.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-theatre
  (package
    (name "texlive-theatre")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/theatre/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nhm56spqvryhmhwmzly939mzv5yv3398lh2lyfhf40rr02mzgi5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/theatre")
    (synopsis "Sophisticated package for typesetting stage plays")
    (description
     "This package enables the user to typeset stage plays in a way that
permits to create highly customized printouts for each actor.")
    (license license:lppl1.2+)))

(define-public texlive-thermodynamics
  (package
    (name "texlive-thermodynamics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thermodynamics/"
                                     "source/latex/thermodynamics/"
                                     "tex/latex/thermodynamics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15g6nbv44f6rpnabz905025s7kh2lqgy6mzsgjm9bc97p87d4n6v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thermodynamics")
    (synopsis "Macros for multicomponent thermodynamics documents")
    (description
     "This package makes typesetting quantities found in thermodynamics texts
relatively simple.  The commands are flexible and intended to be relatively
intuitive.  It handles several sets of notation for total, specific, and molar
quantities; allows changes between symbols (e.g., @samp{A} vs. @samp{F} for
Helmholtz free energy); and greatly simplifies the typesetting of symbols and
partial derivatives commonly encountered in mixture thermodynamics.  Changes
of one's notes from one textbook to another can be achieved relatively easily
by changing package options.")
    (license license:lppl1.3+)))

(define-public texlive-thesis-ekf
  (package
    (name "texlive-thesis-ekf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thesis-ekf/"
                                     "source/latex/thesis-ekf/"
                                     "tex/latex/thesis-ekf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06jc8h1195h6440yc2xblv7x8cyf6yhfh99x3p6hk97hcvq0ing4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thesis-ekf")
    (synopsis "Thesis class for Eszterhazy Karoly Catholic University")
    (description
     "This is a class file for theses and dissertations at the Eszterhazy
Karoly Catholic University (Eger, Hungary).  The documentation is in
Hungarian.")
    (license license:lppl1.2+)))

(define-public texlive-thesis-gwu
  (package
    (name "texlive-thesis-gwu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thesis-gwu/"
                                     "tex/latex/thesis-gwu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "120w3wfh5b7f6lmsf0l3wy6agxkds4rnpy5pzjnpa6rwk59plk8k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thesis-gwu")
    (synopsis
     "Thesis class for George Washington University School of Engineering and
Applied Science")
    (description
     "This class is an attempt to create a standard format for @acronym{GWU
SEAS, George Washington University School of Engineering and Applied Science}
dissertations and theses.")
    (license license:gpl3)))

(define-public texlive-thesis-qom
  (package
    (name "texlive-thesis-qom")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/thesis-qom/"
                                     "tex/xelatex/thesis-qom/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cjx3yqnx6ijm664i747sxd19g7pmwpqsw24mh4bvdf0k1wqjj2a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thesis-qom")
    (synopsis "Thesis style of the University of Qom, Iran")
    (description
     "This package provides a class file for writing theses and dissertations
according to the University of Qom Graduate Schools's guidelines for the
electronic submission of master theses and PhD dissertations.  The class
should meet all the current requirements and is updated whenever the
university guidelines change.  The class needs XeLaTeX in conjunction with the
following fonts: XB Niloofar, IranNastaliq, IRlotus, XB Zar, XB Titre, and
Yas.")
    (license license:lppl1.3c)))

(define-public texlive-thesis-titlepage-fhac
  (package
    (name "texlive-thesis-titlepage-fhac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thesis-titlepage-fhac/"
                                     "source/latex/thesis-titlepage-fhac/"
                                     "tex/latex/thesis-titlepage-fhac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zs1k43q4br29vyxk007ld0rmiz8z803i6xhlc6rmhmb1nb594nj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thesis-titlepage-fhac")
    (synopsis "Style to create a standard titlepage for diploma thesis")
    (description "This is yet another thesis titlepage style.")
    (license license:lppl)))

(define-public texlive-thmbox
  (package
    (name "texlive-thmbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thmbox/" "source/latex/thmbox/"
                                     "tex/latex/thmbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ibs75aqla6z3lww0xpxd0biarla8hhx9zz245isy9ks8q231v1l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thmbox")
    (synopsis "Decorate theorem statements")
    (description
     "The package defines an environment thmbox that presents theorems,
definitions and similar objects in boxes decorated with frames and various
aesthetic features.  The standard macro @code{\\newtheorem} may be redefined
to use the environment.")
    (license license:lppl)))

(define-public texlive-thuaslogos
  (package
    (name "texlive-thuaslogos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thuaslogos/"
                                     "tex/latex/thuaslogos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ndqqc5rgxsdkanycgxi79czx6ri9fsfghh1lwyrx6ssjz2hfd7p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thuaslogos")
    (synopsis
     "Logos for @acronym{THUAS, The Hague University of Applied Sciences}")
    (description
     "This package contains some logos of @acronym{THUAS, The Hague University
of Applied Sciences}.  These Logos are available in English and in Dutch.")
    (license license:lppl1.3+)))

(define-public texlive-thubeamer
  (package
    (name "texlive-thubeamer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/thubeamer/"
                                     "doc/latex/thubeamer/"
                                     "source/latex/thubeamer/"
                                     "tex/latex/thubeamer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07jha3pfklqas3f2mwpxqfi6h7dm4sl9jm4kl9kg68an4drzp4zj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thubeamer")
    (synopsis "Beamer theme for Tsinghua University")
    (description
     "This package provides a Beamer theme designed for Tsinghua University.")
    (license license:lppl1.3c)))

(define-public texlive-thucoursework
  (package
    (name "texlive-thucoursework")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thucoursework/"
                                     "source/latex/thucoursework/"
                                     "tex/latex/thucoursework/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cv2kadwzwwrw3q98wy7cjjl3084qqp55ki50v7m2ylrjxinwkv4"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tex-format "xelatex"
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'skip-documentation-build
            ;; Only extract the ".sty" files.
            (lambda _
              (substitute* "source/latex/thucoursework/thucoursework.dtx"
                (("\\\\DocInput\\{\\\\jobname\\.dtx\\}") "")))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-booktabs
                  texlive-carlisle
                  texlive-ctex
                  texlive-enumitem
                  texlive-etoolbox
                  texlive-fancyhdr
                  texlive-hypdoc
                  texlive-kastrup
                  texlive-listings
                  texlive-metalogo
                  texlive-newpx
                  texlive-newtx
                  texlive-oberdiek
                  texlive-realscripts
                  texlive-xcolor
                  texlive-xpatch
                  texlive-xstring))))
    (home-page "https://ctan.org/pkg/thucoursework")
    (synopsis "Coursework template for Tsinghua University")
    (description
     "This package provides a LaTeX package for students of Tsinghua
University to write coursework more efficiently.  It can also be used by
students from other universities.")
    (license license:lppl1.3+)))

(define-public texlive-thuthesis
  (package
    (name "texlive-thuthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/thuthesis/"
                                     "doc/latex/thuthesis/"
                                     "source/latex/thuthesis/"
                                     "tex/latex/thuthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04nqrg6ak102fhpn4myg3rby29mz1081y2s3qf0gb4aqc1yifv2l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thuthesis")
    (synopsis "Thesis template for Tsinghua University")
    (description
     "This package establishes a simple and easy-to-use LaTeX template for
Tsinghua dissertations, including general undergraduate research papers,
masters theses, doctoral dissertations, and postdoctoral reports.")
    (license license:lppl1.3c)))

(define-public texlive-tidyres
  (package
    (name "texlive-tidyres")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tidyres/" "tex/latex/tidyres/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d27430v529qhc0zg1yx6hx6858k5zsz2h5xjki0mihlmpjdrlhs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tidyres")
    (synopsis "Create formal resumes easily")
    (description
     "This LaTeX package aims to provide users with a simple interface to
create multi-column formal resumes.")
    (license license:cc-by4.0)))

(define-public texlive-timbreicmc
  (package
    (name "texlive-timbreicmc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/timbreicmc/"
                                     "source/latex/timbreicmc/"
                                     "tex/latex/timbreicmc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nd44car7vksfrz53h54r7cz1flgkgmyjri5ai1k7s9g2fn16x2n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/timbreicmc")
    (synopsis "Typeset documents with ICMC/USP watermarks")
    (description
     "With this package you can typeset documents with ICMC/USP Sao Carlos
watermarks.  ICMC is acronym for @emph{Instituto de Ciencias Matematicas e de
Computacao} of the @emph{Universidade de Sao Paulo} (USP), in the city of Sao
Carlos-SP, Brazil.")
    (license license:lppl1.3c)))

(define-public texlive-tinos
  (package
    (name "texlive-tinos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/tinos/"
                                     "fonts/enc/dvips/tinos/"
                                     "fonts/map/dvips/tinos/"
                                     "fonts/tfm/google/tinos/"
                                     "fonts/truetype/google/tinos/"
                                     "fonts/type1/google/tinos/"
                                     "fonts/vf/google/tinos/"
                                     "tex/latex/tinos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06cckhcjxrg1x2jb8w1y3k0sb5bb6nfs3k9qdjc9mywji4a20g18"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tinos")
    (synopsis "Tinos fonts with LaTeX support")
    (description
     "Tinos, designed by Steve Matteson, is an innovative serif design that is
metrically compatible with Times New Roman.")
    (license (list license:asl2.0 license:lppl))))

(define-public texlive-tiscreen
  (package
    (name "texlive-tiscreen")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tiscreen/" "tex/latex/tiscreen/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nrwai8qg26412jm8v3vgy7m4qk2kq6asc33j5a76z2ixnnhjlps"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tiscreen")
    (synopsis "Mimic the screen of older Texas Instruments calculators")
    (description
     "This package mimics the screen of older Texas Instruments dot matrix
display calculators, specifically the TI-82 STATS.")
    (license license:lppl1.3c)))

(define-public texlive-tlc-article
  (package
    (name "texlive-tlc-article")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tlc-article/"
                                     "tex/latex/tlc-article/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zxghkxg1yls97zrcfyjn8nk45mg5ygcjiprdwcs0ha1bl3pybxs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tlc-article")
    (synopsis "LaTeX document class for formal documents")
    (description
     "The package provides a LaTeX document class that orchestrates a logical
arrangement for document header, footer, author, abstract, table of contents,
and margins.  It standardizes a document layout intended for formal
documents.")
    (license license:bsd-3)))

(define-public texlive-tocbibind
  (package
    (name "texlive-tocbibind")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tocbibind/"
                                     "source/latex/tocbibind/"
                                     "tex/latex/tocbibind/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "086yi3d11pj5cnf0jfsmyy495y6kcind88569mig2yvq2adjmq3b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tocbibind")
    (synopsis "Add bibliography/index/contents to table of contents")
    (description
     "This package automatically adds the bibliography and/or the index and/or
the contents, etc., to the table of contents.")
    (license license:lppl)))

(define-public texlive-topletter
  (package
    (name "texlive-topletter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/topletter/"
                                     "source/latex/topletter/"
                                     "tex/latex/topletter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s9yq65wwcw6mg09lk3x756iski1k55skik3n45l9wdbdz81w1p9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/topletter")
    (synopsis "Letter class for the @emph{Politecnico di Torino}")
    (description
     "This package provides a LaTeX class for typesetting letters conforming
to the official Corporate Image guidelines for the @emph{Politecnico di
Torino}.  The class can be used for letters written in Italian and in
English.")
    (license license:asl2.0)))

(define-public texlive-toptesi
  (package
    (name "texlive-toptesi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/toptesi/" "source/latex/toptesi/"
                                     "tex/latex/toptesi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mskk7swjgcy6lw1l81brcnw7n870mrz3la64ln0f3mxps98gik6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/toptesi")
    (synopsis "Bundle for typesetting multilanguage theses")
    (description
     "This bundle contains everything needed for typesetting a bachelor,
master, or PhD thesis in any language supported by LaTeX.  The infix strings
may be selected and specified at will by means of a configuration file, so as
to customize the layout of the front page to the requirements of a specific
university.  Thanks to its language management, the bundle is suited for
multi-language theses.  Toptesi is designed to save the PDF version of
a thesis in PDF/A-1b compliant mode and with all the necessary metadata.")
    (license license:lppl1.3c)))

(define-public texlive-tpslifonts
  (package
    (name "texlive-tpslifonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tpslifonts/"
                                     "source/latex/tpslifonts/"
                                     "tex/latex/tpslifonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i713qbhbv6yhax667igabfal1p2f8r6w0hgvs4y4pbpv4ffyqf6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tpslifonts")
    (synopsis "LaTeX package for configuring presentation fonts")
    (description
     "This package aims to improve of font readability in presentations,
especially with maths.  The standard CM maths fonts at large design sizes are
difficult to read from far away, especially at low resolutions and low
contrast color choice.  Using this package leads to much better overall
readability of some font combinations.  The package offers a couple of
harmonising combinations of text and maths fonts from the (distant) relatives
of Computer Modern fonts, with a couple of extras for optimising readability.
Text fonts from Computer Modern roman, Computer Modern sans serif, SliTeX
Computer Modern sans serif, Computer Modern Bright, or Concrete Roman are
available, in addition to maths fonts from Computer Modern maths, Computer
Modern Bright maths, or Euler fonts.")
    (license license:gpl3+)))

(define-public texlive-trajan
  (package
    (name "texlive-trajan")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/trajan/"
                                     "fonts/afm/public/trajan/"
                                     "fonts/map/dvips/trajan/"
                                     "fonts/tfm/public/trajan/"
                                     "fonts/type1/public/trajan/"
                                     "source/latex/trajan/"
                                     "tex/latex/trajan/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yjx252c6a3bf1k2646sqf3n3s09x2gxya3ypn1zz9scn5kkh1wa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/trajan")
    (synopsis "Fonts from the Trajan's Column in Rome")
    (description
     "This package provides fonts (both as Metafont source and in Adobe Type
1 format) based on the capitals carved on the Trajan's Column in Rome in 114
AD, together with macros to access the fonts.  The font is uppercase letters
together with some punctuation and analphabetics; no lowercase or digits.")
    (license license:lppl)))

(define-public texlive-translation-array-fr
  (package
    (name "texlive-translation-array-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translation-array-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "128k8isyn4s0v496sykn22fqn0gfwyyk19kcrmxnc6clgxxfbdy6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translation-array-fr")
    (synopsis "French translation of the documentation of @code{array}")
    (description
     "This package provides a French translation of the documentation of
@code{array}.")
    (license license:lppl)))

(define-public texlive-translation-dcolumn-fr
  (package
    (name "texlive-translation-dcolumn-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translation-dcolumn-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xakssrkxb2wc6xyy1yvx4mm398x3yq032b7vapqxl82h992fjll"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translation-dcolumn-fr")
    (synopsis "French translation of the documentation of @code{dcolumn}")
    (description
     "This package provides a French translation of the documentation of
@code{dcolumn}.")
    (license license:lppl)))

(define-public texlive-translation-natbib-fr
  (package
    (name "texlive-translation-natbib-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translation-natbib-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f0r1n8q3jkxsdcddabsgz9h9ndq4yffdpxdqxvqjmhfafhzwgkg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translation-natbib-fr")
    (synopsis "French translation of the documentation of @code{natbib}")
    (description
     "This package provides a French translation of the documentation of
@code{natbib}.")
    (license license:lppl)))

(define-public texlive-translation-tabbing-fr
  (package
    (name "texlive-translation-tabbing-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translation-tabbing-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cih442gp6zf8nwb2lbgjn7a64aglyrcw3aciqy5pkdw09pwn0an"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translation-tabbing-fr")
    (synopsis "French translation of the documentation of @code{tabbing}")
    (description
     "This package provides a translation to French of the documentation of
the @code{tabbing} package.")
    (license license:lppl1.0+)))

(define-public texlive-tree-dvips
  (package
    (name "texlive-tree-dvips")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tree-dvips/" "dvips/tree-dvips/"
                                     "tex/latex/tree-dvips/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wk86z29aqfrsg947h5qbp98fngdx55v8xcx6dgniv5fv7d9ffrp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tree-dvips")
    (synopsis "Trees and other linguists' macros")
    (description
     "The package defines a mechanism for specifying connected trees that uses
a @code{tabular} environment to generate node positions.  The package uses
PostScript code, loaded by Dvips, so output can only be generated by use of
Dvips.

The package @code{lingmacros.sty} defines a few macros for linguists:
@code{\\enumsentence} for enumerating sentence examples, simple
@code{tabular}-based non-connected tree macros, and gloss macros.")
    (license license:lppl1.0+)))

(define-public texlive-tuda-ci
  (package
    (name "texlive-tuda-ci")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tuda-ci/" "tex/latex/tuda-ci/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vv80p8p8xqdqg35d7ix32dl8lw1rmzfzqdz5c785llr9k87470p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tuda-ci")
    (synopsis "LaTeX templates of Technische Universitat Darmstadt")
    (description
     "The TUDa-CI-Bundle provides a possibility to use the corporate design
of TU Darmstadt in LaTeX.  It contains document classes as well as
some helper packages and config files together with some templates for
user documentation, which currently are only available in German.")
    (license license:lppl1.3c)))

(define-public texlive-tudscr
  (package
    (name "texlive-tudscr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tudscr/" "source/latex/tudscr/"
                                     "tex/latex/tudscr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1whwmablazz41hy1p99ls8l4lk80h202ynzhabpwcmhk7mj60ikn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-cbfonts
           texlive-environ
           texlive-etoolbox
           texlive-geometry
           texlive-graphics
           texlive-greek-inputenc
           texlive-iwona
           texlive-koma-script
           texlive-mathastext
           texlive-mweights
           texlive-oberdiek
           texlive-opensans
           texlive-trimspaces
           texlive-xcolor
           texlive-xpatch))
    (home-page "https://ctan.org/pkg/tudscr")
    (synopsis "Corporate design of Technische Universitat Dresden")
    (description
     "The TUD-Script bundle provides both classes and packages in order to
create LaTeX documents in the corporate design of the Technische Universitat
Dresden.  It bases on the KOMA-Script bundle.

The bundle offers:

@itemize

@item the three document classes @code{tudscrartcl}, @code{tudscrreprt}, and
@code{tudscrbook};

@item the class @code{tudscrposter} for creating posters;

@item the package @code{tudscrsupervisor} providing environments and macros to
create tasks, evaluations and notices for scientific theses;

@item the package @code{tudscrfonts}, which makes the corporate design fonts
of the Technische Universitat Dresden available for LaTeX standard classes and
KOMA-Script classes;

@item the package @code{fix-tudscrfonts}, which provides the same fonts to
additional corporate design classes not related to TUD-Script;

@item the package @code{tudscrcomp}, which simplifies the switch to TUD-Script
from external corporate design classes,

@item the package @code{mathswap} for swapping math delimiters within
numbers (similar to @code{ionumbers}),

@item and the package @code{twocolfix} for fixing the positioning bug of
headings in @code{twocolumn} layout.

@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-tugboat
  (package
    (name "texlive-tugboat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/tugboat/" "doc/latex/tugboat/"
                                     "source/latex/tugboat/" "tex/latex/tugboat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g6shnxmq9ak0lp73c41m3x4ifr4qrd0s0i7pypnxa6r4i1miqci"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tugboat")
    (synopsis "LaTeX macros for @emph{TUGboat} articles")
    (description
     "This package provides @file{ltugboat.cls} for both regular and
proceedings issues of the @emph{TUGboat} journal.  It also provides a BibTeX
style, @file{tugboat.bst}.")
    (license license:lppl1.3+)))

(define-public texlive-tugboat-plain
  (package
    (name "texlive-tugboat-plain")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/tugboat-plain/"
                                     "tex/plain/tugboat-plain/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kqm03x42m3fpgsg644wychgi42wgpwl51ljarbf5kqcrjwij25z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tugboat-plain")
    (synopsis "Plain TeX macros for @emph{TUGboat}")
    (description
     "The macros defined in this package are used in papers written in Plain
TeX for publication in @emph{TUGboat}.")
    (license license:knuth)))

(define-public texlive-tui
  (package
    (name "texlive-tui")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tui/" "tex/latex/tui/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14wl2n8wbc2p6nmrallwsxp4s6h73h97qm1w8algyv67bfl5i0hs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tui")
    (synopsis "Thesis style for the University of the Andes, Colombia")
    (description
     "The class is used for doctoral dissertations from the Faculty of
Engineering at the Universidad de los Andes, Bogota, Colombia.  It is
implemented as an extension of the @code{memoir} class.")
    (license license:lppl)))

(define-public texlive-turabian
  (package
    (name "texlive-turabian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/turabian/" "tex/latex/turabian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1waqdm6r4fpy602jfqjbfhm2x71llpg4wj4a9w61pkbca19xcnki"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/turabian")
    (synopsis "Create Turabian-formatted material using LaTeX")
    (description
     "The bundle provides a class file and a template for creating
Turabian-formatted projects.  The class file supports citation formatting
conforming to the Turabian 8th Edition style guide.")
    (license license:lppl)))

(define-public texlive-turabian-formatting
  (package
    (name "texlive-turabian-formatting")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/turabian-formatting/"
                                     "tex/latex/turabian-formatting/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h42lrgq59900bhzgw114w1sxi432rbnpb2j5amwz64bsckvd2ry"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/turabian-formatting")
    (synopsis "Formatting based on @emph{Turabian's Manual}")
    (description
     "The @code{turabian-formatting} package provides Chicago-style formatting
based on Kate L. Turabian's @emph{A Manual for Writers of Research Papers,
Theses, and Dissertations: Chicago Style for Students and Researchers} (9th
edition).")
    (license license:lppl1.3+)))

(define-public texlive-turnstile
  (package
    (name "texlive-turnstile")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/turnstile/"
                                     "source/latex/turnstile/"
                                     "tex/latex/turnstile/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05ffizykplpisjy75s8zbaphpj5vk8r09ii5jzv929y54mi2qs06"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/turnstile")
    (synopsis "Typeset the (logic) turnstile notation")
    (description
     "This package typesets the turnstile sign.  Among other uses, this sign
is used by logicians for denoting a consequence relation, related to a given
logic, between a collection of formulas and a derived formula.")
    (license license:lppl)))

(define-public texlive-twemoji-colr
  (package
    (name "texlive-twemoji-colr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/twemoji-colr/"
                                     "fonts/truetype/public/twemoji-colr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qadwv7malbji28pxjpz3r53kb94grp435yk8h7i93x143vd8p9n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/twemoji-colr")
    (synopsis "Twemoji font in COLR/CPAL layered format")
    (description
     "This is a COLR/CPAL-based color OpenType font from the Twemoji
collection of emoji images.")
    (license (list license:cc-by-sa4.0 license:asl2.0))))

(define-public texlive-txfontsb
  (package
    (name "texlive-txfontsb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/txfontsb/"
                                     "fonts/afm/public/txfontsb/"
                                     "fonts/enc/dvips/txfontsb/"
                                     "fonts/map/dvips/txfontsb/"
                                     "fonts/opentype/public/txfontsb/"
                                     "fonts/tfm/public/txfontsb/"
                                     "fonts/type1/public/txfontsb/"
                                     "fonts/vf/public/txfontsb/"
                                     "source/fonts/txfontsb/"
                                     "tex/latex/txfontsb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y7af1n1dymi6723jvn01rcjfwr6p47wr5y4c33wa4cgaa9m39hn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/txfontsb")
    (synopsis "Extensions to @code{txfonts}, using GNU Freefont")
    (description
     "This package provides a set of fonts that extend the @code{txfonts}
bundle with small caps and old style numbers, together with Greek support.
The extensions are made with modifications of the GNU Freefont.")
    (license (list license:gpl3+ license:lppl1.0+))))

(define-public texlive-txuprcal
  (package
    (name "texlive-txuprcal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/txuprcal/"
                                     "fonts/map/dvips/txuprcal/"
                                     "fonts/tfm/public/txuprcal/"
                                     "fonts/type1/public/txuprcal/"
                                     "tex/latex/txuprcal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "033h3rqj7kf0rx0kdy9s1kwhk1hkrc6z70ga6ky7xy79mc3k2vgp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/txuprcal")
    (synopsis "Upright calligraphic font based on TX calligraphic")
    (description
     "This small package provides a means of loading as @code{\\mathcal} an
uprighted version of the calligraphic fonts from the TX font package.
A scaled option is provided to allow arbitrary scaling.")
    (license license:gpl3)))

(define-public texlive-typicons
  (package
    (name "texlive-typicons")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/typicons/"
                                     "fonts/truetype/public/typicons/"
                                     "tex/latex/typicons/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p82gq8jy0brvps6y6qdw8bldfsck9fw1qy84vrzfjz65435dzvh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/typicons")
    (synopsis "Font containing a set of web-related icons")
    (description
     "This package grants access to 336 web-related icons provided by the
included Typicons font, designed by Stephen Hutchings.")
    (license license:lppl1.3+)))

(define-public texlive-uaclasses
  (package
    (name "texlive-uaclasses")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uaclasses/"
                                     "source/latex/uaclasses/"
                                     "tex/latex/uaclasses/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n0bz3cq9zgl5ppwq02izjgiw6gpza05ymc6x0gsc8v13wfcgvz0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uaclasses")
    (synopsis "University of Arizona thesis and dissertation format")
    (description
     "This package provides a LaTeX2e document class named @code{ua-thesis}
for typesetting theses and dissertations in the official format required by
the University of Arizona.  Moreover, there is a fully compatible alternative
document class @code{my-thesis} for private nice copies of the dissertation,
and the respective title pages are available as separate packages to work with
any document class.")
    (license license:public-domain)))

(define-public texlive-uafthesis
  (package
    (name "texlive-uafthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uafthesis/"
                                     "tex/latex/uafthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vxd9vk4dzpxcpn4l20r5hm3cz04mwqvd8kw1yg7vvjlnpshi4i6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uafthesis")
    (synopsis "Document class for theses at University of Alaska Fairbanks")
    (description
     "This is document class for theses at University of Alaska Fairbanks.")
    (license license:lppl)))

(define-public texlive-uantwerpendocs
  (package
    (name "texlive-uantwerpendocs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uantwerpendocs/"
                                     "source/latex/uantwerpendocs/"
                                     "tex/latex/uantwerpendocs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kc8c2hb1lni19hi313y18n48ik37ba5bkqc431hfpgj18fl5jrq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uantwerpendocs")
    (synopsis
     "Course texts, master theses, and exams in University of Antwerp style")
    (description
     "These class files implement the house style of the University of
Antwerp.  Using these class files will make it easy for you to make and keep
your documents compliant to this version and future versions of the house
style of the University of Antwerp.")
    (license license:lppl1.3+)))

(define-public texlive-ucalgmthesis
  (package
    (name "texlive-ucalgmthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ucalgmthesis/"
                                     "tex/latex/ucalgmthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10y0663xcggbykia38q85v429033m5p8k02v7vp4k9lrn10zixbn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ucalgmthesis")
    (synopsis
     "LaTeX thesis class for University of Calgary Faculty of Graduate Studies")
    (description
     "@file{ucalgmthesis.cls} is a LaTeX class file that produces documents
according to the thesis guidelines of the University of Calgary Faculty of
Graduate Studies.  It uses the @code{memoir} class.")
    (license license:expat)))

(define-public texlive-ucbthesis
  (package
    (name "texlive-ucbthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ucbthesis/"
                                     "tex/latex/ucbthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kwy84r7vz5nvq8nrar1ykik4ycpvgl1kwiyi0da6wjn4cazxxh9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ucbthesis")
    (synopsis "Thesis and dissertation class supporting UCB requirements")
    (description
     "The class provides the necessary framework for electronic submission
of masters theses and PhD dissertations at the University of
California, Berkeley.  It is based on the @code{memoir} class.")
    (license license:lppl1.3+)))

(define-public texlive-ucdavisthesis
  (package
    (name "texlive-ucdavisthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ucdavisthesis/"
                                     "source/latex/ucdavisthesis/"
                                     "tex/latex/ucdavisthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ymgnb2q77j5gfhcb4w4hvsafvs3vyygvzbq7zl9zgzzb02ml35j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ucdavisthesis")
    (synopsis
     "Thesis and dissertation class for University of California at Davis")
    (description
     "The @code{ucdavisthesis} class is a LaTeX class that allows you to
create a dissertation or thesis conforming to UC Davis formatting
requirements as of April 2016.")
    (license license:lppl1.2+)))

(define-public texlive-ucsmonograph
  (package
    (name "texlive-ucsmonograph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ucsmonograph/"
                                     "source/latex/ucsmonograph/"
                                     "tex/latex/ucsmonograph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13yf91i1c4bin9vbvsjpl5s7fkina5ai5zw868wdk5fiqvmqvgx7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ucsmonograph")
    (synopsis
     "Typesetting academic documents from the University of Caxias do Sul")
    (description
     "This is a LaTeX class for typesetting academic documents according to
the @acronym{ABNT, Brazilian Technical Standards Association} standards and
the @acronym{UCS, University of Caxias do Sul} specifications.")
    (license license:lppl1.3c)))

(define-public texlive-ucthesis
  (package
    (name "texlive-ucthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ucthesis/" "tex/latex/ucthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19s6s4wxq494shi2pgrdyaz9qx52zma62czd92mrkjp2diim1197"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ucthesis")
    (synopsis "University of California thesis format")
    (description
     "This package provides a modified version of the standard LaTeX report
style that is accepted for use with University of California PhD dissertations
and masters theses.")
    (license license:lppl1.3+)))

(define-public texlive-udes-genie-these
  (package
    (name "texlive-udes-genie-these")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/udes-genie-these/"
                                     "source/latex/udes-genie-these/"
                                     "tex/latex/udes-genie-these/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00gc36hjc1mr3qgna2sr2hadr8673lvl1fw46anbskyj6509xx13"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/udes-genie-these")
    (synopsis
     "Thesis class for the @emph{Faculte de genie} at the Universite de
Sherbrooke")
    (description
     "The @code{udes-genie-these} class can be used for PhD theses,
master's theses and project definitions at the @emph{Faculte de genie} of the
Universite de Sherbrooke (Quebec, Canada).  The class file is coherent with
the latest version of the @emph{Protocole de redaction aux etudes superieures}
which is available on the faculte's intranet.  The class file documentation is
in French, the language of the typical user at the Universite de Sherbrooke.")
    (license license:lppl1.3c)))

(define-public texlive-uestcthesis
  (package
    (name "texlive-uestcthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/uestcthesis/"
                                     "doc/latex/uestcthesis/"
                                     "tex/latex/uestcthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gqa6yyj3nq75vfjxrcn0pxc9gmgdaf7mdhp5sf3hy3br9ix8qgw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uestcthesis")
    (synopsis "Thesis class for UESTC")
    (description
     "The class is for typesetting a thesis at the University of Electronic
Science and Technology of China.")
    (license license:lppl1.3+)))

(define-public texlive-ufrgscca
  (package
    (name "texlive-ufrgscca")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ufrgscca/" "tex/latex/ufrgscca/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l54a3bdrwr0dfi2nf5pq6jb3yd9pv5bgpkkgbq7j6g9fv00i6hz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ufrgscca")
    (synopsis
     "Bundle for undergraduate students final work or report (TCC) at
UFRGS/EE")
    (description
     "This bundled is aimed at producing undergraduate students final work or
report at UFRGS/EE (Engineering School at the Federal University of Rio Grande
do Sul), closely following ABNT rules (Brazilian Association for Technical
Norms).  It is composed of a main class, @code{ufrgscca}, and a set of
auxiliary packages, some of which can be used independently.")
    (license (list license:lppl1.3c license:gpl3+))))

(define-public texlive-uhhassignment
  (package
    (name "texlive-uhhassignment")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uhhassignment/"
                                     "source/latex/uhhassignment/"
                                     "tex/latex/uhhassignment/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15yvq00xsikb8c78gkyyqjdgcz2yw8dnp586mjcrk1p4kvlpwyam"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uhhassignment")
    (synopsis "Document class for typesetting homework assignments")
    (description
     "This document class was created for typesetting solutions to homework
assignments at the university of Hamburg (Universitat Hamburg).")
    (license license:lppl1.3c)))

(define-public texlive-uiucredborder
  (package
    (name "texlive-uiucredborder")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uiucredborder/"
                                     "source/latex/uiucredborder/"
                                     "tex/latex/uiucredborder/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wsf3cfmpfmsv3afm78gc91fsiba415ir4p5fa0ivfny3dh34qnq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uiucredborder")
    (synopsis "Class for UIUC thesis red-bordered forms")
    (description
     "The class offers a means of filling out the ``red-bordered form''
that gets signed by the department head, your advisor, and --- for
doctoral dissertations --- your thesis committee members.")
    (license license:lppl1.2+)))

(define-public texlive-uiucthesis
  (package
    (name "texlive-uiucthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uiucthesis/"
                                     "source/latex/uiucthesis/"
                                     "tex/latex/uiucthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kzp2p03p1v7qij2kz82xis88vh1g477vs2aa0sqfa24w9y28h5i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uiucthesis")
    (synopsis "UIUC thesis class")
    (description
     "The class produces a document that conforms to the format described in
the University's Handbook for Graduate Students Preparing to Deposit.")
    (license license:lppl)))

(define-public texlive-ukbill
  (package
    (name "texlive-ukbill")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ukbill/" "tex/latex/ukbill/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ba4j50qmhvncdb2nnmyczpwb6cy86jj96n6bj9azik755mzmh70"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ukbill")
    (synopsis "Class for typesetting UK legislation")
    (description
     "This package provides formatting to easily typeset draft UK legislation.
The font Palatine Parliamentary is required to use this package.")
    (license license:lppl1.3c)))

(define-public texlive-ulqda
  (package
    (name "texlive-ulqda")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ulqda/" "scripts/ulqda/"
                                     "source/latex/ulqda/" "tex/latex/ulqda/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07jzmk0p4l28dxxqqpma4px9riykg0zynnjycyripg2m76a9ah2g"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "ulqda.pl")
           #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-dot2texi
                  texlive-etoolbox
                  texlive-hypdoc
                  texlive-moreverb
                  texlive-pgf
                  texlive-soul
                  texlive-subfigure
                  texlive-xkeyval))))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/ulqda")
    (synopsis "Support of Qualitative Data Analysis")
    (description
     "The package is for use in Qualitative Data Analysis research.  It
supports the integration of Qualitative Data Analysis (QDA) research tasks,
specifically for Grounded Theory, into the LaTeX work flow.  It assists in the
analysis of textual data such as interview transcripts and field notes by
providing the LaTeX user with macros which are used to markup textual
information.")
    (license license:lppl)))

(define-public texlive-ulthese
  (package
    (name "texlive-ulthese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ulthese/" "source/latex/ulthese/"
                                     "tex/latex/ulthese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kcw1zsgj0dr00h555qcld9dn58i8iipnka9s10fn9q0x46sq05q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ulthese")
    (synopsis "Thesis class and templates for Universite Laval")
    (description
     "The package provides a class based on @code{memoir} to prepare theses
and memoirs compliant with the presentation rules set forth by the Faculty of
Graduate Studies of Universite Laval, Quebec, Canada.  The class also comes
with an extensive set of templates for the various types of theses and memoirs
offered at Laval.

Please note that the documentation for the class and the comments in the
templates are all written in French, the language of the target audience.")
    (license license:lppl1.3c)))

(define-public texlive-umbclegislation
  (package
    (name "texlive-umbclegislation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/umbclegislation/"
                                     "tex/latex/umbclegislation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0znzm0ymvz43f4kgvww79mnr7nl78xcmi7yw2vlwx332kq8hcw2v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/umbclegislation")
    (synopsis
     "LaTeX class for legislation files for UMBC Student Government
Association Bills")
    (description
     "This is a LaTeX class for building legislation files for UMBC Student
Government Association Bills.")
    (license license:gpl3)))

(define-public texlive-umich-thesis
  (package
    (name "texlive-umich-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/umich-thesis/"
                                     "tex/latex/umich-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15y25n9j2zh7hmgpq9fir6y0ydjwqhvyy6cx59jm8i0swkgw33vz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/umich-thesis")
    (synopsis "University of Michigan thesis LaTeX class")
    (description
     "This package provides a LaTeX2e class to create a University of
Michigan dissertation according to the Rackham dissertation handbook.")
    (license license:lppl)))

(define-public texlive-umthesis
  (package
    (name "texlive-umthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/umthesis/" "tex/latex/umthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y2ba0k9d2sab9mkfhpsm92v4wx6rhapj887jbvcl7871b4idbps"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/umthesis")
    (synopsis "Dissertations at the University of Michigan")
    (description
     "This is a class for dissertations at the University of Michigan. it
loads @code{book} class, and makes minimal changes to it.")
    (license license:lppl)))

(define-public texlive-umtypewriter
  (package
    (name "texlive-umtypewriter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/umtypewriter/"
                                     "fonts/opentype/public/umtypewriter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19skqmchglac4lrk4qhvb4rabi73qmypdi20sbjxnvb8abw0pf3i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/umtypewriter")
    (synopsis "Fonts to typeset with the @code{xgreek} package")
    (description
     "The UMTypewriter font family is a monospaced font family that was built
from glyphs from the CB Greek fonts, the CyrTUG Cyrillic alphabet fonts (LH),
and the standard Computer Modern font family.  It contains four OpenType fonts
which are required for use of the @code{xgreek} package for XeLaTeX.")
    (license license:silofl1.1)))

(define-public texlive-unam-thesis
  (package
    (name "texlive-unam-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unam-thesis/"
                                     "tex/latex/unam-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cn4qd3rvh9z8sp7g94fh11khij2vykv89inbmy7g52hxgxzkdhh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unam-thesis")
    (synopsis "Create documents according to the UNAM guidelines")
    (description
     "This is a class for creating dissertation documents according to the
National Autonomous University of Mexico (UNAM) guidelines.")
    (license license:gpl3+)))

(define-public texlive-unamth-template
  (package
    (name "texlive-unamth-template")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unamth-template/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ydaxzcwxq1rjkawlapnfipjzlyzvbvijrx98pi9yd4zk2nnqjfv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unamth-template")
    (synopsis "UNAM thesis LaTeX Template")
    (description
     "The bundle provides a template for UNAM's College of Engineering
Theses.")
    (license license:gpl3)))

(define-public texlive-unamthesis
  (package
    (name "texlive-unamthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/unamthesis/"
                                     "doc/latex/unamthesis/"
                                     "tex/latex/unamthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jdppibm49491ddgx6ny6hqsfs9qan948614bfcy67f5syjzx2jh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unamthesis")
    (synopsis "Style for Universidad Nacional Autonoma de Mexico theses")
    (description
     "The package provides a customisable format to typeset Theses according
to the Universidad Nacional Autonoma de Mexico guidelines.  The bundle also
includes an appropriate bibliographic style which enables the use of
author-year schemes using the @code{natbib} package.")
    (license license:lppl1.3+)))

(define-public texlive-unbtex
  (package
    (name "texlive-unbtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unbtex/" "tex/latex/unbtex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a1lfv1ls6n1q5rxi7cdsvyfwhk4xf1qmwi17hv8g4sh1lwi0cyq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unbtex")
    (synopsis "Class for theses at @acronym{UnB, University of Brasilia}")
    (description
     "This package provides a class based on abnTeX and compatible with
pdfLaTex and Biber to prepare bachelor, master, and doctoral theses for the
@acronym{UnB, University of Brasilia}, Brazil.  The class also comes with
a template for the various types of theses for undergraduate and graduate
programs at UnB.  The documentation for the class and the comments in the
templates are all written in Portuguese, the language of the target
audience.")
    (license license:lppl1.3+)))

(define-public texlive-unfonts-core
  (package
    (name "texlive-unfonts-core")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/unfonts-core/"
                                     "fonts/truetype/public/unfonts-core/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12q7h1akmgc3vdvyb4i8x51a716451kwi90vh9i57xw76hmg5f4x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unfonts-core")
    (synopsis "TrueType version of Un-fonts")
    (description
     "This is TrueType version of Un-fonts core bundle.  It includes the
following font families (12 fonts):
@itemize
@item UnBatang, UnBatangBold: serif;
@item UnDotum, UnDotumBold: sans-serif;
@item UnGraphic, UnGraphicBold: sans-serif style;
@item UnDinaru, UnDinaruBold, UnDinaruLight;
@item UnPilgi, UnPilgiBold: script;
@item UnGungseo: cursive, brush-stroke.
@end itemize")
    (license license:gpl2)))

(define-public texlive-unfonts-extra
  (package
    (name "texlive-unfonts-extra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/unfonts-extra/"
                                     "fonts/truetype/public/unfonts-extra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1krs93dsi50278qxgm24ij9w9r7gdcxqsdfk6ai5klvkmlka8gkf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unfonts-extra")
    (synopsis "TrueType version of Un-fonts")
    (description
     "This is TrueType version of Un-fonts extra bundle.  It includes the
following Korean font families (11 fonts):
@itemize
@item UnPen, UnPenheulim: script;
@item UnTaza: typewriter style;
@item UnShinmun;
@item UnYetgul: old Korean printing style;
@item UnJamoSora, UnJamoNovel, UnJamoDotum, UnJamoBatang;
@item UnPilgia;
@item UnVada.
@end itemize")
    (license license:gpl2)))

(define-public texlive-uni-wtal-ger
  (package
    (name "texlive-uni-wtal-ger")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uni-wtal-ger/"
                                     "tex/latex/uni-wtal-ger/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bxrvl10ccdqarffdf3xzcihnid8h84sv1hcbncjmwq249kf3f96"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uni-wtal-ger")
    (synopsis
     "Citation style for literary studies at the University of Wuppertal")
    (description
     "The package defines a BibLaTeX citation style based on the author-title
style of @code{biblatex-dw}.  The citations are optimised for literary studies
in faculty of humanities at the Bergische Universitat Wuppertal.")
    (license license:lppl1.3+)))

(define-public texlive-uni-wtal-lin
  (package
    (name "texlive-uni-wtal-lin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uni-wtal-lin/"
                                     "tex/latex/uni-wtal-lin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07ndzpby3m8ccw3r4sp9plrzmnnpiksvi8plnqyssklalmm406hj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uni-wtal-lin")
    (synopsis
     "Citation style for linguistic studies at the University of Wuppertal")
    (description
     "The package defines a BibLaTeX citation style based on the standard
author-year style.  The citations are optimised for linguistic studies at the
Institute of Linguistics at the Bergische Universitat Wuppertal.")
    (license license:lppl1.3+)))

(define-public texlive-unicode-alphabets
  (package
    (name "texlive-unicode-alphabets")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unicode-alphabets/"
                                     "tex/latex/unicode-alphabets/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xvzmx0xa8mmi39a8c89byi6c6y7vbl5k3plp63k5mif19ncyq3s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unicode-alphabets")
    (synopsis "Macros for using characters from Unicode's Private Use Area")
    (description
     "While Unicode supports the vast majority of use cases, there are certain
specialized niches which require characters and glyphs not (yet) represented
in the standard.  Thus the Private Use Area (PUA) at code points E000-F8FF,
which enables third parties to define arbitrary character sets.  This package
allows configuring a number of macros for using various PUA character sets in
LaTeX (AGL, CYFI, MUFI, SIL, TITUS, UCSUR, UNZ), to enable transcription and
display of medieval and other documents.")
    (license license:cc-by-sa4.0)))

(define-public texlive-unifith
  (package
    (name "texlive-unifith")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/unifith/" "doc/latex/unifith/"
                                     "tex/latex/unifith/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06y9hkxv8y9p06pcyy2nv0nqma6bnh0n9i9pwpdadks9zs9sqn8r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unifith")
    (synopsis "Typeset theses for University of Florence (Italy)")
    (description
     "The package provides a class to typeset PhD, master, and bachelor theses
that adhere to the publishing guidelines of the University of
Florence (Italy).")
    (license license:lppl1.3c)))

(define-public texlive-unigrazpub
  (package
    (name "texlive-unigrazpub")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unigrazpub/"
                                     "source/latex/unigrazpub/"
                                     "tex/latex/unigrazpub/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02xnlp7p1ap0wvkn4skskh6av4rj8fh28gqk27x97yp0c255w3qv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unigrazpub")
    (synopsis
     "LaTeX templates for University of Graz Library Publishing Services")
    (description
     "This package provides a LaTeX class matching the preparation guidelines
of the Library Publishing Services of University of Graz.")
    (license license:lppl1.3c)))

(define-public texlive-unitn-bimrep
  (package
    (name "texlive-unitn-bimrep")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unitn-bimrep/"
                                     "tex/latex/unitn-bimrep/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0id55sfi9bzj7vp7dm9wxy355ca6k6dmxq488r4dwmndy2z4v8hl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unitn-bimrep")
    (synopsis
     "Bimonthly report class for the PhD School of Materials,
Mechatronics and System Engineering")
    (description
     "This package allows to rapidly write the bimonthly report for The PhD
School in Materials, Mechatronics and System Engineering.  It allows to define
the research activities, the participation to school and congress, and the
publication performed by a student.")
    (license license:expat)))

(define-public texlive-unitsdef
  (package
    (name "texlive-unitsdef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unitsdef/"
                                     "source/latex/unitsdef/"
                                     "tex/latex/unitsdef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r3d8af9543sfby3v39gq8vys0m0y3dvni7cly02q0cw6xxw784m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unitsdef")
    (synopsis "Typesetting units in LaTeX")
    (description
     "This package predefines common units, defines an easy to use interface
to define new units and changes the output concerning to the surrounding font
settings.")
    (license license:lppl)))

(define-public texlive-universa
  (package
    (name "texlive-universa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/universa/"
                                     "fonts/source/public/universa/"
                                     "fonts/tfm/public/universa/"
                                     "source/fonts/universa/"
                                     "tex/latex/universa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w1cw2236aj37iggxck1drsfbwsiap8mc3lrkqrimmz2rgixycdp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/universa")
    (synopsis "Herbert Bayer's Universal font")
    (description
     "This package provides an implementation of the Universal by Herbert
Bayer.  The Metafont sources of the fonts, and their LaTeX support, are
supplied.")
    (license license:gpl3+)))

(define-public texlive-universalis
  (package
    (name "texlive-universalis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/universalis/"
                                     "fonts/enc/dvips/universalis/"
                                     "fonts/map/dvips/universalis/"
                                     "fonts/opentype/arkandis/universalis/"
                                     "fonts/tfm/arkandis/universalis/"
                                     "fonts/type1/arkandis/universalis/"
                                     "fonts/vf/arkandis/universalis/"
                                     "tex/latex/universalis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hqlpyh3g682vwdxbgyp7jrswvf16ds8i4mqb6yyv00h3rv11cxk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/universalis")
    (synopsis "Universalis font, with support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the UniversalisADFStd family of fonts, designed by Hirwin Harendal.  The font
is suitable as an alternative to fonts such as Adrian Frutiger's Univers and
Frutiger.")
    (license (list license:gpl2+ license:lppl))))

(define-public texlive-univie-ling
  (package
    (name "texlive-univie-ling")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/univie-ling/"
                                     "tex/latex/univie-ling/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lxxqddsssacsn9q75jfg6mxvb9drz9swi3h2xjbaakg7bf5y2g2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/univie-ling")
    (synopsis
     "Papers, theses and research proposals in (Applied) Linguistics at Vienna
University")
    (description
     "This bundle provides LaTeX2e classes, BibLaTeX files, and templates
suitable for student papers, PhD research proposals (Exposes), and theses
in (Applied) Linguistics at the University of Vienna.  The classes implement
some standards for these types of text, such as suitable title pages.  They
are particularly suited for the field of (Applied) Linguistics and pre-load
some packages that are considered useful in this context.  The classes can
also be used for General and Historical Linguistics as well as for other
fields of study at Vienna University.  In this case, however, some settings
may have to be adjusted.")
    (license license:lppl1.3+)))

(define-public texlive-unizgklasa
  (package
    (name "texlive-unizgklasa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unizgklasa/"
                                     "tex/latex/unizgklasa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lrw0j34r9p2ydsajkvg2k7n8kirpi6lqj2iwhvfqh0pg230y82q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unizgklasa")
    (synopsis
     "LaTeX class for theses at the Faculty Of Graphic Arts in Zagreb")
    (description
     "This class is intended for generating graduate and final theses
according to the instructions of the Faculty of Graphic Arts, University of
Zagreb.  It does not necessarily correspond to the requirements of each
component of the University, but is designed as an idea for linking and
uniformizing the look of all graduate papers.")
    (license license:lppl1.3+)))

(define-public texlive-unswcover
  (package
    (name "texlive-unswcover")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unswcover/"
                                     "tex/latex/unswcover/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vdi90i07s8914sm7axn1pzks9d0w3qrsijynx5hxr7a36byafhp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unswcover")
    (synopsis "Typeset a dissertation cover page following UNSW guidelines")
    (description
     "The package an UNSW cover sheet following the 2011 GRS guidelines.  It
may also (optionally) provide other required sheets such as Originality,
Copyright and Authenticity statements.")
    (license license:lppl1.3+)))

(define-public texlive-uol-physics-report
  (package
    (name "texlive-uol-physics-report")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uol-physics-report/"
                                     "source/latex/uol-physics-report/"
                                     "tex/latex/uol-physics-report/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00rvqmrc1k67136748vq4j5c90iqa2ry65jkaqarazvlv8x77m4d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uol-physics-report")
    (synopsis "LaTeX document class for writing lab reports")
    (description
     "The package provides physics students at the University of Oldenburg
with a prepared document class for writing laboratory reports for the
laboratory courses conducted by the Institute of Physics.  The document class
consists of predefinded margins and heading formats.  Furthermore, it presets
the headers of the pages and excludes the titlepage and table of contents from
the page numbering.")
    (license license:lppl1.3c)))

(define-public texlive-uothesis
  (package
    (name "texlive-uothesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uothesis/"
                                     "source/latex/uothesis/"
                                     "tex/latex/uothesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04md5wkh11hpczvl7gpi2a5k2j5yalssjw5azpbr2g9q8fc99zp3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uothesis")
    (synopsis "Class for dissertations and theses at the University of Oregon")
    (description
     "The class generates documents that are suitable for submission to the
Graduate School and conform with the style requirements for dissertations and
theses as laid out in the Fall 2010 UO graduate school student manual.")
    (license license:lppl1.3+)))

(define-public texlive-uowthesis
  (package
    (name "texlive-uowthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uowthesis/"
                                     "tex/latex/uowthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "196w8ics6r9n4x05ydpr0hprpmcwqwfqa92h200kxgflp595xm43"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uowthesis")
    (synopsis
     "Document class for dissertations at the University of Wollongong")
    (description
     "This package provides a document class for higher degree research theses
in compliance with the specifications of @acronym{UoW, University of
Wollongong} theses in the @emph{Guidelines for Preparation and Submission of
Higher Degree Research Theses} (March 2006), by the Research Student Centre,
Research & Innovation Division, UoW.")
    (license license:lppl1.3+)))

(define-public texlive-uowthesistitlepage
  (package
    (name "texlive-uowthesistitlepage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uowthesistitlepage/"
                                     "tex/latex/uowthesistitlepage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mspjj6wvcb9cdbp3qp2cqd3mmmf3kyd77pmk1kji0wspg0jra6y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uowthesistitlepage")
    (synopsis "Title page for dissertations at the University of Wollongong")
    (description
     "The package redefines @code{\\maketitle} to generate a title page for
a @acronym{UoW, University of Wollongong} thesis, in accordance with the UoW
branding guidelines.  The package should be used with the @code{book} class to
typeset a thesis.  The package also defines a @code{\\declaration} command
that typesets the declaration that this thesis is your own work, etc., which
is required in the front of each PhD thesis.")
    (license (list license:lppl1.3c license:cc-by-sa4.0))))

(define-public texlive-uppunctlm
  (package
    (name "texlive-uppunctlm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/uppunctlm/"
                                     "fonts/tfm/public/uppunctlm/"
                                     "fonts/vf/public/uppunctlm/"
                                     "tex/latex/uppunctlm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d9x56rlxjavamx361582khj5idhy692hxm5wwwcc5y5i3xsc4pp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uppunctlm")
    (synopsis
     "Always keep upright shape for some punctuation marks and Arabic numerals")
    (description
     "The package provides a mechanism to keep punctuation always in upright
shape even if italic was specified.  It is directed to Latin Modern fonts, and
provides @file{.tfm}, @file{.vf}, @file{.fd}, and @file{.sty} files.  Here
a list of punctuation characters always presented in upright shapes: comma,
period, semicolon, colon, parentheses, square brackets, and Arabic numerals.")
    (license license:gfl1.0)))

(define-public texlive-urlbst
  (package
    (name "texlive-urlbst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/urlbst/" "doc/bibtex/urlbst/"
                                     "scripts/urlbst/" "source/bibtex/urlbst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sfs2ybkfcqy8w0wdni3aakpnmk60zkmnlc55xskyzzh4yc69qi7"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "urlbst")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/urlbst")
    (synopsis "Web support for BibTeX")
    (description
     "This package supports a new BibTeX @code{webpage} entry type and @code{url},
@code{lastchecked}, and @code{eprint} and @code{DOI} fields.  The Perl script
@command{urlbst} can be used to add this support to an arbitrary @file{.bst}
file which has a reasonably conventional structure.  The result is meant to be
robust rather than pretty.")
    (license (list license:gpl2 license:lppl))))

(define-public texlive-urcls
  (package
    (name "texlive-urcls")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/urcls/" "tex/latex/urcls/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fkz3jqrfay9kzaq1iyyz95n1m7xg6cw8rar878dlgb1rmkds1fb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urcls")
    (synopsis
     "Beamer and @code{scrlttr2} classes and styles for the University of
Regensburg")
    (description
     "The bundle provides a Beamer-derived class and a theme style file for
the corporate design of the @acronym{UR, University of Regensburg}.  It also
contains a @code{scrlttr2}-derived class for letters using the corporate
design of the UR. Users may use the class itself (URbeamer) or use the theme
in the usual way with @code{\\usetheme@{UR@}}.")
    (license license:lppl)))

(define-public texlive-urwchancal
  (package
    (name "texlive-urwchancal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/urwchancal/"
                                     "fonts/tfm/urw/urwchancal/"
                                     "fonts/vf/urw/urwchancal/"
                                     "tex/latex/urwchancal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05mwicyb46hjlqpq432z4b3f0q566xplzp1fjiw1ijmns5xhvig9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urwchancal")
    (synopsis "Use URW's clone of Zapf Chancery as a maths alphabet")
    (description
     "The package allows (the URW clone of) Zapf Chancery to function as
a maths alphabet, the target of @code{\\mathcal} or @code{\\mathscr}, with
accents appearing where they should, and other spacing parameters set to
reasonable (not very tight) values.  The font itself may be found in the URW
basic fonts collection.  This package supersedes the @code{pzccal} package.")
    (license license:lppl)))

(define-public texlive-usebib
  (package
    (name "texlive-usebib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/usebib/" "source/latex/usebib/"
                                     "tex/latex/usebib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qymf8hnp7ilzm030ypbagmw6nicdfy8lhry20viws1v7dibk9l0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/usebib")
    (synopsis "Simple bibliography processor")
    (description
     "The package is described by its author as @emph{a poor person's
replacement for the more powerful methods provided by BibLaTeX to access data
from a @file{.bib} file}.  Its principle commands are @code{\\bibinput}, which
specifies a database to use, and @code{\\usebibdata}, which typesets a single
field from a specified entry in that database.")
    (license license:lppl1.3+)))

(define-public texlive-uspatent
  (package
    (name "texlive-uspatent")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uspatent/" "tex/latex/uspatent/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f2w7zczl6zmxysdwyksbq3zniyw6mfr9zhdz55j5l84fgkwcd3n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uspatent")
    (synopsis "U.S. Patent Application Tools for LaTeX and LyX")
    (description
     "The package provides a class and other tools for developing
a beautifully formatted, consistent U.S. Patent Application using LaTeX and/or
LyX.")
    (license license:lppl1.3+)))

(define-public texlive-ut-thesis
  (package
    (name "texlive-ut-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ut-thesis/"
                                     "source/latex/ut-thesis/"
                                     "tex/latex/ut-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z1rvgy4d2zdagb7x5ymdid02fwnpv2x4dd4jxxkhg9mgq0lscyn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ut-thesis")
    (synopsis "University of Toronto thesis style")
    (description
     "This LaTeX document class implements the formatting requirements of the
University of Toronto School of Graduate Studies (SGS), as of Fall 2020.")
    (license license:lppl1.3c)))

(define-public texlive-utexasthesis
  (package
    (name "texlive-utexasthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/utexasthesis/"
                                     "tex/latex/utexasthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12qgidbdyjj9mdjp6lzidw0ifkdh7hskxdmpmsk5wybjicvf24w4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/utexasthesis")
    (synopsis "University of Texas at Austin graduate thesis style")
    (description
     "This class file complies with the Digital Submission Requirement for
masters and PhD thesis submissions of the University of Texas at Austin.")
    (license license:cc0)))

(define-public texlive-uvaletter
  (package
    (name "texlive-uvaletter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uvaletter/"
                                     "tex/latex/uvaletter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qqrlv7f4mdldf9gyllnaszvfv82ds8p0h63q802q8llviishjbm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uvaletter")
    (synopsis "Unofficial letterhead template for the University of Amsterdam")
    (description
     "This is an unofficial LaTeX package that provides a letterhead template
for the University of Amsterdam.")
    (license license:expat)))

(define-public texlive-uwa-colours
  (package
    (name "texlive-uwa-colours")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uwa-colours/"
                                     "source/latex/uwa-colours/"
                                     "tex/latex/uwa-colours/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lryscsnwayp0s74rcdlr36bi2n45fbdq9f2h3av2n1nj57259a9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uwa-colours")
    (synopsis "Colour palette of the University of Western Australia")
    (description
     "This package uses the @code{xcolor} package to define macros for the
colour palette of the University of Western Australia.")
    (license license:lppl1.3+)))

(define-public texlive-uwa-letterhead
  (package
    (name "texlive-uwa-letterhead")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uwa-letterhead/"
                                     "source/latex/uwa-letterhead/"
                                     "tex/latex/uwa-letterhead/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06p4c6m8dizq4y3pd95bzf81y296r1gg134jnx5h0qzh4l5ywpyx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uwa-letterhead")
    (synopsis "Letterhead of the University of Western Australia")
    (description
     "This package generates the letterhead of the @acronym{UWA, University of
Western Australia}.  It requires the UWA logo in PDF format, which is
available in SVG format at
@url{https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/img/uwacrest/},
and uses the Arial and UWA Slab fonts by default.  The package works with
XeLaTeX and LuaLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-uwa-pcf
  (package
    (name "texlive-uwa-pcf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uwa-pcf/" "source/latex/uwa-pcf/"
                                     "tex/latex/uwa-pcf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b41nfrrqmcq3abcwb13hb9anhb5c12c5ha60ni1yz2xqvimr1im"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uwa-pcf")
    (synopsis
     "@acronym{PCF, Participant Consent Form} for a human research protocol
at the University of Western Australia")
    (description
     "This LaTeX class generates a @acronym{PCF, Participant Consent Form} for
a human research protocol at the @acronym{UWA, University of Western
Australia}.  It requires the UWA logo in PDF format, which is available in SVG
format at
@url{https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/img/uwacrest/},
and uses the Arial and UWA Slab fonts by default.  The class works with
XeLaTeX and LuaLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-uwa-pif
  (package
    (name "texlive-uwa-pif")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uwa-pif/" "source/latex/uwa-pif/"
                                     "tex/latex/uwa-pif/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "048367w14wnk8h517xc914xvp0g10ysk0kziikk2s4q70qk2jci0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uwa-pif")
    (synopsis
     "@acronym{PIF, Participant Information Form} for a human research
protocol at the University of Western Australia")
    (description
     "This package generates a @acronym{PIF, Participant Information Form} for
a human research protocol at the @acronym{UWA, University of Western
Australia}.  It requires the UWA logo in PDF format, which is available in SVG
format at
@url{https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/img/uwacrest/},
and uses the Calibri fonts by default.  The class works with XeLaTeX and
LuaLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-uwthesis
  (package
    (name "texlive-uwthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uwthesis/" "tex/latex/uwthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wcxpvr86556gxbcprwcv6ipdq3flyfwbcmjkxhy6x6220sfwp56"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uwthesis")
    (synopsis "University of Washington thesis class")
    (description "This is a thesis class for the University of Washington.")
    (license license:asl2.0)))

(define-public texlive-vak
  (package
    (name "texlive-vak")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/vak/" "doc/bibtex/vak/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v8bg5yvihskx04m1jjmhlykj2azqb0qv4b2a56vqirrwhldks75"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/vak")
    (synopsis "BibTeX style for Russian theses, books, etc")
    (description
     "The file can be used to format the bibliographies of PhD theses,
books etc., according to the latest Russian standards: GOST 7.82 -- 2001 and
GOST 7.1 -- 2003.  It introduces the minimum number of new entries and styles
to cover all frequently used situations.  The style file provides an easy way
to perform a semiautomatic, or a completely manual sort of the list of the
references.  Processing bibliographies produced by the style requires a 8-bit
BibTeX system.")
    (license license:lppl)))

(define-public texlive-vancouver
  (package
    (name "texlive-vancouver")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/vancouver/"
                                     "doc/bibtex/vancouver/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r8x945cx32zn6ky4qqrki4xrj8ipbmkgm2dijmws5m0bkkh276r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/vancouver")
    (synopsis "Bibliographic style file for Biomedical journals")
    (description
     "This BibTeX style file is expected to meet the Uniform Requirements for
Manuscripts Submitted to Biomedical Journals (also known as the Vancouver
style).")
    (license license:lppl1.3+)))

(define-public texlive-velthuis
  (package
    (name "texlive-velthuis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/velthuis/"
                                     "doc/man/man1/devnag.1"
                                     "doc/man/man1/devnag.man1.pdf"
                                     "fonts/afm/public/velthuis/"
                                     "fonts/map/dvips/velthuis/"
                                     "fonts/source/public/velthuis/"
                                     "fonts/tfm/public/velthuis/"
                                     "fonts/type1/public/velthuis/"
                                     "tex/generic/velthuis/"
                                     "tex/latex/velthuis/"
                                     "tex/plain/velthuis/"
                                     "tex/xelatex/velthuis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h9maci6b65x7zy13v5j4vlr07lnghiwckh7bn4ix7d1wmh74bij"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (propagated-inputs (list texlive-velthuis-bin texlive-xetex-devanagari))
    (home-page "https://ctan.org/pkg/devanagari")
    (synopsis "Typeset Devanagari")
    (description
     "This package provides Frans Velthuis preprocessor for Devanagari text,
and fonts and macros to use when typesetting the processed text.  The macros
provide features that support Sanskrit, Hindi, Marathi, Nepali, and other
languages typically printed in the Devanagari script.  The package provides
fonts, in both Metafont and Type 1 formats.")
    (license license:gpl3+)))

(define-public texlive-velthuis-bin
  (package
    (inherit texlive-bin)
    (name "texlive-velthuis-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("devnag"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-devnag" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/devnag"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/devnag"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-velthuis))
    (synopsis "Binary for @code{texlive-velthuis}")
    (description
     "This package provide the binary for @code{texlive-velthuis}.")
    (license (package-license texlive-velthuis))))

(define-public texlive-venn
  (package
    (name "texlive-venn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/venn/" "metapost/venn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08pp3b58lng4lfaphhpw5nrczlhj86kgi1ciq12f9241z4qgnq6q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/venn")
    (synopsis "Creating Venn diagrams with MetaPost")
    (description "This package provides MetaPost macros for Venn diagrams.")
    (license license:lppl)))

(define-public texlive-venturisadf
  (package
    (name "texlive-venturisadf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/venturisadf/"
                                     "fonts/afm/arkandis/venturis/"
                                     "fonts/afm/arkandis/venturis2/"
                                     "fonts/afm/arkandis/venturisold/"
                                     "fonts/afm/arkandis/venturissans/"
                                     "fonts/afm/arkandis/venturissans2/"
                                     "fonts/enc/dvips/venturisadf/"
                                     "fonts/map/dvips/venturis/"
                                     "fonts/map/dvips/venturis2/"
                                     "fonts/map/dvips/venturisold/"
                                     "fonts/map/dvips/venturissans/"
                                     "fonts/map/dvips/venturissans2/"
                                     "fonts/tfm/arkandis/venturis/"
                                     "fonts/tfm/arkandis/venturis2/"
                                     "fonts/tfm/arkandis/venturisold/"
                                     "fonts/tfm/arkandis/venturissans/"
                                     "fonts/tfm/arkandis/venturissans2/"
                                     "fonts/type1/arkandis/venturis/"
                                     "fonts/type1/arkandis/venturis2/"
                                     "fonts/type1/arkandis/venturisold/"
                                     "fonts/type1/arkandis/venturissans/"
                                     "fonts/type1/arkandis/venturissans2/"
                                     "fonts/vf/arkandis/venturis/"
                                     "fonts/vf/arkandis/venturis2/"
                                     "fonts/vf/arkandis/venturisold/"
                                     "fonts/vf/arkandis/venturissans/"
                                     "fonts/vf/arkandis/venturissans2/"
                                     "source/fonts/venturisadf/"
                                     "tex/latex/venturis/"
                                     "tex/latex/venturis2/"
                                     "tex/latex/venturisadf/"
                                     "tex/latex/venturisold/"
                                     "tex/latex/venturissans/"
                                     "tex/latex/venturissans2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nvr9g1zzm51zjws52y8cyyi3y1z77q8s7iwgcb6jq4s9n4b4xbc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/venturisadf")
    (synopsis "Venturis ADF fonts collection")
    (description
     "This package provides Venturis ADF fonts collection, serif and sans
serif complete text font families, in both Adobe Type 1 and OpenType formats
for publication.  The family is based on Utopia family.  Support for using the
fonts, in LaTeX, is also provided.")
    (license (list license:lppl1.3+
                   (license:fsf-free
                    "http://mirrors.ctan.org/fonts/utopia/README")))))

(define-public texlive-verse
  (package
    (name "texlive-verse")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/verse/" "source/latex/verse/"
                                     "tex/latex/verse/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01c9mrq0zsa8i3wrhv4i21mcbl9y2ryjjnkph8v4d60wxsz6jcpy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/verse")
    (synopsis "Aids for typesetting simple verse")
    (description
     "The package provides aids for typesetting simple verses; the package is
strong on layout, from simple alternate-line indentation to the @code{Mouse's
tale} from @emph{Alice in Wonderland}.")
    (license license:lppl)))

(define-public texlive-vlna
  (package
    (name "texlive-vlna")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/vlna.1"
                                     "doc/man/man1/vlna.man1.pdf" "doc/vlna/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nfb7mj6y9d4n89z59ppi96grfylwky97mxcv9rjflr5kpqlpga2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-vlna-bin))
    (home-page "https://ctan.org/pkg/vlna")
    (synopsis "Add @samp{~} after non-syllabic preposition, for Czech/Slovak")
    (description
     "This package provides a preprocessor for TeX source implementing the
Czech/Slovak typographical rule forbidding a non-syllabic preposition alone at
the end of a line.")
    (license license:knuth)))

(define-public texlive-vlna-bin
  (package
    (inherit texlive-bin)
    (name "texlive-vlna-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("vlna"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-vlna" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/vlna"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/vlna"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-vlna))
    (synopsis "Binary for @code{texlive-vlna}")
    (description
     "This package provides the binary for @code{texlive-vlna}.")
    (license (package-license texlive-vlna))))

(define-public texlive-vntex
  (package
    (name "texlive-vntex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/vntex/"
                                     "fonts/afm/vntex/chartervn/"
                                     "fonts/afm/vntex/grotesqvn/"
                                     "fonts/afm/vntex/urwvn/"
                                     "fonts/afm/vntex/vntopia/"
                                     "fonts/enc/dvips/vntex/"
                                     "fonts/enc/pdftex/vntex/"
                                     "fonts/map/dvips/vntex/"
                                     "fonts/source/vntex/vnr/"
                                     "fonts/tfm/vntex/arevvn/"
                                     "fonts/tfm/vntex/chartervn/"
                                     "fonts/tfm/vntex/cmbrightvn/"
                                     "fonts/tfm/vntex/concretevn/"
                                     "fonts/tfm/vntex/grotesqvn/"
                                     "fonts/tfm/vntex/txttvn/"
                                     "fonts/tfm/vntex/urwvn/"
                                     "fonts/tfm/vntex/vnr/"
                                     "fonts/tfm/vntex/vntopia/"
                                     "fonts/type1/vntex/arevvn/"
                                     "fonts/type1/vntex/chartervn/"
                                     "fonts/type1/vntex/cmbrightvn/"
                                     "fonts/type1/vntex/concretevn/"
                                     "fonts/type1/vntex/grotesqvn/"
                                     "fonts/type1/vntex/txttvn/"
                                     "fonts/type1/vntex/urwvn/"
                                     "fonts/type1/vntex/vnr/"
                                     "fonts/type1/vntex/vntopia/"
                                     "fonts/vf/vntex/chartervn/"
                                     "fonts/vf/vntex/urwvn/"
                                     "fonts/vf/vntex/vntopia/"
                                     "source/generic/vntex/"
                                     "tex/latex/vntex/"
                                     "tex/plain/vntex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vbpxzqvqpymw2chgrrva7alrvp6lj735hy8wqksal968sch6azx"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ec")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ec texlive-metafont))
    (home-page "https://ctan.org/pkg/vntex")
    (synopsis "Support for Vietnamese")
    (description
     "The vntex bundle provides fonts, Plain TeX, texinfo and LaTeX macros for
typesetting documents in Vietnamese.  Users of the fonts (in both Metafont and
Adobe Type 1 format) of this bundle may alternatively use the @code{lm} fonts
bundle, for which map files are available to provide a Vietnamese version.")
    ;; Vietnamese glyphs has been added according to the conditions of the
    ;; Adobe/TUG license agreement.  The package itself is released under
    ;; LPPL1.3+ terms.
    (license (list license:lppl1.3+
                   (license:fsf-free "file://source/generic/vntex/LICENSE-utopia.txt")))))

(define-public texlive-wallpaper
  (package
    (name "texlive-wallpaper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/wallpaper/"
                                     "tex/latex/wallpaper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07ynf0b7czqqz0ha70ccvdxmcm3s6px82s1101llwbpxhwpqis5i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/wallpaper")
    (synopsis
     "Add wallpapers (background images) to LaTeX documents, including tiling")
    (description
     "This collection contains files to add wallpapers (background images) to
LaTeX documents.  It provides simple commands to include effects such as
tiling.")
    (license license:lppl)))

(define-public texlive-wargame
  (package
    (name "texlive-wargame")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/wargame/" "source/latex/wargame/"
                                     "tex/latex/wargame/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w2yasbwjnr41hyx7s7fm8f2lk4j0wq3bpg4rz6hd904fj391bma"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/wargame")
    (synopsis "LaTeX package to prepare hex'n'counter wargames")
    (description
     "This package can help make classic Hex'n'Counter wargames using LaTeX.
The package provide tools for generating Hex maps and boards Counters for
units, markers, and so on Counter sheets Order of Battle charts Illustrations
in the rules using the defined maps and counters The result will often be
a PDF (or set of PDFs) that contain everything one will need for
a game (rules, charts, boards, counter sheets).  The package uses NATO App6
symbology for units.  The package uses NATO App6 symbology for units.  The
package uses TikZ for most things.  The package support exporting the game to
a VASSAL module.")
    (license license:cc-by-sa4.0)))

(define-public texlive-windycity
  (package
    (name "texlive-windycity")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/windycity/"
                                     "tex/latex/windycity/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m9n3hyfmrnd84gns1aasdkdv05d9gpa69b6jnijdyvr3yxlh0x6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/windycity")
    (synopsis "Chicago style for BibLaTeX")
    (description
     "Windy City is a style for BibLaTeX that formats notes, bibliographies,
parenthetical citations, and reference lists according to the 17th edition of
@emph{The Chicago Manual of Style}.")
    (license license:lppl1.3+)))

(define-public texlive-witharrows
  (package
    (name "texlive-witharrows")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/witharrows/"
                                     "source/generic/witharrows/"
                                     "tex/generic/witharrows/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0872qr7chd175jpqyq8n3kfx38jyi7y0qmqf28mb37mkwg5dzdbd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/witharrows")
    (synopsis "Aligned math environments with arrows for comments")
    (description
     "This package provides an environment @code{WithArrows} which is similar
to the environment @code{aligned} of @code{amsmath} (and @code{mathtools}),
but gives the possibility to draw arrows on the right side of the alignment.
These arrows are usually used to give explanations concerning the mathematical
calculus presented.")
    (license license:lppl1.3+)))

(define-public texlive-wnri
  (package
    (name "texlive-wnri")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/wnri/"
                                     "fonts/source/public/wnri/"
                                     "fonts/tfm/public/wnri/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p2b847a5xa00xvv46b8p0f2fhi1k01w4l7bm2517hs7inwj3brs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/wnri")
    (synopsis "Ridgeway's fonts")
    (description
     "This package provides fonts (as Metafont source) for Old English, Indic
languages in Roman transliteration and Puget Salish (Lushootseed) and other
Native American languages.")
    (license license:gpl3+)))

(define-public texlive-wnri-latex
  (package
    (name "texlive-wnri-latex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/wnri-latex/"
                                     "source/latex/wnri-latex/"
                                     "tex/latex/wnri-latex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08ld2nys36vb368977dpwav75ffra2p8999dx4dwrs4vg6k2r2l7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/wnri-latex")
    (synopsis "LaTeX support for @code{wnri} fonts")
    (description
     "This package provides LaTeX support for the @code{wnri} fonts.")
    (license license:gpl2)))

(define-public texlive-wsemclassic
  (package
    (name "texlive-wsemclassic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/wsemclassic/"
                                     "source/latex/wsemclassic/"
                                     "tex/latex/wsemclassic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kq871pbf2xq0h0njsp3j0wygz6970y5nkara5v5kpby42kx96rl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/wsemclassic")
    (synopsis "LaTeX class for Bavarian school w-seminar papers")
    (description
     "The class is designed either to conform with the recommendations of the
Bavarian Kultusministerium for typesetting w-seminar papers (strict mode), or
to use another style which should look better.  The class is based on the
LaTeX standard @code{report} class.")
    (license license:bsd-3)))

(define-public texlive-wsuipa
  (package
    (name "texlive-wsuipa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/wsuipa/"
                                     "fonts/source/public/wsuipa/"
                                     "fonts/tfm/public/wsuipa/"
                                     "tex/latex/wsuipa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gj7d68gb82dxmrbz69ibgpw2q2h6sb22k8nl569r27m2sli60jy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    ;; FIXME: Font metrics generation fails with "! Strange path (turning
    ;; number is zero)" error.
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/wsuipa")
    (synopsis "International Phonetic Alphabet fonts")
    (description
     "The package provides a 7-bit IPA font, as Metafont source, and macros
for support under TeXt1 and LaTeX.  The fonts (and macros) are now largely
superseded by the @code{tipa} fonts.")
    (license license:knuth)))

(define-public texlive-xcharter-math
  (package
    (name "texlive-xcharter-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/xcharter-math/"
                                     "fonts/opentype/public/xcharter-math/"
                                     "tex/latex/xcharter-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0knf8h2xgyxr6845q937sglw528cfgp9rdipp4db0qydrhc679bn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xcharter-math")
    (synopsis "XCharter-based OpenType Math font for LuaTeX and XeTeX")
    (description
     "This package provides an Unicode Math font XCharter-Math.otf meant to be
used together with XCharter Opentype Text fonts (extension of Bitstream
Charter) in LuaLaTeX or XeLaTeX documents.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-xcite
  (package
    (name "texlive-xcite")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xcite/" "source/latex/xcite/"
                                     "tex/latex/xcite/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r6f4wk7d3na9a8v20kqp24m46rsqgqx0n8k5hv3ynhqhzizhpll"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xcite")
    (synopsis "Use citation keys from a different document")
    (description
     "The package @code{xcite} is no longer necessary, because its
functionality has been taken over by @code{xr}, so this final version is just
a stub that loads @code{xr}.")
    (license license:lppl1.3c)))

(define-public texlive-xduthesis
  (package
    (name "texlive-xduthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xduthesis/"
                                     "source/latex/xduthesis/"
                                     "tex/latex/xduthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sdl1m869s4hcxdj3q2205x9xdgx0qy9ri9vjyma9rsv70sa648p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xduthesis")
    (synopsis "XeLaTeX template for writing Xidian University thesis")
    (description
     "This is a XeLaTeX template for writing theses to apply academic degrees
in Xidian University.  The template is designed according to the official
requirements on typesetting theses.  The template currently supports all
levels of degrees from bachelor to doctor, including both academic master and
professional master.")
    (license license:lppl1.3+)))

(define-public texlive-xduts
  (package
    (name "texlive-xduts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xduts/" "source/xelatex/xduts/"
                                     "tex/xelatex/xduts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lgm0rqf3z3zy9ggsyhxm8ndl364a5jikb01fvcmldr7ld4hnn18"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ctex")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ctex))
    (home-page "https://ctan.org/pkg/xduts")
    (synopsis "Xidian University TeX suite")
    (description
     "XDUTS is designed to help Xidian University students use LaTeX
typesetting efficiently.  XDUTS contains a font configuration package that
meets the school's requirements and can be applied to any document class.  In
addition, there are thesis and thesis proposal templates for both
undergraduate and postgraduate that meet the school's requirements.")
    (license license:lppl1.3c)))

(define-public texlive-xecjk
  (package
    (name "texlive-xecjk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xecjk/"
                                     "fonts/misc/xetex/fontmapping/xecjk/"
                                     "source/xelatex/xecjk/" "tex/xelatex/xecjk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mpmfrj0n00gpnh67zh627vxhpp6vim8x755vdpb75h36k8zm6yq"))))
    (outputs '("out" "doc"))
    ;; Prevent circular dependencies.
    (properties '((updater-ignored-propagated-inputs "texlive-ctex")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'build 'copy-ctxdocstrip.tex
            ;; There's a circular dependency between this package (where
            ;; `ctex' should be a native input) and `ctex' (where this package
            ;; is a propagated input).  To work around this, install the
            ;; specific "ctxdocstrip.tex" file from `ctex' in the build
            ;; directory and set TEXINPUTS variable accordingly so the process
            ;; can find it.
            (lambda* (#:key inputs #:allow-other-keys)
              (install-file (search-input-file inputs
                                               "tex/generic/ctex/ctxdocstrip.tex")
                            "build/")
              (setenv "TEXINPUTS" (string-append (getcwd) "/build:")))))))
    (native-inputs
     (list (package-source texlive-ctex)))
    (home-page "https://ctan.org/pkg/xecjk")
    (synopsis "Support for CJK documents in XeLaTeX")
    (description
     "This package provides a LaTeX package for typesetting CJK documents in
the way users have become used to, in the CJK package.")
    (license license:lppl1.3c)))

(define-public texlive-xecyrmongolian
  (package
    (name "texlive-xecyrmongolian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xecyrmongolian/"
                                     "source/latex/xecyrmongolian/"
                                     "tex/latex/xecyrmongolian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0097l8vx76sqpimljwxw194yg6drxzagjxflq3y99n0a0yisax05"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xecyrmongolian")
    (synopsis
     "Basic support for Cyrillic Mongolian documents using (Xe|Lua)LaTeX")
    (description
     "The @code{xecyrmongolian} package can be used to produce documents in
Cyrillic Mongolian using either XeLaTeX or LuaLaTeX.  The command
@code{\\setlanguage} can be used to load alternative hyphenation patterns so
to be able to create multilingual documents.")
    (license license:lppl1.3c)))

(define-public texlive-xmuthesis
  (package
    (name "texlive-xmuthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xmuthesis/"
                                     "source/latex/xmuthesis/"
                                     "tex/latex/xmuthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qnsh0q61zv4jrh92zkhgdk1lzk3fksa2iiv2c2hkyk55sjza6ac"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ctex")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ctex))
    (home-page "https://ctan.org/pkg/xmuthesis")
    (synopsis "XMU thesis style")
    (description "This class is designed for XMU thesis's writing.")
    (license license:lppl1.3c)))

(define-public texlive-xq
  (package
    (name "texlive-xq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/xq/" "fonts/source/public/xq/"
                                     "fonts/tfm/public/xq/" "tex/latex/xq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g9j4vdlcnidv247bmagqd7q357h6fkg3b5cx1765n38k1bx8ikx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/xq")
    (synopsis "Support for writing about xiangqi")
    (description
     "The package is for writing about xiangqi or chinese chess.  You can
write games or parts of games and show diagrams with special positions.")
    (license license:lppl)))

(define-public texlive-xskak
  (package
    (name "texlive-xskak")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xskak/" "source/latex/xskak/"
                                     "tex/latex/xskak/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b17y5i24adpb7f8jxf3lc5zwb1q4yf3w2vx9ql73xpi39xg6mcj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xskak")
    (synopsis "Extension to the @code{skak} package for chess typesetting")
    (description
     "Xskak, as its prime function, saves information about a chess game for
later use (e.g., to loop through a game to make an animated board).  The
package also extends the input that the parsing commands can handle and offers
an interface to define and switch between indefinite levels of styles.")
    (license license:lppl)))

(define-public texlive-xyling
  (package
    (name "texlive-xyling")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xyling/" "tex/latex/xyling/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c4bgkbd42japidvrfg3ibj4h1l8v6zlivy7bqyiyj8alzdjhq4g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xyling")
    (synopsis
     "Draw syntactic trees, etc., for linguistics literature, using XY-Pic")
    (description
     "The macros in this package model the construction of linguistic tree
structures as a genuinely graphical problem: they contain two types of
objects, ``branches'' and ``node labels'', and these are positioned relative
to a ``grid''.  It is essential that each of these three elements is
constructed independent of the other two, and hence they can be modified
without unwanted side effects.  The macros are based on the XY-Pic package.")
    (license license:lppl)))

(define-public texlive-xymtex
  (package
    (name "texlive-xymtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xymtex/doc/"
                                     "doc/latex/xymtex/readme/"
                                     "source/latex/xymtex/base/"
                                     "source/latex/xymtex/chemist/"
                                     "source/latex/xymtex/xymtxpdf/"
                                     "source/latex/xymtex/xymtxps/"
                                     "tex/latex/xymtex/base/"
                                     "tex/latex/xymtex/chemist/"
                                     "tex/latex/xymtex/xymtxpdf/"
                                     "tex/latex/xymtex/xymtxps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xj8q4l2xv69sqdqkr4cqzldhnqxfymm0avhc220pl3q74cabh0b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xymtex")
    (synopsis "Typesetting chemical structures")
    (description
     "XyMTeX is a set of packages for drawing a wide variety of chemical
structural formulas in a way that reflects their structure.  The package
provides three output modes: LaTeX, PostScript and PDF.")
    (license license:lppl1.3+)))

(define-public texlive-yathesis
  (package
    (name "texlive-yathesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/yathesis/"
                                     "source/latex/yathesis/"
                                     "tex/latex/yathesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0aa9875am0gxy7fxf3z9xdxva8x9anlx8k82c1hz95s3m119fccs"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list #:build-targets #~(list "yathesis.dtx")
           #:tex-format "lualatex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-accsupp
                  texlive-alphalph
                  texlive-attachfile2
                  texlive-babel-french
                  texlive-biblatex
                  texlive-booktabs
                  texlive-caption
                  texlive-cleveref
                  texlive-comment
                  texlive-csquotes
                  texlive-datetime2
                  texlive-denisbdoc
                  texlive-enumitem
                  texlive-environ
                  texlive-fancyvrb
                  texlive-fixfoot
                  texlive-fontawesome
                  texlive-fontspec
                  texlive-footmisc
                  texlive-glossaries
                  texlive-glossaries-extra
                  texlive-gofonts
                  texlive-hologo
                  texlive-hypdoc
                  texlive-ifmtarg
                  texlive-imakeidx
                  texlive-libertine
                  texlive-listings
                  texlive-marginnote
                  texlive-morewrites
                  texlive-mparhack
                  texlive-multirow
                  texlive-newunicodechar
                  texlive-path
                  texlive-parskip
                  texlive-pdfcol
                  texlive-pdflscape
                  texlive-pgf
                  texlive-refcount
                  texlive-siunitx
                  texlive-tcolorbox
                  texlive-textcase
                  texlive-tikzfill
                  texlive-tocbibind
                  texlive-tocvsec2
                  texlive-translator
                  texlive-underscore
                  texlive-xifthen
                  texlive-xpatch
                  texlive-zref))))
    (home-page "https://ctan.org/pkg/yathesis")
    (synopsis "LaTeX class for writing a thesis following French rules")
    (description
     "The purpose of @code{yathesis} is to facilitate the typesetting of
theses prepared in France, whatever the disciplines and institutes.  It
implements most notably recommendations from the Ministry of Higher Education
and Research, and this transparently to the user.  It has also been designed
to (optionally) take advantage of powerful tools available in LaTeX, including
packages: BibLaTeX for the bibliography; @code{glossaries} for the glossary,
list of acronyms and symbols list.")
    (license license:lppl1.3c)))

(define-public texlive-yazd-thesis
  (package
    (name "texlive-yazd-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/yazd-thesis/"
                                     "tex/xelatex/yazd-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zwzzzf8z0p0cl6l3wjqnfj80pym4wx5halb3rl1i6bmvyypgafz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yazd-thesis")
    (synopsis "Template for the Yazd University")
    (description
     "This package offers a document class for typesetting theses and
dissertations at the Yazd University.  The class requires use of XeLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-yb-book
  (package
    (name "texlive-yb-book")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/yb-book/" "source/latex/yb-book/"
                                     "tex/latex/yb-book/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ii4c3kslbhj7im8q0d7lj130kfh1sflq8hx04hiyl7qlyfd5n1a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-anyfontsize
           texlive-biblatex
           texlive-bigfoot
           texlive-changepage
           texlive-chngcntr
           texlive-csquotes
           texlive-enumitem
           texlive-fancyhdr
           texlive-float
           texlive-footmisc
           texlive-geometry
           texlive-ifmtarg
           texlive-imakeidx
           texlive-lastpage
           texlive-libertine
           texlive-mdframed
           texlive-microtype
           texlive-needspace
           texlive-paralist
           texlive-pgf
           texlive-qrcode
           texlive-setspace
           texlive-soul
           texlive-titlesec
           texlive-ulem
           texlive-wrapfig
           texlive-xcolor
           texlive-xifthen
           texlive-xkeyval
           texlive-zref))
    (home-page "https://ctan.org/pkg/yb-book")
    (synopsis "Template for YB branded books")
    (description
     "This template helps the author design books published on Amazon under
the ``Y.B.'' brand.")
    (license license:expat)))

(define-public texlive-yfonts
  (package
    (name "texlive-yfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/yfonts/" "source/latex/yfonts/"
                                     "tex/latex/yfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "021sb52516ksxs1pb8nb1gchaagb0hblx55yyxzpywrryfkjd3rx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yfonts")
    (synopsis "Support for old German fonts")
    (description
     "This package provides a LaTeX interface to the old German Gothic,
Schwabacher, Fraktur and the baroque initials.")
    (license license:lppl)))

(define-public texlive-yfonts-otf
  (package
    (name "texlive-yfonts-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/yfonts-otf/"
                                     "fonts/opentype/public/yfonts-otf/"
                                     "tex/latex/yfonts-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dnif4hiwqri67cx6bjzs0rvz3ayrkn6fs99qn4q9qggs6s25l0j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yfonts-otf")
    (synopsis "OpenType version of the Old German fonts")
    (description
     "This is an OpenType version of the Old German fonts @code{yfrak},
@code{ygoth}, @code{yswab} designed by Yannis Haralambous in Metafont.  The
OpenType features make it easier to deal with the long/round @samp{s} and with
older forms of umlauts (small @samp{e} over the letter).  A style file
@file{yfonts-otf.sty} is provided as a replacement, for LuaLaTeX and XeLaTeX,
of @file{yfonts.sty} or @file{oldgerm.sty}.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-yfonts-t1
  (package
    (name "texlive-yfonts-t1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/yfonts-t1/" "dvips/yfonts-t1/"
                                     "fonts/afm/public/yfonts-t1/"
                                     "fonts/map/dvips/yfonts-t1/"
                                     "fonts/type1/public/yfonts-t1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w92sgkarqx7z2ai6z059bml0kbh05fjyy9fl12x3nb0f5agjs7n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yfonts-t1")
    (synopsis "Old German-style fonts, in Adobe type 1 format")
    (description
     "This package comprises type 1 versions of the Gothic, Schwabacher and
Fraktur fonts of Yannis Haralambous set of old German fonts.")
    ;; "Freely available for general use."
    (license (license:fsf-free "file://doc/fonts/yfonts-otf/README.md"))))

(define-public texlive-yhmath
  (package
    (name "texlive-yhmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/yhmath/"
                                     "fonts/map/dvips/yhmath/"
                                     "fonts/source/public/yhmath/"
                                     "fonts/tfm/public/yhmath/"
                                     "fonts/type1/public/yhmath/"
                                     "fonts/vf/public/yhmath/"
                                     "source/fonts/yhmath/"
                                     "tex/latex/yhmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0blzyr94d7ajb639j7bfnrpn52wicwfqwyba38hgh6s9hgx071cv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/yhmath")
    (synopsis "Extended maths fonts for LaTeX")
    (description
     "The @code{yhmath} bundle contains fonts (in Metafont and type 1 format)
and a LaTeX package for using them.")
    (license license:lppl1.3c)))

(define-public texlive-yinit-otf
  (package
    (name "texlive-yinit-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/yinit-otf/"
                                     "fonts/opentype/public/yinit-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p3a56kg63smsgwr0vlfzjxrdw11j3777y09gdbdd1cc50r9p3zx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yinit-otf")
    (synopsis
     "OTF conversion of Yannis Haralambous' Old German decorative initials")
    (description
     "This package is a conversion of the @code{yinit} font into OTF.
Original Metafont files for @code{yinit} are in the @code{yinit} package.")
    (license license:public-domain)))

(define-public texlive-york-thesis
  (package
    (name "texlive-york-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/york-thesis/"
                                     "source/latex/york-thesis/"
                                     "tex/latex/york-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wcl1zqmif2chramah8zmbgp5axbhlnjiygl7kgqnwqw5ajxkw4y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/york-thesis")
    (synopsis "Thesis class file for York University, Toronto")
    (description
     "York Graduate Studies has again changed the requirements for theses and
dissertations.  The established @code{york-thesis} class file now implements
the changes made in Spring 2005.")
    (license license:lppl1.3+)))

(define-public texlive-youngtab
  (package
    (name "texlive-youngtab")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/youngtab/"
                                     "source/generic/youngtab/"
                                     "tex/generic/youngtab/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "054dqrcrj32nsngjhxa7nig9ylz0p6smdaqc02mdpy299fwm23f2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/youngtab")
    (synopsis "Typeset Young-Tableaux")
    (description
     "This package provides a package for typesetting Young-Tableaux,
mathematical symbols for the representations of groups, providing two macros,
@code{\\yng(1)} and @code{\\young(1)} to generate the whole Young-Tableau.")
    (license license:lppl1.0+)))

(define-public texlive-yquant
  (package
    (name "texlive-yquant")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/yquant/" "tex/latex/yquant/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "054rmlp714ygsz2yviffkjjj4i45k5w9yjyl8rrrbibimgdc4f79"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yquant")
    (synopsis "Typesetting quantum circuits in a human-readable language")
    (description
     "This LaTeX package allows to quickly draw quantum circuits.  It bridges
the gap between the two groups of packages that already exist: those that use
a logic-oriented custom language, which is then translated into TeX by means
of an external program; and the pure TeX versions that mainly provide some
macros to allow for an easier input.  @code{yquant} introduces a logic
oriented language and thus brings the best of both worlds together.  It builds
on and interacts with TikZ, which brings an enourmous flexibility for
customization of individual circuit.")
    (license license:lppl1.3c)))

(define-public texlive-ytableau
  (package
    (name "texlive-ytableau")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ytableau/"
                                     "source/latex/ytableau/"
                                     "tex/latex/ytableau/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1px1gbpbm0vrv8xhdf1gfb6q6fh564y3zra0kg1ab3hcixbqsfxa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ytableau")
    (synopsis "Many-featured Young tableaux and Young diagrams")
    (description
     "The package provides several functions for drawing Young tableaux and
Young diagrams, extending the @code{young} and @code{youngtab} packages but
providing lots more features.  Skew and coloured tableaux are easy, and
pgfkeys-enabled options are provided both at package load and configurably.")
    (license license:lppl1.2+)))

(define-public texlive-zitie
  (package
    (name "texlive-zitie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/zitie/" "tex/xelatex/zitie/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0la4fg42c20isdip5gnynzhkj0hn295lf48hbyjjfvadx7zx408s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zitie")
    (synopsis "Create CJK character calligraphy practicing sheets")
    (description
     "This is a LaTeX package for creating CJK character calligraphy
practicing sheets (copybooks).  Currently, only XeTeX is supported.")
    (license license:lppl1.3c)))

(define-public texlive-zlmtt
  (package
    (name "texlive-zlmtt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/zlmtt/" "tex/latex/zlmtt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "014zchb0s9fj33d6h8r851v7v4cvpqzd97xaq4nv2l1lnxlii536"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zlmtt")
    (synopsis "Use Latin Modern Typewriter fonts")
    (description
     "The package allows selection of Latin Modern Typewriter fonts with
scaling and access to all its features.")
    (license license:lppl1.3+)))

(define-public texlive-zootaxa-bst
  (package
    (name "texlive-zootaxa-bst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/zootaxa-bst/"
                                     "doc/bibtex/zootaxa-bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "178daki12ky2hxjsdgz6nnc84741hdj0mn30lglp2sazqwjxrbw0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zootaxa-bst")
    (synopsis "BibTeX style for the journal @emph{Zootaxa}")
    (description
     "This package provides a @file{.bst} reference style file for the journal
@emph{Zootaxa} that publishes contributions in zoology and classification.
This is a fork of @file{apa.bst}.")
    (license license:lppl1.3c)))

(define-public texlive-zx-calculus
  (package
    (name "texlive-zx-calculus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zx-calculus/"
                                     "tex/latex/zx-calculus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04h0rxf6ricqiafb932pcfack9yc5mmq5r5q7ddszg11lwvxgh71"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zx-calculus")
    (synopsis "Library to typeset ZX Calculus diagrams")
    (description
     "This library allows you to typeset ZX-calculus directly in LaTeX.  It
comes with many pre-built wire shapes, a highly customizable node style (with
multiple flavours for putting labels inside or outside nodes), and a debugging
mode to avoid getting lost in big diagrams.")
    (license license:expat)))

(define-public texlive-zxjafont
  (package
    (name "texlive-zxjafont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zxjafont/" "tex/latex/zxjafont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n8sky4aprs7r12pvyj6q1lman57k94s7mkynnzfw1z4xnam459j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zxjafont")
    (synopsis "Set up Japanese font families for XeLaTeX")
    (description "This package sets up Japanese font families for XeLaTeX.")
    (license license:expat)))

(define-public texlive-zxjatype
  (package
    (name "texlive-zxjatype")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zxjatype/" "tex/latex/zxjatype/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0llm0414kdwqsajb1nl92xa8kqwvbm446pwijag2735gk8rxqz8j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zxjatype")
    (synopsis "Standard conforming typesetting of Japanese, for XeLaTeX")
    (description "This package eases standard conforming typesetting of
Japanese, for XeLaTeX.")
    (license license:expat)))

(define-public texlive-zxjafbfont
  (package
    (name "texlive-zxjafbfont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zxjafbfont/"
                                     "tex/latex/zxjafbfont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vwbr2nwxp5f8c7q1gwm9z3karjkxjxr1j4lg5p12ljqlwm7p3lw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zxjafbfont")
    (synopsis "Fallback CJK font support for xeCJK")
    (description "This package provides fallback CJK font support for xeCJK.")
    (license license:expat)))

(define-public texlive-biblatex-cheatsheet
  (package
    (name "texlive-biblatex-cheatsheet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-cheatsheet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y2ry2q1kvpy8dqglqdfq3rc849hmbni0k78wr1xnjbpd102l3k9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-cheatsheet")
    (synopsis "BibLaTeX and Biber cheat sheet")
    (description "This package provides a BibLaTeX and Biber cheat sheet.")
    (license license:lppl1.3+)))

(define-public texlive-bibtex8
  (package
    (name "texlive-bibtex8")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/csf/base/" "bibtex/csf/polish-csf/"
                                     "doc/bibtex8/" "doc/man/man1/bibtex8.1"
                                     "doc/man/man1/bibtex8.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ywv5rdk08dnrqr09pnjzff37x2c9m5i1wjzfsjnvm068is58c7s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-bibtex8-bin))
    (home-page "https://ctan.org/pkg/bibtex8")
    (synopsis "BibTeX variant supporting 8-bit encodings")
    (description
     "BibTeX8 is an enhanced, portable C version of BibTeX.  It is enhanced by
conversion to larger (32-bit) capacity, addition of run-time selectable
capacity and 8-bit support extensions.  National character set and sorting
order are controlled by an external configuration file.")
    (license license:gpl3+)))

(define-public texlive-bibtex8-bin
  (package
    (inherit texlive-bin)
    (name "texlive-bibtex8-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs with-files?)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append '("." "..") dirs)))
                              (or with-files?
                                  (eq? 'directory (stat:type (stat file))))))))))))
            (delete-other-directories "libs" '() #f)
            (delete-other-directories "utils" '() #f)
            ;; Tests require "texmf.cnf" to be present in the tree.  Also test
            ;; data is spread across multiple directories, which need to be
            ;; preserved.
            (delete-other-directories "texk" '("bibtex-x" "kpathsea" "tests" "web2c") #f)
            (delete-other-directories "texk/web2c" '("tests") #t)
            (with-directory-excursion "texk/kpathsea"
              (for-each
               delete-file-recursively
               (scandir "." (lambda (f)
                              (not (member f '("." ".." "texmf.cnf")))))))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons* "--enable-bibtex-x"
                 "--enable-bibtex8"
                 "--disable-bibtexu"
                 (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (add-after 'unpack 'locate-libkpathsea
              (lambda _
                (let ((kpathsea #$(this-package-input "texlive-libkpathsea")))
                  (substitute* "texk/bibtex-x/Makefile.in"
                    (("(KPATHSEA_LIBS =).*" _ lead)
                     (format #f "~a \"-L~a/lib -lkpathsea\"\n" lead kpathsea))))))
            (add-after 'unpack 'skip-bibtexu-test
              ;; This package does not build "bibtexu" binary; the test below
              ;; is therefore bound to fail.  Skip that part.
              (lambda _
                (substitute* "texk/bibtex-x/tests/bibtex8u-mem.test"
                  (("_bibtexu=.*") "_bibtexu=echo\n"))))
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/bibtex-x"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/bibtex-x"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-bibtex8))
    (synopsis "Binary for @code{texlive-bibtex8}")
    (description
     "This package provides the binary for @code{texlive-bibtex8}.")
    (license (package-license texlive-bibtex8))))

(define-public texlive-bibtexu
  (package
    (name "texlive-bibtexu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/bibtexu/" "doc/man/man1/bibtexu.1"
                                     "doc/man/man1/bibtexu.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19bp8wn0ssz7gczxp0imbpgi1zwz9x3ya67f072rjzg2zmfpphqg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-bibtexu-bin))
    (home-page "https://ctan.org/pkg/bibtexu")
    (synopsis "BibTeX variant supporting Unicode (UTF-8), via ICU")
    (description
     "BibTeXu is an enhanced, portable C version of BibTeX.  Unicode is
supported via the ICU library.")
    (license license:gpl3+)))

(define-public texlive-bibtexu-bin
  (package
    (inherit texlive-bibtex8-bin)
    (name "texlive-bibtexu-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bibtex8-bin)
       ((#:configure-flags flags)
        #~(cons* "--enable-bibtexu"
                 "--disable-bibtex8"
                 (delete "--enable-bibtex8"
                         (delete "--disable-bibtexu" #$flags))))
       ((#:phases phases)
        #~(modify-phases #$phases
            (delete 'skip-bibtexu-test)
            (add-after 'unpack 'skip-bibtex8-test
              ;; This package does not build "bibtex8" binary; the test below
              ;; is therefore bound to fail.  Skip that part.
              (lambda _
                (substitute* "texk/bibtex-x/tests/bibtex8u-mem.test"
                  (("_bibtex8=.*") "_bibtex8=echo\n"))))))))
    (native-inputs (list perl pkg-config))
    (inputs (list icu4c texlive-libkpathsea))
    (home-page (package-home-page texlive-bibtexu))
    (synopsis "Binary for @code{texlive-bibtexu}")
    (description
     "This package provides the binary for @code{texlive-bibtexu}.")
    (license (package-license texlive-bibtexu))))

(define-public texlive-bundledoc
  (package
    (name "texlive-bundledoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/arlatex.1"
                                     "doc/man/man1/arlatex.man1.pdf"
                                     "doc/man/man1/bundledoc.1"
                                     "doc/man/man1/bundledoc.man1.pdf"
                                     "doc/support/bundledoc/"
                                     "scripts/bundledoc/"
                                     "tex/latex/bundledoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1drgwqgkhr6ba4c21kyykl5y92x7dp6971if2hfcxsqk6kqy3ip1"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "arlatex" "bundledoc")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/bundledoc")
    (synopsis "Bundle together all the files needed to build a LaTeX document")
    (description
     "The @code{bundledoc} package is a post-processor for the snapshot
package that bundles together all the classes, packages and files needed to
build a given LaTeX document.  It reads the @file{.dep} file that snapshot
produces, finds each of the files mentioned therein, and archives them into
a single @file{.tar.gz} (or @file{.zip}, or whatever) file, suitable for
moving across systems, transmitting to a colleague, etc.  A script,
@command{arlatex}, provides an alternative archiving mechanism, creating
a single LaTeX file that contains all of the ancillary files of a LaTeX
document, together with the document itself, using the @code{filecontents*}
environment.")
    (license license:lppl1.3c)))

(define-public texlive-checklistings
  (package
    (name "texlive-checklistings")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/checklistings/"
                                     "scripts/checklistings/"
                                     "source/latex/checklistings/"
                                     "tex/latex/checklistings/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ggq4i7nfx6ijqikgr48qgaaf7rd9h4a834gwsz8dv5f0zmgg1za"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "checklistings.sh")))
    (home-page "https://ctan.org/pkg/checklistings")
    (synopsis
     "Pass verbatim contents through a compiler and reincorporate the resulting output")
    (description
     "This package augments the @code{fancyvrb} and @code{listings} packages
to allow the source code they contain to be checked by an external tool (like
a compiler).  The external tool's messages can be automatically reincorporated
into the original document.  The package does not focus on a specific
programming language, but it is designed to work well with languages and
compilers in the ML family.")
    (license license:lppl1.2+)))

(define-public texlive-chklref
  (package
    (name "texlive-chklref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/chklref.1"
                                     "doc/man/man1/chklref.man1.pdf"
                                     "doc/support/chklref/" "scripts/chklref/"
                                     "tex/latex/chklref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1namyi035gqhvldplj0yzfkgxq91zrifqxhsf32jgxhjgcbbal6g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "chklref.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/chklref")
    (synopsis "Check for problems with labels in LaTeX")
    (description
     "It is quite common that after modifying a TeX file, many unused labels
remain in it.  The purpose of chklref is to automatically find these useless
labels.  It also looks for non starred mathematical environments with no
labels and advises the user to use a starred version instead.")
    (license license:gpl3)))

(define-public texlive-chktex
  (package
    (name "texlive-chktex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "chktex/"
                                     "doc/chktex/"
                                     "doc/man/man1/chktex.1"
                                     "doc/man/man1/chktex.man1.pdf"
                                     "doc/man/man1/chkweb.1"
                                     "doc/man/man1/chkweb.man1.pdf"
                                     "doc/man/man1/deweb.1"
                                     "doc/man/man1/deweb.man1.pdf"
                                     "scripts/chktex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vskxbrlhm5sd5jlyqszsf747fmi082ss8iy0ia1m4plmszcvvpn"))))
    (outputs '("out" "doc"))
    (properties '((updater-ignored-inputs "perl"))) ;in "-bin" already
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-chktex-bin))
    (home-page "https://ctan.org/pkg/chktex")
    (synopsis "Check for errors in LaTeX documents")
    (description
     "The program reports typographic and other errors in LaTeX documents.
Filters are also provided for checking the LaTeX parts of CWEB documents.")
    (license license:gpl2+)))

(define-public texlive-chktex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-chktex-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("chktex"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-chktex" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (add-after 'unpack 'locate-global-configuration-file
              ;; `chktex' needs to know where its global configuration file is.
              ;; However, it cannot understand our convoluted TEXMFMAIN value.
              ;; This phase forces configuration file name.
              (lambda _
                (substitute* "texk/chktex/chktex-src/OpSys.c"
                  (("kpse_var_value\\(\"TEXMFMAIN\"\\)")
                   (string-append "strdup(\"" #$output "/share/texmf-dist\")")))))
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/chktex"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/chktex"
                  (invoke "make" "install"))))
            ;; Compilation forces a "/usr/bin/env perl" shebang.  Change it.
            (add-after 'install 'patch-shebang
              (lambda _
                (patch-shebang
                 (string-append #$output
                                "/share/texmf-dist/scripts/chktex/deweb.pl"))))))))
    (native-inputs (list pkg-config))
    (inputs (list perl texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-chktex))
    (synopsis "Binaries for @code{texlive-chktex}")
    (description
     "This package provides the binaries for @code{texlive-chktex}.")
    (license (package-license texlive-chktex))))

(define-public texlive-clojure-pamphlet
  (package
    (name "texlive-clojure-pamphlet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pamphletangler.1"
                                     "doc/man/man1/pamphletangler.man1.pdf"
                                     "doc/support/clojure-pamphlet/"
                                     "scripts/clojure-pamphlet/"
                                     "source/support/clojure-pamphlet/"
                                     "tex/latex/clojure-pamphlet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dadr9wg7fa2vb6qkzqghrwmnns8jf4la1gb837a59jz2lh8955h"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pamphletangler")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/clojure-pamphlet")
    (synopsis "Literate programming tool based on Clojure's Pamphlet system")
    (description
     "The Clojure pamphlet system is a system based on the Clojure literate
system.  In the Clojure's pamphlet system you have your main LaTeX file, which
can be compiled regularly.  This file contains documentation and source
code (just like in other forms of literate programming).  These code snippets
are wrapped in the @code{chunk} environment, hence they can be recognized by
the tangler in order to extract them.  Chunks can be included inside each
other by the @code{getchunk} command (which will be typesetted accordingly).
Finally, the LaTeX file will be run through the tangler to get the desired
chunk of code.")
    (license license:gpl3+)))

(define-public texlive-cluttex
  (package
    (name "texlive-cluttex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/cllualatex.1"
                                     "doc/man/man1/cllualatex.man1.pdf"
                                     "doc/man/man1/cluttex.1"
                                     "doc/man/man1/cluttex.man1.pdf"
                                     "doc/man/man1/clxelatex.1"
                                     "doc/man/man1/clxelatex.man1.pdf"
                                     "doc/support/cluttex/"
                                     "scripts/cluttex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k2142c0j2h9vri211b3gy2azl9yxnribv5kg69yi5q9bfvz6bnh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "cluttex.lua")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'link-scripts 'add-symlink
                 (lambda _
                   (with-directory-excursion (string-append #$output "/bin")
                     (for-each (lambda (link) (symlink "cluttex" link))
                               '("cllualatex" "clxelatex"))))))))
    (home-page "https://ctan.org/pkg/cluttex")
    (synopsis "Automation tool for running LaTeX")
    (description
     "This is another tool for the automation of LaTeX document processing,
like @command{latexmk} or @command{arara}.  The main feature of this tool is
that it does not clutter your working directory with @file{.aux} or
@file{.log} or other auxiliary files.  It has of course the usual features of
automation tools.  It automatically re-runs (La)TeX for cross-references.
MakeIndex, BibTeX, Biber, or @command{makeglossaries} will be executed if
a corresponding option is set.  Furthermore, @command{cluttex} can watch input
files for changes (using an external program).")
    (license license:gpl3+)))

(define-public texlive-components
  (package
    (name "texlive-components")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/components/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04yg9hq0wcyi1ag9y9m2fnf5h3n4fdykiwljgpw0kyc73bfyhq1m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/components")
    (synopsis "Introduction to TeX components and files")
    (description
     "This package is an introduction to the components and files users of TeX
may encounter.")
    (license license:gpl3+)))

(define-public texlive-comprehensive
  (package
    (name "texlive-comprehensive")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/comprehensive/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cmw36bn6pjb6ajlrg2yz5imkrxihzzdkh56xwdk2abwzaqn09q6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/comprehensive")
    (synopsis "Symbols accessible from LaTeX")
    (description
     "This package document the symbols accessible from LaTeX.  Over 18000
symbols are listed as a set of tables.  The tables of symbols are ordered in
a logical way (the document begins with a frequently requested symbols list),
the aim being to make the document a convenient way of looking up symbols.")
    (license license:lppl1.3+)))

(define-public texlive-ctan-o-mat
  (package
    (name "texlive-ctan-o-mat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/ctan-o-mat.1"
                                     "doc/man/man1/ctan-o-mat.man1.pdf"
                                     "doc/support/ctan-o-mat/"
                                     "scripts/ctan-o-mat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pm95xh3ji2sgdy243nbnzxsg2p4xpl3pymkm5yg2fn3nzgwgnaf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ctan-o-mat.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/ctan-o-mat")
    (synopsis "Upload or validate a package for CTAN")
    (description
     "This program can be used to automate the upload of a package to CTAN.
The description of the package is contained in a configuration file.  The
provided information is validated in any case.  If the validation succeeds and
not only the validation is requested, then the provided archive file will be
placed in the incoming area of the CTAN for further processing by the CTAN
team.  In any case any finding during the validation is reported at the end of
the processing.  Note that the validation is the default and an official
submission has to be requested by an appropriate command line option.")
    (license license:bsd-3)))

(define-public texlive-ctan-chk
  (package
    (name "texlive-ctan-chk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/ctan_chk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09ngqgs08q8bld334jrzhnd558lv7fajfppmfrkp4kv9hc5iyz9a"))))
    (outputs '("out" "doc"))
    (properties '((upstream-name . "ctan_chk")))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ctan_chk")
    (synopsis "CTAN guidelines verifier and corrector for uploading projects")
    (description
     "@code{ctan_chk} is a basic Gawk program that uses CTAN's published
guidelines for authors to help eliminate sloppiness in uploaded
files/projects.  It is completely open for users to program additional
guidelines as well as CTAN's future adjustments.")
    (license license:gpl3)))

(define-public texlive-ctanbib
  (package
    (name "texlive-ctanbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/ctanbib.1"
                                     "doc/man/man1/ctanbib.man1.pdf"
                                     "doc/support/ctanbib/" "scripts/ctanbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kmgs65xl0np02mrd4snvr6s0l5igr6laq5x6vbhsi7sqdr67xqs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ctanbib")))
    (home-page "https://ctan.org/pkg/ctanbib")
    (synopsis "Export CTAN entries to bib format")
    (description
     "This package provides a Lua script which can be used for retrieving
bibliographic information in BibLaTeX format for packages hosted on CTAN.  The
@command{ctanbib} script depends only on LuaXML.")
    (license license:lppl1.3+)))

(define-public texlive-ctanify
  (package
    (name "texlive-ctanify")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ctanify/"
                                     "doc/man/man1/ctanify.1"
                                     "doc/man/man1/ctanify.man1.pdf"
                                     "scripts/ctanify/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m6gldzm0sm4j7v2kkrpqikx004sqdq0f2gw13gc8ccqzl745cjw"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ctanify")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/ctanify")
    (synopsis "Prepare a package for upload to CTAN")
    (description
     "Given a list of filenames, @command{ctanify} creates a tarball (a
@file{.tar.gz} file) with the files laid out in CTAN's preferred structure.
By default this tarball additionally contains a ZIP file with copies of all
files laid out in the standard TeX Directory Structure (TDS), which may be
used by those intending to install the package, or by those who need to
incorporate it in a distribution.")
    (license license:lppl1.3c)))

(define-public texlive-ctanupload
  (package
    (name "texlive-ctanupload")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/ctanupload/"
                                     "scripts/ctanupload/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w4k9sslhnpn5l90wbr7cr7pv8fhiiabasbi6l6gw3w3nrfmarh4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ctanupload.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/ctanupload")
    (synopsis "Support for users uploading to CTAN")
    (description
     "The package provides a Perl script that allows the uploads of
a contribution to CTAN from the command line.  The aim is to simplify the
release process for LaTeX package authors.  Note by the CTAN
team (2015-02-05): It seems that this script is currently not working.")
    (license license:gpl3)))

(define-public texlive-ctex
  (package
    (name "texlive-ctex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ctex/" "source/latex/ctex/"
                                     "tex/generic/ctex/" "tex/latex/ctex/"
                                     "tex/luatex/ctex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17zyr0cyxvp91832q35ha3qabdzh4njh96yvp4gfkkfkkszqp3jh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     ;; FIXME: I couldn't find how to build this package from source.
     (list #:phases #~(modify-phases %standard-phases (delete 'build))))
    (propagated-inputs
     (list texlive-adobemapping
           texlive-atbegshi
           texlive-beamer
           texlive-cjk
           texlive-cjkpunct
           texlive-ec
           texlive-epstopdf-pkg
           texlive-etoolbox
           texlive-everyhook
           texlive-fandol
           texlive-fontspec
           texlive-iftex
           texlive-infwarerr
           texlive-kvoptions
           texlive-kvsetkeys
           texlive-latex-bin
           texlive-ltxcmds
           texlive-luatexja
           texlive-mptopdf
           texlive-ms
           texlive-pdftexcmds
           texlive-platex-tools
           texlive-svn-prov
           texlive-tipa
           texlive-tools
           texlive-ttfutils
           texlive-ulem
           texlive-uplatex
           texlive-xcjk2uni
           texlive-xecjk
           texlive-xetex
           texlive-xkeyval
           texlive-xpinyin
           texlive-xunicode
           texlive-zhmetrics
           texlive-zhmetrics-uptex
           texlive-zhnumber))
    (home-page "https://ctan.org/pkg/ctex")
    (synopsis "LaTeX classes and packages for Chinese typesetting")
    (description
     "CTeX is a collection of macro packages and document classes for LaTeX
Chinese typesetting.")
    (license license:lppl1.3c)))

(define-public texlive-ctex-faq
  (package
    (name "texlive-ctex-faq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ctex-faq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15c0g0x8w7vm3hyn6lk60jf66akyfcq6x8jc2lnbjx8ydwgb26br"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ctex-faq")
    (synopsis "LaTeX FAQ by the Chinese TeX Society (ctex.org)")
    (description
     "This is the LaTeX FAQ by the Chinese TeX Society.  Most questions were
collected on the @url{bbs.ctex.org} forum, and were answered in detail by the
author.")
    (license license:fdl1.3+)))

(define-public texlive-ctib
  (package
    (name "texlive-ctib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ctib/"
                                     "fonts/source/public/ctib/"
                                     "fonts/tfm/public/ctib/"
                                     "source/latex/ctib/" "tex/latex/ctib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qvh0icrijcsyi3kvzkp890qjx7j9axv9yzzfa1paivyfp33aijn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/ctib4tex")
    (synopsis "Tibetan for TeX and LaTeX2e")
    (description
     "This LaTeX package uses a modified version of Sirlin's Tibetan font.  An
advantage of this Tibetan implementation is that all consonant clusters are
formed by TeX and Metafont.  No external preprocessor is needed.")
    (license license:gpl3+)))

(define-public texlive-ctie
  (package
    (name "texlive-ctie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/ctie.1"
                                     "doc/man/man1/ctie.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xnb6qdi7bvlb78s6vbv4f03b37arp2ldics6mrshqlpfm9rj72f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-kpathsea))
    (home-page "https://ctan.org/pkg/ctie")
    (synopsis "C version of @code{tie} (merging Web change files)")
    (description
     "This is a version of @code{tie} converted for use with Cweb.")
    (license license:gpl3+)))

(define-public texlive-de-macro
  (package
    (name "texlive-de-macro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/de-macro/" "scripts/de-macro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hbia43gzwj0lb9c9k8fh9w04mmvz0jwwdm15kp59v95v4n5svmr"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "python")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "de-macro")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/de-macro")
    (synopsis "Expand private macros in a document")
    (description
     "De-macro is a Python script that helps authors who like to use private
LaTeX macros (for example, as abbreviations).  A technical editor or
a cooperating author may balk at such a manuscript; you can avoid manuscript
rejection misery by running de-macro on it.  De-macro will expand macros
defined in @code{\\(re)newcommand} or @code{\\(re)newenvironment} commands,
within the document, or in the document's private package file.")
    (license license:afl2.1)))

(define-public texlive-detex
  (package
    (name "texlive-detex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/detex.1"
                                     "doc/man/man1/detex.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vs9agbdyhq9wm1c9nd7wwnhnpvdzjh5msbmhn3xyyq45ylqvbwf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-detex-bin))
    (home-page "https://ctan.org/pkg/detex")
    (synopsis "Strip TeX from a source file")
    (description
     "Detex is a program to remove TeX constructs from a text file.  It
recognizes the @code{\\input} command.  The program assumes it is dealing with
LaTeX input if it sees the string @code{\\begin@{document@}} in the text.  In
this case, it also recognizes the @code{\\include} and @code{\\includeonly}
commands.  The author now considers this program to be obsolete and Piotr
Kubowicz's OpenDetex as its successor.")
    (license license:bsd-3)))

(define-public texlive-detex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-detex-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("detex"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-detex" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/detex"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/detex"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-detex))
    (synopsis "Binary for @code{texlive-detex}")
    (description
     "This package provides the binary for @code{texlive-detex}.")
    (license (package-license texlive-detex))))

(define-public texlive-digestif
  (package
    (name "texlive-digestif")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/digestif/" "scripts/digestif/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s7nmbjxpa6klmh0cc6g4s6vd9wmlv4dxp51xb4b872hrj510zbi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "digestif.texlua")
                     #:phases
                     #~(modify-phases %standard-phases
                         (add-after 'unpack 'fix-data-path
                           (lambda _
                             (substitute* "scripts/digestif/digestif.texlua"
                               (("(local archive = )(.*)$" all beginning end)
                                (string-append beginning "\"" #$output
                                               "/share/texmf-dist/scripts/digestif/digestif.zip\""
                                               "\n"))))))))
    (home-page "https://ctan.org/pkg/digestif")
    (synopsis "Editor plugin for LaTeX, ConTeXt etc.")
    (description
     "Digestif is a code analyzer, and a language server, for LaTeX, plain TeX,
ConTeXt and Texinfo.  It provides context-sensitive completion, documentation,
code navigation, and related functionality to any text editor that speaks the
LSP protocol.")
    (license (list license:gpl3+ license:lppl1.3+ license:fdl1.3+))))

(define-public texlive-dickimaw
  (package
    (name "texlive-dickimaw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dickimaw/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mxjqn4lblnpbmad3jk453lyx1qzcmrddis59j3jsgc5sp929w4k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dickimaw")
    (synopsis "Books and tutorials from the @emph{Dickimaw LaTeX Series}")
    (description
     "The package provides some of the books and tutorials that form part of
the @code{Dickimaw LaTeX Series}.  Only the A4 PDF of each book is detailed
here.  Other formats, such as HTML or screen optimized PDF, are available from
the package home page.

Books included are:
@itemize
@item @emph{LaTeX for Complete Novices},
@item @emph{Using LaTeX to Write a PhD thesis},
@item @emph{Creating a LaTeX minimal example}.
@end itemize")
    (license license:fdl1.3+)))

(define-public texlive-docsurvey
  (package
    (name "texlive-docsurvey")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/docsurvey/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pf5h9fy9akgc2cznvx32nzhxfx5c22dzr4ki23h4w7v7iivsw68"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/docsurvey")
    (synopsis "Survey of LaTeX documentation")
    (description
     "This package provides a survey of programming-related documentation for
LaTeX.  Included are references to printed and electronic books and manuals,
symbol lists, FAQs, the LaTeX source code, CTAN and distributions,
programming-related packages, users groups and online communities, and
information on creating packages and documentation.")
    (license license:lppl1.3+)))

(define-public texlive-dtl
  (package
    (name "texlive-dtl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dt2dv.1"
                                     "doc/man/man1/dt2dv.man1.pdf"
                                     "doc/man/man1/dv2dt.1"
                                     "doc/man/man1/dv2dt.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kvnsr8nxrys99rp74wlxnisfripx6jpjjkqy38d3d4gw13cvb5g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dtl-bin))
    (home-page "https://ctan.org/pkg/dtl")
    (synopsis "Tools to dis-assemble and re-assemble DVI files")
    (description
     "DTL (DVI Text Language) is a means of expressing the content of a DVI file,
which is readily readable by humans.  The DTL bundle contains an assembler
@command{dt2dv}, which produces DVI files from DTL files, and a disassembler
@command{dv2dt}, which produces DTL files from DVI files.")
    (license license:public-domain)))

(define-public texlive-dtl-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dtl-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("dtl"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dtl" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dtl"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dtl"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dtl))
    (synopsis "Binaries for @code{texlive-dtl}")
    (description
     "This package provides the binaries for @code{texlive-dtl}.")
    (license (package-license texlive-dtl))))

(define-public texlive-dtxgen
  (package
    (name "texlive-dtxgen")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/dtxgen/" "scripts/dtxgen/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j1j136p4ddjlmwmhwlpmsxqpx2ixhhssfsl8l49lds80ad4y98m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "dtxgen")))
    (home-page "https://ctan.org/pkg/dtxgen")
    (synopsis "Creates a template for a self-extracting @file{.dtx} file")
    (description
     "The Bash script dtxgen creates a template for a self-extracting
@file{.dtx} file.  It is useful for those who plan to create a new documented
LaTeX source (.dtx) file.")
    (license license:gpl3+)))

(define-public texlive-dtxtut
  (package
    (name "texlive-dtxtut")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dtxtut/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zk09qdz661g1lnn2qr1s23h3x4mi7q8mdcl13p19k7qmnlc8v5d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dtxtut")
    (synopsis "Tutorial on writing @file{.dtx} and @file{.ins} files")
    (description
     "This tutorial is intended for advanced LaTeX2e users who want to learn
how to create @file{.ins} and @file{.dtx} files for distributing their
homebrewed classes and package files.")
    (license license:lppl1.3+)))

(define-public texlive-dvi2tty
  (package
    (name "texlive-dvi2tty")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/disdvi.1"
                                     "doc/man/man1/disdvi.man1.pdf"
                                     "doc/man/man1/dvi2tty.1"
                                     "doc/man/man1/dvi2tty.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "108y0qxh13x0iivgsvkk4370f471p03nyl4x9nn7lng1wrsafp6h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dvi2tty-bin))
    (home-page "https://ctan.org/pkg/dvi2tty")
    (synopsis "Produce ASCII from DVI")
    (description
     "This package provides a DVI driver to produce an ASCII representation of
the document.")
    (license license:gpl2)))

(define-public texlive-dvi2tty-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dvi2tty-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("dvi2tty"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dvi2tty" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dvi2tty"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dvi2tty"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea texlive-libptexenc))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dvi2tty))
    (synopsis "Binaries for @code{texlive-dvi2tty}")
    (description
     "This package provides the binaries for @code{texlive-dvi2tty}.")
    (license (package-license texlive-dvi2tty))))

(define-public texlive-dviasm
  (package
    (name "texlive-dviasm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dviasm/" "doc/man/man1/dviasm.1"
                                     "doc/man/man1/dviasm.man1.pdf"
                                     "scripts/dviasm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18rzkq231rnbfsi3x4ymlbbgz8zacryax8rdan9m8whl4d7lzymq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "dviasm.py")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/dviasm")
    (synopsis "Utility for editing DVI files")
    (description
     "This package provides a Python script to support changing or creating
DVI files via disassembling into text, editing, and then reassembling into
binary format.  It supports advanced features such as adding a preprint number
or watermarks.")
    (license license:gpl3+)))

(define-public texlive-dvicopy
  (package
    (name "texlive-dvicopy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dvicopy.1"
                                     "doc/man/man1/dvicopy.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01ccirjsm7mpyyyqf5sra3vfd7p1cg2kyzwkx08az8ijb7ysvvv8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dvicopy-bin))
    (home-page "https://ctan.org/pkg/dvicopy")
    (synopsis "Copy DVI files, flattening VFs")
    (description
     "@command{dvicopy} is a utility program that allows one to take a DVI
file that references composite fonts (VF) and convert it into a DVI file that
does not contain such references.  It also serves as a basis for writing DVI
drivers (much like DVItype).")
    (license license:gpl3+)))

(define-public texlive-dvicopy-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dvicopy-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(delete "--enable-web2c" #$flags))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (invoke "make" "dvicopy")
                  (install-file "dvicopy"
                                (string-append #$output "/bin")))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-dvicopy))
    (synopsis "Binary for @code{texlive-dvicopy}")
    (description
     "This package provides the binary for @code{texlive-dvicopy}.")
    (license (package-license texlive-dvicopy))))

(define-public texlive-dvidvi
  (package
    (name "texlive-dvidvi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dvidvi.1"
                                     "doc/man/man1/dvidvi.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w153rqm7nlmcf6162glxz282nbb6b6hjf5h0p7mbzr0j1357sxj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dvidvi-bin))
    (home-page "https://ctan.org/pkg/dvidvi")
    (synopsis "Convert one DVI file into another")
    (description
     "This @command{dvidvi} converts one DVI file into another.  The output
DVI file's contents are specified by page selection commands; series of pages
and page number ranges may be specified, as well as inclusions and
exclusions.")
    ;; Its author stated the program is to be used under the GPL.  See
    ;; <https://metadata.ftp-master.debian.org/changelogs//main/d/dvidvi/dvidvi_1.0-8.2_copyright>.
    (license license:gpl3)))

(define-public texlive-dvidvi-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dvidvi-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("dvidvi"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dvidvi" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dvidvi"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dvidvi"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dvidvi))
    (synopsis "Binary for @code{texlive-dvidvi}")
    (description
     "This package provides the binary for @code{texlive-dvidvi}.")
    (license (package-license texlive-dvidvi))))

(define-public texlive-dviinfox
  (package
    (name "texlive-dviinfox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dviinfox/" "scripts/dviinfox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rc662dllanawrlz2r0pnisl6zzc7c3bivsqy72iq87a92cq8kml"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "dviinfox.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/dviinfox")
    (synopsis "Perl script to print DVI meta information")
    (description
     "The package provides a Perl script which prints information about a DVI
file.  It also supports XeTeX XDV format.")
    (license license:expat)))

(define-public texlive-dviljk
  (package
    (name "texlive-dviljk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dvihp.1"
                                     "doc/man/man1/dvihp.man1.pdf"
                                     "doc/man/man1/dvilj.1"
                                     "doc/man/man1/dvilj.man1.pdf"
                                     "doc/man/man1/dvilj2p.1"
                                     "doc/man/man1/dvilj2p.man1.pdf"
                                     "doc/man/man1/dvilj4.1"
                                     "doc/man/man1/dvilj4.man1.pdf"
                                     "doc/man/man1/dvilj4l.1"
                                     "doc/man/man1/dvilj4l.man1.pdf"
                                     "doc/man/man1/dvilj6.1"
                                     "doc/man/man1/dvilj6.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03pi78c8ghy2gghzk1ffrvf5x7h8c1r0pv5pcspwxz365x2rsbjw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dviljk-bin))
    (home-page "https://ctan.org/pkg/dviljk")
    (synopsis "DVI to Laserjet output")
    (description
     "This package provides a DVI driver for the LaserJet printers, using
@command{kpathsea} recursive file searching.")
    (license license:gpl3+)))

(define-public texlive-dviljk-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dviljk-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("dviljk"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dviljk" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dviljk"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dviljk"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dviljk))
    (synopsis "Binary for @code{texlive-dviljk}")
    (description
     "This package provides the binary for @code{texlive-dviljk}.")
    (license (package-license texlive-dviljk))))

(define-public texlive-dviout-util
  (package
    (name "texlive-dviout-util")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/chkdvifont.1"
                                     "doc/man/man1/chkdvifont.man1.pdf"
                                     "doc/man/man1/dvispc.1"
                                     "doc/man/man1/dvispc.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "098pksgf2iamq96rmzg5fw7i9dlpvdksficsz1bf8k8z4djnbk8n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dviout-util-bin))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Utilities from the @code{dviout} package")
    (description
     "This package provides two utilities: @command{chkdvifont}, which check
fonts in DVI/TFM/JFM/FONT files, and @command{dvispc}, which corrects the
page-independence of DVI file using color specials or tpic specials, and
transforms between a DVI file and a text file.")
    (license license:expat)))

(define-public texlive-dviout-util-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dviout-util-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("dviout-util" "tests"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dviout-util" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dviout-util"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dviout-util"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea texlive-libptexenc))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dviout-util))
    (synopsis "Binary for @code{texlive-dviout-util}")
    (description
     "This package provides the binary for @code{texlive-dviout-util}.")
    (license (package-license texlive-dviout-util))))

(define-public texlive-dvipng
  (package
    (name "texlive-dvipng")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/dvipng/"
                                     "doc/info/dvipng.info"
                                     "doc/man/man1/dvigif.1"
                                     "doc/man/man1/dvigif.man1.pdf"
                                     "doc/man/man1/dvipng.1"
                                     "doc/man/man1/dvipng.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0454xscpjh33d5qcyiirk79y4zwpfzh4rxvgmzbd4qp1h1anjnjm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dvipng-bin))
    (home-page "https://ctan.org/pkg/dvipng")
    (synopsis "DVI to PNG/GIF converter")
    (description
     "This program makes PNG and/or GIF graphics from DVI files as obtained
from TeX and its relatives.  It offers very fast rendering of DVI as bitmap
files, which makes it suitable for generating large amounts of images
on-the-fly, as needed in @code{preview-latex}, WeBWorK and others.  It does
not read the postamble, so it can be started before TeX finishes.")
    (license license:lgpl3)))

(define-public texlive-dvipng-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dvipng-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '("xpdf"))
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("dvipng"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dvipng" (delete "--disable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dvipng"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dvipng"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs
     (list freetype
           gd
           graphite2
           harfbuzz
           icu4c
           libpng
           potrace
           texlive-libkpathsea
           zziplib))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dvipng))
    (synopsis "Binaries for @code{texlive-dvipng}")
    (description
     "This package provides the binaries for @code{texlive-dvipng}.")
    (license (package-license texlive-dvipng))))

(define-public texlive-dvipos
  (package
    (name "texlive-dvipos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dvipos.1"
                                     "doc/man/man1/dvipos.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dmaas4m9y4px53vlg0jr73xviki338fm2n176l8ldwqj0vvq1b8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dvipos-bin))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support DVI @samp{pos:} specials used by ConTeXt DVI output")
    (description
     "@command{dvipos} parses a DVI file looking for @samp{pos:} specials.
It then outputs the information from those specials along with information
that only a DVI postprocessor could determine, such as the current @samp{x}
and @samp{y} location.")
    (license license:gpl2+)))

(define-public texlive-dvipos-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dvipos-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("dvipos"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dvipos" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dvipos"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dvipos"
                  (invoke "make" "install"))))))))
    (home-page (package-home-page texlive-dvipos))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (synopsis "Binary for @code{texlive-dvipos}")
    (description
     "This package provides the binary for @code{texlive-dvipos}.")
    (license (package-license texlive-dvipos))))

(define-public texlive-dvipsconfig
  (package
    (name "texlive-dvipsconfig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/dvipsconfig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02vgk91y80ch4pkj83vbiz1b2ccigf152hm83p607y4n4qn2xzsf"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dvipsconfig")
    (synopsis "Collection of dvips PostScript headers")
    (description
     "This is a collection of dvips PostScript header and dvips config files.
They control certain features of the printer, including: A4, A3, usletter,
simplex, duplex / long edge, duplex / short edge, screen frequencies of
images, black/white invers, select transparency / paper for tektronix 550/560,
manual feeder, envelope feeder, and tray 1, 2 and 3, and printing a PostScript
grid underneath the page material--very useful for measuring and eliminating
paper feed errors!")
    (license license:gpl3+)))

(define-public texlive-dvisvgm
  (package
    (name "texlive-dvisvgm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dvisvgm.1"
                                     "doc/man/man1/dvisvgm.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pm3m0x25956lk1k99479gc5dn6w4bqp0ibgihn2y5gjpma75civ"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dvisvgm-bin))
    (home-page "https://ctan.org/pkg/dvisvgm")
    (synopsis
     "Convert DVI, EPS, and PDF files to Scalable Vector Graphics format (SVG)")
    (description
     "Dvisvgm is a command line utility that converts TeX DVI as well as EPS
and PDF files to the XML-based Scalable Vector Graphics (SVG) format.  It
provides full font support including virtual fonts, font maps, and sub-fonts.
If necessary, @command{dvisvgm} vectorizes Metafont's bitmap output in order
to always create lossless scalable output.  The embedded SVG fonts can
optionally be replaced with graphics paths so that applications that do not
support SVG fonts are enabled to render the graphics properly.")
    (license license:gpl3+)))

(define-public texlive-dvisvgm-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dvisvgm-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs with-files?)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append '("." "..") dirs)))
                              (or with-files?
                                  (eq? 'directory (stat:type (stat file))))))))))))
            (delete-other-directories "libs" '() #f)
            (delete-other-directories "utils" '() #f)
            ;; TODO: Unbundle stuff in texk/dvisvgm/dvisvgm-src/libs too.
            (delete-other-directories "texk" '("dvipsk" "dvisvgm") #f)
            ;; Test data is spread across multiple directories, which need to
            ;; be preserved.
            (delete-other-directories "texk/dvipsk" '("testdata") #t)))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dvisvgm" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            ;; XXX: Ghostscript is detected, but HAVE_LIBGS is never set, so
            ;; the appropriate linker flags are not added.
            (add-after 'unpack 'patch-dvisvgm-build-files
              (lambda _
                (substitute* "texk/dvisvgm/configure"
                  (("^have_libgs=yes" all)
                   (string-append all "\nHAVE_LIBGS=1")))))
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dvisvgm"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dvisvgm"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs
     (list brotli
           clipper
           freetype
           ghostscript
           openssl
           potrace
           texlive-libkpathsea
           woff2
           xxhash
           zlib))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dvisvgm))
    (synopsis "Binary for @code{texlive-dvisvgm}")
    (description
     "This package provides the binary for @code{texlive-dvisvgm}.")
    (license (package-license texlive-dvisvgm))))

(define-public texlive-ebong
  (package
    (name "texlive-ebong")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ebong/" "scripts/ebong/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n177627hdsa5fv64irxq8dlxbc2yxk604ifgpjvdx5ww41451k9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ebong.py")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/ebong")
    (synopsis "Utility for writing Bengali in Rapid Roman Format")
    (description
     "This package provides a tool (preprocessor) for writing your
@code{pRaa-ne-r} ka-thaa in the Bengali langauage.  It allows one to write the
text in Rapid Roman Bangla and convert it to the BangTeX format by a Python
program.  All LaTeX markups are preserved in the target file.")
    (license license:public-domain)))

(define-public texlive-eijkhout
  (package
    (name "texlive-eijkhout")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/eijkhout/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00y3y01jpgzww1x6zjh748hpvizlrbgrv04p8aq3cm2pzs0g17qk"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eijkhout")
    (synopsis "Victor Eijkhout's packages")
    (description
     "The package provides three unrelated tools: @code{DB_process}, to parse
and process database output; @code{CD_labeler}, to typeset user text to fit on
a CD label; and @code{repeat}, a nestable, generic loop macro.")
    (license
     (list license:gpl2+                ;CD_labeler and DB_process.tex
           license:lppl))))             ;repeat.tex

(define-public texlive-encxvlna
  (package
    (name "texlive-encxvlna")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/encxvlna/"
                                     "tex/latex/encxvlna/" "tex/plain/encxvlna/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01lgh560xhn56k5pps65lq9c5rn0kbrcfvqfikrqq83g3n7k2p8v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/encxvlna")
    (synopsis "Insert nonbreakable spaces, using encTeX")
    (description
     "The package provides tools for inserting nonbreakable spaces after
nonsyllabic prepositions and single letter conjunctions as required by Czech
and Slovak typographical rules.  It is implemented using encTeX and provides
files both for plain TeX and LaTeX.")
    (license license:lppl)))

(define-public texlive-epigram
  (package
    (name "texlive-epigram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/epigram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zps5067mgi7xq3fpjvjln8i0rz53j7qn660khraq8ribv4glnpf"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/epigram")
    (synopsis "Display short quotations")
    (description
     "The package determines (on the basis of the width of the text of the
epigram, laid out on a single line) whether to produce a line or a displayed
paragraph.")
    (license license:public-domain)))

(define-public texlive-epsf-dvipdfmx
  (package
    (name "texlive-epsf-dvipdfmx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/epsf-dvipdfmx/"
                                     "tex/plain/epsf-dvipdfmx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xj4hag3nldxxjcpympvra5cdn19nk76af9dxq07ci585gcki3x5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/epsf-dvipdfmx")
    (synopsis "Plain TeX file for using epsf.tex with (x)dvipdfmx")
    (description
     "@file{epsf-dvipdfmx.tex} is a plain TeX file to be @code{\\input} after
@file{epsf.tex} when using plain TeX with @code{dvipdfmx}.  It is needed when
an @file{.eps} file has anything except the origin for the lower-left of its
bounding box.")
    (license license:public-domain)))

(define-public texlive-ethiop
  (package
    (name "texlive-ethiop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ethiop/"
                                     "fonts/ofm/public/ethiop/"
                                     "fonts/ovf/public/ethiop/"
                                     "fonts/ovp/public/ethiop/"
                                     "fonts/source/public/ethiop/"
                                     "fonts/tfm/public/ethiop/"
                                     "omega/ocp/ethiop/"
                                     "omega/otp/ethiop/"
                                     "source/latex/ethiop/"
                                     "tex/latex/ethiop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1852g96rjyrsky7mpfwlxgip11qmk800xcmqccs8cv51f5342qlq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/ethiop")
    (synopsis "LaTeX macros and fonts for typesetting Amharic")
    (description
     "This package provides Ethiopian language support for the Babel package,
including a collection of fonts and TeX macros for typesetting the characters
of the languages of Ethiopia, with Metafont fonts based on EthTeX's.  The
macros use the Babel framework.")
    (license license:gpl3+)))

(define-public texlive-ethiop-t1
  (package
    (name "texlive-ethiop-t1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ethiop-t1/"
                                     "fonts/map/dvips/ethiop-t1/"
                                     "fonts/type1/public/ethiop-t1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19n6i61db88nhhkq9gg3gfr3sgpaf1ylr41l0xdhpfkn71y7par1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ethiop-t1")
    (synopsis "Type 1 versions of Amharic fonts")
    (description
     "These fonts provided in this package are drop-in Adobe type
1 replacements for the fonts of the @code{ethiop} package.")
    (license license:gpl3+)))

(define-public texlive-expex-acro
  (package
    (name "texlive-expex-acro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/expex-acro/"
                                     "source/generic/expex-acro/"
                                     "tex/generic/expex-acro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g662axz3qklsmrgi1ndp8v7w7vkdxanydijf5rhydabh8224az8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/expex-acro")
    (synopsis "Wrapper for the expex package")
    (description
     "This is a small wrapper for the @code{expex} package, adding ways to
define, use, and summarize glossing abbreviations.  It also provides commands
to refer to examples, as well as some inline formatting commands commonly used
in linguistics.")
    (license license:lppl1.3+)))

(define-public texlive-expkv-bundle
  (package
    (name "texlive-expkv-bundle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/expkv-bundle/"
                                     "source/latex/expkv-bundle/"
                                     "tex/context/third/expkv-bundle/"
                                     "tex/generic/expkv-bundle/"
                                     "tex/latex/expkv-bundle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09ijb71w69bnhi38i8z2bnv8d4r4sdg337v61yi66y94z8d9iid9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/expkv-bundle")
    (synopsis "Expandable @samp{key=val} implementation and friends")
    (description
     "This is a collection of different packages that provide @samp{key=value}
functionality in plainTeX, LaTeX, and ConTeXt.

At the core, the @code{expkv} package implements two expandable
@samp{key=value} parsers that are somewhat fast and robust against common bugs
in many key=value implementations (no accidental brace stripping, no fragility
for active commas or equals signs).

@code{expkv-cs} enables users to define expandable @samp{key=value} macros in
a comfortable and straightforward way.

@code{expkv-def} provides an interface to define common key types for
@code{expkv} similar to the key defining interfaces of widespread
@samp{key=value} implementations.

@code{expkv-opt} allows to parse package or class options in LaTeX via
@code{expkv}.

@code{expkv-pop} is a utility package to define prefix oriented parsers that
allow a somewhat natural formulation.")
    (license license:lppl1.3c)))

(define-public texlive-fc
  (package
    (name "texlive-fc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fc/" "fonts/source/jknappen/fc/"
                                     "fonts/tfm/jknappen/fc/" "tex/latex/fc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v0r8jcr1lv31mx613h76h13psj73g49p2a6dnd0nfbfharww3gr"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-sauter")))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; FIXME: Font metrics cannot be generated due to "bad pos"
               ;; errors with "fcitt" fonts.
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-metafont texlive-sauter))
    (home-page "https://ctan.org/pkg/fc")
    (synopsis "Fonts for African languages")
    (description
     "This package includes fonts for African languages.  The fonts are
provided as Metafont source, in the familiar arrangement of lots of preamble
files and a modest set of glyph specifications.")
    (license license:gpl2)))

(define-public texlive-fenixpar
  (package
    (name "texlive-fenixpar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/fenixpar/"
                                     "tex/generic/fenixpar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1363dr8fnhflw0mysv23mpp2vf02vfxs43nnv95yqkbsvp9fj502"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fenixpar")
    (synopsis "One-shot changes to token registers such as @code{\\everypar}")
    (description
     "The bundle provides two packages, @code{fenxitok} and
@code{fenixpar}.  The @code{fenixtok} package provides user macros to
add material to a token register; the material will be
(automatically) removed from the token register when the register is executed.
Material may be added either to the left or to the right, and care is taken
not to override any redefinition that may be included in the token register
itself.  The @code{fenixpar} package uses the macros of @code{fenixtok} to
provide a user interface to manipulation of the @code{\\everypar} token
register.  The packages require the e-TeX extensions; with them, they work
either with Plain TeX or with LaTeX.")
    (license license:lppl)))

(define-public texlive-feupphdteses
  (package
    (name "texlive-feupphdteses")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/feupphdteses/"
                                     "tex/latex/feupphdteses/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p6qwmcwayh45cmsgyx352ffzj2fcx2gaaya5qadn0ymx0pvb0lp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/feupphdteses")
    (synopsis "Typeset Engineering PhD theses at the University of Porto")
    (description
     "This package provides a complete template for thesis/works of Faculdade
de Engenharia da Universidade do Porto (FEUP) Faculty of Engineering
University of Porto.")
    (license license:lppl)))

(define-public texlive-figflow
  (package
    (name "texlive-figflow")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/figflow/" "tex/plain/figflow/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vsrsw5rrqjym0flca9537m41vs7wlk8mhl9zmqjfaxgi8jvc9ml"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/figflow")
    (synopsis "Flow text around a figure")
    (description
     "This package provides a Plain TeX macro @code{\\figflow} that allows one
to insert a figure into an area inset into a paragraph.  Command arguments are
width and height of the figure, and the figure (and its caption) itself.  The
package does not work with LaTeX; packages such as @code{wrapfig},
@code{floatflt} and @code{picins} support the needs of LaTeX users in this
area.")
    ;; README states: "You may freely use, modify, and/or distribute this
    ;; file, without limitation."
    (license (license:fsf-free "file://doc/plain/figflow/README"))))

(define-public texlive-finbib
  (package
    (name "texlive-finbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/finbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dr1ivhfb83ky3q82dzzv5vvc8bl84iq7am0p1rc8fjlbj95i4wm"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/finplain")
    (synopsis "Finnish version of @file{plain.bst}")
    (description "This package provides a Finnish version of
@file{plain.bst}.")
    (license license:knuth)))

(define-public texlive-findhyph
  (package
    (name "texlive-findhyph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/findhyph.1"
                                     "doc/man/man1/findhyph.man1.pdf"
                                     "doc/support/findhyph/" "scripts/findhyph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bxj0li1a9qsvwmp0kmfsal4vsgsqal1lgmp4423z9nvwrwvvlrr"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "findhyph")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/findhyph")
    (synopsis "Find hyphenated words in a document")
    (description
     "Findhyph is a Perl script that will analyse the log file from running
your document with @code{\\tracingparagraphs=1} set.  The output contains
enough context to enable you to find the hyphenated word that's being
referenced.")
    (license license:gpl2)))

(define-public texlive-first-latex-doc
  (package
    (name "texlive-first-latex-doc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/first-latex-doc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13ngk5pia5vbrbb4jrrlq1lmyja08m7cy4ydcjasxha8kns001ss"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/first-latex-doc")
    (synopsis "Document for absolute LaTeX beginners")
    (description
     "The document leads a reader, who knows nothing about LaTeX, through the
production of a two page document.  The user who has completed that first
document, and wants to carry on, will find recommendations for tutorials.")
    (license license:public-domain)))

(define-public texlive-fixpdfmag
  (package
    (name "texlive-fixpdfmag")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/plain/fixpdfmag/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s5ilsmnhvi57x9cqwp7nwpagfribmgkbl0z1ci55aw2a6bff9hn"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fixpdfmag")
    (synopsis "Fix magnification in pdfTeX")
    (description
     "This package provides a recent change to pdfTeX has caused magnification
to apply to page dimensions.")
    (license license:public-domain)))

(define-public texlive-fltpoint
  (package
    (name "texlive-fltpoint")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/fltpoint/"
                                     "source/generic/fltpoint/"
                                     "tex/generic/fltpoint/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k85cyh39rxr3jrgyxcj1lrya5zss5da62pj7q8412naaklkhd7n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fltpoint")
    (synopsis "Simple floating point arithmetic")
    (description
     "The package provides simple floating point operations (addition,
subtraction, multiplication, division and rounding).")
    (license license:lppl1.2+)))

(define-public texlive-fntproof
  (package
    (name "texlive-fntproof")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/fntproof/"
                                     "tex/generic/fntproof/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pw0nw0dalnxqxpfgpw4pglngz3iff8sxxfdn89ygz46sv6427n5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fntproof")
    (synopsis "Programmable font test pattern generator")
    (description
     "The package implements all the font testing commands of Knuth's
@file{testfont.tex}, but arranges that information necessary for each command
is supplied as arguments to that command, rather than prompted for.  This
makes it possible to type all the tests in one command line, and easy to input
the package in a file and to use the commands there.  A few additional
commands supporting this last purpose are also made available.")
    (license license:public-domain)))

(define-public texlive-font-change
  (package
    (name "texlive-font-change")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/font-change/"
                                     "tex/plain/font-change/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b2i3gwrwfa2ab95m2ksmypiwc5dmfyirymhm18g1h0zpj86ccza"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/font-change")
    (synopsis "Macros to change text and mathematics fonts in plain TeX")
    (description
     "This package provides macros to change text and mathematics fonts in
TeX.  The macros are written for plain TeX and may be used with other packages
like AmSTeX, eplain, etc.  They also work with XeTeX. The macros allow users
to change the fonts (for both text and mathematics) in their TeX document with
only one statement.  The fonts may be used readily at various predefined
sizes.")
    (license license:cc-by-sa3.0)))

(define-public texlive-fontch
  (package
    (name "texlive-fontch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/fontch/" "tex/plain/fontch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19v8l76181yhan6ybc47i5sq4mirc8lc7x1zxqxmk15wyvax9lm9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontch")
    (synopsis "Changing fonts, sizes and encodings in Plain TeX")
    (description
     "The fontch macros allow the user to change font size and family anywhere
in a plain TeX document.  Sizes of 8, 10, 12, 14, 20 and 24 points are
available.  A sans serif family is defined in addition to the families already
defined in plain TeX. Optional support for Latin Modern T1 and TS1 fonts is
given.  There are macros for non-latin1 letters and for most TS1 symbols.
Math mode always uses CM fonts.  A command for producing doubled-spaced
documents is also provided.")
    (license license:lppl)))

(define-public texlive-fontinstallationguide
  (package
    (name "texlive-fontinstallationguide")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fontinstallationguide/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i6im0nckcr9fzs0kc54dvcj3jvjz2j8jd55xgjm0r569qjj1hi5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontinstallationguide")
    (synopsis "Font installation guide")
    (description
     "This guide discusses the most common scenarios you are likely to
encounter when installing Type 1 PostScript fonts.  While the individual tools
employed in the installation process are documented well, the actual
difficulty most users are facing when trying to install new fonts is
understanding how to put all the pieces together.  This is what this guide is
about.")
    (license license:fdl1.3+)))

(define-public texlive-fontools
  (package
    (name "texlive-fontools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/afm2afm.1"
                                     "doc/man/man1/afm2afm.man1.pdf"
                                     "doc/man/man1/autoinst.1"
                                     "doc/man/man1/autoinst.man1.pdf"
                                     "doc/man/man1/ot2kpx.1"
                                     "doc/man/man1/ot2kpx.man1.pdf"
                                     "doc/support/fontools/"
                                     "fonts/enc/dvips/fontools/"
                                     "scripts/fontools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a4lvpl4kk711hdsw6kpgw835kn9pmfjrv8asjngxjbh6nk4yl7z"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "afm2afm" "autoinst" "ot2kpx")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/fontools")
    (synopsis "Tools to simplify using fonts (especially TT/OTF ones)")
    (description
     "This package provides tools to simplify using OpenType fonts with LaTeX.
By far the most important program in this bundle is @command{autoinst},
a wrapper script around Eddie Kohler's LCDF TypeTools.  Autoinst aims to
automate the installation of OpenType fonts in LaTeX by calling the LCDF
TypeTools (with the correct options) for all fonts you wish to install, and
generating the necessary @file{.fd} and @file{.sty} files.

In addition, this bundle contains a few other, less important utilities:
@itemize
@item @command{afm2afm}: re-encodes @file{.afm} files,
@item @command{ot2kpx}: extract kerning pairs from OpenType fonts,
@item @command{splitttc}: split an OpenType Collection file (ttc or
otc) into individual fonts.
@end itemize")
    (license license:gpl2)))

(define-public texlive-fonts-tlwg
  (package
    (name "texlive-fonts-tlwg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fonts-tlwg/"
                                     "fonts/afm/public/fonts-tlwg/"
                                     "fonts/enc/dvips/fonts-tlwg/"
                                     "fonts/map/dvips/fonts-tlwg/"
                                     "fonts/opentype/public/fonts-tlwg/"
                                     "fonts/tfm/public/fonts-tlwg/"
                                     "fonts/type1/public/fonts-tlwg/"
                                     "fonts/vf/public/fonts-tlwg/"
                                     "source/fonts/fonts-tlwg/"
                                     "tex/latex/fonts-tlwg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19g1ksxsidf6cpcxm3knbbfpjw6jsfq2acy99cgmsy7jn33k253b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fonts-tlwg")
    (synopsis "Thai fonts for LaTeX from TLWG")
    (description
     "This package provides a collection of Thai fonts, supplied as FontForge
sources, and with LaTeX @file{.fd} files.")
    (license (list license:gpl2+
                   license:lppl1.3+
                   (license:x11-style "file://source/fonts/fonts-tlwg/COPYING")))))

(define-public texlive-fontware
  (package
    (name "texlive-fontware")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pltotf.1"
                                     "doc/man/man1/pltotf.man1.pdf"
                                     "doc/man/man1/tftopl.1"
                                     "doc/man/man1/tftopl.man1.pdf"
                                     "doc/man/man1/vftovp.1"
                                     "doc/man/man1/vftovp.man1.pdf"
                                     "doc/man/man1/vptovf.1"
                                     "doc/man/man1/vptovf.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03w04hagary4si2f86wbhill731l7q9rmw3gmnpccs7cqlzamw3m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-fontware-bin))
    (home-page "https://ctan.org/pkg/vfware")
    (synopsis "Tools for virtual font metrics")
    (description
     "Virtual font metrics are usually created in a textual form, the Virtual
Property List, but programs that use them need to use binary files (the
Virtual Font and the TeX Font Metric).  The two programs provided in this
package translate between the two forms: @command{vptovf} takes a VPL file and
generates a VF file and a TFM file; @command{vftovp} takes a VF file and a TFM
file and generates a VPL file.")
    (license license:knuth)))

(define-public texlive-fontware-bin
  (package
    (inherit texlive-bin)
    (name "texlive-fontware-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(delete "--enable-web2c" #$flags))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (let ((bin (string-append #$output "/bin"))
                        (files '("pltotf" "tftopl" "vftovp" "vptovf")))
                    (for-each (lambda (f) (invoke "make" f)) files)
                    (for-each (lambda (f) (install-file f bin)) files)))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-fontware))
    (synopsis "Binaries for @code{texlive-fontware}")
    (description
     "This package provides the binaries for @code{texlive-fontware}.")
    (license (package-license texlive-fontware))))

(define-public texlive-forest-quickstart
  (package
    (name "texlive-forest-quickstart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/forest-quickstart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bjy0bfkb90nv2dbdw8hdrm3dvm1v0r0m7a0l44ckw48vnc6amvk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/forest-quickstart")
    (synopsis "Quickstart Guide for Linguists package @code{forest}")
    (description
     "@code{forest} is a PGF/TikZ-based package for drawing linguistic (and
other kinds of) trees.  This manual provides a quickstart guide for linguists
with just the essential things that you need to get started.")
    (license license:fdl1.3+)))

(define-public texlive-fragmaster
  (package
    (name "texlive-fragmaster")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/fragmaster/"
                                     "scripts/fragmaster/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vwbkbg96dql73gayb06gs2fdxynljibjkmhliglc9ddggyx4v2m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "fragmaster.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/fragmaster")
    (synopsis "Using @command{psfrag} with pdfLaTeX")
    (description
     "Fragmaster enables you to use @command{psfrag} with pdfLaTeX.  It takes
EPS files and @command{psfrag} substitution definition files, and produces PDF
and EPS files with the substitutions included.")
    (license license:gpl3+)))

(define-public texlive-gentle
  (package
    (name "texlive-gentle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/gentle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l5fyfdbkpqlgpgi1hrnn2sz8hchlnp7z5s5584czafvs10jg6vx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gentle")
    (synopsis "Gentle introduction to TeX")
    (description
     "The @emph{Gentle Introduction} is the longest-established comprehensive
tutorial on the use of plain TeX.")
    (license
     (license:fsf-free "file://share/texmf-dist/doc/plain/gentle/gentle.tex"))))

(define-public texlive-getoptk
  (package
    (name "texlive-getoptk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/getoptk/" "tex/plain/getoptk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19ndqi977wk6f9ikcvbllcbxmmfzdanjfznzx6pkq41caf4mj91y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/getoptk")
    (synopsis "Define macros with sophisticated options")
    (description
     "The package provides a means of defining macros whose options are taken
from a dictionary, which includes options which themselves have arguments.
The package was designed for use with Plain TeX.")
    (license license:cecill-b)))

(define-public texlive-gfnotation
  (package
    (name "texlive-gfnotation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/gfnotation/"
                                     "tex/plain/gfnotation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18yl6qhwd3fk6fyi6plj0bcb6iwzr4yx9aqmhs77rs5k4j2rgxsf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfnotation")
    (synopsis "Typeset Gottlob Frege's notation in plain TeX")
    (description
     "The package implements macros for plain TeX to typeset the notation
invented by Gottlob Frege in 1879 for his books @emph{Begriffsschrift} and
@emph{Grundgesetze der Arithmetik} (two volumes).  The output styles of both
books are supported.")
    (license license:gpl3)))

(define-public texlive-gfsbaskerville
  (package
    (name "texlive-gfsbaskerville")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfsbaskerville/"
                                     "fonts/afm/public/gfsbaskerville/"
                                     "fonts/enc/dvips/gfsbaskerville/"
                                     "fonts/map/dvips/gfsbaskerville/"
                                     "fonts/opentype/public/gfsbaskerville/"
                                     "fonts/tfm/public/gfsbaskerville/"
                                     "fonts/type1/public/gfsbaskerville/"
                                     "fonts/vf/public/gfsbaskerville/"
                                     "tex/latex/gfsbaskerville/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hf2nr0y1l9wzxvk0s2ajy3g80fcc02avr2fqrnss23c1a0jhr8q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfsbaskerville")
    (synopsis "Greek font, from one such by Baskerville")
    (description
     "The font is a digital implementation of Baskerville's classic Greek font,
provided by the Greek Font Society.  The font covers Greek only, and LaTeX
support provides for the use of LGR encoding.")
    (license (list license:lppl1.0+ license:silofl1.1))))

(define-public texlive-gfsporson
  (package
    (name "texlive-gfsporson")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfsporson/"
                                     "fonts/afm/public/gfsporson/"
                                     "fonts/enc/dvips/gfsporson/"
                                     "fonts/map/dvips/gfsporson/"
                                     "fonts/opentype/public/gfsporson/"
                                     "fonts/tfm/public/gfsporson/"
                                     "fonts/type1/public/gfsporson/"
                                     "fonts/vf/public/gfsporson/"
                                     "tex/latex/gfsporson/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11m9f3vh41w8gbla62219vf2djc5kl9i4kpg6i1iiixwrhi56smc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfsporson")
    (synopsis "Greek font, originally from Porson")
    (description
     "Porson is an elegant Greek font, originally cut at the turn of the 19th
Century in England.  The present version has been provided by the Greek Font
Society.  The font supports the Greek alphabet only.  LaTeX support is
provided, using the LGR encoding.")
    (license (list license:lppl1.0+ license:silofl1.1))))

(define-public texlive-gobble
  (package
    (name "texlive-gobble")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/gobble/"
                                     "source/generic/gobble/"
                                     "tex/generic/gobble/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02g40fx99xn80af6bqv7zn16l8dnqihqd42vn5hbphfx85b3p49q"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (home-page "https://ctan.org/pkg/gobble")
    (synopsis "More gobble macros for PlainTeX and LaTeX")
    (description
     "The LaTeX package @code{gobble} includes several gobble macros not
included in the LaTeX kernel.  These macros remove a number of arguments after
them, a feature regulary used inside other macros.  This includes gobble
macros for optional arguments.

The LaTeX package @code{gobble-user} provides these macros at the user level,
i.e.  using names without @samp{@@@@} so that these can be used without
@code{\\makeatletter} and @code{\\makeatother}.  The same macros are provided
inside @file{.tex} files for use with plain-TeX or other TeX formats.
However, the gobble macros for optional macros require @code{\\@@@@ifnextchar}
to be defined.")
    (license license:lppl1.3+)))

(define-public texlive-graphics-pln
  (package
    (name "texlive-graphics-pln")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/graphics-pln/"
                                     "tex/plain/graphics-pln/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bsqai7hvsb2z2ijh6mdiqz21nifhq40aym0rps2gys1kk8wh4r4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/graphics-pln")
    (synopsis "LaTeX-style graphics for Plain TeX users")
    (description
     "The Plain TeX graphics package is mostly a thin shell around the LaTeX
@code{graphicx} and @code{color} packages, with support of the LaTeX-isms in
those packages provided by @code{miniltx}.  The bundle also contains a file
@file{picture.tex}, which is a wrapper around the @file{autopict.sty}, and
provides the LaTeX picture mode to Plain TeX users.")
    (license license:lppl1.0+)))

(define-public texlive-greek-inputenc
  (package
    (name "texlive-greek-inputenc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/greek-inputenc/"
                                     "tex/latex/greek-inputenc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07zb4rnfx7hbc6d4mk03gmvb0x0mw5kz7d3ygj6x3886f0dms950"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/greek-inputenc")
    (synopsis "Greek encoding support for @code{inputenc}")
    (description
     "The bundle provides UTF-8, Macintosh Greek encoding and ISO 8859-7
definition files for use with @code{inputenc}.")
    (license license:lppl1.3+)))

(define-public texlive-greekdates
  (package
    (name "texlive-greekdates")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/greekdates/"
                                     "source/latex/greekdates/"
                                     "tex/latex/greekdates/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hwjskdllwxa14l12d0fn850sll3i9yihxlpjp2fk62v3iwkrq4r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/greekdates")
    (synopsis "Provides ancient Greek day and month names, dates, etc")
    (description
     "The package provides easy access to ancient Greek names of days and
months of various regions of Greece.  In case the historical information about
a region is not complete, we use the Athenian name of the month.  Moreover
commands and options are provided, in order to completely switch to the
ancient way, such as @code{\\today}.")
    (license license:lppl)))

(define-public texlive-greektex
  (package
    (name "texlive-greektex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/greektex/" "tex/latex/greektex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zs3kakr7k261j876r1xpynvnmjjdn5rky0acfbcjxp7mmsqpmzn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/greektex")
    (synopsis "Fonts for typesetting Greek/English documents")
    (description
     "The fonts are based on Silvio Levy's classical Greek fonts; macros and
Greek hyphenation patterns for the fonts encoding are also provided.")
    (license license:public-domain)))

(define-public texlive-greektonoi
  (package
    (name "texlive-greektonoi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/greektonoi/"
                                     "fonts/map/dvips/greektonoi/"
                                     "tex/latex/greektonoi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14phabwakq87qgh3jxs95gk1w2q3aw29vhy441538y4fxvskqhrw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/greektonoi")
    (synopsis "Facilitates writing/editing of multiaccented Greek")
    (description
     "The @code{greektonoi} mapping extends the @code{betababel} package or
the Babel @samp{polutonikogreek} option to provide a simple way to insert
ancient Greek texts with diacritical characters into your document using
a similar method to the commonly used Beta Code transliteration, but with much
more freedom.  It is designed especially for the XeTeX engine and it could
also be used for fast and easy modification of monotonic Greek texts to
polytonic.  The output text is natively encoded in Unicode, so it can be
reused in any possible way.  The @code{greektonoi} package provides, in
addition to inserting Greek accents and breathings, many other symbols used in
Greek numbers and arithmetic or in the Greek archaic period.  It could be used
with @code{greektonoi} mapping or indepedently.")
    (license license:lgpl3)))

(define-public texlive-gtl
  (package
    (name "texlive-gtl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/gtl/" "source/generic/gtl/"
                                     "tex/generic/gtl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gva7i2b9lark18spf452qv2p1rmi4854wpikdpya6g33gl9vq1r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gtl")
    (synopsis "Manipulating generalized token lists")
    (description
     "The package provides tools for simple operations on lists of tokens
which are not necessarily balanced.  It is in particular used a lot in the
@code{unravel} package, to go through tokens one at a time rather than having
to work with entire braced groups at a time.")
    (license license:lppl1.3c)))

(define-public texlive-hindawi-latex-template
  (package
    (name "texlive-hindawi-latex-template")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hindawi-latex-template/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q35drybrlcfcrhrd5691m66nd17b0m6hkcsqazpb1ck227zih61"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hindawi-latex-template")
    (synopsis "LaTeX template for authors of the Hindawi journals")
    (description
     "This package contains a LaTeX template for authors of the Hindawi journals.
Authors can use this template for formatting their research articles for
submissions.")
    (license license:lppl1.3+)))

(define-public texlive-hlist
  (package
    (name "texlive-hlist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/hlist/" "tex/generic/hlist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14rm9npzcanw4p4nkqd0rrm4655f9yhw58zf0qfa5azs305ba687"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hlist")
    (synopsis "Horizontal and columned lists")
    (description
     "This plain TeX and LaTeX package provides the @code{hlist} environment
in which @code{\\hitem} starts a horizontal and columned item.")
    (license license:lppl1.3c)))

(define-public texlive-hyplain
  (package
    (name "texlive-hyplain")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/hyplain/" "tex/plain/hyplain/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xj23zhv0sapjvchlcp013d32kayjf48wq5ywdak5n0fkb09mzl2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hyplain")
    (synopsis "Basic support for multiple languages in Plain TeX")
    (description
     "The package offers a means to set up hyphenation suitable for several
languages and/or dialects, and to select them or switch between them while
typesetting.")
    (license license:public-domain)))

(define-public texlive-ibycus-babel
  (package
    (name "texlive-ibycus-babel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ibycus-babel/"
                                     "source/latex/ibycus-babel/"
                                     "tex/latex/ibycus-babel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lwf28h6lzlblg7s7bx2dhqprxvjj78a8rlljhk9kw5pf065c7aj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ibycus-babel")
    (synopsis "Use the Ibycus 4 Greek font with Babel")
    (description
     "The package allows you to use the Ibycus 4 font for ancient Greek with
Babel.  It uses a Perl script to generate hyphenation patterns for Ibycus from
those for the ordinary Babel encoding, @samp{cbgreek}.  It sets up
@code{ibycus} as a pseudo-language you can specify in the normal Babel
manner.")
    (license license:lppl)))

(define-public texlive-ibygrk
  (package
    (name "texlive-ibygrk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ibygrk/"
                                     "fonts/afm/public/ibygrk/"
                                     "fonts/enc/dvips/ibygrk/"
                                     "fonts/map/dvips/ibygrk/"
                                     "fonts/source/public/ibygrk/"
                                     "fonts/tfm/public/ibygrk/"
                                     "fonts/type1/public/ibygrk/"
                                     "tex/generic/ibygrk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14a1hqqwz3pfpz5rz9k8finxnlan4a3l8a0brgs98p6mdp9xl3q1"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-levy")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-levy texlive-metafont))
    (home-page "https://ctan.org/pkg/ibygrk")
    (synopsis "Fonts and macros to typeset ancient Greek")
    (description
     "Ibycus is a Greek typeface, based on Silvio Levy's realisation of
a classic Didot cut of Greek type from around 1800.  The fonts are available
both as Metafont source and in Adobe Type 1 format.  This distribution of
@code{ibycus} is accompanied by a set of macro packages to use it with Plain
TeX or LaTeX, but for use with Babel, see the @code{ibycus-babel} package.")
    (license license:gpl3+)))

(define-public texlive-inputnormalization
  (package
    (name "texlive-inputnormalization")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/inputnormalization/"
                                     "source/latex/inputnormalization/"
                                     "tex/latex/inputnormalization/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nfvcmr0lp7nig8mz3j1lwi0wbk8yf1ibdnz3lq22pysfjjl3200"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/inputnormalization")
    (synopsis "Wrapper for XeTeX's and LuaTeX's input normalization")
    (description
     "This package provides a cross engine interface to normalizing input
before it's read by TeX.")
    (license license:lppl1.3+)))

(define-public texlive-insbox
  (package
    (name "texlive-insbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/insbox/" "tex/generic/insbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0br6xpn9y11nw2pdjxck6mijbw2q6g2v31p64hwn65bwnx1fnc25"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/insbox")
    (synopsis "Insert pictures/boxes into paragraphs")
    (description
     "The package provides convenient bundling of the @code{\\parshape}
primitive.  This is a TeX package.")
    (license license:public-domain)))

(define-public texlive-js-misc
  (package
    (name "texlive-js-misc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/js-misc/" "tex/plain/js-misc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03cixw6rbg787ma8v43py07vrmhijf9cfg965ndahbzyhi6vkc96"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/js-misc")
    (synopsis "Miscellaneous macros from Joachim Schrod")
    (description
     "This package provides a bunch of packages, including: @file{idverb.tex},
for short verbatim; @file{xfig.tex}, for including xfig/transfig output in
a TeX document; and @file{cassette.tex} for setting cassette labels.")
    (license license:public-domain)))

(define-public texlive-jsclasses
  (package
    (name "texlive-jsclasses")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/platex/jsclasses/"
                                     "source/platex/jsclasses/"
                                     "tex/platex/jsclasses/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "024bgaim5rkamlwj4xa6w4yp8i37f8j6vn4jyrh8avwm9anc22pg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jsclasses")
    (synopsis "Classes tailored for use with Japanese")
    (description
     "This package provides classes @code{jsarticle} and @code{jsbook},
together with packages @code{okumacro} and @code{okuverb}.  These classes are
designed to work under ASCII Corporation's Japanese TeX system pTeX.")
    (license license:bsd-2)))

(define-public texlive-kerkis
  (package
    (name "texlive-kerkis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/kerkis/"
                                     "fonts/afm/public/kerkis/"
                                     "fonts/enc/dvips/kerkis/"
                                     "fonts/map/dvips/kerkis/"
                                     "fonts/opentype/public/kerkis/"
                                     "fonts/tfm/public/kerkis/"
                                     "fonts/type1/public/kerkis/"
                                     "fonts/vf/public/kerkis/"
                                     "tex/latex/kerkis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mkrnydgc05k2n6mrz6i3ichigf0bmy465s2vg514m7ma399khi9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kerkis")
    (synopsis "Kerkis (Greek) font family")
    (description
     "This package provides sans-serif Greek fonts to match the URW Bookman
set (which are distributed with Kerkis).  The Kerkis font set has some support
for mathematics as well as other glyphs missing from the base URW Bookman
fonts.  Macros are provided to use the fonts in OT1, T1 (only NG/ng glyphs
missing) and LGR encodings, as well as in mathematics; small caps and
old-style number glyphs are also available.")
    (license license:lppl1.3c)))

(define-public texlive-lambda-lists
  (package
    (name "texlive-lambda-lists")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/lambda-lists/"
                                     "tex/plain/lambda-lists/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dlm6yr0z7d2j4wn1i1khf47sf79y4h2aahymm3y11ljr5pg012r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lambda-lists")
    (synopsis "Lists in ``TeX's mouth''")
    (description
     "These list-processing macros avoid the reassignments employed in the
macros shown in Appendix D of the TeXbook: all the manipulations take place in
what Knuth is pleased to call ``TeX's mouth''.")
    (license license:lppl)))

(define-public texlive-langcode
  (package
    (name "texlive-langcode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/langcode/"
                                     "source/generic/langcode/"
                                     "tex/generic/langcode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ygshcc0iszaldzc8ygz4bgvz05c3kv81v3m7i4q46l57x2kfx6x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/langcode")
    (synopsis "Simple language-dependent settings based on language codes")
    (description
     "The package provides a command @code{\\uselangcode@{<code>@}} to adjust
language-dependent settings such as key words, typographical conventions and
language codes (ISO 639-1).  The package provides a means of selecting macros
according to the specified code, for preparing a document that is to be
separately typeset in different languages.")
    (license license:lppl1.3+)))

(define-public texlive-lecturer
  (package
    (name "texlive-lecturer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/lecturer/"
                                     "tex/generic/lecturer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ry4r1zcq71kk672dnnpzah0aw2axj7frajbv6xwy6hf2hzzs0ln"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lecturer")
    (synopsis "On-screen presentations for (almost) all formats")
    (description
     "The package creates slides for on-screen presentations based on PDF
features without manipulating TeX's typesetting process.  The presentation
flow relies on PDF's abilities to display content step by step.  Features
include:

@itemize
@item Free positioning of anything anywhere in painted areas on the slide, as
well as in the main text block;
@item Numerous attributes to control the layout and the presentation flow,
from TeX's primitive dimensions to the visibility of steps;
@item Feature inheritance from global to local settings, with intermediate
types; Basic drawing facilities to produce symbols, e.g., for list items or
buttons;
@item Colours, transparency, shades, and pictures;
@item Navigation with links, pop-up menus, and customizable bookmarks;
@item Easy switch between presentation and handout; and PDF transitions.
@end itemize

Besides the traditional documentation, the distribution includes visual
documentation and six demo presentations ranging from geometric abstraction to
classic style to silly video game.")
    (license license:lppl)))

(define-public texlive-letterspacing
  (package
    (name "texlive-letterspacing")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/letterspacing/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ry7rri76dgbrkzr6na2kkh7bn0jpwkhh9b5qw0cl5xwyp81rddg"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/letterspacing")
    (synopsis "Letter spacing")
    (description
     "This package helps spacing out the letters of text; the command is
@code{\\letterspace<\\hbox modifier>@{<text>@}}: the text is placed in an
@code{\\hbox} of the specified size, and space is inserted between each glyph
to make the text fit the box.  Note that letterspacing is not ordinarily
considered acceptable in modern typesetting of English.")
    (license license:knuth)))

(define-public texlive-levy
  (package
    (name "texlive-levy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/levy/"
                                     "fonts/source/public/levy/"
                                     "fonts/tfm/public/levy/" "tex/generic/levy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nkfsq5k2rysgsplv6rhvx8fimd7999dylzd2khvw7flryig32nv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/levy-font")
    (synopsis "Fonts for typesetting classical Greek")
    (description
     "These fonts are derivatives of Kunth's CM fonts.  Macros for use with
Plain TeX are included in the package; for use with LaTeX, see @code{lgreek}
(with English documentation) or @code{levy} (with German documentation).")
    (license license:gpl2)))

(define-public texlive-lgreek
  (package
    (name "texlive-lgreek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lgreek/" "tex/latex/lgreek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wa8d5mlk6jkx3m1rfddasw169sc6l6p8n4axh6i0np1imgsxx2b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lgreek")
    (synopsis "LaTeX macros for using Silvio Levy's Greek fonts")
    (description
     "This package provides a conversion of Silvio Levy's Plain TeX macros for
use with LaTeX.")
    (license license:gpl2)))

(define-public texlive-lgrmath
  (package
    (name "texlive-lgrmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lgrmath/" "source/latex/lgrmath/"
                                     "tex/latex/lgrmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lj4jdzwykqz1hkv2s6y2ghf1zlalx27gd6kfpbnignxmh63cpkb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lgrmath")
    (synopsis "Use LGR-encoded fonts in math mode")
    (description
     "The @code{lgrmath} package is a LaTeX package which sets the Greek
letters in math mode to use glyphs from the LGR-encoded font of one's choice.
The documentation includes a rather extensive list of the available font
family names on typical LaTeX installations.")
    (license license:lppl1.3c)))

(define-public texlive-localloc
  (package
    (name "texlive-localloc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/localloc/"
                                     "source/generic/localloc/"
                                     "tex/generic/localloc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vcfdxh800ksr4wrrvykdm27qvlhqkylbik4j93pr59g13h9g90f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/localloc")
    (synopsis "Macros for localizing TeX register allocations")
    (description
     "This package approaches the problem of the shortage of registers, by
providing a mechanism for local allocation.  The package works with Plain TeX
and LaTeX.")
    (license license:knuth)))

(define-public texlive-metatex
  (package
    (name "texlive-metatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/metatex/" "tex/plain/metatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pdgx59ckp9qdfidl37y8mv3dyvza9lxmhgbqk69ckywm3kbb2n9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metatex")
    (synopsis "Incorporate Metafont pictures in TeX source")
    (description
     "METATeX is a set of plain TeX and Metafont macros that you can use to
define both the text and the figures in a single source file.  Because METATeX
sets up two way communication, from TeX to Metafont and back from Metafont to
TeX, drawing dimensions can be controlled by TeX and labels can be located by
Metafont.  Only standard features of TeX and Metafont are used, but two runs
of TeX and one of Metafont are needed.")
    (license license:gpl3+)))

(define-public texlive-midnight
  (package
    (name "texlive-midnight")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/midnight/"
                                     "tex/generic/midnight/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "024g170k8cfcddch2c0qvq1als0ncp9v2zqv77yzay5jqx4iv1d7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/midnight")
    (synopsis "Set of useful macro tools")
    (description
     "This package provides macro tools:
@itemize
@item @code{quire}: making booklets, etc.;
@item @code{gloss}: vertically align words in consecutive sentences;
@item @code{loop}: a looping construct;
@item @code{dolines}: meta'-macros to separate arguments by newlines;
@item @code{labels}: address labels and bulk mail letters;
@item @code{styledef}: selectively input part of a file;
@item @code{border}: borders around boxes.
@end itemize")
    ;; All files share the same license, which is Knuth's with additional
    ;; requirements about documentation and references to the original source
    ;; when modified.
    (license (license:fsf-free "file://tex/generic/midnight/border.tex"))))

(define-public texlive-mkgrkindex
  (package
    (name "texlive-mkgrkindex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/mkgrkindex/"
                                     "makeindex/mkgrkindex/"
                                     "scripts/mkgrkindex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bj35wdxn0xllpqzf8lrd00b5rmyy9fws84avz3ijk4k8rvfz8gk"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "mkgrkindex")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/greek-makeindex")
    (synopsis "MakeIndex working with Greek")
    (description
     "MakeIndex is resolutely stuck with Latin-based alphabets, so will not
deal with Greek indexes, unaided.  This package provides a Perl script that
will transmute the index of a Greek document in such a way that MakeIndex will
sort the entries according to the rules of the Greek alphabet.")
    (license license:lppl)))

(define-public texlive-modulus
  (package
    (name "texlive-modulus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/modulus/"
                                     "source/generic/modulus/"
                                     "tex/generic/modulus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07sa8bnbgclfz4p3sb00cl1b3i51nvhhlmb4p6hcyaca1n1xsn8d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/modulus")
    (synopsis "Non-destructive modulus and integer quotient operator for TeX")
    (description
     "The package provides an easy way to take the remainder of a division
operation without destroying the values of the counters containing the
dividend and divisor.  It also provides a way to take the integer quotient of
a division operation without destroying the values of the counters containing
the dividend and divisor.")
    (license license:lppl1.3c)))

(define-public texlive-mongolian-babel
  (package
    (name "texlive-mongolian-babel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mongolian-babel/"
                                     "source/latex/mongolian-babel/"
                                     "tex/latex/mongolian-babel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12kzips0jmjahrrfaripglg203dvvr408v5qxjvnrnxqzb8d1i2w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mongolian-babel")
    (synopsis "Language definition file for Mongolian in Babel")
    (description
     "This package provides support for Mongolian in a Cyrillic
alphabet.  (The work derives from the earlier Russian work for Babel.)")
    (license license:lppl)))

(define-public texlive-montex
  (package
    (name "texlive-montex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/montex/"
                                     "fonts/map/dvips/montex/"
                                     "fonts/source/public/montex/"
                                     "fonts/tfm/public/montex/"
                                     "fonts/type1/public/montex/"
                                     "tex/latex/montex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01rbzw0kbiy3wig2mrdclygx7a71dckq9rhqj8jpdnbjyhm9jw35"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (propagated-inputs (list texlive-cbfonts))
    (home-page "https://ctan.org/pkg/montex")
    (synopsis "Mongolian LaTeX")
    (description
     "MonTeX provides Mongolian and Manju support for the TeX and LaTeX community.
It provides all necessary characters for writing standard Mongolian in
Cyrillic and Classical (aka Traditional or Uighur) writing, and Manju as well
as transliterated Tibetan texts, for which purpose a number of additional
characters was created.

In MonTeX, both Mongolian and Manju are entered in romanized form.  The
retransliteration (from Latin input to Mongolian and Manju output) is
completely realized in TeX and Metafont so that no external preprocessor is
required.  Please note that most of the enhanced functions of MonTeX require
a working e-LaTeX environment.  This is especially true when compiling
documents with Mongolian or Manju as the main document language.  It is
recommended to choose pdfLaTeX as the resulting PDF files are truly portable.
Vertical text generated by MonTeX is not supported in DVI.")
    (license license:gpl3+)))

(define-public texlive-moreverb
  (package
    (name "texlive-moreverb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/moreverb/" "source/latex/moreverb/"
                                     "tex/latex/moreverb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kba3df9cfiz168hsxhwg3a838p3vrgfp42fmwafsf3xq3q2z5hg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/moreverb")
    (synopsis "Extended verbatim")
    (description
     "This package provides a collection of verbatim facilities that provide
line-numbered verbatim, verbatim that obeys TAB characters, verbatim input and
verbatim output to file.  The package makes use of the @code{verbatim}
package.  The package is formed from a series of small pieces, and is somewhat
unstructured.  The user who looks for thought-through verbatim facilities is
advised to consider using the @code{fancyvrb} package in place of
@code{moreverb}.")
    (license license:lppl)))

(define-public texlive-morewrites
  (package
    (name "texlive-morewrites")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/morewrites/"
                                     "source/latex/morewrites/"
                                     "tex/latex/morewrites/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16lgdlvbx0lnjca0apdp0f4fm7bhglgpvl30dlnrfjwv7jsk29ci"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/morewrites")
    (synopsis "Always room for a new write stream")
    (description
     "The package aims to solve the error @emph{No room for a new \\write},
which occurs when the user, or when the user's packages have allocated too
many streams using @code{\\newwrite} (TeX has a fixed maximum number ---
16 --- of such streams built-in to its code).  The package hooks into TeX
primitive commands associated with writing to files; it should be loaded near
the beginning of the sequence of loading packages for a document.")
    (license license:lppl1.3c)))

(define-public texlive-morisawa
  (package
    (name "texlive-morisawa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/morisawa/"
                                     "fonts/map/dvipdfmx/morisawa/"
                                     "fonts/tfm/public/morisawa/"
                                     "fonts/vf/public/morisawa/"
                                     "source/fonts/morisawa/"
                                     "tex/latex/morisawa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wqyiq049y0mv6d1r3d0mrjzhh5pq2vi50sr0jhd58k4wdg8zqkb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/morisawa")
    (synopsis
     "Selection of 5 standard Japanese fonts for pLaTeX and dvips")
    (description
     "The package enables selection of 5 standard Japanese fonts for pLaTeX
and dvips.")
    (license license:bsd-2)))

(define-public texlive-mpman-ru
  (package
    (name "texlive-mpman-ru")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/mpman-ru/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x3drpi21zcmkhkscvl4l7805wskqa4zskydb33i0asss5p62396"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mpman-ru")
    (synopsis "Russian translation of the MetaPost manual")
    (description
     "This package provides a translation of the MetaPost user manual, as
distributed with MetaPost itself.")
    ;; Explicitly use the same license as MetaPost.
    (license license:lppl)))

(define-public texlive-namedef
  (package
    (name "texlive-namedef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/namedef/"
                                     "source/generic/namedef/"
                                     "tex/generic/namedef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rc97c8zn1gb1cfqf70q5iphnbkgay4xmw1a2h55kc9wj4ql2j5d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-l3kernel))
    (home-page "https://ctan.org/pkg/namedef")
    (synopsis "TeX definitions with named parameters")
    (description
     "This package provides a prefix @code{\\named} to be used in TeX
definitions so that parameters can be identified by their name rather than by
number, giving parameters a semantic rather than syntactic meaning, making it
easy to understand long definitions.")
    (license license:lppl1.3c)))

(define-public texlive-navigator
  (package
    (name "texlive-navigator")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/navigator/"
                                     "tex/generic/navigator/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17rs718rvp9f6dakdl99abgq5rcflsw6kyxjknhjya019l2y23m3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/navigator")
    (synopsis "PDF features across formats and engines")
    (description
     "Navigator implements PDF features for all formats (with some limitations
in ConTeXt) with pdfTeX, LuaTeX and XeTeX.  Its features include: customizable
outlines (i.e.  bookmarks); anchors; links and actions (e.g., JavaScript or
user-defined PDF actions); file embedding (not in ConTeXt); document
information and PDF viewer's display (not in ConTeXt); and commands to create
and use raw PDF objects.")
    (license license:lppl)))

(define-public texlive-newsletr
  (package
    (name "texlive-newsletr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/newsletr/" "tex/plain/newsletr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c7ggyx1jnw05vn589awxxbpfqkwf7kq4qn9pm61ycb6p9n3nn0h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newsletr")
    (synopsis "Macros for making newsletters with Plain TeX")
    (description
     "This package provides macros for making newsletters with Plain TeX.")
    ;; License is almost Knuth's, but requires marking modifications
    ;; explicitly instead of simply renaming the file.
    (license (license:fsf-free "file://doc/plain/newsletr/read.me"))))

(define-public texlive-numnameru
  (package
    (name "texlive-numnameru")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/numnameru/"
                                     "tex/latex/numnameru/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1il8qn9wkdk554r4a8h5vmdmwcvgwygcx58zwnqxflz6hqsxdjmx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/numnameru")
    (synopsis "Converts a number to the Russian spelled out name")
    (description
     "This package converts a numerical number to the Russian spelled out name
of the number.")
    (license license:lppl1.3+)))

(define-public texlive-ofs
  (package
    (name "texlive-ofs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/ofs/" "tex/generic/ofs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dcsa9xlcdvwd4qd6n6yli8arcy3s6896svgk5nbmgplan2nz1cw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ofs")
    (synopsis "Macros for managing large font collections")
    (description
     "OFS (Olsak's Font System) is a set of Plain TeX and LaTeX macros for
managing large font collections.  Its main features include:

@itemize
@item mapping from long names of fonts to the metric file name.  The user can
specify only exact long names in documents;
@item support for many font encodings;
@item printing of catalogues of fonts and test samples of font families; the
interactive macro @code{\\showfonts} shows all font families you have
installed via OFS.
@end itemize")
    (license license:knuth)))

(define-public texlive-olsak-misc
  (package
    (name "texlive-olsak-misc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/olsak-misc/"
                                     "tex/generic/olsak-misc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kl83yvj299w7v69a20i5yi91h46n0k080rg6z1jjwdxm0g893a0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/olsak-misc")
    (synopsis "Collection of plain TeX macros written by Petr Olsak")
    (description
     "This is a collection of various single-file plain TeX macros written
by Petr Olsak:

@itemize
@item @file{booklet.tex}: re-orders PDF pages and collects them for booklet
printing;
@item @file{cnv.tex}: conversion of texts;
@item @file{cnv-pu.tex}: example of usage of @file{cnv.tex} --- pdf outlines
in Unicode;
@item @file{cnv-word.tex}: example of usage of @file{cnv.tex} --- word to word
conversion;
@item @file{eparam.tex}: full expansion during parameter scanning;
@item @file{fun-coffee.tex}: generates splotches in the document;
@item @file{openclose.tex}: repairs balanced text between @code{\\Open} and
@code{\\Close} pair;
@item @file{qrcode.tex}: QR code generated at TeX level;
@item @file{scanbase.tex}: parser of text-style MySQL outputs;
@item @file{scancsv.tex}: parser of CSV format;
@item @file{seplist.tex}: macros with alternative separators of a parameter;
@item @file{xmlparser.tex}: parser of XML language.
@end itemize")
    (license license:public-domain)))

(define-public texlive-outerhbox
  (package
    (name "texlive-outerhbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/outerhbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1867xhxlbskiysifmwlr10lay8khragzi36fm552cwc4vjz2ybcz"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/outerhbox")
    (synopsis "Collect horizontal material for contributing to a paragraph")
    (description
     "The package provides the @code{\\outerhbox} command, which is similar to
@code{\\hbox}, except that material is set in outer horizontal mode.  This
prevents TeX from optimising away maths penalties and the like, that are
needed when the material is @code{\\unhbox}'ed.")
    (license license:gpl3+)))

(define-public texlive-path
  (package
    (name "texlive-path")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/path/" "tex/generic/path/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09m1f9si97hrfqsyj0mzbi9djgk0w4vq13yd3v0af9v3240h1ps2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/path")
    (synopsis "Typeset paths, making them breakable")
    (description
     "This package defines a macro @code{\\path|...|}, similar to the LaTeX
@code{\\verb|...|}, that sets the text in typewriter font and allows
hyphen-less breaks at punctuation characters.  The set of characters to be
regarded as punctuation may be changed from the package's default.")
    (license license:knuth)))

(define-public texlive-pdf-trans
  (package
    (name "texlive-pdf-trans")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pdf-trans/"
                                     "tex/generic/pdf-trans/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n7l0p1950lk3n5jm3si0qqhb8b7mm7jh33fm97l2r7d3qn9jac8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdf-trans")
    (synopsis "Macros for various transformations of TeX boxes")
    (description
     "@code{pdf-trans} is a set of macros offering various transformations of
TeX boxes (based on plain and pdfeTeX primitives).")
    (license license:public-domain)))

(define-public texlive-pdfmsym
  (package
    (name "texlive-pdfmsym")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pdfmsym/"
                                     "tex/generic/pdfmsym/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13rffg6i2nx94wmgxsipbi490fncxnq3j42p5vcdg8bldfk1w5w4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfmsym")
    (synopsis "PDF Math Symbols --- various drawn mathematical symbols")
    (description
     "This package defines a handful of mathematical symbols many of which are
implemented via PDF's builtin drawing utility.  It is intended for use with
pdfTeX and LuaTeX and is supported by XeTeX to a lesser extent.  Among the
symbols it defines are some variants of commonly used ones, as well as more
obscure symbols which cannot be as easily found in other TeX or LaTeX
packages.")
    (license license:expat)))

(define-public texlive-pitex
  (package
    (name "texlive-pitex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/pitex/" "tex/plain/pitex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rqawfqmh9sh7rfpfrhbmysmn1rlzmbs26nla8fj0xr45vx60219"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pitex")
    (synopsis "Documentation macros")
    (description
     "The bundle provides macros that the author uses when writing
documentation (for example, that of the @code{texapi} and @code{yax}
packages).")
    (license license:lppl)))

(define-public texlive-pl
  (package
    (name "texlive-pl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/pl/"
                                     "dvips/pl/"
                                     "fonts/afm/public/pl/"
                                     "fonts/enc/dvips/pl/"
                                     "fonts/map/dvips/pl/"
                                     "fonts/source/public/pl/"
                                     "fonts/tfm/public/pl/"
                                     "fonts/type1/public/pl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18s3by7isk85ksvp40i6qg2ws3iyj5f35fh8h0561rw6jdc024rc"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-amsfonts"
                                               "texlive-cm")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-amsfonts texlive-cm texlive-metafont))
    (home-page "https://ctan.org/pkg/pl-mf")
    (synopsis "Polish extension of Computer Modern fonts")
    (description
     "This package provides the Polish extension of the Computer Modern
fonts (compatible with CM itself) for use with Polish TeX formats.")
    (license license:public-domain)))

(define-public texlive-placeins-plain
  (package
    (name "texlive-placeins-plain")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/plain/placeins-plain/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lhc72zdm2cjynx6lf6kafmf00nw17z3mnfhagh41h76cnm338g9"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/placeins-plain")
    (synopsis "Insertions that keep their place")
    (description
     "This TeX file provides various mechanisms (for plain TeX and close
relatives) to let insertions (footnotes, topins, pageins, etc.) float within
their appropriate section, but to prevent them from intruding into the
following section, even when sections do not normally begin a new page.")
    (license license:public-domain)))

(define-public texlive-plainpkg
  (package
    (name "texlive-plainpkg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/plainpkg/"
                                     "source/generic/plainpkg/"
                                     "tex/generic/plainpkg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10p796lms7rzwqgjf60nqm8x79hiz1cwiq1j8acjg1a6lnvadbq0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plainpkg")
    (synopsis "Minimal method for making generic packages")
    (description
     "The package provides a minimal method for making generic (i.e.,
TeX-format-independent) packaged, combining maybeload functionality, fallback
definitions for LaTeX @code{\\ProvidesPackage} and @code{\\RequirePackage}
functionality, and handling of arbitrary (multiple) private letters (analagous
LaTeX packages use of @samp{@@@@}) in nested package files.")
    (license license:lppl1.3+)))

(define-public texlive-platex
  (package
    (name "texlive-platex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/platex.1"
                                     "doc/man/man1/platex.man1.pdf"
                                     "doc/platex/base/"
                                     "source/platex/base/"
                                     "tex/platex/base/"
                                     "tex/platex/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kdmnlbg5jh9ym3iasbpp5al7ljhn8fiirw6y5g4k5x3v9f3bmm8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "platex" "platex-dev")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'unpack 'fix-build
                 ;; This phase is necessary because the build phase is
                 ;; reluctant to generate "kinsoku.tex" since there is another
                 ;; one among the inputs (texlive-ptex) already.
                 (lambda _
                   (substitute* "source/platex/base/plfmt.ins"
                     (("\\\\keepsilent\n" all)
                      (string-append all "\\askforoverwritefalse\n")))))
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((euptex (search-input-file inputs "bin/euptex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink euptex "platex"))))))))
    (propagated-inputs
     (list texlive-babel
           texlive-cm
           texlive-firstaid
           texlive-hyphen-base
           texlive-l3backend
           texlive-l3kernel
           texlive-latex
           texlive-latex-fonts
           texlive-ptex
           texlive-ptex-fonts
           texlive-tex-ini-files
           texlive-unicode-data
           texlive-uptex))
    (home-page "https://ctan.org/pkg/platex")
    (synopsis "pLaTeX2e and miscellaneous macros for pTeX")
    (description
     "The bundle provides pLaTeX2e and miscellaneous macros for pTeX and
e-pTeX.")
    (license license:bsd-3)))

(define-public texlive-platex-tools
  (package
    (name "texlive-platex-tools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/platex-tools/"
                                     "tex/latex/platex-tools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wdxcmag1kk6zs7dv10jdcs9ih0bs08xr14iw5bqqyppia4pa1lv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/platex-tools")
    (synopsis "pLaTeX standard tools bundle")
    (description
     "This bundle is an extended version of the @code{latex-tools} bundle
developed by the LaTeX team, mainly intended to support pLaTeX2e and
upLaTeX2e.  Currently patches for the @code{latex-tools} bundle and Martin
Schroder's @code{ms} bundle are included.")
    (license license:bsd-3)))

(define-public texlive-platexcheat
  (package
    (name "texlive-platexcheat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/platexcheat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04hvm19x4z7vq2md3p3r2wwa7iqkgkxnvvj1xx3s9145m6fjib5a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/platexcheat")
    (synopsis "LaTeX cheat sheet, in Japanese")
    (description
     "This is a translation to Japanese of Winston Chang's LaTeX cheat
sheet (a reference sheet for writing scientific papers).  It has been adapted
to Japanese standards using pLaTeX, and also attached additional information
of standard LaTeX (especially about Math mode).")
    (license license:expat)))

(define-public texlive-plautopatch
  (package
    (name "texlive-plautopatch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/plautopatch/"
                                     "tex/latex/plautopatch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fhphmjhq0mbsarkfmfj0580b97lxxbcwanr4zpwjj5f6krqq742"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plautopatch")
    (synopsis "Automated patches for pLaTeX/upLaTeX")
    (description
     "Japanese pLaTeX and upLaTeX formats and packages often conflict with
other LaTeX packages which are unaware of pLaTeX and upLaTeX.  In the worst
case, such packages throw a fatal error or end up with a wrong output.  The
goal of this package is that there should be no need to worry about such
incompatibilities, because specific patches are loaded automatically whenever
necessary.  This helps not only to simplify source files, but also to make the
appearance of working pLaTeX or upLaTeX sources similar to those of ordinary
LaTeX ones.")
    (license license:bsd-3)))

(define-public texlive-plipsum
  (package
    (name "texlive-plipsum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/plipsum/" "tex/plain/plipsum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q8qnv212q9mgc00w9akdvpky1gbmirqrkdmi9v1wbf7c0ws2qda"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plipsum")
    (synopsis "@emph{Lorem ipsum} for Plain TeX developers")
    (description
     "The package provides a paragraph generator designed for use in Plain TeX
documents.  The paragraphs generated contain many f-groups (@samp{ff},
@samp{fl} etc.) so the text can act as a test of the ligatures of the font in
use.")
    (license license:lppl)))

(define-public texlive-plnfss
  (package
    (name "texlive-plnfss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/plnfss/" "tex/plain/plnfss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cgnp8y9m0ziq1pfvjx83vi0r0k5xpckk0kiijy0g80wd3s4zbsd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plnfss")
    (synopsis "Font selection for Plain TeX")
    (description
     "Plnfss is a set of macros to provide easy font access (somewhat similar
to NFSS but with some limitations) with Plain TeX.  Plnfss can automatically
make use of PSNFSS @code{fd} files, i.e., when an Adobe Type 1 is used the
relevant @code{fd} file will be loaded automatically.  For @code{cmr}-like
fonts (@code{ec}, @code{vnr}, @code{csr} or @code{plr} fonts), a special
format called @code{pfd} (plain @code{fd}) is required and must be loaded
manually.")
    (license license:lppl)))

(define-public texlive-plstmary
  (package
    (name "texlive-plstmary")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/plstmary/" "tex/plain/plstmary/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03adq5fkl620z0hpbdpqcsm1qjxlr43ip1bhi5xv2izxpw952x0z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plstmary")
    (synopsis "St Mary's Road font support for plain TeX")
    (description
     "The package provides commands to produce all the symbols of the St
Mary's Road fonts, in a Plain TeX environment.")
    (license license:public-domain)))

(define-public texlive-poormanlog
  (package
    (name "texlive-poormanlog")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/poormanlog/"
                                     "tex/generic/poormanlog/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wbpjxjn3bvi4bmcq62ydafc8a72wq2vhzfx2gcn20sn3x4qc0hg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/poormanlog")
    (synopsis "Logarithms and powers with (almost) 9 digits")
    (description
     "This small package (usable with Plain e-TeX, LaTeX, or others) with no
dependencies provides two fast expandable macros computing logarithms in base
10 and fractional powers of 10.")
    (license license:lppl1.3c)))

(define-public texlive-present
  (package
    (name "texlive-present")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/present/" "tex/plain/present/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dc7h14z7xw232mgqjayl1a4ab5pj9bz2d9wgmznh4bjylgw4lwp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/present")
    (synopsis "Presentations with Plain TeX")
    (description
     "The package offers a collection of simple macros for preparing
presentations in Plain TeX.  Slide colour and text colour may be set, links
between parts of the presentation, to other files, and to web addresses may be
inserted.  Images may be included easily, and code is available to provide
transition effects between slides or frames.  The structure of the macros is
not overly complex, so that users should find it easy to adapt the macros to
their specific needs.")
    (license license:lppl)))

(define-public texlive-ptex
  (package
    (name "texlive-ptex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/eptex.1"
                                     "doc/man/man1/eptex.man1.pdf"
                                     "doc/man/man1/makejvf.1"
                                     "doc/man/man1/makejvf.man1.pdf"
                                     "doc/man/man1/mendex.1"
                                     "doc/man/man1/mendex.man1.pdf"
                                     "doc/man/man1/pbibtex.1"
                                     "doc/man/man1/pbibtex.man1.pdf"
                                     "doc/man/man1/ppltotf.1"
                                     "doc/man/man1/ppltotf.man1.pdf"
                                     "doc/man/man1/ptekf.1"
                                     "doc/man/man1/ptekf.man1.pdf"
                                     "doc/man/man1/ptex.1"
                                     "doc/man/man1/ptex.man1.pdf"
                                     "doc/man/man1/ptftopl.1"
                                     "doc/man/man1/ptftopl.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0aqan2g9cp5nv0hh1i6d6wcsp19f8zdlrij7wi3xs0hf5kwl2ql9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:create-formats #~(list "eptex" "ptex")))
    (propagated-inputs
     (list texlive-cm
           texlive-etex
           texlive-hyphen-base
           texlive-knuth-lib
           texlive-plain
           texlive-ptex-base
           texlive-ptex-bin
           texlive-ptex-fonts
           texlive-uptex))
    (home-page "https://ctan.org/pkg/ptex")
    (synopsis "TeX system for publishing in Japanese")
    (description
     "pTeX adds features related to vertical writing, and deals with other
problems in typesetting Japanese.  A manual (in both Japanese and English) is
distributed as package @code{pTeX-manual}.")
    (license license:bsd-3)))

(define-public texlive-ptex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-ptex-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("makejvf" "mendexk" "web2c"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons* "--enable-makejvf"
                 "--enable-mendexk"
                 (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/makejvf"
                    (invoke "make" "check"))
                  (with-directory-excursion "texk/mendexk"
                    (invoke "make" "check")))))
            (add-after 'build 'build-web2c-binaries
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (for-each (lambda (target) (invoke "make" target))
                            '("eptex" "pmpost")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/makejvf"
                  (invoke "make" "install"))
                (with-directory-excursion "texk/mendexk"
                  (invoke "make" "install"))
                ;; Install Web2C parts.
                (let ((bin (string-append #$output "/bin")))
                  (with-directory-excursion "texk/web2c"
                    (for-each (lambda (f) (install-file f bin))
                              '("eptex" "pmpost")))
                  (with-directory-excursion bin
                    (for-each symlink
                              '("eptex" "pmpost"   "pmpost")
                              '("ptex"  "pdvitomp" "r-pmpost"))
                    ;; Some executables are symlinks to TEXLIVE-UPTEX-BIN's.
                    (let ((uptex #$(this-package-input "texlive-uptex-bin")))
                      (for-each
                       symlink
                       (map (lambda (f) (string-append uptex "/bin/" f))
                            '("upbibtex" "updvitype" "uppltotf" "uptftopl"))
                       '("pbibtex" "pdvitype" "ppltotf" "ptftopl")))))))))))
    (native-inputs (list pkg-config))
    (inputs
     (modify-inputs (package-inputs texlive-bin)
       (append cairo gmp mpfi mpfr texlive-libptexenc texlive-uptex-bin)))
    (home-page (package-home-page texlive-ptex))
    (synopsis "Binaries for @code{texlive-ptex}")
    (description
     "This package provides the binaries for @code{texlive-ptex}.")
    (license (package-license texlive-ptex))))

(define-public texlive-ptex-base
  (package
    (name "texlive-ptex-base")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/ptex/ptex-base/" "tex/ptex/ptex-base/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hfccpsfpj56v97056k77lyb09az7m24m8klf1n2v0a7kqdc1fv6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ptex-base")
    (synopsis "Plain TeX format for pTeX and e-pTeX")
    (description
     "The bundle contains the plain TeX format for pTeX and e-pTeX.")
    (license license:bsd-3)))

(define-public texlive-ptex-fontmaps
  (package
    (name "texlive-ptex-fontmaps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ptex-fontmaps/"
                                     "fonts/cmap/ptex-fontmaps/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/adobe/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/apple/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/arphic/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/baekmuk/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/bizud/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/canon/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/cjkunifonts-ttf/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/cjkunifonts/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/dynacomware/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/fandol/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/founder/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/haranoaji/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/hiragino-pron/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/hiragino/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/ipa/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/ipaex/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/kozuka-pr6/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/kozuka-pr6n/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/kozuka/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/moga-mobo-ex/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/moga-mobo/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/morisawa-pr6n/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/morisawa/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/ms-osx/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/ms-win10/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/ms/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/noEmbed/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/noto-otc/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/noto/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/solaris/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/sourcehan-otc/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/sourcehan/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/ume/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/unfonts/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/yu-osx/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/yu-win/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/yu-win10/"
                                     "fonts/misc/ptex-fontmaps/"
                                     "scripts/ptex-fontmaps/"
                                     "source/ptex-fontmaps/jis04cmap_exp/"
                                     "source/ptex-fontmaps/script/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07qm41d33z9vjvchsxfrqxim7zb15cg77x4aw5a06mgn3w7kz6ha"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "kanji-config-updmap-sys.sh"
                                  "kanji-config-updmap-user.sh"
                                  "kanji-config-updmap.pl"
                                  "kanji-fontmap-creator.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/ptex-fontmaps")
    (synopsis
     "Font maps and tools for Japanese/Chinese/Korean fonts with (u)pTeX")
    (description
     "This package provides font maps and setup tools for Japanese, Korean,
Traditional Chinese, and Simplified Chinese.  It is the successor of the
@code{jfontmaps} package.  The files in this package contain font maps for
dvipdfmx to make various Japanese, Chinese, and Korean fonts available
for (u)ptex and related programs and formats.")
    (license (list license:public-domain license:gpl3))))

(define-public texlive-ptex-manual
  (package
    (name "texlive-ptex-manual")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/ptex/ptex-manual/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kvq5wx7rz6lz9a5f2fjk1y3l8sbqm10jc80s9irbkhv8rhkg8ar"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ptex-manual")
    (synopsis "Japanese pTeX manual")
    (description "This package contains the Japanese pTeX manual.")
    (license license:bsd-3)))

(define-public texlive-ptex-fonts
  (package
    (name "texlive-ptex-fonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ptex-fonts/"
                                     "fonts/source/ptex-fonts/jis/"
                                     "fonts/source/ptex-fonts/nmin-ngoth/"
                                     "fonts/source/ptex-fonts/standard/"
                                     "fonts/tfm/ptex-fonts/dvips/"
                                     "fonts/tfm/ptex-fonts/jis/"
                                     "fonts/tfm/ptex-fonts/nmin-ngoth/"
                                     "fonts/tfm/ptex-fonts/standard/"
                                     "fonts/vf/ptex-fonts/jis/"
                                     "fonts/vf/ptex-fonts/nmin-ngoth/"
                                     "fonts/vf/ptex-fonts/standard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f33y28zmrc6gw01qj956vrwj3mh5gn6kph2i13yg1yi2hdl7wwa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ptex-fonts")
    (synopsis "Fonts for use with pTeX")
    (description
     "The bundle contains fonts for use with pTeX and the documents for the
@command{makejvf} program.")
    (license license:bsd-3)))

(define-public texlive-ptex2pdf
  (package
    (name "texlive-ptex2pdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ptex2pdf/" "scripts/ptex2pdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vc4clig35s9cir2gmls7zvj8k1qal4np0akvlgsz2zch44b0imr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ptex2pdf.lua")))
    (home-page "https://ctan.org/pkg/ptex2pdf")
    (synopsis "Convert Japanese TeX documents to PDF")
    (description
     "The Lua script provides system-independent support of Japanese
typesetting engines in TeXworks.  As TeXworks typesetting setup does not allow
for multistep processing, this script runs one of the pTeX-based programs
followed by dvipdfmx.")
    (license license:gpl2)))

(define-public texlive-pxbase
  (package
    (name "texlive-pxbase")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/platex/pxbase/" "tex/platex/pxbase/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dq9d4ixddffjnzb73d2qacgzm27665hvq2gsfjqzikzaa70dahw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxbase")
    (synopsis "Tools for use with (u)pLaTeX")
    (description
     "The main purpose of this package is to provide auxiliary functions which
are utilized by other packages created by the same author.  It also provides
a few user commands to assist in creating Japanese documents using
@code{(u)pLaTeX.}")
    (license license:expat)))

(define-public texlive-pxchfon
  (package
    (name "texlive-pxchfon")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/platex/pxchfon/" "fonts/sfd/pxchfon/"
                                     "fonts/tfm/public/pxchfon/"
                                     "fonts/vf/public/pxchfon/"
                                     "tex/platex/pxchfon/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vqzsp0hbgwiyv0a2675v8r20jncdaqvkd22ppnd1c14ham9097h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxchfon")
    (synopsis "Japanese font setup for pLaTeX and upLaTeX")
    (description
     "This package enables users to declare in their document which physical
fonts should be used for the standard Japanese (logical) fonts of pLaTeX and
upLaTeX.  Font setup is realized by changing the font mapping of dvipdfmx, and
thus users can use any (monospaced) physical fonts they like, once they
properly install this package, without creating helper files for each new
font.  This package also supports setup for the fonts used in the
@code{japanese-otf} package.")
    (license license:expat)))

(define-public texlive-pxcjkcat
  (package
    (name "texlive-pxcjkcat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pxcjkcat/" "tex/latex/pxcjkcat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10lbwry55rdldfhj2v893rpp1jdzv00vxhg4hf4gsgsmv1nnp25f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxcjkcat")
    (synopsis "LaTeX interface for the CJK category codes of upTeX")
    (description
     "The package provides management of the CJK category code table of the
upTeX extended TeX engine.  Package options are available for tailored use in
the cases of documents that are principally written in Japanese, or
principally written in English or other Western languages.")
    (license license:expat)))

(define-public texlive-pxjahyper
  (package
    (name "texlive-pxjahyper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/platex/pxjahyper/"
                                     "tex/platex/pxjahyper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0128yslhwbrdhshjhxk6ayfl42ds0x0sfyvp91aspwbkfjnr34p9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxjahyper")
    (synopsis "Hyperref support for pLaTeX")
    (description
     "This package adjusts the behavior of @code{hyperref} on (u)pLaTeX so
that authors can properly create PDF documents that contain document
information in Japanese.")
    (license license:expat)))

(define-public texlive-pxjodel
  (package
    (name "texlive-pxjodel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pxjodel/"
                                     "fonts/tfm/public/pxjodel/"
                                     "fonts/vf/public/pxjodel/"
                                     "tex/latex/pxjodel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g5sd60zd34ark50qy2dgqrdcd5pwy5hxmi6g5jxqlj3j1n6r1ny"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxjodel")
    (synopsis "Help change metrics of fonts from japanese-otf")
    (description
     "This package changes the setup of the @code{japanese-otf} package so
that the TFMs for direct input are all replaced by new ones with prefixed
names.  This function will assist users who want to use the
@code{japanese-otf} package together with tailored TFMs of Japanese fonts.")
    (license license:expat)))

(define-public texlive-pxrubrica
  (package
    (name "texlive-pxrubrica")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/platex/pxrubrica/"
                                     "source/platex/pxrubrica/"
                                     "tex/platex/pxrubrica/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n8jc65szkq114qg197hc9amrpifqvha8wifxplhvbmb09kzm5mm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxrubrica")
    (synopsis "Ruby annotations according to JIS X 4051")
    (description
     "This package provides a function to add ruby annotations (furigana) that
follow the style conventional in Japanese typography as described in the W3C
technical note @emph{Requirements for Japanese Text Layout} and the JIS
specification JIS X 4051.")
    (license license:expat)))

(define-public texlive-pxufont
  (package
    (name "texlive-pxufont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pxufont/"
                                     "fonts/tfm/public/pxufont/"
                                     "fonts/vf/public/pxufont/"
                                     "tex/latex/pxufont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zg6wc62nj3p04lrp6dr4hhf67hxlgy70iy2h31vji29hsp417rv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxufont")
    (synopsis "Emulate non-Unicode Japanese fonts using Unicode fonts")
    (description
     "The set of the Japanese logical fonts (JFMs) that are used as standard
fonts in pTeX and upTeX contains both Unicode JFMs and non-Unicode JFMs.  This
bundle provides an alternative set of non-Unicode JFMs that are tied to the
virtual fonts (VFs) that refer to the glyphs in the Unicode JFMs.  Moreover it
provides a LaTeX package that redefines the NFSS settings of the Japanese
fonts of @code{(u)pLaTeX} so that the new set of non-Unicode JFMs will be
employed.  As a whole, this bundle allows users to dispense with the mapping
setup on non-Unicode JFMs.  Such a setup is useful in particular when users
want to use OpenType fonts (such as Source Han Serif) that have a glyph
encoding different from Adobe-Japan1, because mapping setups from non-Unicode
JFMs to such physical fonts are difficult to prepare.")
    (license license:expat)))

(define-public texlive-pwebmac
  (package
    (name "texlive-pwebmac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/pwebmac/" "tex/plain/pwebmac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z7xx51v1yksj7qvmlrm1bmxq4j3y995i4k902d99kc1vf1rp0nl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pwebmac")
    (synopsis "Consolidated WEB macros for DVI and PDF output")
    (description
     "The original WEB system by Donald Knuth has the macros webmac.tex that
produce DVI output only; for historic reasons, it will never be
modified (apart from catastrophic errors).  Han The Thanh has modified these
macros in his @file{pdfwebmac.tex} for PDF output (only) with pdfTeX.
Jonathan Kew's XeTeX has similar macros @file{xewebmac.tex} by Khaled Hosny
that modify @file{webmac.tex} for PDF output; these macros can only be used
with a specific TeX engine each.  The present @code{pwebmac} package
integrates these three WEB macro files similar to @file{cwebmac.tex} in Silvio
Levy's and Don Knuth's CWEB system, so @file{pwebmac.tex} can be used with
Plain TeX, pdfTeX, and XeTeX alike.

Its initial application is the production of PDF and HINT files for all major
WEB programs for TeX and friends.  For this purpose, the shell script
@command{makeall} was whipped together; it provides various command line
options and works around several quirks in the WEB sources.

WEB programmers who want to use @file{pwebmac.tex} instead of the default
@file{webmac.tex} in their programs have to change the first line in the TeX
file created by @code{weave}.  From there, all depends on the TeX engine you
use.")
    (license license:public-domain)))

(define-public texlive-random
  (package
    (name "texlive-random")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/random/" "tex/generic/random/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04z7s4pm620bfjwgl46g4bqxzm2ab70ai8pj1x4p0qg8n50xaylf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/random")
    (synopsis "Generate pseudo-random numbers in TeX")
    (description
     "This package generates pseudo-random integers.  Macros are to provide
random integers in a given range, or random dimensions, which can be used to
provide random real numbers.")
    (license license:public-domain)))

(define-public texlive-randomlist
  (package
    (name "texlive-randomlist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/randomlist/"
                                     "source/generic/randomlist/"
                                     "tex/generic/randomlist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04pbbxxnynyc3l94560vvnad3rx7l2ic6p078az15v5qic7rki84"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/randomlist")
    (synopsis
     "Deal with database, loop, and random in order to build personalized
exercises")
    (description
     "The main aim of this package is to work on lists, especially with random
operations.  The hidden aim is to build a personnal collection of exercises
with different data for each pupil.")
    (license license:lppl1.3+)))

(define-public texlive-resumemac
  (package
    (name "texlive-resumemac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/resumemac/"
                                     "tex/plain/resumemac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q6ngs2inzk2nk9f06s9w9q2qhx71dw7nflmrc9hzx9w0pinw830"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/resumemac")
    (synopsis "Plain TeX macros for resumes")
    (description "This package provides a set of macros for resumes.")
    (license license:public-domain)))

(define-public texlive-ruler
  (package
    (name "texlive-ruler")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/ruler/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ikap9dkdw9lzpda0f2krizqbfkyjxvyddils7clim9nhg77aq71"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ruler")
    (synopsis "Typographic ruler for TeX")
    (description
     "The file processes to produce (real) rulers; the author suggests
printing them on transparent plastic and trimming for use as a real ruler.
The rule widths are 0.05mm, which can be challenging for (old) laser
printers.")
    (license license:gpl3+)))

(define-public texlive-schemata
  (package
    (name "texlive-schemata")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/schemata/"
                                     "source/generic/schemata/"
                                     "tex/generic/schemata/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1196653ankylbcsiv1cnrrazz2qplcs27llpv947h4m94vx4sl19"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/schemata")
    (synopsis "Print topical diagrams")
    (description
     "The package facilitates the creation of topical schemata, i.e.,
outlines that use braces (or facsimiles thereof) to illustrate the breakdown
of concepts and categories in Scholastic thought from late medieval and early
modern periods.")
    (license license:lppl1.3+)))

(define-public texlive-shade
  (package
    (name "texlive-shade")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/shade/"
                                     "fonts/source/public/shade/"
                                     "tex/generic/shade/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b7m11d374cx5rcrvgd2jld1wzixvky3mqdg54hnsg9x14p2dxpg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/shade")
    (synopsis "Shade pieces of text")
    (description
     "The package provides a shaded backdrop to a box of text.  It uses
a Metafont font (provided) which generates to appropriate shading dependent on
the resolution used in the Metafont printer parameters.")
    (license license:lppl1.0+)))

(define-public texlive-simplekv
  (package
    (name "texlive-simplekv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/simplekv/"
                                     "tex/generic/simplekv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xrlqhxqzg75gvbf9iabfgz8bl01wqvnwmv9n8yqdhqv7bk0hvz9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simplekv")
    (synopsis "Simple key/value system for TeX and LaTeX")
    (description
     "The package provides a simple key/value system for TeX and LaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-swrule
  (package
    (name "texlive-swrule")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/swrule/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "075mshpyi9gxbi3n0hbh3ygidzw1daxy697lhc7cc99i39y8scpi"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/swrule")
    (synopsis "Lines thicker in the middle than at the ends")
    (description
     "This package defines commands that create rules split into
a (specified) number of pieces, whose size varies to produce the
effect of a rule that swells in its centre.")
    ;; Library mentions: "The style package is copyrighted but may be used and
    ;; extended in any way, as long as a pointer to the original author is
    ;; maintained.  The author is not liable for any problem that may or may
    ;; not result from using this package. Use at your own risk".
    (license (license:fsf-free "file://tex/generic/swrule/swrule.sty"))))

(define-public texlive-systeme
  (package
    (name "texlive-systeme")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/systeme/"
                                     "tex/generic/systeme/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02n8bchq9crv21cqvji4kkrjsyp34wny5i047jyp1j2yz8i99m5y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/systeme")
    (synopsis "Format systems of equations")
    (description
     "The package allows you to enter systems of equations or inequalities in
an intuitive way, and produces typeset output where the terms and signs are
aligned vertically.  The package works with plain TeX or LaTeX, but e-TeX is
required.")
    (license license:lppl1.3c)))

(define-public texlive-tabto-generic
  (package
    (name "texlive-tabto-generic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/tabto-generic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i65jflbnhqpqf1w7pkagicic1s39gcl319z7g9zr1g80f9532dv"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tabto-generic")
    (synopsis "Tab to a measured position in the line")
    (description
     "@code{\\tabto@{<length>@}} moves the typesetting position to
@code{<length>} from the left margin of the paragraph.  If the typesetting
position is already further along, @code{\\tabto} starts a new line.")
    (license license:public-domain)))

(define-public texlive-talos
  (package
    (name "texlive-talos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/talos/"
                                     "fonts/opentype/public/talos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m656d4lkc9ikp7gb91yna4323lip3xcr6n3kqh1j4sqvp4rkm61"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/talos")
    (synopsis "Greek cult font from the eighties")
    (description
     "This package provides a cult Greek font from the eighties, used at the
University of Crete, Greece.  It belonged to the first TeX installation in
a Greek University and most probably the first TeX installation that supported
the Greek language.")
    (license license:gfl1.0)))

(define-public texlive-termmenu
  (package
    (name "texlive-termmenu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/termmenu/"
                                     "source/generic/termmenu/"
                                     "tex/generic/termmenu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d1pdz5izr43ndji7g28932dnnf8d6nxvh8bay2yk7647yh47aj4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/termmenu")
    (synopsis "Support for terminal-based menus")
    (description
     "When writing programs, it's often required to present the user with
a list of options or actions.  The user is then expected to select one of
these options for the program to process.  @code{termmenu} provides this
mechanism for TeX.")
    (license license:lppl1.3+)))

(define-public texlive-teubner
  (package
    (name "texlive-teubner")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/teubner/" "source/latex/teubner/"
                                     "tex/latex/teubner/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mzmny8csfdri7k8cvc4ralp18fy167f1xxc2y1l4gn6rn9svl6q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/teubner")
    (synopsis "Philological typesetting of classical Greek")
    (description
     "This package provides an extension to Babel @samp{greek} option for
typesetting classical Greek with a philological approach.  The package works
with the author's greek fonts using the Lispiakos font shape derived from that
of the fonts used in printers shops in Lispia.")
    (license license:lppl1.3c)))

(define-public texlive-tex
  (package
    (name "texlive-tex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/initex.1"
                                     "doc/man/man1/initex.man1.pdf"
                                     "doc/man/man1/tex.1"
                                     "doc/man/man1/tex.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05jj1pyfipz1qmdxkavz7axflgga6bpl20abzc6j3sj8xxz7g9j8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:texlive-latex-bin? #f
           #:create-formats #~(list "tex")))
    (propagated-inputs
     (list texlive-cm
           texlive-hyphen-base
           texlive-knuth-lib
           texlive-kpathsea
           texlive-plain))
    (home-page "https://ctan.org/pkg/tex")
    (synopsis "Sophisticated typesetting engine")
    (description
     "TeX is a typesetting system that incorporates a macro processor.  A TeX
source document specifies or incorporates a number of macro definitions that
instruct the TeX engine how to typeset the document.  The TeX engine also uses
font metrics generated by Metafont, or by any of several other mechanisms that
incorporate fonts from other sources into an environment suitable for TeX.
TeX has been, and continues, a basis and an inspiration for several other
programs, including e-TeX and PDFTeX.  The distribution includes the source of
Knuth's TeX book; this source is there to read, as an example of writing TeX ;
it should not be processed without Knuth's direct permission.")
    (license license:knuth)))

(define-public texlive-tex-ps
  (package
    (name "texlive-tex-ps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tex-ps/cmyk-hax/"
                                     "doc/generic/tex-ps/poligraf/"
                                     "dvips/tex-ps/" "tex/generic/tex-ps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09f70q2bhmq7bn98f2g2pq62wnfhj24bzkbv652sjrw5rafp0311"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tex-ps")
    (synopsis "TeX to PostScript generic macros and add-ons")
    (description
     "This package provides TeX to PostScript generic macros and add-ons:
transformations of EPS files, prepress preparation, color separation, mirror,
etc.")
    (license license:public-domain)))

(define-public texlive-texdate
  (package
    (name "texlive-texdate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/texdate/"
                                     "source/generic/texdate/"
                                     "tex/generic/texdate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0knssay50rm8pbksph20hhfbpwwby3a9pswvxyq63imn5qppz2dp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texdate")
    (synopsis "Date printing, formatting, and manipulation in TeX")
    (description
     "TeX and LaTeX provide few facilities for dates by default, though many
packages have filled this gap.  This package fills it, as well, with a pure
TeX-primitive implementation.  It can print dates, advance them by numbers of
days, weeks, or months, determine the weekday automatically, and print them
in (mostly) arbitrary format.  It can also print calendars (monthly and
yearly) automatically, and can be easily localized for non-English
languages.")
    (license license:lppl1.3c)))

(define-public texlive-texdimens
  (package
    (name "texlive-texdimens")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/texdimens/"
                                     "tex/generic/texdimens/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l6raryqpxydis9kq6sd4pvz7d2rzrrsnx7k9n3d3921pp208lv4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texdimens")
    (synopsis "Conversion of TeX dimensions to decimals")
    (description
     "This package provides utilities and documentation related to TeX
dimensional units, usable both with Plain TeX and with LaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-timetable
  (package
    (name "texlive-timetable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/plain/timetable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lnl8gi2rrzcy688qb8b1ff9yivwxdqmbcfx2ph49aymkxfym97b"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/timetable")
    (synopsis "Generate timetables")
    (description
     "This package provides a highly-configurable package, with nice output
and simple input.  The macros use a radix sort mechanism so that the order of
input is not critical.")
    (license license:lppl)))

(define-public texlive-transparent-io
  (package
    (name "texlive-transparent-io")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/transparent-io/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04zfmk25qw2cnja1zqhafabsy26zalxiawf6pm5zqx4x1jl47i6j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/transparent-io")
    (synopsis
     "Show for approval the filenames used in @code{\\input}, @code{\\openin},
or @code{\\openout}")
    (description
     "This package provides macros to make the file I/O in plain TeX more
transparent.  That is, every @code{\\input}, @code{\\openin}, and
@code{\\openout} operation by TeX is presented to the user who must check
carefully if the file name of the source is acceptable.  The user must
sometimes enter additional text and has to specify the file name that the TeX
operation should use.  The macros require a complex installation procedure;
the package contains Sed and Bash scripts.  Every installation is different
from any other as password-protected macro names and private messages have to
be chosen by the installer.  Therefore, the files in the package cannot be
used directly.  For details see the manual.")
    (license license:gpl3)))

(define-public texlive-treetex
  (package
    (name "texlive-treetex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/treetex/" "tex/plain/treetex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cv7kwa865i473l8ffsyq5n7kw6pihclf87asbpsc1rx2h4v6mhs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/treetex-plain")
    (synopsis "Draw trees")
    (description
     "This package provides macros to draw trees, within TeX or LaTeX.")
    (license license:public-domain)))

(define-public texlive-trigonometry
  (package
    (name "texlive-trigonometry")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/trigonometry/"
                                     "tex/generic/trigonometry/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "165n813kj0znfrnqkqv0gja3nyr2lznnhbmsay6l8a5nj59h7cxl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/trigonometry")
    (synopsis "Demonstration code for cos and sin in TeX macros")
    (description
     "This package provides a document that both provides macros that are
usable elsewhere, and demonstrates the macros.  The code uses the classical
analytical expansion of sin and cos.")
    (license license:knuth)))

(define-public texlive-upca
  (package
    (name "texlive-upca")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/upca/" "tex/generic/upca/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0miqn29dln9c2nlvcivsq7ciyb70ffk16v7dmzfn976xnvfsjbiw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/upca")
    (synopsis "Print UPC-A barcodes")
    (description
     "The package defines a single macro @code{\\upca}, to print UPC-A
barcodes.")
    (license license:lppl)))

(define-public texlive-uplatex
  (package
    (name "texlive-uplatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/uplatex.1"
                                     "doc/man/man1/uplatex.man1.pdf"
                                     "doc/uplatex/base/"
                                     "source/uplatex/base/"
                                     "tex/uplatex/base/"
                                     "tex/uplatex/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fn5x56nn38k9b90mcyvfwla7ib7nv774z2cjncwwmbsd7s1abm1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "uplatex" "uplatex-dev")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'unpack 'fix-build
                 ;; This phase is necessary because the build phase is
                 ;; reluctant to generate "ukinsoku.tex" since there is
                 ;; another one among the inputs (texlive-uptex) already.
                 (lambda _
                   (substitute* "source/uplatex/base/uplfmt.ins"
                     (("\\\\keepsilent\n" all)
                      (string-append all "\\askforoverwritefalse\n")))))
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((euptex (search-input-file inputs "bin/euptex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink euptex "uplatex"))))))))
    (propagated-inputs
     (list texlive-babel
           texlive-cm
           texlive-firstaid
           texlive-hyphen-base
           texlive-l3backend
           texlive-l3kernel
           texlive-latex
           texlive-latex-fonts
           texlive-platex
           texlive-tex-ini-files
           texlive-unicode-data
           texlive-uptex
           texlive-uptex-fonts))
    (home-page "https://ctan.org/pkg/uplatex")
    (synopsis "pLaTeX2e and miscellaneous macros for upTeX")
    (description
     "The bundle provides pLaTeX2e macros for upTeX by Takuji Tanaka.")
    (license license:bsd-3)))

(define-public texlive-uptex-base
  (package
    (name "texlive-uptex-base")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/uptex/uptex-base/"
                                     "tex/uptex/uptex-base/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16ghhgg1cdpbhyv073h65sqkm26zc2rya0irzf78fa1927993jlg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uptex-base")
    (synopsis "Plain TeX formats and documents for upTeX")
    (description
     "The bundle contains plain TeX format files and documents for upTeX and
and e-upTeX.")
    (license license:bsd-3)))

(define-public texlive-uptex
  (package
    (name "texlive-uptex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/euptex.1"
                                     "doc/man/man1/euptex.man1.pdf"
                                     "doc/man/man1/upbibtex.1"
                                     "doc/man/man1/upbibtex.man1.pdf"
                                     "doc/man/man1/uppltotf.1"
                                     "doc/man/man1/uppltotf.man1.pdf"
                                     "doc/man/man1/uptex.1"
                                     "doc/man/man1/uptex.man1.pdf"
                                     "doc/man/man1/uptftopl.1"
                                     "doc/man/man1/uptftopl.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14hn2n6jbibbqbdr72j74z5bz003jnlabi3kja0f0waxhas680gd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:create-formats #~(list "euptex" "uptex")))
    (propagated-inputs
     (list texlive-cm
           texlive-etex
           texlive-hyphen-base
           texlive-knuth-lib
           texlive-plain
           texlive-ptex-base
           texlive-uptex-base
           texlive-uptex-bin
           texlive-uptex-fonts))
    (home-page "https://ctan.org/pkg/uptex")
    (synopsis "Unicode version of pTeX")
    (description
     "upTeX is an extension of pTeX, using UTF-8 input and producing UTF-8
output.  It was originally designed to improve support for Japanese, but is
also useful for documents in Chinese and Korean.  It can process Chinese
simplified, Chinese traditional, Japanese, and Korean simultaneously, and can
also process original LaTeX with @code{\\inputenc@{utf8@}} and Babel
(Latin/Cyrillic/Greek etc.) by switching its @code{\\kcatcode} tables.")
    (license license:bsd-3)))

(define-public texlive-uptex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-uptex-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(delete "--enable-web2c" #$flags))
       ((#:phases phases)
        #~(modify-phases #$phases
            (add-after 'build 'build-binaries
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (for-each (lambda (target) (invoke "make" target))
                            '("euptex" "upbibtex" "updvitype" "upmpost"
                              "uppltotf" "uptex" "uptftopl" "wovp2ovf")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (let ((bin (string-append #$output "/bin")))
                    (for-each (lambda (f) (install-file f bin))
                              '("euptex" "upbibtex" "updvitype"
                                "upmpost" "uppltotf" "uptex" "uptftopl"
                                "wovp2ovf"))
                    (with-directory-excursion bin
                      (for-each symlink
                                '("upmpost" "upmpost")
                                '("r-upmpost" "updvitomp")))))))))))
    (native-inputs (list pkg-config))
    (inputs
     (modify-inputs (package-inputs texlive-bin)
       (append cairo gmp mpfi mpfr texlive-libptexenc)))
    (home-page (package-home-page texlive-uptex))
    (synopsis "Binaries for @code{texlive-uptex}")
    (description
     "This package provides the binaries for @code{texlive-uptex}.")
    (license (package-license texlive-uptex))))

(define-public texlive-uptex-fonts
  (package
    (name "texlive-uptex-fonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/uptex-fonts/"
                                     "fonts/cmap/uptex-fonts/"
                                     "fonts/source/uptex-fonts/"
                                     "fonts/tfm/uptex-fonts/jis/"
                                     "fonts/tfm/uptex-fonts/min/"
                                     "fonts/vf/uptex-fonts/jis/"
                                     "fonts/vf/uptex-fonts/min/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d5v2p186a9baqm335l2m8gm53qdl3xkx1kgww45225cbkmn34hw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uptex-fonts")
    (synopsis "Fonts for use with upTeX")
    (description "The bundle contains fonts (TFM and VF) for use with upTeX.")
    (license license:bsd-3)))

(define-public texlive-upzhkinsoku
  (package
    (name "texlive-upzhkinsoku")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/upzhkinsoku/"
                                     "tex/generic/upzhkinsoku/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c95fy9raykpjgnkz5h0wyjxyg2h0ksx2kb14lx2rsv65xsi909y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/upzhkinsoku")
    (synopsis "Supplementary Chinese kinsoku for Unicode *pTeX")
    (description
     "This package provides supplementary Chinese kinsoku (line breaking rules
etc.)@: settings for Unicode (e-)upTeX (when using Unicode as its internal
encoding), and ApTeX.  Both LaTeX and plain TeX are supported.")
    (license license:knuth)))

(define-public texlive-variations
  (package
    (name "texlive-variations")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/variations/"
                                     "tex/generic/variations/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ad1yc1v32ds4wj36fql6fjiacziw4ynvw0rpj3x01k6jdvh44xh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/variations")
    (synopsis "Typeset tables of variations of functions")
    (description
     "The package provides macros for typesetting tables showing variations of
functions according to French usage.  These macros may be used by both LaTeX
and plain TeX users.")
    (license license:gpl3+)))

(define-public texlive-varisize
  (package
    (name "texlive-varisize")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/varisize/" "tex/plain/varisize/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nd89zhwyg5z9wcy1lixg3hzcfw83lsilkjhhy9kir0fi9whdbv4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/varisize")
    (synopsis "Change font size in Plain TeX")
    (description
     "This package provides a series of files, each of which defines
a size-change macro.  Note that @file{10point.tex} is by convention called by
one of the other files, so that there's always a way back.")
    (license license:public-domain)))

(define-public texlive-xgreek
  (package
    (name "texlive-xgreek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xgreek/" "source/latex/xgreek/"
                                     "tex/latex/xgreek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xw27z7hglkxqhlsv3mshpszzmf4bsnsg6l17n1wqhi60mxin5sz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xgreek")
    (synopsis "Greek language support for XeLaTeX and LuaLaTeX")
    (description
     "This package has been designed so to allow people to typeset Greek
language documents using XeLaTeX or LuaLaTeX.  Practically, it provides all
the capabilities of the @samp{greek} option of the Babel package.

The package can be invoked with any of the following options:
@samp{monotonic} (for typesetting modern monotonic Greek),
@samp{polytonic} (for typesetting modern polytonic Greek), and
@samp{ancient} (for typesetting ancient texts).  The default option is
@samp{monotonic}.")
    (license license:lppl1.3c)))

(define-public texlive-xii
  (package
    (name "texlive-xii")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/xii/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19jhzv5hqzj59wrfcr1dsj6z56qfckax694idgf8arri5lnbkdd8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xii")
    (synopsis "Christmas silliness (English)")
    (description
     "This is the plain TeX file @file{xii.tex}.  Call @samp{pdftex xii.tex}
to produce a (perhaps) surprising typeset document.")
    (license license:lppl)))

(define-public texlive-xii-lat
  (package
    (name "texlive-xii-lat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/xii-lat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nn54xv71kcmn9jbkcslz6a64cvjcay9x96rrxnakdj9qcqd27r5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xii-lat")
    (synopsis "Christmas silliness (Latin)")
    (description
     "This is the plain TeX file @file{xii-lat.tex}.  Call @samp{pdftex
xii-lat.tex} to produce a (perhaps) surprising typeset document.")
    (license license:lppl)))

(define-public texlive-xintsession
  (package
    (name "texlive-xintsession")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/xintsession/"
                                     "tex/plain/xintsession/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rd2jmq62ariq73qwch1hz1jmzdw6sn48ngh64pgm6qkqbpddxkv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xintsession")
    (synopsis
     "Interactive computing sessions (fractions, floating points, polynomials)")
    (description
     "This package provides support for interactive computing sessions with
e-TeX (or pdfTeX) executed on the command line.  Once @code{xintsession} is
loaded, e-TeX becomes an interactive computing software capable of executing
arbitrary precision calculations, or exact calculations with arbitrarily big
fractions.  It can also manipulate polynomials as algebraic entities.
Numerical variables and functions can be defined during the session, and each
evaluation result is stored in automatically labeled variables.  A file is
automatically created storing inputs and outputs.")
    (license license:lppl1.3c)))

(define-public texlive-xlop
  (package
    (name "texlive-xlop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/xlop/" "tex/generic/xlop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yqks7jvb5ikg2xx038rsxbkhagms1zqjmipnv49rqliavcq03gj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xlop")
    (synopsis "Calculate and display arithmetic operations")
    (description
     "Xlop (eXtra Large OPeration) will typeset arithmetic problems either
in-line or as in school (using French school conventions).  Many other
features allow to deal with numbers (tests, display, some high level
operations, etc.)")
    (license license:lppl1.3+)))

(define-public texlive-xtuthesis
  (package
    (name "texlive-xtuthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xtuthesis/"
                                     "tex/latex/xtuthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fdk9dkikqlkjwrg8qjm2phvsyyvddshf78bjy6liyz5hqakk6r8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xtuthesis")
    (synopsis "XTU thesis template")
    (description
     "The package provides a thesis template for the Xiangtan University.")
    (license license:lppl1.3+)))

(define-public texlive-yannisgr
  (package
    (name "texlive-yannisgr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/yannisgr/"
                                     "fonts/source/public/yannisgr/"
                                     "fonts/tfm/public/yannisgr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s5cfid1r6jn34kzvmxwxyxpvyb0rayn80x3n7k515p1plqmmrnq"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-levy")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-levy texlive-metafont))
    (home-page "https://ctan.org/pkg/yannisgr")
    (synopsis "Greek fonts by Yannis Haralambous")
    (description
     "This package provides a family of 7-bit fonts with a code table designed
for setting modern polytonic Greek.  The fonts are provided as Metafont
source; macros to produce a Greek variant of Plain TeX (including
a hyphenation table adapted to the fonts code table) are provided.")
    (license license:gpl2)))

(define-public texlive-zhlineskip
  (package
    (name "texlive-zhlineskip")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zhlineskip/"
                                     "tex/latex/zhlineskip/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "070vi0pra74in55r0pq2k35s3x3xk6gjwvnsif7bnx4k7wn39mal"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zhlineskip")
    (synopsis "Line spacing for CJK documents")
    (description
     "This package supports typesetting CJK documents.  It allows users to
specify the two ratios between the leading and the font size of the body text
and the footnote text.  For CJK typesetting, these ratios usually range from
1.5 to 1.67.  This package is also capable of restoring the math leading to
that of the Latin text (usually 1.2 times the font size).")
    (license license:lppl1.3c)))

(define-public texlive-zhlipsum
  (package
    (name "texlive-zhlipsum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zhlipsum/"
                                     "source/latex/zhlipsum/"
                                     "tex/latex/zhlipsum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lhc3a8l5sizyw0v1cfsrwwwymmyab1yvx99iqhdh7avrzmi2gda"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ctex")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ctex))
    (home-page "https://ctan.org/pkg/zhlipsum")
    (synopsis "Chinese dummy text")
    (description
     "This package provides an interface to dummy text in Chinese language,
which will be useful for testing Chinese documents.  UTF-8, GBK and Big5
encodings are supported.")
    (license license:lppl1.3c)))

(define-public texlive-zztex
  (package
    (name "texlive-zztex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/zztex/" "tex/plain/zztex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07vx3m2g4vl2v1nxxy5dih67jg406y2i94sgkrmplm54b0pp42g3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zztex")
    (synopsis "TeX macro package for producing books, journals, and manuals")
    (description
     "The ZzTeX macro package is a full-featured TeX macro package specially
designed for producing books, journals, and manuals.  ZzTeX runs under Plain
TeX.")
    (license license:expat)))

(define-public texlive-lcdftypetools
  (package
    (name "texlive-lcdftypetools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/cfftot1.1"
                                     "doc/man/man1/cfftot1.man1.pdf"
                                     "doc/man/man1/mmafm.1"
                                     "doc/man/man1/mmafm.man1.pdf"
                                     "doc/man/man1/mmpfb.1"
                                     "doc/man/man1/mmpfb.man1.pdf"
                                     "doc/man/man1/otfinfo.1"
                                     "doc/man/man1/otfinfo.man1.pdf"
                                     "doc/man/man1/otftotfm.1"
                                     "doc/man/man1/otftotfm.man1.pdf"
                                     "doc/man/man1/t1dotlessj.1"
                                     "doc/man/man1/t1dotlessj.man1.pdf"
                                     "doc/man/man1/t1lint.1"
                                     "doc/man/man1/t1lint.man1.pdf"
                                     "doc/man/man1/t1rawafm.1"
                                     "doc/man/man1/t1rawafm.man1.pdf"
                                     "doc/man/man1/t1reencode.1"
                                     "doc/man/man1/t1reencode.man1.pdf"
                                     "doc/man/man1/t1testpage.1"
                                     "doc/man/man1/t1testpage.man1.pdf"
                                     "doc/man/man1/ttftotype42.1"
                                     "doc/man/man1/ttftotype42.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gb8k5w6lg9fdxhs36caxlvq96s7np35yq9y78165igyf6y3ig70"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-glyphlist texlive-lcdftypetools-bin))
    (home-page "https://ctan.org/pkg/lcdf-typetools")
    (synopsis "Bundle of outline font manipulation tools")
    (description
     "This bundle of tools comprises:
@itemize
@item @command{cfftot1}, which translates a Compact Font Format
(CFF) font, or a PostScript-flavored OpenType font, into PostScript
Type 1 format.  It correctly handles subroutines and hints;

@item @command{mmafm} and @command{mmpfb}, which create instances of
multiple-master fonts;

@item @command{otfinfo}, which reports information about OpenType
fonts, such as the features they support and the contents of their
size optical size features;

@item @command{otftotfm}, which creates TeX font metrics and encodings
that correspond to a PostScript-flavored OpenType font.  It will
interpret glyph positionings, substitutions, and ligatures as far as
it is able.  You can say which OpenType features should be activated;

@item @command{t1dotlessj}, which creates a Type 1 font whose only
character is a dotless j matching the input font's design;

@item @command{t1lint}, which checks a Type 1 font for correctness;

@item @command{t1reencode}, which replaces a font's internal encoding
with one you specify;

@item @command{t1testpage}, which creates a PostScript proof for
a Type 1 font.
@end itemize")
    (license license:gpl3+)))

(define-public texlive-lcdftypetools-bin
  (package
    (inherit texlive-bin)
    (name "texlive-lcdftypetools-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("lcdf-typetools"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-lcdf-typetools" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/lcdf-typetools"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/lcdf-typetools"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-lcdftypetools))
    (synopsis "Binaries for @code{texlive-lcdftypetools}")
    (description
     "This package provides the binaries for @code{texlive-lcdftypetools}.")
    (license (package-license texlive-lcdftypetools))))

(define-public texlive-latex
  (package
    (name "texlive-latex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/base/" "makeindex/latex/"
                                     "source/latex/base/" "tex/latex/base/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s87lh7dprgn0gmiai2l7ala3c6qha8lchqjhcix6122dxqdsvvr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:tex-engine "tex"
      #:tex-format #f
      #:build-targets #~(list "unpack.ins")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-lua-build
            ;; The literal tab in the dtx file is translated to the string
            ;; "^^I" in the generated Lua file, which causes a syntax error.
            (lambda _
              (substitute* "source/latex/base/ltluatex.dtx"
                (("\t") "  ")))))))
    (home-page "https://ctan.org/pkg/latex")
    (synopsis "TeX macro package that defines LaTeX")
    (description
     "LaTeX is a widely-used macro package for TeX, providing many basic
document formating commands extended by a wide range of packages.")
    (license license:lppl1.3c)))

(define-public texlive-latexbug
  (package
    (name "texlive-latexbug")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexbug/"
                                     "source/latex/latexbug/"
                                     "tex/latex/latexbug/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l9cyw41knbw3prsi4rbd2av4qfpkvzjs754847kv72dq1304m1i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexbug")
    (synopsis "Bug-classification for LaTeX related bugs")
    (description
     "The package is written in order to help identifying the rightful
addressee for a bug report.  The LaTeX team asks that it will be loaded in any
test file that is intended to be sent to the LaTeX bug database as part of
a bug report.")
    (license license:lppl1.3c)))

(define-public texlive-lcyw
  (package
    (name "texlive-lcyw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lcyw/" "source/latex/lcyw/"
                                     "tex/latex/lcyw/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yijk9l2ls6sq45ifx6m9d7xxk0ysrnn1y3fjz8wxwgwxp88x9fh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lcyw")
    (synopsis "Make classic Cyrillic CM fonts accessible in LaTeX")
    (description
     "The package makes the classic CM Cyrillic fonts accessible for use with
LaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-lhcyr
  (package
    (name "texlive-lhcyr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "source/latex/lhcyr/" "tex/latex/lhcyr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09cg2hs5g20axbfpv2k6df5pi3xm0aywcswhnknllykr6z0ip2zw"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lhcyr")
    (synopsis "Non-standard Cyrillic input scheme")
    (description
     "This package provides a collection of three LaTeX2e styles intended for
typesetting Russian and bilingual English-Russian documents, using the
@code{lh} fonts and without the benefit of Babel's language-switching
mechanisms.  The packages (@code{hcyralt} and @code{hcyrwin} for use under
emTeX, and @code{hcyrkoi} for use under teTeX} provide mappings between the
input encoding and the font encoding, which is described as OT1.  The way this
is done does not match the way @code{inputenc} would do the job, for output
via fontenc to one of the T2 series of font encodings.")
    (license license:knuth)))

(define-public texlive-luafindfont
  (package
    (name "texlive-luafindfont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/luafindfont.1"
                                     "doc/man/man1/luafindfont.man1.pdf"
                                     "doc/support/luafindfont/"
                                     "scripts/luafindfont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19dz91gpiphlh9736q2r0zglsgslhkyacs4i6yaf2pc5sa9g367q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "luafindfont.lua")))
    (home-page "https://ctan.org/pkg/luafindfont")
    (synopsis "Search fonts in the LuaTeX font database")
    (description "This Lua script searches for fonts in the font database.")
    (license license:lppl1.3c)))

(define-public texlive-bidi
  (package
    (name "texlive-bidi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/bidi/" "source/xelatex/bidi/"
                                     "tex/xelatex/bidi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "111gwl3d5kqbzpwwgsh0cz0fipmhq63xsbdkg09bhj3gl59k9icr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bidi")
    (synopsis "Bidirectional typesetting in plain TeX and LaTeX using XeTeX")
    (description
     "The @code{bidi} package provides a convenient interface for typesetting
bidirectional texts with plain TeX and LaTeX.  The package includes
adaptations for use with many other commonly-used packages.")
    (license license:lppl1.3+)))

(define-public texlive-bidi-atbegshi
  (package
    (name "texlive-bidi-atbegshi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/bidi-atbegshi/"
                                     "tex/xelatex/bidi-atbegshi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08gawna9hf5p3rn0v5qzszk61zqknixafvh6d2x37x960x493gn7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bidi-atbegshi")
    (synopsis "Bidi-aware shipout macros")
    (description
     "The package adds some commands to the @code{atbegshi} package for proper
placement of background material in the left and right corners of the output
page, in both LTR and RTL modes.  The package only works with @code{xelatex}
format and should be loaded before the @code{bidi} package.")
    (license license:lppl1.3+)))

(define-public texlive-bidicontour
  (package
    (name "texlive-bidicontour")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/bidicontour/"
                                     "tex/xelatex/bidicontour/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kiqbn5map3d9bmlvr5cq1snssw44c772xzjp6yyjvg6wg1zy0bn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bidicontour")
    (synopsis "Bidi-aware coloured contour around text")
    (description
     "The package is a re-implementation of the @code{contour} package, making
it Bidi-aware, and adding support of the xdvipdfmx (when the outline option of
the package is used).")
    (license license:lppl1.3+)))

(define-public texlive-bidipagegrid
  (package
    (name "texlive-bidipagegrid")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/bidipagegrid/"
                                     "tex/xelatex/bidipagegrid/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19jkg4apf1g3whigcchbcf8p14lpxkz9ih2vrw00akwfh8v3ssrk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bidipagegrid")
    (synopsis "Bidi-aware page grid in background")
    (description "The package provides Bidi-aware page grid in background.  It
is based on @code{pagegrid}.")
    (license license:lppl1.3+)))

(define-public texlive-bidipresentation
  (package
    (name "texlive-bidipresentation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/bidipresentation/"
                                     "tex/xelatex/bidipresentation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b9md68zzj3nzi9b4hdavjz43nwair1xg3b240p0bp5ly5l6pvmr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bidipresentation")
    (synopsis "Experimental bidi presentation")
    (description
     "This package provides a great portion of the code is borrowed from the
texpower bundle, with modifications to get things working properly in both
right to left and left to right modes.")
    (license license:lppl1.3+)))

(define-public texlive-bidishadowtext
  (package
    (name "texlive-bidishadowtext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/bidishadowtext/"
                                     "tex/xelatex/bidishadowtext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nq71bgz7vag9k138mx8hsf42cjvgry2g4z9jiqmq4almm23a1gq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bidishadowtext")
    (synopsis "Bidi-aware shadow text")
    (description
     "This package allows you to typeset Bidi-aware shadow text.  It is
a re-implementation of the @code{shadowtext} package adding Bidi support.")
    (license license:lppl1.3+)))

(define-public texlive-alphalph
  (package
    (name "texlive-alphalph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/alphalph/"
                                     "source/latex/alphalph/"
                                     "tex/generic/alphalph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ap59hmg0brg2wlh3bl77jxfxrk7hphhdal8cr05mby9bw35gffy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/alphalph")
    (synopsis "Convert numbers to letters")
    (description
     "This package provides commands @code{\\alphalph} and @code{\\AlphAlph}.
They are like @code{\\number} but the expansion consists of lowercase and
uppercase letters respectively (1 to a, 26 to z, 27 to aa, 52 to zz, 53 to ba,
702 to zz, 703 to aaa, etc.).  Alphalph's commands can be used as
a replacement for LaTeX's @code{\\@@alph} and @code{\\@@Alph} macros.")
    (license license:lppl1.3c+)))

(define-public texlive-antt
  (package
    (name "texlive-antt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/antt/"
                                     "doc/latex/antt/"
                                     "fonts/afm/public/antt/"
                                     "fonts/enc/dvips/antt/"
                                     "fonts/map/dvips/antt/"
                                     "fonts/opentype/public/antt/"
                                     "fonts/tfm/public/antt/"
                                     "fonts/type1/public/antt/"
                                     "tex/latex/antt/"
                                     "tex/plain/antt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fvmgb581ixc4fvw5l0g11hlvdpf0cld6db0cg3vysw5yabas3vm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/antt")
    (synopsis "Type 1 family of a Polish traditional type")
    (description
     "Antykwa Torunska is a serif font designed by the late Polish typographer
Zygfryd Gardzielewski, reconstructed and digitized as Type 1.")
    (license license:gfl1.0)))

(define-public texlive-asana-math
  (package
    (name "texlive-asana-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/asana-math/"
                                     "fonts/opentype/public/asana-math/"
                                     "fonts/truetype/public/asana-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q934gackj9j7b7bvlq7yv1pr9rxrhhip1as7ywgx8d45ddig2rq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asana-math")
    (synopsis "Font to typeset maths in Xe(La)TeX and Lua(La)TeX")
    (description
     "The Asana-Math font is an OpenType font that includes almost all
mathematical Unicode symbols and it can be used to typeset mathematical text
with any software that can understand the MATH OpenType table.")
    (license license:silofl1.1)))

(define-public texlive-avantgar
  (package
    (name "texlive-avantgar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/avantgar/"
                                     "fonts/afm/adobe/avantgar/"
                                     "fonts/afm/urw/avantgar/"
                                     "fonts/map/dvips/avantgar/"
                                     "fonts/tfm/adobe/avantgar/"
                                     "fonts/tfm/urw35vf/avantgar/"
                                     "fonts/type1/urw/avantgar/"
                                     "fonts/vf/adobe/avantgar/"
                                     "fonts/vf/urw35vf/avantgar/"
                                     "tex/latex/avantgar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1200x40k7wprm4n7srxvgrax2l52vn6d5ri2x0q7zbzzsfxfzkym"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urw-base35")
    (synopsis "Replacement for Adobe's Avant Garde font")
    (description
     "This package provides a drop-in replacement for the Avant Garde font
from Adobe's basic set.")
    (license license:gpl3+)))

(define-public texlive-undergradmath
  (package
    (name "texlive-undergradmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/undergradmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z8my3fwqc8rfc1843j7lcmfka2023z9k0js4ygh1m8kilc2nrr7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/undergradmath")
    (synopsis "LaTeX Math for undergraduates cheat sheet")
    (description
     "This is a cheat sheet for writing mathematics with LaTeX.  It is aimed
at US undergraduates.")
    (license license:cc-by-sa4.0)))

(define-public texlive-underscore
  (package
    (name "texlive-underscore")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/underscore/" "tex/latex/underscore/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0slxsxc9azmv3gsm55jkhkv8a06wafankp55hhsdd6k4prp8szrb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/underscore")
    (synopsis "Control the behaviour of @samp{_} in text")
    (description
     "This package causes @code{\\_} in text mode (i.e.,
@code{\\textunderscore}) to print an underscore so that hyphenation of words
either side of it is not affected; a package option controls whether an actual
hyphenation point appears after the underscore, or merely a break point.  The
package also arranges that, while in text, @samp{_} itself behaves as
@code{\\textunderscore} (the behaviour of @samp{_} in maths mode is not
affected).")
    (license license:lppl1.2+)))

(define-public texlive-unicode-data
  (package
    (name "texlive-unicode-data")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/unicode-data/"
                                     "tex/generic/unicode-data/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x0jryv2jdqifjq0c8ki9ppxqxf9qpvnazrwfdx71jqprb702krw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/unicode-data")
    (synopsis "Unicode data and loaders for TeX")
    (description "This bundle provides generic access to Unicode Consortium
data for TeX use.  It contains a set of text files provided by the Unicode
Consortium which are currently all from Unicode 8.0.0, with the exception of
@code{MathClass.txt} which is not currently part of the Unicode Character
Database.  Accompanying these source data are generic TeX loader files
allowing this data to be used as part of TeX runs, in particular in building
format files.  Currently there are two loader files: one for general character
set up and one for initializing XeTeX character classes as has been carried
out to date by @code{unicode-letters.tex}.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-generic-unicode-data texlive-unicode-data)

(define-public texlive-hologo
  (package
    (name "texlive-hologo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/hologo/"
                                     "source/generic/hologo/"
                                     "tex/generic/hologo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n62zwz93ab6vfb0hd2h0ncj9gwavg01i3djj7wyr7gyj20xb34x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hologo")
    (synopsis "Collection of logos with bookmark support")
    (description
     "The package defines a single command @code{\\hologo}, whose argument is
the usual case-confused ASCII version of the logo.  The command is
bookmark-enabled, so that every logo becomes available in bookmarks without
further work.")
    (license license:lppl1.3c)))

(define-public texlive-hook-pre-commit-pkg
  (package
    (name "texlive-hook-pre-commit-pkg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/hook-pre-commit-pkg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mikg4p9wxb28vgwh1acgdhwa2fqnc8rw3jg355d6s137m40awc6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hook-pre-commit-pkg")
    (synopsis "Pre-commit git hook for LaTeX package developpers")
    (description
     "This package provides a pre-commit git hook to check basic LaTeX
syntax for the use of package developers.  It is installed by copying
it into the @file{.git/.hooks} file.  It then checks the following
file types: @file{.sty}, @file{.dtx}, @file{.bbx}, @file{.cbx}, and
@file{.lbx}.  It performs the following checks:

@itemize

@item each line must be terminated by @samp{%}, without a space before it;

@item empty lines are allowed, but not lines with nothing but spaces in them;

@item @code{\\begin@{macro@}} and @code{\\end@{macro@}} must be paired;

@item @code{\\begin@{macrocode@}} and @code{\\end@{macrocode@}} must be
paired;

@item @code{\\begin@{macro@}} must have a second argument;

@item one space must be printed between @samp{%} and @code{\\begin@{macro@}}
or @code{\\end@{macro@}}. @samp{%} must be the first character in the line;

@item four spaces must be printed between @samp{%} and
@code{\\begin@{macrocode@}} or @code{\\end@{macrocode@}};

@item @code{\\cs} argument must not start with a backslash.

@end itemize")
    (license license:gpl3)))

(define-public texlive-hopatch
  (package
    (name "texlive-hopatch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hopatch/" "source/latex/hopatch/"
                                     "tex/latex/hopatch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03hafzf0kpjhn5x392bziwyx0vf6fwcsy0xrn0c0jzn5cq5nqhap"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hopatch")
    (synopsis "Load patches for packages")
    (description
     "Hopatch provides a command with which the user may register of patch code
for a particular package.  Hopatch will apply the patch immediately, if the
relevant package has already been loaded; otherwise it will store the patch
until the package appears.")
    (license license:lppl1.3+)))

(define-public texlive-hyphen-base
  (package
    (name "texlive-hyphen-base")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/config/language.dat"
                                     "tex/generic/config/language.dat.lua"
                                     "tex/generic/config/language.def"
                                     "tex/generic/config/language.us"
                                     "tex/generic/config/language.us.def"
                                     "tex/generic/config/language.us.lua"
                                     "tex/generic/hyphen/dumyhyph.tex"
                                     "tex/generic/hyphen/hyphen.tex"
                                     "tex/generic/hyphen/hypht1.tex"
                                     "tex/generic/hyphen/zerohyph.tex"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12i6f99lmvjvq0bim9yxzdspi5fnirfsvin6hqdn30mrfdyp5l4p"))))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://tug.org/texlive/")
    (synopsis "Core hyphenation support files")
    (description "This package includes Knuth's original @file{hyphen.tex},
@file{zerohyph.tex} to disable hyphenation, @file{language.us} which starts
the autogenerated files @file{language.dat} and @file{language.def} (and
default versions of those), etc.")
    (license license:knuth)))

(define-public texlive-hyphenex
  (package
    (name "texlive-hyphenex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "source/generic/hyphenex/"
                                     "tex/generic/hyphenex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v1p93i56xgp01zly30bkfgb9py8nav1r620dbgz1q7438zbhzpp"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hyphenex")
    (synopsis "US English hyphenation exceptions file")
    (description
     "Exceptions for American English hyphenation patterns are occasionally
published in the TeX User Group journal TUGboat.  This bundle provides
alternative Perl and Bourne shell scripts to convert the source of such an
article into an exceptions file, together with a recent copy of the article
and machine-readable files.")
    (license license:public-domain)))

(define-public texlive-index
  (package
    (name "texlive-index")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/index/" "doc/latex/index/"
                                     "makeindex/index/" "source/latex/index/"
                                     "tex/latex/index/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f1infc8fcpw16crciampy4cqqhl4hzypyfacbwsk4cnl0fyivns"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/index")
    (synopsis "Extended index for LaTeX including multiple indexes")
    (description
     "This is a reimplementation of LaTeX's indexing macros to provide better
support for indexing.  For example, it supports multiple indexes in a single
document and provides a more robust @code{\\index} command.")
    (license license:lppl1.2+)))        ;from "index.dtx"

(define-public texlive-installfont
  (package
    (name "texlive-installfont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/installfont/"
                                     "scripts/installfont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wgksqg88hdzfvrywrv91al9skpj2vly09ly7qmzahqsyvdgmb9p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "installfont-tl")))
    (home-page "https://ctan.org/pkg/installfont")
    (synopsis "Bash script for installing a LaTeX font family")
    (description
     "With this script you can install a LaTeX font family (PostScript Type 1,
TrueType and OpenType formats are supported).  Font series from light to ultra
bold, and (faked) small caps and (faked) slanted shapes are supported, but not
expert fonts.  The script will rename the fonts automatically (optional) or
will otherwise expect the @file{.afm} files and the font files (in PostScript
Type1 format) named in the Karl Berry scheme (e.g., @file{5bbr8a.pfb}).  After
running the script, you should have a working font installation in your local
TeX tree.")
    (license license:lppl)))

(define-public texlive-dvipdfmx
  (package
    (name "texlive-dvipdfmx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/dvipdfm/"
                                     "doc/dvipdfmx/"
                                     "doc/man/man1/dvipdfm.1"
                                     "doc/man/man1/dvipdfm.man1.pdf"
                                     "doc/man/man1/dvipdfmx.1"
                                     "doc/man/man1/dvipdfmx.man1.pdf"
                                     "doc/man/man1/dvipdft.1"
                                     "doc/man/man1/dvipdft.man1.pdf"
                                     "doc/man/man1/ebb.1"
                                     "doc/man/man1/ebb.man1.pdf"
                                     "doc/man/man1/extractbb.1"
                                     "doc/man/man1/extractbb.man1.pdf"
                                     "doc/man/man1/xdvipdfmx.1"
                                     "doc/man/man1/xdvipdfmx.man1.pdf"
                                     "dvipdfmx/"
                                     "fonts/cmap/dvipdfmx/"
                                     "fonts/map/dvipdfmx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p6mlpymrhsalisfda0gbqg6b941fd164kcw0nc51pzc98aws1xz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'delete-map-file
            ;; This map file is supposed to be generated in a profile hook.
            (lambda _
              (delete-file "fonts/map/dvipdfmx/updmap/kanjix.map"))))))
    (propagated-inputs (list texlive-dvipdfmx-bin texlive-glyphlist))
    (home-page "https://ctan.org/pkg/dvipdfmx")
    (synopsis "Extended version of dvipdfm")
    (description
     "Dvipdfmx (formerly dvipdfm-cjk) is a development of dvipdfm created to
support multi-byte character encodings and large character sets for East Asian
languages.  Dvipdfmx, if called with the name dvipdfm, operates in a dvipdfm
compatibility mode, so that users of the both packages need only keep one
executable.  A secondary design goal is to support as many PDF features as
does pdfTeX.")
    (license license:gpl3+)))

(define-public texlive-dvipdfmx-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dvipdfmx-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("dvipdfm-x"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dvipdfm-x" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dvipdfm-x"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dvipdfm-x"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list libpaper libpng texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dvipdfmx))
    (synopsis "Binaries for @code{texlive-dvipdfmx}")
    (description
     "This package provides the binaries for @code{texlive-dvipdfmx}.")
    (license (package-license texlive-dvipdfmx))))

(define-public texlive-dvips
  (package
    (name "texlive-dvips")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/dvips/"
                                     "doc/info/dvips.info"
                                     "doc/man/man1/afm2tfm.1"
                                     "doc/man/man1/afm2tfm.man1.pdf"
                                     "doc/man/man1/dvips.1"
                                     "doc/man/man1/dvips.man1.pdf"
                                     "dvips/base/"
                                     "dvips/config/"
                                     "fonts/enc/dvips/base/"
                                     "tex/generic/dvips/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b2ai5ccnawlfshs5azrgp0azmwyxm1pi1q4c5i6mwvkgdbc1pww"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dvips-bin))
    (home-page "https://ctan.org/pkg/dvips")
    (synopsis "DVI to PostScript drivers")
    (description
     "This package provides files needed for converting DVI files to
PostScript.")
    (license license:lppl)))

(define-public texlive-dvips-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dvips-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            ;; XXX: One test needs "texmf.cnf" file to be present in the tree.
            (delete-other-directories "texk" '("dvipsk" "kpathsea" "tests"))
            (with-directory-excursion "texk/kpathsea"
              (for-each
               delete-file-recursively
               (scandir "." (lambda (f)
                              (not (member f '("." ".." "texmf.cnf")))))))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dvipsk" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dvipsk"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dvipsk"
                  (invoke "make" "install"))))))))
    (native-inputs (list perl pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dvips))
    (synopsis "Binaries for @code{texlive-dvips}")
    (description
     "This package provides the binaries for @code{texlive-dvips}.")
    (license (package-license texlive-dvips))))

(define-public texlive-ketcindy
  (package
    (name "texlive-ketcindy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/ketcindy/" "scripts/ketcindy/"
                                     "tex/latex/ketcindy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jy8fzfqwbmnza43j70c22wr0nvx9km8g4n5vcgnjvc6js2nyxas"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ketcindy.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/ketcindy")
    (synopsis "Macros for graphic generation and Cinderella plugin")
    (description
     "KETpic is a macro package designed for computer algebra systems (CAS) to
generate LaTeX source codes for high-quality mathematical artwork.  KETcindy
is a plugin for Cinderella that allows to generate graphics using KETpic.  The
generated code can be included in any LaTeX document.")
    (license license:gpl3+)))

(define-public texlive-lacheck
  (package
    (name "texlive-lacheck")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/lacheck.1"
                                     "doc/man/man1/lacheck.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hhx65yd800bl3y2sq20lix60wd2b2j3k7n9s788mlsn8b0p7yq3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-lacheck-bin))
    (home-page "https://ctan.org/pkg/lacheck")
    (synopsis "LaTeX checker")
    (description
     "Lacheck is a tool for finding common mistakes in LaTeX documents.")
    (license license:gpl3+)))

(define-public texlive-lacheck-bin
  (package
    (inherit texlive-bin)
    (name "texlive-lacheck-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("lacheck"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-lacheck" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/lacheck"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/lacheck"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-lacheck))
    (synopsis "Binary for @code{texlive-lacheck}")
    (description
     "This package provides the binary for @code{texlive-lacheck}.")
    (license (package-license texlive-lacheck))))

(define-public texlive-latex-git-log
  (package
    (name "texlive-latex-git-log")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/latex-git-log.1"
                                     "doc/man/man1/latex-git-log.man1.pdf"
                                     "doc/support/latex-git-log/"
                                     "scripts/latex-git-log/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01v6frspg1zrs976bwsdz6qczg0h5z6by90hmlyy4z6l5shscpix"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "latex-git-log")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/latex-git-log")
    (synopsis "Typeset @samp{git log} information")
    (description
     "The program is run within a Git repository, and outputs the entire
version history, as a LaTeX table.  That output will typically be redirected
to a file; the author recommends typesetting in landscape orientation.")
    (license license:gpl3+)))

(define-public texlive-latex-papersize
  (package
    (name "texlive-latex-papersize")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/latex-papersize/"
                                     "scripts/latex-papersize/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19nich5n4prd3g4lqm9iwn9h27h54mnycd6p4g5p18jc0b56l3n8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "latex-papersize.py")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/latex-papersize")
    (synopsis "Calculate LaTeX settings for any font and paper size")
    (description
     "The package is a Python script, whose typical use is when preparing
printed material for users with low vision.  The most effective way of doing
this is to print on (notional) small paper, and then to magnify the result;
the script calculates the settings for various font and paper sizes.")
    (license license:asl2.0)))

(define-public texlive-latex-via-exemplos
  (package
    (name "texlive-latex-via-exemplos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-via-exemplos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11nhv72ixwr0g19nr7dir5awgdapxq0l295hm1pcggr62wqh67l1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-via-exemplos")
    (synopsis "LaTeX course written in Brazilian Portuguese language")
    (description
     "This is a LaTeX2e course written in Brazilian Portuguese language.")
    (license license:gpl2+)))

(define-public texlive-latex2man
  (package
    (name "texlive-latex2man")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/info/latex2man.info"
                                     "doc/man/man1/latex2man.1"
                                     "doc/man/man1/latex2man.man1.pdf"
                                     "doc/support/latex2man/"
                                     "scripts/latex2man/"
                                     "tex/latex/latex2man/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c5pfnhw80fh132k2dmj3qdjgvl9dm6xzv55f54g2wlswpzlinis"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "latex2man")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/latex2man")
    (synopsis "Translate LaTeX-based manual pages into Unix man format")
    (description
     "Latex2man is a tool to translate UNIX manual pages written with LaTeX
into the troff format understood by the UNIX man(1) command.  Alternatively
HTML, TexInfo, or LaTeX code can be produced too.  Output of parts of the text
may be supressed using the conditional text feature (for this, LaTeX
generation may be used).  There is a LaTeX package (@file{latex2man.sty}) for
writing the man page and a Perl script, @command{latex2man} that does the
actual translation.")
    (license license:lppl1.0+)))

(define-public texlive-latex2nemeth
  (package
    (name "texlive-latex2nemeth")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/latex2nemeth/"
                                     "scripts/latex2nemeth/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04l3pnzwnh86ixlj7pjy6wgkzqm5i3ka332yfkl5f6cw48dw6xw5"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "icedtea")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "latex2nemeth")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'locate-java
            (lambda* (#:key inputs #:allow-other-keys)
              (substitute* "scripts/latex2nemeth/latex2nemeth"
                (("java") (search-input-file inputs "/bin/java"))))))))
    (inputs (list icedtea))
    (home-page "https://ctan.org/pkg/latex2nemeth")
    (synopsis "Convert LaTeX source to Braille with math in Nemeth")
    (description
     "This package provides a program that converts LaTeX source to
Braille/Nemeth.  It supports the Greek language, which is only Braille level
1, but also English at level 1.  Simple pictures in PSTricks are also
supported in order to produce tactile graphics with specialized equipment.
Note that embossing will need LibreOffice and @code{odt2braille} as this
project does not deal with embossers drivers.")
    (license license:gpl3)))

(define-public texlive-latexdiff
  (package
    (name "texlive-latexdiff")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/latexdiff-vc.1"
                                     "doc/man/man1/latexdiff-vc.man1.pdf"
                                     "doc/man/man1/latexdiff.1"
                                     "doc/man/man1/latexdiff.man1.pdf"
                                     "doc/man/man1/latexrevise.1"
                                     "doc/man/man1/latexrevise.man1.pdf"
                                     "doc/support/latexdiff/"
                                     "scripts/latexdiff/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03fnz7gilzwzgsqij10npfy8k2imhk5glfjijr52qgmg28r3xvi1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts
           #~(list "latexdiff-vc.pl" "latexdiff.pl" "latexrevise.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/latexdiff")
    (synopsis
     "Determine and mark up significant differences between LaTeX files")
    (description
     "Latexdiff is a Perl script for visual mark up and revision of
significant differences between two LaTeX files.  Various options are
available for visual markup using standard LaTeX packages such as color.
Changes not directly affecting visible text, for example in formatting
commands, are still marked in the LaTeX source.  A rudimentary revision
facilility is provided by another Perl script, @command{latexrevise}, which
accepts or rejects all changes.  Manual editing of the difference file can be
used to override this default behaviour and accept or reject selected changes
only.")
    (license license:gpl3)))

(define-public texlive-latexfileversion
  (package
    (name "texlive-latexfileversion")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/latexfileversion/"
                                     "scripts/latexfileversion/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12kw9s415dnlaadx6yn2jddvflvbs754rkz30xhr3di2ldpvp2jj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "latexfileversion")))
    (home-page "https://ctan.org/pkg/latexfileversion")
    (synopsis "Prints the version and date of a LaTeX class or style file")
    (description
     "This simple shell script prints the version and date of a LaTeX class or
style file.")
    (license license:lppl)))

(define-public texlive-latexindent
  (package
    (name "texlive-latexindent")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/latexindent/"
                                     "scripts/latexindent/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06ddl4gmjn8lhb05njc56n9wx9cjwnv3z7yxq17y83r4s6shf9dl"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl-file-homedir"
                                        "perl-yaml-tiny")))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "latexindent.pl")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'link-scripts 'wrap-perl-script
                 (lambda _
                   (wrap-program (string-append #$output "/bin/latexindent")
                     `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))))))
    (inputs (list perl perl-file-homedir perl-yaml-tiny))
    (home-page "https://ctan.org/pkg/latexindent")
    (synopsis "Indent a LaTeX document, highlighting the programming structure")
    (description
     "The Perl script processes a LaTeX file, indenting parts so as to
highlight the structure for the reader.")
    (license license:gpl3)))

(define-public texlive-latexpand
  (package
    (name "texlive-latexpand")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/latexpand/"
                                     "scripts/latexpand/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v0yn4n6v0kgxwh00ryfkrx7a4sxhkm0pbgnylvi8jfg24gz89ls"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "latexpand")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/latexpand")
    (synopsis "Expand @code{\\input} and @code{\\include} in a LaTeX document")
    (description
     "Latexpand is a Perl script that simply replaces @code{\\input} and
@code{\\include} commands with the content of the input or included file.  The
script does not deal with @code{\\includeonly} commands.")
    (license license:bsd-3)))

(define-public texlive-light-latex-make
  (package
    (name "texlive-light-latex-make")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/llmk.1"
                                     "doc/man/man1/llmk.man1.pdf"
                                     "doc/support/light-latex-make/"
                                     "scripts/light-latex-make/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g5xc2cna1fdgksw0w56idkmfw5rfqifimg8picm4478vlq2srp4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "llmk.lua")))
    (home-page "https://ctan.org/pkg/light-latex-make")
    (synopsis "Build tool for LaTeX documents")
    (description
     "Light LaTeX Make (llmk) is yet another build tool specific for LaTeX
documents.  Its aim is to provide a simple way to specify a workflow of
processing LaTeX documents and encourage people to always explicitly show the
right workflow for each document.  You can describe the workflows either in an
external file @file{llmk.toml} or in a LaTeX document source in the form of
magic comments.  It provides a uniform way to describe the workflows available
for nearly all TeX environments, and behaves exactly the same in any
environment.  At this point, @command{llmk} intentionally does not provide any
method for user configuration.  Therefore one can guarantee that for a LaTeX
document with an llmk setup, the process of typesetting the document will be
reproduced in any TeX environment with the program.")
    (license license:expat)))

(define-public texlive-listings-ext
  (package
    (name "texlive-listings-ext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/listings-ext/"
                                     "scripts/listings-ext/"
                                     "source/latex/listings-ext/"
                                     "tex/latex/listings-ext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "044d93vdlw1amkpm8nv50390a5ba7x7d2w1y3mfg5bfvfb5cci6r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "listings-ext.sh")))
    (home-page "https://ctan.org/pkg/listings-ext")
    (synopsis "Automated input of source")
    (description
     "The package provides a means of marking a source, so that samples of it
may be included in a document (by means of the @code{listings} package) in
a stable fashion, regardless of any change to the source.  The markup in the
source text defines tags for blocks of source.  These tags are processed by
a shell script to make a steering file that is used by the package when LaTeX
is being run.")
    (license license:lppl1.2+)))

(define-public texlive-ltxfileinfo
  (package
    (name "texlive-ltxfileinfo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/ltxfileinfo/"
                                     "scripts/ltxfileinfo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nbcplq48cw768pjyg832ymqmjr9rlrcpl6jmkq8mrvvydgy8nai"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ltxfileinfo")))
    (home-page "https://ctan.org/pkg/ltxfileinfo")
    (synopsis "Print version information for a LaTeX file")
    (description
     "@command{ltxfileinfo} displays version information for LaTeX files.
If no path information is given, the file is searched using
@command{kpsewhich}.")
    (license license:gpl3+)))

(define-public texlive-ltximg
  (package
    (name "texlive-ltximg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/ltximg.1"
                                     "doc/man/man1/ltximg.man1.pdf"
                                     "doc/support/ltximg/" "scripts/ltximg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pxyh0w7jkdapzfjgp6fmvfq1hs6mz6qbpykd33r4c5ghyks4cwb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ltximg.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/ltximg")
    (synopsis "Extract LaTeX environments into separate image files")
    (description
     "@command{ltximg} is a Perl script that automates the process of
extracting and converting environments provided by TikZ, PStricks and other
packages from input file to image formats and standalone files using
Ghostscript and @code{poppler-utils}.  It generates a file with only extracted
environments and another with all extracted environments converted to
@code{\\includegraphics}.")
    (license license:gpl3+)))

(define-public texlive-luajittex
  (package
    (name "texlive-luajittex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/luajithbtex.1"
                                     "doc/man/man1/luajithbtex.man1.pdf"
                                     "doc/man/man1/luajittex.1"
                                     "doc/man/man1/luajittex.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ky6maprb0xnzb38bz9bd28q54pa32015wjczc2zfbqibyxrmv9s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats
           #~(and (not #$(or (target-ppc64le?)
                             (target-riscv64?)))
                  (list "luajithbtex" "luajittex"))))
    (propagated-inputs
     (list texlive-cm
           texlive-etex
           texlive-hyphen-complete
           texlive-knuth-lib
           texlive-luajittex-bin
           texlive-luatex
           texlive-plain
           texlive-tex-ini-files
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/luajittex")
    (synopsis "LuaTeX with JIT compiler, with and without HarfBuzz")
    (description
     "This package provides LuaTeX with just-in-time (JIT) compiler, with and
without HarfBuzz.")
    (license license:gpl2)))

(define-public texlive-luajittex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-luajittex-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons* "--disable-web2c"
                 "--enable-luajithbtex"
                 "--enable-luajittex"
                 (delete "--disable-luajittex"
                         (delete "--disable-luajithbtex"
                                 (delete "--enable-web2c" #$flags)))))
       ((#:phases phases)
        #~(modify-phases #$phases
            (add-after 'unpack 'force-libs-build
              ;; Once Web2C is disabled, build process refuses to build
              ;; libraries in the source tree, in particular pplib and luajit,
              ;; required for LuajitTeX.  The following change forces building
              ;; them.
              ;;
              ;; XXX: Skip build on architectures not supporting LuaJIT.  It
              ;; avoid creating conditional inputs in TEXLIVE-LUAJITTEX, which
              ;; would give more manual work after an update.
              (lambda _
                #$@(if (or (target-ppc64le?)
                           (target-riscv64?))
                       '("skip")
                       '((substitute* "libs/configure"
                           (("x\\$need_(pplib|luajit)") "xyes"))))))
            (add-after 'install 'install-binaries
              (lambda _
                (let ((out #$output))
                  #$@(if (or (target-ppc64le?)
                             (target-riscv64?))
                         '("skip")
                         '((with-directory-excursion "texk/web2c"
                             (invoke "make" "luajittex")
                             (invoke "make" "luajithbtex")
                             (let ((bin (string-append out "/bin")))
                               (install-file ".libs/luajittex" bin)
                               (install-file ".libs/luajithbtex" bin))))))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-luajittex))
    (synopsis "Binaries for @code{texlive-luajittex}")
    (description
     "This package provides the binaries for @code{texlive-luajittex}.")
    (license (package-license texlive-luajittex))))

(define-public texlive-match-parens
  (package
    (name "texlive-match-parens")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/match_parens.1"
                                     "doc/man/man1/match_parens.man1.pdf"
                                     "doc/support/match_parens/"
                                     "scripts/match_parens/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0adb84qgwjr54x1qkz18a501afyv8s0wrqjnid398lbqphhc7w07"))))
    (outputs '("out" "doc"))
    (properties '((upstream-name . "match_parens")
                  (updater-extra-inputs "ruby")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "match_parens")))
    (inputs (list ruby))
    (home-page "https://ctan.org/pkg/match_parens")
    (synopsis
     "Find mismatches of parentheses, braces, (angle) brackets, in texts")
    (description
     "Mismatches of parentheses, braces, (angle) brackets, especially in TeX
sources which may be rich in those, may be difficult to trace.  This little
Ruby script helps you by writing your text to standard output, after adding
a left margin to your text, which will normally be almost empty, but will
clearly show any mismatches.")
    (license license:gpl3+)))

(define-public texlive-mflua
  (package
    (name "texlive-mflua")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "metafont/mflua/" "scripts/mflua/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ngbhdh8hgpjfqnrjlnp27x3qziks3yf2zp1qq7r4bjfa5jx9gr6"))))
    (build-system texlive-build-system)
    (arguments (list #:create-formats #~(list "mflua")))
    (propagated-inputs (list texlive-luatex texlive-metafont texlive-mflua-bin))
    (home-page "https://ctan.org/pkg/mflua")
    (synopsis "Configuration and base files for MFLua")
    (description
     "MFLua is an extension of Metafont which embeds a Lua interpreter.  It
doesn’t introduce any new primitives, so a Metafont file can be used with
MFLua without any modification to produce exactly the same result.")
    ;; The license is the same as Metafont's, with a couple of files
    ;; released under Public Domain terms.
    (license (list license:knuth license:public-domain))))

(define-public texlive-mflua-bin
  (package
    (inherit texlive-bin)
    (name "texlive-mflua-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons* "--disable-web2c"
                 "--enable-mflua"
                 ;; LuaJIT is not ported to some architectures yet.
                 #$@(if (or (target-ppc64le?)
                            (target-riscv64?))
                        '()
                        '("--enable-mfluajit"))
                 (delete "--disable-mflua"
                         (delete "--disable-mfluajit"
                                 (delete "--enable-web2c" #$flags)))))
       ((#:phases phases)
        #~(let ((bin (string-append #$output "/bin")))
            ;; Once Web2C is disabled, build process refuses to build
            ;; libraries in the source tree, in particular lua53 and luajit,
            ;; required for MfluaJIT.  The following changes forces building
            ;; them.
            (modify-phases #$phases
              #$@(if (or (target-ppc64le?) (target-riscv64?))
                     '()
                     '((add-after 'unpack 'force-luajit-build
                         (lambda _
                           (substitute* "libs/configure"
                             (("x\\$need_luajit") "xyes"))))
                       (add-after 'install 'install-mfluajiit
                         (lambda _
                           (with-directory-excursion "texk/web2c"
                             (invoke "make" "mfluajit")
                             (install-file ".libs/mfluajit" bin))))))
              (add-after 'unpack 'force-lua53-build
                (lambda _
                  (substitute* "libs/configure"
                    (("x\\$need_lua53") "xyes"))))
              (add-after 'install 'install-mflua
                (lambda _
                  (with-directory-excursion "texk/web2c"
                    (invoke "make" "mflua")
                    (install-file ".libs/mflua" bin)))))))))
    (native-inputs (list pkg-config))
    (inputs (modify-inputs (package-inputs texlive-bin)
              (append potrace)))
    (home-page (package-home-page texlive-mflua))
    (synopsis "Binaries for @code{texlive-mflua}")
    (description
     "This package provides the binaries for @code{texlive-mflua}.")
    (license (package-license texlive-mflua))))

(define-public texlive-mkjobtexmf
  (package
    (name "texlive-mkjobtexmf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/mkjobtexmf/"
                                     "doc/man/man1/mkjobtexmf.1"
                                     "doc/man/man1/mkjobtexmf.man1.pdf"
                                     "scripts/mkjobtexmf/"
                                     "source/generic/mkjobtexmf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04wzq2260my5894kc8qhl954h6hri77vvg5kx8mf03kdlf3rvww6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "mkjobtexmf.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/mkjobtexmf")
    (synopsis "Generate a texmf tree for a particular job")
    (description
     "The package provides a Perl script, which runs a program and tries to
find the names of file used.  Two methods are available, option
@samp{-recorder} of (Web2C) TeX and the program strace.  Then it generates
a directory with a texmf tree.  It checks the found files and tries sort them
in this texmf tree.  The script may be used for archiving purposes or to speed
up later TeX runs.")
    (license license:artistic2.0)))

(define-public texlive-make4ht
  (package
    (name "texlive-make4ht")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/make4ht/" "scripts/make4ht/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bi1kmi2i6rk3zhbrpyc6rjkvsh2cadwbhshlm7njprfvjpw182r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "make4ht")))
    (propagated-inputs (list texlive-tex4ht))
    (home-page "https://ctan.org/pkg/make4ht")
    (synopsis "Build system for TeX4ht")
    (description
     "@code{make4ht} is a simple build system for TeX4ht, a TeX to XML
converter.  It provides a command line tool that drives the conversion
process.  It also provides a library which can be used to create customized
conversion tools.")
    (license license:lppl1.3+)))

(define-public texlive-makecell
  (package
    (name "texlive-makecell")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/makecell/"
                                     "source/latex/makecell/"
                                     "tex/latex/makecell/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n122230s49jizldn8ps1pfa5dsg8wmh5x8wla4y6rsgjcccqn4s"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tex-format "latex"
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'replace-obsolete-package
            ;; "slashbox" is no longer provided in TeX Live.  It is superseded
            ;; by `diagbox', which is backward compatible.
            (lambda _
              (substitute* "source/latex/makecell/makecell.dtx"
                (("\\\\usepackage\\{slashbox\\}")
                 "\\usepackage{diagbox}"))))
          (add-after 'replace-obsolete-package 'load-float
            ;; Loading `float' package prevents the "Unknown float option `H'"
            ;; error.
            (lambda _
              (substitute* "source/latex/makecell/makecell.dtx"
                (("usepackage\\{diagbox\\}.*" line)
                 (string-append line "\\usepackage{float}\n")))))
          (add-after 'load-float 'remove-hsize-reference
            ;; Replace "\hsize" primitive with a dummy value to prevent
            ;; a "missing number treated as zero" error.
            (lambda _
              (substitute* "source/latex/makecell/makecell.dtx"
                (("\\\\ttabbox\\[\\\\hsize\\]") "\\ttabbox[10cm]")))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-diagbox
                  texlive-etoolbox
                  texlive-float
                  texlive-hypdoc
                  texlive-multirow
                  texlive-pict2e))))
    (home-page "https://ctan.org/pkg/makecell")
    (synopsis "Tabular column heads and multilined cells")
    (description
     "This package supports common layouts for tabular column heads in whole
documents, based on one-column tabular environment.  In addition, it can
create multi-lined tabular cells.

The package also offers:
@itemize
@item a macro which changes the vertical space around all the cells in a @code{tabular}
environment,
@item macros for multirow cells, which use the facilities
of the @code{multirow} package,
@item macros to number rows in tables, or to skip cells;
@item diagonally divided cells;
@item horizontal lines in @code{tabular} environments with defined thickness.
@end itemize")
    (license license:lppl)))


(define-public texlive-optexcount
  (package
    (name "texlive-optexcount")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/optexcount/"
                                     "scripts/optexcount/"
                                     "source/support/optexcount/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rjyhyirkx11v04c8b0kjjz8745kdnj190vzkyyzafwnzfcbd754"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "python")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "optexcount")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/optexcount")
    (synopsis "Python script for counting words in OpTeX documents")
    (description
     "OpTeXcount is a basic Python utility that analyzes OpTeX source code.
It is inspired by already existing TeXcount for LaTeX. The functionality is
really lightweight and basic.  It counts words and other elements of OpTeX
document and sorts them out into individual categories.  Users can print the
source code with highlighted words using several colors, so they see what is
considered as word, header etc.")
    (license license:expat)))

(define-public texlive-patgen
  (package
    (name "texlive-patgen")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/patgen.1"
                                     "doc/man/man1/patgen.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qz8sb2dbjzsjarjydfm4f36ksv68sc7dz23p066hbbq1g91sjdl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-kpathsea texlive-patgen-bin))
    (home-page "https://ctan.org/pkg/patgen")
    (synopsis "Generate hyphenation patterns")
    (description
     "Patgen takes a list of hyphenated words and generates a set of patterns
that can be used by the TeX 82 hyphenation algorithm.")
    (license license:public-domain)))

(define-public texlive-patgen-bin
  (package
    (inherit texlive-bin)
    (name "texlive-patgen-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(delete "--enable-web2c" #$flags))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (invoke "make" "patgen")
                  (install-file "patgen"
                                (string-append #$output "/bin")))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-patgen))
    (synopsis "Binary for @code{texlive-patgen}")
    (description
     "This package provides the binary for @code{texlive-patgen}.")
    (license (package-license texlive-patgen))))

(define-public texlive-pdfbook2
  (package
    (name "texlive-pdfbook2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pdfbook2.1"
                                     "doc/man/man1/pdfbook2.man1.pdf"
                                     "doc/support/pdfbook2/" "scripts/pdfbook2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cw0xw2dmcgmkms8d94pchbbg17lfvvbnzbagaqpy2fzxi2kb4w8"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "python")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pdfbook2")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/pdfbook2")
    (synopsis "Create booklets from PDF files")
    (description
     "This Python program creates print-ready PDF files from some input PDF
files for booklet printing.  The resulting files need to be printed in
landscape/long edge double sided printing.  The default paper format depends
on the locale and is chosen by @code{pdfjam}.  It can be chosen using the
@code{--paper} option.  Before the PDF is composed, the input file is cropped
to the relevant area in order to discard unnecessary white spaces.  In this
process, all pages are cropped to the same dimensions.  Extra margins can be
defined at the edges of the booklet and in the middle where the binding
occurs.")
    (license license:gpl3)))

(define-public texlive-pdfcrop
  (package
    (name "texlive-pdfcrop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/pdfcrop/" "scripts/pdfcrop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g5ijqyyq5dqilwjk0s61ps5w6dxxgpjllzqh0bjfc26p9jrc4nn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "pdfcrop.pl")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'link-scripts 'add-symlink
                 (lambda _
                   (with-directory-excursion (string-append #$output "/bin")
                     (symlink "pdfcrop" "rpdfcrop")))))))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/pdfcrop")
    (synopsis "Crop PDF graphics")
    (description
     "This package provides a Perl script that can either trim pages of any
whitespace border, or trim them of a fixed border.")
    (license license:lppl1.3c)))

(define-public texlive-pdfjam
  (package
    (name "texlive-pdfjam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pdfjam.1"
                                     "doc/man/man1/pdfjam.man1.pdf"
                                     "doc/support/pdfjam/" "scripts/pdfjam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yivz2hawv7lisqhbcz494wlc9clz3zg2hilarp5h29ncyda1dzs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pdfjam")))
    (home-page "https://ctan.org/pkg/pdfjam")
    (synopsis "Shell scripts interfacing to @code{pdfpages}")
    (description
     "The package makes available the @command{pdfjam} shell script that
provides a simple interface to much of the functionality of the excellent
@code{pdfpages} package for LaTeX. The @command{pdfjam} script takes one or
more PDF files (and/or JPG/PNG graphics files) as input, and produces one or
more PDF files as output.  It is useful for joining files together, selecting
pages, reducing several source pages onto one output page, etc.")
    (license license:gpl2+)))

(define-public texlive-pdflatexpicscale
  (package
    (name "texlive-pdflatexpicscale")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/pdflatexpicscale/"
                                     "scripts/pdflatexpicscale/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "089n7r17c9kj1hhgm0hkfjhrqp2bhwjrj1czb3qllz7rm2x230h1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pdflatexpicscale.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/pdflatexpicscale")
    (synopsis
     "Support software for downscaling graphics to be included by pdfLaTeX")
    (description
     "The package provides a script to scale pictures down to a target
resolution before creating a PDF document with pdfLaTeX.")
    (license license:lppl)))

(define-public texlive-pdftex-quiet
  (package
    (name "texlive-pdftex-quiet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/pdftex-quiet/"
                                     "scripts/pdftex-quiet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gpxwiiiq05m24ahx9mnhn7i6rldqkmx041p1bnnddswajs9wgm3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pdftex-quiet")))
    (home-page "https://ctan.org/pkg/pdftex-quiet")
    (synopsis "Bash wrapper for pdfTeX limiting its output to relevant errors")
    (description
     "This package provides a Bash script aiming at reducing pdfTeX's output
to relevant errors, which are displayed in a red bold font.")
    (license license:gpl3)))

(define-public texlive-pdftosrc
  (package
    (name "texlive-pdftosrc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pdftosrc.1"
                                     "doc/man/man1/pdftosrc.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dfx13860iwdc8ify8vaiypilaf55j5ya5xhpl0hmvxwgss9acrc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdftosrc")
    (synopsis "Extract source file or stream from PDF file")
    (description
     "@command{pdftosrc} extracts an embedded source file, or extracts and
uncompresses a PDF stream given by object number.")
    (license license:gpl2+)))

(define-public texlive-pdfxup
  (package
    (name "texlive-pdfxup")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pdfxup.1"
                                     "doc/man/man1/pdfxup.man1.pdf"
                                     "doc/support/pdfxup/" "scripts/pdfxup/"
                                     "tex/latex/pdfxup/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zk4nw1acqz77cy17l8mzi06f0aag16ikp8ymjsl110iw8p8my98"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pdfxup")))
    (home-page "https://ctan.org/pkg/pdfxup")
    (synopsis "Create N-up PDF pages with minimal margins")
    (description
     "@command{pdfxup} is a shell script that creates a PDF document where
each page is obtained by combining several pages of a PDF file given as
output.")
    (license license:lppl1.3+)))

(define-public texlive-pfarrei
  (package
    (name "texlive-pfarrei")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pfarrei/" "scripts/pfarrei/"
                                     "source/latex/pfarrei/" "tex/latex/pfarrei/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1js0bn7avlrpjp98jpbwalsxlb16pgvqlcby6rnr8l3488j2fh7c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "a5toa4.tlu" "pfarrei.tlu")))
    (home-page "https://ctan.org/pkg/pfarrei")
    (synopsis "LaTeX support of pastors' and priests' work")
    (description
     "In @emph{Die TeXnische Komodie} (issue 1/2013) Christian Justen
described his use of LaTeX in his work as priest (similar requirements may be
encountered in the work of pastors and other ministers of religion).  One
point was to arrange A5 pages onto A4 landscape paper, either side-by-side or
as a booklet.  Justen made two Bash scripts for this job; the package provides
one Texlua script for both requirements.")
    (license license:lppl1.3+)))

(define-public texlive-pkfix
  (package
    (name "texlive-pkfix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/pkfix/" "scripts/pkfix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "173l1qaydv29va9cgip9p3i3vf27x6ndsqjm4nvdpliblai6fkwf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pkfix.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/pkfix")
    (synopsis "Replace PK fonts in PostScript with Type 1 fonts")
    (description
     "The Perl script @command{pkfix} looks for DVIPSBitmapFont comments in
PostScript files, generated by not too old dvips, and replaces them by type
1 versions of the fonts, if possible.")
    (license license:lppl1.3+)))

(define-public texlive-pkfix-helper
  (package
    (name "texlive-pkfix-helper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pkfix-helper.1"
                                     "doc/man/man1/pkfix-helper.man1.pdf"
                                     "doc/support/pkfix-helper/"
                                     "scripts/pkfix-helper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vq52g65an1v9g0kdhsy0xpsf1hj69gl4cr5aq1m816i8ahhzxxy"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pkfix-helper")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/pkfix-helper")
    (synopsis "Make PostScript files accessible to pkfix")
    (description
     "Pkfix is a useful utility for replacing resolution-dependent bitmapped
fonts in a dvips-produced PostScript file with the corresponding
resolution-independent vector fonts.  Unfortunately, @command{pkfix} needs to
parse certain PostScript comments that appear only in files produced by dvips
versions later than 5.58 (circa 1996); it fails to work on PostScript files
produced by older versions of dvips.  Pkfix-helper is a program that attempts
to insert newer-dvips comments into an older-dvips PostScript file, thereby
making the file suitable for processing by @command{pkfix}.
@command{pkfix-helper} can sometimes process documents fully autonomously but
does require the user to verify and, if needed, correct its decisions.")
    (license license:lppl1.3c)))

(define-public texlive-purifyeps
  (package
    (name "texlive-purifyeps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/purifyeps.1"
                                     "doc/man/man1/purifyeps.man1.pdf"
                                     "doc/support/purifyeps/"
                                     "scripts/purifyeps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0523kgilwd142a43fw1r406rn8ck67hp78aqhsws931glf7j9y8p"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "purifyeps")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/purifyeps")
    (synopsis "Make EPS work with both LaTeX/dvips and pdfLaTeX")
    (description
     "While pdfLaTeX has a number of nice features, its primary shortcoming
relative to standard LaTeX+dvips is that it is unable to read ordinary
Encapsulated PostScript (EPS) files, the most common graphics format in the
LaTeX world.  Purifyeps converts EPS files into a purified form that can be
read by both LaTeX+dvips and pdfLaTeX.  The trick is that the standard LaTeX2e
graphics packages can parse Metapost-produced EPS directly.  Hence,
@command{purifyeps} need only convert an arbitrary EPS file into the same
stylized format that Metapost outputs.")
    (license license:lppl)))

(define-public texlive-seetexk
  (package
    (name "texlive-seetexk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dvibook.1"
                                     "doc/man/man1/dvibook.man1.pdf"
                                     "doc/man/man1/dviconcat.1"
                                     "doc/man/man1/dviconcat.man1.pdf"
                                     "doc/man/man1/dviselect.1"
                                     "doc/man/man1/dviselect.man1.pdf"
                                     "doc/man/man1/dvitodvi.1"
                                     "doc/man/man1/dvitodvi.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bhv5xgv8jpam5apdybd0cggnvcizk2r6zs7lim1hmhzafpqqlcx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-seetexk-bin))
    (home-page "https://ctan.org/pkg/dvibook")
    (synopsis "Utilities for manipulating DVI files")
    (description
     "The package provides a collection of utilities for manipulating DVI
files:

@itemize

@item @command{dvibook}, which will rearrange the pages of a DVI file into
signatures as used when printing a book;

@item @command{dviconcat}, for concatenating pages of DVI file(s);

@item @command{dviselect}, which will select pages from one DVI file to create
a new DVI file;

@item @command{dvitodvi}, which will rearrange the pages of a DVI file to
create a new file;

@item @command{libtex}, a library for manipulating the files, from the old
SeeTeX project.

@end itemize")
    (license license:expat)))

(define-public texlive-seetexk-bin
  (package
    (inherit texlive-bin)
    (name "texlive-seetexk-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("seetexk"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-seetexk" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/seetexk"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/seetexk"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-seetexk))
    (synopsis "Binary for @code{texlive-seetexk}")
    (description
     "This package provides the binary for @code{texlive-seetexk}.")
    (license (package-license texlive-seetexk))))

(define-public texlive-spix
  (package
    (name "texlive-spix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/spix.1"
                                     "doc/man/man1/spix.man1.pdf"
                                     "doc/support/spix/" "scripts/spix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k1vkkrn14svqarbqpfccw3qqiz1slngngrwgs4fj5y0ilrym0bf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "spix.py")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/spix")
    (synopsis "Yet another TeX compilation tool")
    (description
     "SpiX offers a way to store information about the compilation process for
a TeX file inside the TeX file itself.  Just write the commands as comments in
the TeX files, and SpiX will extract and run those commands.  Everything is
stored in the TeX file (so that you are not missing some piece of information
that is located somewhere else), in a human-readable format (no need to know
SpiX to understand it).")
    (license license:gpl3+)))

(define-public texlive-srcredact
  (package
    (name "texlive-srcredact")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/srcredact.1"
                                     "doc/man/man1/srcredact.man1.pdf"
                                     "doc/support/srcredact/"
                                     "scripts/srcredact/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a0mmr3ggxxv69zfwlrlagbczy83ngy2kxzw437n0iksz6bgrvpx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "srcredact.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/srcredact")
    (synopsis "Tool for redacting sources")
    (description
     "This package provides a tool to keep a master source, consisting of
different chunks intended for different audiences.  The tool allows to extract
the versions intended for different audiences and to incorporate the changes
made in any of these versions into the master document.")
    (license license:gpl2)))

(define-public texlive-sty2dtx
  (package
    (name "texlive-sty2dtx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/sty2dtx.1"
                                     "doc/man/man1/sty2dtx.man1.pdf"
                                     "doc/support/sty2dtx/" "scripts/sty2dtx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06930x3c52f3x9rqcmsif7y6rw11g1myya3wp77p20vfi7whxhsv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "sty2dtx.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/sty2dtx")
    (synopsis "Create a @file{.dtx} file from a @file{.sty} file")
    (description
     "The package provides a Perl script that converts a @file{.sty}
file (LaTeX package) to @file{.dtx} format (documented LaTeX source), by
surrounding macro definitions with macro and macrocode environments.  The
macro name is automatically inserted as an argument to the macro environment.
Code lines outside macro definitions are wrapped only in macrocode
environments.  Empty lines are removed.  The script should not be thought to
be fool proof and 100% accurate but rather as a good start to the business of
making a @file{.dtx} file from an undocumented style file.  Full @file{.dtx}
files are generated.  A template based on the skeleton file from @code{dtxtut}
is used.  User level macros are added automatically to the Usage section of
the @file{.dtx} file.  A corresponding @file{.ins} file can be generated as
well.")
    (license license:gpl3)))

(define-public texlive-tex-ini-files
  (package
    (name "texlive-tex-ini-files")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tex-ini-files/"
                                     "tex/generic/tex-ini-files/"
                                     "tex/latex/tex-ini-files/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dk525x1dwgvijksa3x61lkwhvhp6vmwkw249yg7njcyca2bwa65"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://www.ctan.org/pkg/tex-ini-files")
    (synopsis "Files for creating TeX formats")
    (description
     "This bundle provides a collection of model @file{.ini} files for
creating TeX formats.  These files are commonly used to introduced
distribution-dependent variations in formats.  They are also used to allow
existing format source files to be used with newer engines, for example to
adapt the plain e-TeX source file to work with XeTeX and LuaTeX.")
    (license license:public-domain)))

(define-deprecated-package texlive-generic-tex-ini-files texlive-tex-ini-files)

(define-public texlive-metafont
  (package
    (name "texlive-metafont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/inimf.1"
                                     "doc/man/man1/inimf.man1.pdf"
                                     "doc/man/man1/mf-nowin.1"
                                     "doc/man/man1/mf-nowin.man1.pdf"
                                     "doc/man/man1/mf.1"
                                     "doc/man/man1/mf.man1.pdf"
                                     "metafont/base/"
                                     "metafont/config/"
                                     "metafont/misc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0273syb24s8bky93hskqpwcmr8nz1i6yjz2lbf4zx7nj436dpa78"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'build 'generate-mf.base
            ;; Even though the file "mf.base" does not appear in tlpdb, it
            ;; must be generated and provided in metafont package.
            (lambda _
              (let* ((cwd (getcwd))
                     (mf (string-append cwd "/metafont"))
                     (modes #$(this-package-input "texlive-modes")))
                (setenv "MFINPUTS"
                        (string-append
                         modes "/share/texmf-dist/fonts/source/public/modes:"
                         mf "/base:"
                         mf "/misc:"
                         mf "/roex:"
                         mf "/feynmf:"
                         mf "/mfpic:"
                         mf "/config")))
              ;; "build" directory was not created during `build' phases since
              ;; there is no ".ins" nor ".dtx" file to process.
              (mkdir-p "build")
              (with-directory-excursion "build"
                (invoke "inimf" "mf.mf")
                (install-file "mf.base"
                              (string-append #$output
                                             "/share/texmf-dist/web2c"))))))))
    (propagated-inputs (list texlive-kpathsea texlive-modes))
    (home-page "https://ctan.org/pkg/metafont")
    (synopsis "Metafont base files")
    (description "This package provides the Metafont base files needed to
build fonts using the Metafont system.")
    (license license:knuth)))

(define-deprecated-package texlive-metafont-base texlive-metafont)

(define-public texlive-metatype1
  (package
    (name "texlive-metatype1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "source/metapost/metatype1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nhbsn33w6zbzbvi3a32ng6ib5dbh0vll9g2c5ssiv1ysxqrg6yq"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metatype1")
    (synopsis "Generate Type 1 fonts from MetaPost")
    (description
     "The system employs scripts, common utility programs, and a set of
MetaPost macros to provide a means of expressing the details outline fonts
directly in the MetaPost language.  The system was employed to generate the
Latin Modern fonts, and the distribution includes an example development of
Knuth's logo fonts.")
    (license license:public-domain)))

(define-public texlive-mf2pt1
  (package
    (name "texlive-mf2pt1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/info/mf2pt1.info" "doc/support/mf2pt1/"
                                     "metapost/mf2pt1/" "scripts/mf2pt1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17dq4csl10j89rrxgyqjp3fjqkd9q6djgz9yi33y72w5ymjgiaik"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "mf2pt1.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/mf2pt1")
    (synopsis "Convert stylized Metafont to PostScript Type 1")
    (description
     "@command{mf2pt1} is a Perl script that facilitates producing PostScript
Type 1 fonts from a Metafont source file.  It is not, as the name may imply,
an automatic converter of arbitrary Metafont fonts to Type 1 format.
@command{mf2pt1} imposes a number of restrictions on the Metafont input.  If
these restrictions are met, it will produce valid Type 1 output with more
accurate control points than can be reverse-engineered by TeXtrace,
@command{mftrace}, and other programs which convert bitmaps to outline
fonts.")
    (license license:lppl1.3c)))

(define-public texlive-mfirstuc
  (package
    (name "texlive-mfirstuc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mfirstuc/"
                                     "scripts/mfirstuc/"
                                     "source/latex/mfirstuc/"
                                     "tex/latex/mfirstuc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fvdnfybfi7nych97i117s6wqf0w8drgzpf3qzfns9qxjxm0bv3l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mfirstuc")
    (synopsis "Uppercase the first letter of a word")
    (description
     "The package provides commands @code{\\makefirstuc} that uppercases the
first letter in its argument (with a check for a semantic markup command at
the start of the argument), and @code{\\xmakefirstuc} which expands the
argument before uppercasing.  It also provides
@code{\\capitalisewords@{phrase@}} which applies @code{\\makefirstuc} to each
word in the phrase, where the words are separated by regular
spaces.  (Exceptions can be made for words that shouldn't be converted.)")
    (license license:lppl1.3+)))

(define-public texlive-mfnfss
  (package
    (name "texlive-mfnfss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mfnfss/" "source/latex/mfnfss/"
                                     "tex/latex/mfnfss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1775vg12sk38givqq2zjapx4nxlyl95rf596r2inf8mv5phsi704"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mfnfss")
    (synopsis "Packages to typeset old german and Pandora fonts in LaTeX")
    (description
     "This bundle contains two packages: @code{oldgerm}, a package to typeset
with old german fonts designed by Yannis Haralambous, and @code{pandora},
a package to typeset with Pandora fonts designed by Neena Billawala.  Note
that support for the Pandora fonts is also available via the
@code{pandora-latex} package.")
    (license license:lppl)))

(define-public texlive-modes
  (package
    (name "texlive-modes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/modes/"
                                     "fonts/source/public/modes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15m78jhapl70bvalic790jpwyllr1ishl9wsdiwqf396dssr1g39"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/modes")
    (synopsis "Collection of Metafont @code{mode_def}'s")
    (description
     "The modes file collects all known Metafont modes for printing or display
devices, of whatever printing technology.  Special provision is made for
write-white printers, and a landscape mode is available, for making suitable
fonts for printers with pixels whose aspect is non-square.  The file also
provides definitions that make @code{\\specials} identifying the mode in
Metafont's GF output, and put coding information and other Xerox-world
information in the TFM file.")
    (license license:public-domain)))

(define-public texlive-mptopdf
  (package
    (name "texlive-mptopdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/scripts/mkii/"
                                     "doc/man/man1/mptopdf.1"
                                     "doc/man/man1/mptopdf.man1.pdf"
                                     "scripts/context/perl/mptopdf.pl"
                                     "tex/context/base/mkii/"
                                     "tex/generic/context/mptopdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03782qwjz0fnr8l0h8rc8hj32wxaz8zc8v20l94lrkhmc3d40j6z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "mptopdf.pl")
      #:create-formats #~(list "mptopdf")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-perl-header
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((perl (search-input-file inputs "/bin/perl")))
                (substitute* "scripts/context/perl/mptopdf.pl"
                  (("exec perl") (string-append "exec " perl)))))))))
    (inputs (list perl))
    (propagated-inputs (list texlive-pdftex texlive-plain))
    (home-page "https://ctan.org/pkg/mptopdf")
    (synopsis "mpost to PDF, native MetaPost graphics inclusion")
    (description
     "The @code{mptopdf} script does standalone conversion from mpost to PDF,
using the @file{supp-*} and @file{syst-*} files.  They also allow native
MetaPost graphics inclusion in LaTeX (via pdftex.def) and ConTeXt.  They can
be used independently of the rest of ConTeXt.")
    ;; Use the same licensing as ConTeXt.
    (license (list license:lppl1.3c+
                   license:gpl2+
                   license:cc-by-sa4.0))))

(define-public texlive-fontinst
  (package
    (name "texlive-fontinst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fontinst/"
                                     "doc/man/man1/fontinst.1"
                                     "doc/man/man1/fontinst.man1.pdf"
                                     "scripts/texlive-extra/fontinst.sh"
                                     "source/fontinst/base/"
                                     "tex/fontinst/base/"
                                     "tex/fontinst/latinetx/"
                                     "tex/fontinst/latinmtx/"
                                     "tex/fontinst/mathetx/"
                                     "tex/fontinst/mathmtx/"
                                     "tex/fontinst/misc/"
                                     "tex/fontinst/smbletx/"
                                     "tex/fontinst/smblmtx/"
                                     "tex/latex/fontinst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qqggn44w07a0aslsf3jdygwv1gfs90qahkan0gnibxsz7i44kqm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "fontinst.sh")))
    (home-page "https://ctan.org/pkg/fontinst")
    (synopsis "Tools for converting and installing fonts for TeX and LaTeX")
    (description
     "This package provides TeX macros for converting Adobe Font Metric files
to TeX metric and virtual font format.  Fontinst helps mainly with the number
crunching and shovelling parts of font installation.  This means in practice
that it creates a number of files which give the TeX metrics (and related
information) for a font family that TeX needs to do any typesetting in these
fonts.")
    (license license:lppl1.1+)))

(define-deprecated-package texlive-tex-fontinst-base texlive-fontinst)

(define-public texlive-fontname
  (package
    (name "texlive-fontname")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fontname/" "doc/info/fontname.info"
                                     "fonts/map/fontname/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "014kiwbqz77yn8w58cb6fzqj0vlfmgyq09mxdj15ipjfgxjyvcbj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontname")
    (synopsis "Scheme for naming fonts in TeX")
    (description
     "This is Fontname, a naming scheme for (the base part of) external TeX
font filenames.  This makes at most eight-character names from (almost)
arbitrarily complex font names, thus helping portability of TeX documents.")
    (license license:gpl3+)))

(define-public texlive-forloop
  (package
    (name "texlive-forloop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/forloop/" "source/latex/forloop/"
                                     "tex/latex/forloop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b6gys199rzlcg54s9v5l8s7igw3akhj8avr4q6f1j2bin9bgyn3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/forloop")
    (synopsis "Iteration in LaTeX")
    (description
     "The package provides a command @code{\\forloop} for doing iteration in
LaTeX macro programming.")
    ;; No version for the LGPL is specified.  Assuming the broader one.
    (license license:lgpl2.0+)))

(define-public texlive-cbfonts          ;71 MiB of greek fonts
  (package
    (name "texlive-cbfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cbfonts/"
                                     "fonts/enc/dvips/cbfonts/"
                                     "fonts/map/dvips/cbfonts/"
                                     "fonts/source/public/cbfonts/"
                                     "fonts/tfm/public/cbfonts/"
                                     "fonts/type1/public/cbfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l0dpgvngah227snzk6j5hf3kxs5cz5jvlpkv8pbapw6jx084np6"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; FIXME: Font metrics cannot be generated due to "bad pos"
               ;; errors.
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-cm texlive-metafont))
    (propagated-inputs (list texlive-cbfonts-fd))
    (home-page "https://ctan.org/pkg/cbgreek-complete")
    (synopsis "Complete set of Greek fonts")
    (description
     "This bundle presents the whole of Beccari's original Greek font set,
which use the @i{Lispiakos} font shape derived from the shape of the fonts
used in printers' shops in Lispia.  The fonts are available both as Metafont
source and in Adobe Type 1 format, and at the same wide set of design sizes as
are such font sets as the EC fonts.")
    (license license:lppl1.3c+)))

(define-public texlive-cbfonts-fd
  (package
    (name "texlive-cbfonts-fd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cbfonts-fd/"
                                     "source/fonts/cbfonts-fd/"
                                     "tex/latex/cbfonts-fd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r2kmnccvrq181ac7gyff9y3wn7dydx50jy8f9n6qhnb824pdn78"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cbfonts-fd")
    (synopsis "LaTeX font description files for the CB Greek fonts")
    (description
     "The package provides font description files for all the many shapes
available from the @code{cbfonts} collection.  The files provide the means
whereby the @acronym{NFSS, New Font Selection Scheme} knows which fonts
a LaTeX user is requesting.

Tip: installing @code{texlive-cbfonts} will automatically propagate this one.")
    (license license:lppl1.3c+)))

(define-public texlive-ccicons
  (package
    (name "texlive-ccicons")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ccicons/"
                                     "doc/latex/ccicons/"
                                     "fonts/enc/dvips/ccicons/"
                                     "fonts/map/dvips/ccicons/"
                                     "fonts/opentype/public/ccicons/"
                                     "fonts/tfm/public/ccicons/"
                                     "fonts/type1/public/ccicons/"
                                     "source/fonts/ccicons/"
                                     "source/latex/ccicons/"
                                     "tex/latex/ccicons/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lyxbjpkxny6hl7pmnpka0gmgx7qv66pibvwcfs9dvwhdcvwjr4x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ccicons")
    (synopsis "LaTeX support for Creative Commons icons")
    (description
     "The package provides the means to typeset Creative Commons icons, in
documents licensed under CC licences.  A font (in Adobe Type 1 format) and
LaTeX support macros are provided.")
    (license (list license:lppl1.3c license:silofl1.1))))

(define-public texlive-cite
  (package
    (name "texlive-cite")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cite/" "tex/latex/cite/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b1amznayxj80dmqbzcysmj7q8aksbyz98k6djsqi0mhwp1cd0fd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cite")
    (synopsis "Improved citation handling in LaTeX")
    (description
     "The package supports compressed, sorted lists of numerical citations,
and also deals with various punctuation and other issues of representation,
including comprehensive management of break points.  The package is compatible
with both @code{hyperref} and @code{backref}.  The package is (unsurprisingly)
part of the cite bundle of the author's citation-related packages.")
    (license (license:fsf-free "/share/texmf-dist/doc/latex/cite/README"))))

(define-public texlive-cm
  (package
    (name "texlive-cm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cm/" "fonts/map/dvips/cm/"
                                     "fonts/pk/ljfour/public/cm/dpi600/"
                                     "fonts/source/public/cm/"
                                     "fonts/tfm/public/cm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10adgjc3lkj2z50jp1f9n83bdrx8bqxd76rl605d0d5pb435k97m"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-mfware-bin")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'generate-font-metrics 'generate-pk
            (lambda _
              (let* ((cwd (getcwd))
                     (pkdir
                      (string-append cwd "/fonts/pk/ljfour/public/cm/dpi600"))
                     (build-dir (string-append cwd "/build"))
                     (gftopk
                      (string-append
                       #$(this-package-native-input "texlive-mfware-bin")
                       "/bin/gftopk")))
                (with-directory-excursion "fonts/source/public/cm/"
                  (mkdir-p pkdir)
                  (for-each
                   (lambda (font)
                     (let ((font-name (basename font ".mf")))
                       (invoke gftopk
                               (string-append build-dir "/" font-name ".600gf")
                               (string-append pkdir "/" font-name ".pk"))))
                   (find-files "." "cm(.*[0-9]+.*|inch)\\.mf$")))))))))
    (native-inputs (list texlive-metafont texlive-mfware-bin))
    (home-page "https://ctan.org/pkg/cm")
    (synopsis "Computer Modern fonts for TeX")
    (description
     "This package provides the Computer Modern fonts by Donald Knuth.  The
Computer Modern font family is a large collection of text, display, and
mathematical fonts in a range of styles, based on Monotype Modern 8A.")
    (license license:knuth)))

(define-deprecated-package texlive-fonts-cm texlive-cm)

(define-public texlive-cmbright
  (package
    (name "texlive-cmbright")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cmbright/"
                                     "doc/latex/cmbright/"
                                     "fonts/source/public/cmbright/"
                                     "fonts/tfm/public/cmbright/"
                                     "source/latex/cmbright/"
                                     "tex/latex/cmbright/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sj6g877p6ak045x7737g3lg4kab8hgc2s2g6i23dw9d35csqf8d"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-amsfonts"
                                               "texlive-ec")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-amsfonts texlive-ec texlive-metafont))
    (home-page "https://ctan.org/pkg/cmbright")
    (synopsis "Computer Modern Bright fonts")
    (description
     "This package provides a family of sans serif fonts for TeX and LaTeX,
based on Donald Knuth's CM fonts.  It comprises OT1, T1 and TS1 encoded text
fonts of various shapes as well as all the fonts necessary for mathematical
typesetting, including AMS symbols.  This collection provides all the
necessary files for using the fonts with LaTeX.")
    (license license:lppl)))

(define-public texlive-cmcyr
  (package
    (name "texlive-cmcyr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cmcyr/"
                                     "fonts/map/dvips/cmcyr/"
                                     "fonts/source/public/cmcyr/"
                                     "fonts/tfm/public/cmcyr/"
                                     "fonts/type1/public/cmcyr/"
                                     "fonts/vf/public/cmcyr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wlz8hq3dzjz46d2r414rb6jl9iz864bj32ia9pgkqdpypw0ani3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/cmcyr")
    (synopsis "Computer Modern fonts with Cyrillic extensions")
    (description
     "These are the Computer Modern fonts extended with Russian letters, in
Metafont sources and ATM Compatible Type 1 format.  The fonts are provided in
KOI-7, but virtual fonts are available to recode them to three other Russian
8-bit encodings.")
    (license license:public-domain)))

(define-public texlive-cmextra
  (package
    (name "texlive-cmextra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/source/public/cmextra/"
                                     "fonts/tfm/public/cmextra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00my52lh3cn8bn211fpn7373b7khaylx4fgkrd2m72xgaymil308"))))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/knuth-local")
    (synopsis "Knuth's local information")
    (description
     "This package provides a collection of experimental programs and
developments based on, or complementary to, the matter in his distribution
directories.")
    (license license:public-domain)))

(define-public texlive-cm-lgc
  (package
    (name "texlive-cm-lgc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cm-lgc/"
                                     "fonts/afm/public/cm-lgc/"
                                     "fonts/enc/dvips/cm-lgc/"
                                     "fonts/map/dvips/cm-lgc/"
                                     "fonts/ofm/public/cm-lgc/"
                                     "fonts/ovf/public/cm-lgc/"
                                     "fonts/tfm/public/cm-lgc/"
                                     "fonts/type1/public/cm-lgc/"
                                     "fonts/vf/public/cm-lgc/"
                                     "tex/latex/cm-lgc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nj3gp0kpzlqkm22lj2ym9c95xw323xc5z91gsyv8xs716868gp2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cm-lgc")
    (synopsis "Type 1 CM-based fonts for Latin, Greek and Cyrillic")
    (description
     "The fonts are converted from METAFONT sources of the Computer Modern
font families, using @command{textrace}.  Supported encodings are: T1 (Latin),
T2A (Cyrillic), LGR (Greek) and TS1.  The package also includes Unicode
virtual fonts for use with Omega.  The font set is not a replacement for any
of the other Computer Modern-based font sets (for example, cm-super for Latin
and Cyrillic, or cbgreek for Greek), since it is available at a single size
only; it offers a compact set for general working.  The fonts themselves are
encoded to external standards, and virtual fonts are provided for use with
TeX.")
    (license license:gpl2+)))

(define-public texlive-cm-super
  (package
    (name "texlive-cm-super")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cm-super/"
                                     "dvips/cm-super/"
                                     "fonts/afm/public/cm-super/"
                                     "fonts/enc/dvips/cm-super/"
                                     "fonts/map/dvips/cm-super/"
                                     "fonts/map/vtex/cm-super/"
                                     "fonts/type1/public/cm-super/"
                                     "tex/latex/cm-super/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k3afl0x0bqbr5mnawbnp7rr2126dwn0vwnxzibm9ggvzqilnkm6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cm-super")
    (synopsis "Computer Modern Super family of fonts")
    (description
     "The CM-Super family provides Adobe Type 1 fonts that replace the
T1/TS1-encoded Computer Modern (EC/TC), T1/TS1-encoded Concrete,
T1/TS1-encoded CM bright and LH Cyrillic fonts (thus supporting all European
languages except Greek), and bringing many ameliorations in typesetting
quality.  The fonts exhibit the same metrics as the METAFONT-encoded
originals.")
    ;; With font exception
    (license license:gpl2+)))

(define-deprecated-package texlive-fonts-cm-super texlive-cm-super)

(define-public texlive-cnbwp
  (package
    (name "texlive-cnbwp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/cnbwp/" "doc/latex/cnbwp/"
                                     "makeindex/cnbwp/" "tex/latex/cnbwp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ha4lv0k4ysyqxnaf6w0v0bc0375lxdcyg55ih16kp3mdmadbc49"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cnbwp")
    (synopsis "Typeset working papers of the Czech National Bank")
    (description
     "The package supports proper formatting of Working Papers of the Czech
National Bank (WP CNB).  The package was developed for CNB but it is also
intended for authors from outside CNB.")
    (license license:lppl)))

(define-public texlive-cns
  (package
    (name "texlive-cns")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cns/cns40-1/"
                                     "doc/fonts/cns/cns40-2/"
                                     "doc/fonts/cns/cns40-3/"
                                     "doc/fonts/cns/cns40-4/"
                                     "doc/fonts/cns/cns40-5/"
                                     "doc/fonts/cns/cns40-6/"
                                     "doc/fonts/cns/cns40-7/"
                                     "doc/fonts/cns/cns40-b5/"
                                     "fonts/misc/cns/"
                                     "fonts/tfm/cns/c0so12/"
                                     "fonts/tfm/cns/c1so12/"
                                     "fonts/tfm/cns/c2so12/"
                                     "fonts/tfm/cns/c3so12/"
                                     "fonts/tfm/cns/c4so12/"
                                     "fonts/tfm/cns/c5so12/"
                                     "fonts/tfm/cns/c6so12/"
                                     "fonts/tfm/cns/c7so12/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00v6sf0a0fm09z54d3zhvdwc2gi712knbxnx3mlj2ri5x2jisyqa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cjk-fonts")
    (synopsis "Chinese/Japanese/Korean bitmap fonts")
    (description
     "This bundle provides fonts to go with the @code{cjk} macro package for Chinese,
Japanese and Korean with LaTeX2e.  The package aims to supersede HLaTeX fonts
bundle.")
    (license license:public-domain)))

(define-public texlive-courier
  (package
    (name "texlive-courier")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/courier/"
                                     "fonts/afm/adobe/courier/"
                                     "fonts/afm/urw/courier/"
                                     "fonts/map/dvips/courier/"
                                     "fonts/tfm/adobe/courier/"
                                     "fonts/tfm/urw35vf/courier/"
                                     "fonts/type1/adobe/courier/"
                                     "fonts/type1/urw/courier/"
                                     "fonts/vf/adobe/courier/"
                                     "fonts/vf/urw35vf/courier/"
                                     "tex/latex/courier/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08g6lm12b0k6333pxcaqdf67v87fz5mrqp3jgal8qhrls5ym8q6r"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urw-base35")
    (synopsis "Replacement for Adobe's Courier font")
    (description
     "This package provides a drop-in replacement for the Courier font from
Adobe's basic set.")
    ;; No license version specified.
    (license license:gpl3+)))

(define-public texlive-csbulletin
  (package
    (name "texlive-csbulletin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/csbulletin/"
                                     "tex/latex/csbulletin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15zjwwjdxs0avb5y4g29nyvhafrv2s8pgqihhi2kb72y8wzj9cdz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/csbulletin")
    (synopsis
     "LaTeX class for articles submitted to the CSTUG Bulletin (@emph{Zpravodaj})")
    (description
     "The package provides the class for articles for the CSTUG
Bulletin (@emph{Zpravodaj Ceskoslovenskeho sdruzeni uzivatelu TeXu}).  You can
see the structure of a document by looking at the source file of the manual.")
    (license license:lppl1.3c)))

(define-public texlive-cslatex
  (package
    (name "texlive-cslatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "source/cslatex/base/"
                                     "source/cslatex/cspsfonts/"
                                     "tex/cslatex/base/"
                                     "tex/cslatex/cspsfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dddk20v3acc3pb3wkg58y2y6z6fkx0ifsi03fffm0903z1h2zhm"))))
    (build-system texlive-build-system)
    (arguments
     (list
      #:create-formats #~(list "cslatex" "pdfcslatex")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-build
            ;; This phase is necessary because the build phase is reluctant to
            ;; generate "hyphen.cfg" since there is another one among the
            ;; inputs already.
            (lambda _
              (substitute* "source/cslatex/base/cslatex.ins"
                (("\\keepsilent\n" all)
                 (string-append all "\\askforoverwritefalse\n"))))))))
    (propagated-inputs
     (list texlive-atbegshi
           texlive-atveryend
           texlive-cm
           texlive-csplain
           texlive-everyshi
           texlive-firstaid
           texlive-hyphen-base
           texlive-l3kernel
           texlive-l3packages
           texlive-latex
           texlive-latex-fonts
           texlive-tex-ini-files
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/cslatex")
    (synopsis "LaTeX support for Czech/Slovak typesetting")
    (description
     "This package provides LaTeX support for Czech and Slovak typesetting.")
    (license license:gpl3+)))

(define-public texlive-cstex
  (package
    (name "texlive-cstex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/cstex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vsbq9a31ymvrj0bx48n93chyqmma3q7b49k7dmhb0hkic6h73aj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cstex")
    (synopsis "Support for Czech/Slovak languages")
    (description
     "CSTeX is a Czech and Slovak languages distribution of Plain and LaTeX.")
    (license license:gpl2)))

(define-public texlive-cweb
  (package
    (name "texlive-cweb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/ctangle.1"
                                     "doc/man/man1/ctangle.man1.pdf"
                                     "doc/man/man1/ctwill-proofsort.1"
                                     "doc/man/man1/ctwill-proofsort.man1.pdf"
                                     "doc/man/man1/ctwill-refsort.1"
                                     "doc/man/man1/ctwill-refsort.man1.pdf"
                                     "doc/man/man1/ctwill-twinx.1"
                                     "doc/man/man1/ctwill-twinx.man1.pdf"
                                     "doc/man/man1/ctwill.1"
                                     "doc/man/man1/ctwill.man1.pdf"
                                     "doc/man/man1/cweave.1"
                                     "doc/man/man1/cweave.man1.pdf"
                                     "doc/man/man1/cweb.1"
                                     "doc/man/man1/cweb.man1.pdf"
                                     "doc/man/man1/twill-refsort.1"
                                     "doc/man/man1/twill-refsort.man1.pdf"
                                     "doc/man/man1/twill.1"
                                     "doc/man/man1/twill.man1.pdf"
                                     "tex/plain/cweb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "072zxy3ynjq1ar1yclnxhdxpdw7hzgk2c7cskz4m37sx439k2dnz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cwebbin")
    (synopsis "CWEB for ANSI-C/C++ compilers")
    (description
     "This package provides a highly portable and extended version of
Levy/Knuth CWEB 3.64c.  TeX macros, CWEB macros, and NLS catalogs are included
for German, French (partially), and Italian program documentation on any
machine.")
    (license license:knuth)))

(define-public texlive-cyrplain
  (package
    (name "texlive-cyrplain")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/plain/cyrplain/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wdcibxs0g53warxs6vz39s3chldzh05p7v1ksskppghg5qzgh8z"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/t2")
    (synopsis "Support for using T2 encoding")
    (description
     "The T2 bundle provides a variety of separate support functions for using
Cyrillic characters in LaTeX:
@itemize
@item the @code{mathtext} package, for using Cyrillic letters transparently in
formulae;
@item the @code{citehack} package, for using Cyrillic (or indeed any
non-ASCII) characters in citation keys;
@item support for Cyrillic in BibTeX;
@item support for Cyrillic in Makeindex;
@item various items of font support.
@end itemize")
    (license license:lppl)))

(define-public texlive-tex-gyre
  (package
    (name "texlive-tex-gyre")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/tex-gyre/"
                                     "fonts/afm/public/tex-gyre/"
                                     "fonts/enc/dvips/tex-gyre/"
                                     "fonts/map/dvips/tex-gyre/"
                                     "fonts/opentype/public/tex-gyre/"
                                     "fonts/tfm/public/tex-gyre/"
                                     "fonts/type1/public/tex-gyre/"
                                     "source/fonts/tex-gyre/"
                                     "tex/latex/tex-gyre/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bn8g6rav0v47zbf1gjwp64x0l5340wb5iiiw4kdg69qingkj5lq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tex-gyre")
    (synopsis "TeX fonts extending URW fonts")
    (description
     "The TeX-GYRE bundle consist of multiple font families:
@itemize @bullet
@item Adventor, based on the URW Gothic L family of fonts;
@item Bonum, based on the URW Bookman L family;
@item Chorus, based on URW Chancery L Medium Italic;
@item Cursor, based on URW Nimbus Mono L;
@item Heros, based on URW Nimbus Sans L;
@item Pagella, based on URW Palladio L;
@item Schola, based on the URW Century Schoolbook L family;
@item Termes, based on the URW Nimbus Roman No9 L family of fonts.
@end itemize

The constituent standard faces of each family have been greatly extended
(though Chorus omits Greek support and has no small-caps family).  Each
family is available in Adobe Type 1 and Open Type formats, and LaTeX
support (for use with a variety of encodings) is provided.")
    ;; The GUST font license (GFL) is legally identical to the LaTeX Project
    ;; Public License (LPPL), version 1.3c or later, but comes with an
    ;; additional but not legally binding clause.
    (license license:lppl1.3c+)))

(define-public texlive-tex-gyre-math
  (package
    (name "texlive-tex-gyre-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/tex-gyre-math/"
                                     "fonts/opentype/public/tex-gyre-math/"
                                     "source/fonts/tex-gyre-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k5fx03bg702636hh7hv4kzzxhbbic26rp5g4lq2bgajd5dgc5xy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tex-gyre-math")
    (synopsis "Maths fonts to match tex-gyre text fonts")
    (description
     "TeX-Gyre-Math is a collection of maths fonts to match the text fonts of
the TeX-Gyre collection.  The collection is available in OpenType format,
only; fonts conform to the developing standards for OpenType maths fonts.
TeX-Gyre-Math-Bonum (to match TeX-Gyre-Bonum), TeX-Gyre-Math-Pagella (to match
TeX-Gyre-Pagella), TeX-Gyre-Math-Schola (to match TeX-Gyre-Schola) and
TeX-Gyre-Math-Termes (to match TeX-Gyre-Termes) fonts are provided.")
    (license license:gfl1.0)))

(define-public texlive-crop
  (package
    (name "texlive-crop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/crop/" "source/latex/crop/"
                                     "tex/latex/crop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m0dg69bhbvqrq9d2yl6ip36w1bf5cibp386jj2wbywisa2hn3qf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/crop")
    (synopsis "Support for cropmarks")
    (description
     "This package provides a package providing corner marks for camera
alignment as well as for trimming paper stacks, and additional page
information on every page if required.  Most macros are easily adaptable to
personal preferences.  An option is provided for selectively suppressing
graphics or text, which may be useful for printing just colour graphics on
a colour laser printer and the rest on a cheap mono laser printer.  A page
info line contains the time and a new cropmarks index and is printed at the
top of the page.  A configuration command is provided for the info line font.
Options for better collaboration with dvips, pdfTeX and vtex are provided.")
    (license license:lppl)))

(define-public texlive-ctablestack
  (package
    (name "texlive-ctablestack")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/ctablestack/"
                                     "source/luatex/ctablestack/"
                                     "tex/luatex/ctablestack/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13l779436aj3hlchwvhkpiikbyfa2j4swzfrwqkjh9l8bc2cwg7n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ctablestack")
    (synopsis "Catcode table stable support")
    (description
     "This package provides a method for defining category code table stacks
in LuaTeX.  It is required by the @code{luatexbase} package which uses
@code{ctablestack} to provide a back-compatibility form of this concept.")
    (license license:lppl1.3+)))

(define-public texlive-lm
  (package
    (name "texlive-lm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/lm/"
                                     "fonts/afm/public/lm/"
                                     "fonts/enc/dvips/lm/"
                                     "fonts/map/dvipdfm/lm/"
                                     "fonts/map/dvips/lm/"
                                     "fonts/opentype/public/lm/"
                                     "fonts/tfm/public/lm/"
                                     "fonts/type1/public/lm/"
                                     "tex/latex/lm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zgp0pc30n8jqr7kiv6j77i9i8dzzyh8zv72n24n74lb28k0sfmr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/lm")
    (synopsis "Latin Modern family of fonts")
    (description "The Latin Modern fonts are derived from the famous Computer
Modern fonts designed by Donald E. Knuth and described in Volume E of his
Computers & Typesetting series.")
    ;; The GUST font license (GFL) is legally identical to the LaTeX Project
    ;; Public License (LPPL), version 1.3c or later, but comes with an
    ;; additional but not legally binding clause.
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-fonts-lm texlive-lm)

(define-public texlive-lm-math
  (package
    (name "texlive-lm-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/lm-math/"
                                     "fonts/opentype/public/lm-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gqdk8x3r1iz4n8j6r3pcqbwalxvkihayvmjfq4iv6hwb0pvys8z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lm-math")
    (synopsis "OpenType maths fonts for Latin Modern")
    (description
     "Latin Modern Math is a maths companion for the Latin Modern family of
fonts, in OpenType format.  For use with LuaLaTeX or XeLaTeX, support is
available from the @code{unicode-math} package.")
    (license license:gfl1.0)))

(define-public texlive-lwarp
  (package
    (name "texlive-lwarp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lwarp/"
                                     "scripts/lwarp/"
                                     "source/latex/lwarp/"
                                     "tex/latex/lwarp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17sgnbhpbj6hsmqi2xljmqajhl4ccyqyh20qhc161vcfd9ri0qgg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "lwarpmk.lua")))
    (home-page "https://ctan.org/pkg/lwarp")
    (synopsis "Converts LaTeX to HTML")
    (description
     "This package converts LaTeX to HTML by using LaTeX to process the user's
document and generate HTML tags.  External utility programs are only used for
the final conversion of text and images.  Math may be represented by SVG files
or MathJax.  Hundreds of LaTeX packages are supported, and their load order is
automatically verified.  Documents may be produced by LaTeX, LuaLaTeX,
XeLaTeX, and by several CJK engines, classes, and packages.  A texlua script
automates compilation, index, glossary, and batch image processing, and also
supports latexmk.  Configuration is semi-automatic at the first manual
compile.  Support files are self-generated.  Print and HTML versions of each
document may coexist.  Assistance is provided for HTML import into EPUB
conversion software and word processors.")
    (license license:lppl1.3+)))

(define-public texlive-knuth-lib
  (package
    (name "texlive-knuth-lib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/source/public/knuth-lib/"
                                     "fonts/tfm/public/knuth-lib/"
                                     "tex/generic/knuth-lib/"
                                     "tex/plain/knuth-lib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dl8z340n6m6xn7wari4hir0syxqi0kl2fhnf0bvnmkqhqwyzpca"))))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (native-inputs (list texlive-cm texlive-metafont))
    (home-page "https://ctan.org/pkg/knuth-lib")
    (synopsis "Small library of METAFONT sources")
    (description
     "This is a collection of core TeX and METAFONT macro files from Donald
Knuth, including the plain format, plain base, and the MF logo fonts.")
    (license license:knuth)))

(define-deprecated-package texlive-fonts-knuth-lib texlive-knuth-lib)

(define-public texlive-knuth-local
  (package
    (name "texlive-knuth-local")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/source/public/knuth-local/"
                                     "fonts/tfm/public/knuth-local/"
                                     "mft/knuth-local/" "tex/plain/knuth-local/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02cf32f57fr6bngiv9xiw8bh4sq53p9br034ap74s80h3bgcmn1f"))))
    (properties '((updater-extra-native-inputs "texlive-knuth-lib")))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/knuth-local")
    (native-inputs (list texlive-knuth-lib texlive-metafont))
    (synopsis "Knuth's local information")
    (description
     "This package provides a collection of experimental programs and
developments based on, or complementary to, the matter in his distribution
directories.")
    (license license:public-domain)))

(define-public texlive-lapdf
  (package
    (name "texlive-lapdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lapdf/" "tex/latex/lapdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rnwgb3fy8f4app543lx72f4rhc5c4kladnazkay9lr8hkfa8s4d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lapdf")
    (synopsis "PDF drawing directly in TeX documents")
    (description
     "The package provides the means to use PDF drawing primitives to produce
high quality, colored graphics.  It uses Bezier curves (integral and rational)
from degree one to seven, allows TeX typesetting in the graphic, offers most
of the standard math functions, allows plotting normal, parametric and polar
functions.  The package has linear, logx, logy, logxy and polar grids with
many specs; it can rotate, clip and do many nice things easily it has two
looping commands for programming and many instructive example files.")
    (license license:gpl3+)))

(define-public texlive-latex-fonts
  (package
    (name "texlive-latex-fonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/latex-fonts/"
                                     "fonts/source/public/latex-fonts/"
                                     "fonts/tfm/public/latex-fonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bzqzzhs15w7dqz90hfjnaffjqh24q14w2h1h8vnxzvrlsyv21vq"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (native-inputs (list texlive-cm texlive-metafont))
    (home-page "https://ctan.org/pkg/latex-fonts")
    (synopsis "Collection of fonts used in LaTeX distributions")
    (description
     "This is a collection of fonts for use with standard LaTeX packages and
classes. It includes invisible fonts (for use with the slides class), line and
circle fonts (for use in the @code{picture} environment) and LaTeX symbol
fonts.")
    (license license:lppl1.2+)))

(define-deprecated-package texlive-fonts-latex texlive-latex-fonts)

(define-public texlive-latex-make
  (package
    (name "texlive-latex-make")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/latex-make/"
                                     "scripts/latex-make/"
                                     "source/support/latex-make/"
                                     "tex/latex/latex-make/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ll6v1mdi1m5fp3s0c4dkgh351lg9ckzdfwz3k488y6cbcvrpm5x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/latex-make")
    (synopsis "Easy compiling of complex (and simple) LaTeX documents")
    (description
     "This package provides several tools that aim to simplify the compilation
of LaTeX documents:

@itemize

@item @file{LaTeX.mk}: a Makefile snippet to help compiling LaTeX documents in
DVI, PDF, PS, ...  format.  Dependencies are automatically tracked: one should
be able to compile documents with a one-line Makefile containing @samp{include
LaTeX.mk}.  Complex documents (with multiple bibliographies, indexes,
glossaries, ...)  should be correctly managed.

@item @file{figlatex.sty}: a LaTeX package to easily insert Xfig figures.  It
can interact with LaTeX.mk so that the latter automatically invokes
@command{fig2dev} if needed.

@end itemize")
    (license license:gpl3+)))

(define-public texlive-latex-mr
  (package
    (name "texlive-latex-mr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-mr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zd948d9y63js7980g2bvxpf67hshh2xa3n2ihbzwhpw6l9cbh1w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-mr")
    (synopsis
     "Practical guide to LaTeX and Polyglossia for Marathi and other Indian
languages")
    (description
     "This document aims to introduce LaTeX and Polyglossia for Indian languages.
Though the document often discusses the language Marathi, the discussion
applies to other India languages also.  We assume that the user of this
document knows basic (La)TeX or has, at least, tried her hand on it.  This
document is not very suitable for first time users.")
    (license license:lppl1.3+)))

(define-public texlive-latexbangla
  (package
    (name "texlive-latexbangla")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexbangla/"
                                     "tex/latex/latexbangla/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19h1axbfp1xclbhffdiczzqpr4lk2jw8kkz4qqh8f2rnhjxd94vw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexbangla")
    (synopsis "Enhanced LaTeX integration for Bangla")
    (description
     "This package simplifies the process of writing Bangla in LaTeX and
addresses most of the associated typesetting issues.  Its notable features
are:

@itemize
@item automated transition from Bangla to English and vice versa;
@item patch for the unproportionate whitespace issue in popular Bangla fonts;
@item full support for all the common commands and environments;
@item Bangla numbering for page, section, chapter, footnotes, extending
Polyglossia's support.
@item new @code{theorem}, @code{problems}, @code{example}, @code{solution} and
other environments, all of which are in Bangla.
@end itemize")
    (license license:lppl1.3+)))

(define-public texlive-liftarm
  (package
    (name "texlive-liftarm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/liftarm/" "tex/latex/liftarm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dqi322kqlqbh4hli6nwm88nsg4dkr2fnrwi4i70gxyzxdh1mjj4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/liftarm")
    (synopsis "Draw liftarms")
    (description
     "This package can be used to draw liftarms with TikZ.  It provides
several options for the appearance of the liftarms, a command which connects
two liftarms and an environment to describe a construction.")
    (license license:lppl1.3+)))

(define-public texlive-lpic
  (package
    (name "texlive-lpic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lpic/" "tex/latex/lpic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15jzvpn3gnj5c0wachbsjazll9qlibyzxf4i2g8ad7l4yd967m3c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lpic")
    (synopsis "Put LaTeX material over included graphics")
    (description
     "The package defines a convenient interface to put any LaTeX material on
top of included graphics.  The LaTeX material may also be rotated and typeset
on top of a white box overshadowing the graphics.  The coordinates of the
LaTeX boxes are given relative to the original, unscaled graphics; when the
graphics is rescaled, the LaTeX annotations stay at their right places (unless
you do something extreme).  In a draft mode, the package enables you to draw
a coordinate grid over the picture for easy adjustment of positions of the
annotations.")
    (license license:lppl1.3+)))

(define-public texlive-lroundrect
  (package
    (name "texlive-lroundrect")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lroundrect/"
                                     "source/latex/lroundrect/"
                                     "tex/latex/lroundrect/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yjfg9z0s8drij13fdhii1r9j9i57c112iv2q0airndycm6y8wsg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lroundrect")
    (synopsis "LaTeX macros for using the @code{roundrect} MetaPost routines")
    (description
     "This LaTeX package provides ways to use the extremely configurable
rounded rectangles of the @code{roundrect} MetaPost package with LaTeX.  It is
chiefly useful for examples, but also has macros for particular types of boxes
which are useful on their own.")
    (license license:lppl1.3+)))

(define-public texlive-luamesh
  (package
    (name "texlive-luamesh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luamesh/" "metapost/luamesh/"
                                     "scripts/luamesh/" "tex/lualatex/luamesh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02qq6d51pihkxz4zbcxppikkzpr99mw8kmp64gm986fpcn6k2wns"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luamesh")
    (synopsis "Computes and draws 2D Delaunay triangulation")
    (description
     "The package allows to compute and draw 2D Delaunay triangulation.
The algorithm is written with Lua, and depending upon the choice of the
engine, the drawing is done by MetaPost (with @code{luamplib}) or by TikZ.
The Delaunay triangulation algorithm is the Bowyer and Watson algorithm.
Several macros are provided to draw the global mesh, the set of points, or
a particular step of the algorithm.")
    (license license:lppl1.3+)))

(define-public texlive-luasseq
  (package
    (name "texlive-luasseq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luasseq/" "scripts/luasseq/"
                                     "source/lualatex/luasseq/"
                                     "tex/lualatex/luasseq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mkhzysyhpbblpwwy4d4983b5np23jnxl9ai986g0n1vpyv0kc47"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luasseq")
    (synopsis "Drawing spectral sequences in LuaLaTeX")
    (description
     "The package is an update of the author's @code{sseq} package, for use
with LuaLaTeX.  This version uses less memory, and operates faster than the
original; it also offers several enhancements.")
    (license license:lppl1.3+)))

(define-public texlive-maker
  (package
    (name "texlive-maker")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/maker/" "tex/latex/maker/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08shs5fah2yfdgsydk93jfb1sz42qckal2p031vs95vqd8rpq11g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/maker")
    (synopsis "Include Arduino or Processing code in LaTeX documents")
    (description
     "The first version of the package allows to include Arduino or Processing
code using three different forms: writing the code directly in the LaTeX
document, writing Arduino or Processing commands in line with the text,
calling to Arduino or Processing files.  All these options support the syntax
highlighting of the official IDE.")
    (license license:lppl1.3c)))

(define-public texlive-makeshape
  (package
    (name "texlive-makeshape")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/makeshape/"
                                     "source/latex/makeshape/"
                                     "tex/latex/makeshape/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mc7qxqs87f87s4rzdd7fqy44sxc9a6imz62kqmigfap2kjwnflb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/makeshape")
    (synopsis "Declare new PGF shapes")
    (description
     "The package simplifies production of custom shapes with correct anchor
borders, in PGF/TikZ; the only requirement is a PGF path describing the anchor
border.  The package also provides macros that help with the management of
shape parameters, and the definition of anchor points.")
    (license license:lppl1.3+)))

(define-public texlive-mathspic
  (package
    (name "texlive-mathspic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathspic/"
                                     "doc/man/man1/mathspic.1"
                                     "doc/man/man1/mathspic.man1.pdf"
                                     "scripts/mathspic/" "tex/latex/mathspic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rlcskfvpl4niv680v8fgfpfxkrhfavmm8431ffp3vjjbqrhv7xr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "mathspic.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/mathspic")
    (synopsis "Perl filter program for use with PiCTeX")
    (description
     "MathsPIC (Perl) is a development of the earlier MathsPIC (DOS) program,
now implemented as a Perl script, being much more portable than the earlier
program.  MathsPIC parses a plain text input file and generates a plain text
output-file containing commands for drawing a diagram.  It produces output
containing PiCTeX and (La)TeX commands, which may then be processed by plain
TeX or LaTeX in the usual way.  MathsPIC also outputs a comprehensive log
file.  MathsPIC facilitates creating figures using PiCTeX by providing an
environment for manipulating named points and also allows the use of variables
and maths (advance, multiply, and divide)---in short---it takes the pain out
of PiCTeX.")
    (license license:lppl)))

(define-public texlive-mercatormap
  (package
    (name "texlive-mercatormap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mercatormap/"
                                     "tex/latex/mercatormap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11kcwzly8m8wqyppymanpvgabyjl1w33xzsy43sb5p4xv8fdaa5j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mercatormap")
    (synopsis
     "Spherical Mercator coordinate systems and Web Mercator tile integration")
    (description
     "This package extends TikZ with tools to create map graphics.  The
provided coordinate system relies on the Web Mercator projection used on the
Web by OpenStreetMap and others.  The package supports the seamless
integration of graphics from public map tile servers by a Python script.
Also, common map elements like markers, geodetic networks, bar scales, routes,
orthodrome pieces, and more are part of the package.")
    (license license:lppl1.3+)))

(define-public texlive-mflogo
  (package
    (name "texlive-mflogo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mflogo/"
                                     "fonts/source/public/mflogo/"
                                     "fonts/tfm/public/mflogo/"
                                     "source/latex/mflogo/"
                                     "tex/latex/mflogo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r53qlrcqfwc0dfr7ji1nxnqrj6n0qrlg1rl7fjlw6ap3q9y434k"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-knuth-lib")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-knuth-lib texlive-metafont))
    (home-page "https://ctan.org/pkg/mflogo")
    (synopsis "LaTeX support for Metafont logo fonts")
    (description
     "This package provides LaTeX and font definition files to access the
Knuthian mflogo fonts described in The Metafontbook and to typeset Metafont
logos in LaTeX documents.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-mflogo texlive-mflogo)

(define-public texlive-mflogo-font
  (package
    (name "texlive-mflogo-font")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/mflogo-font/"
                                     "fonts/afm/hoekwater/mflogo-font/"
                                     "fonts/map/dvips/mflogo-font/"
                                     "fonts/type1/hoekwater/mflogo-font/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "094mknjv8ki2pvj1zin0f1z4f1w12g0cfqjiqcsawjsry4yfrmbg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mflogo-font")
    (synopsis "METAFONT logo font")
    (description
     "These fonts were created in Metafont by Knuth, for his own publications.
At some stage, the letters P and S were added, so that the MetaPost logo could
also be expressed.  The fonts were originally issued (of course) as Metafont
source; they have since been autotraced and reissued in Adobe Type 1 format by
Taco Hoekwater.")
    (license license:knuth)))

(define-deprecated-package texlive-fonts-mflogo-font texlive-mflogo-font)

(define-public texlive-mfware
  (package
    (name "texlive-mfware")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/gftodvi.1"
                                     "doc/man/man1/gftodvi.man1.pdf"
                                     "doc/man/man1/gftopk.1"
                                     "doc/man/man1/gftopk.man1.pdf"
                                     "doc/man/man1/gftype.1"
                                     "doc/man/man1/gftype.man1.pdf"
                                     "doc/man/man1/mft.1"
                                     "doc/man/man1/mft.man1.pdf"
                                     "doc/man/man1/pktogf.1"
                                     "doc/man/man1/pktogf.man1.pdf"
                                     "doc/man/man1/pktype.1"
                                     "doc/man/man1/pktype.man1.pdf"
                                     "mft/base/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17y01wh22f0ah9vwwa9yanp1rvm24jkhwzv2rzwxsfxbyn73msxx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-mfware-bin))
    (home-page "https://ctan.org/pkg/mfware")
    (synopsis "Supporting tools for use with Metafont")
    (description
     "This package provides a collection of programs (as web source) for
processing the output of Metafont.")
    (license license:public-domain)))

(define-public texlive-mfware-bin
  (package
    (inherit texlive-bin)
    (name "texlive-mfware-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(delete "--enable-web2c" #$flags))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (let ((bin (string-append #$output "/bin"))
                        (files '("gftodvi" "gftopk" "gftype" "mft" "pktogf"
                                 "pktype")))
                    (for-each (lambda (f) (invoke "make" f)) files)
                    (for-each (lambda (f) (install-file f bin)) files)))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-mfware))
    (synopsis "Binaries for @code{texlive-mfware}")
    (description
     "This package provides the binaries for @code{texlive-mfware}.")
    (license (package-license texlive-mfware))))

(define-public texlive-milsymb
  (package
    (name "texlive-milsymb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/milsymb/" "tex/latex/milsymb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n0lba66mapk1b6k7gwr23acq2cg5i5258lc6n3l47x16wmcbvbd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/milsymb")
    (synopsis "TikZ-based drawing of military symbols")
    (description
     "The package offers commands to draw military symbols as per
@url{https://www.awl.edu.pl/images/en/APP_6_C.pdf, NATO APP-6(C)}.  It has
a set of commands for drawing all symbols found in the document up to the
control measures, as well as support for custom non-standard symbols.  Control
measures are planned to be included in a future release.")
    (license license:cc-by-sa4.0)))

(define-public texlive-miniplot
  (package
    (name "texlive-miniplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/miniplot/" "tex/latex/miniplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k98mfd4bf43br74wyjqjlwb93yzi2b5r53jsrsr58p6lg59c200"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/miniplot")
    (synopsis "Package for easy figure arrangement")
    (description
     "MiniPlot is a package to help the LaTeX user typeset EPS figures using
an easy-to-use interface.  Figures can be arranged as one-figure-only or as
a collection of figures in columns and rows which can itself contain
sub-figures in columns and rows.  Wrapped figures are also supported.  This
package provides commands to display a framebox instead of the figure as the
graphics package does already but additionally it writes useful information
such as the label and scaling factor into these boxes.")
    (license license:lppl)))

(define-public texlive-mkpic
  (package
    (name "texlive-mkpic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/mkpic/" "scripts/mkpic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a8jzsgw63siirifpsvwjmfbj68fv58hnn5vrv737i9vbjrv0vm7"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "mkpic")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/mkpic")
    (synopsis "Perl interface to @code{mfpic}")
    (description
     "@code{mkpic} provides an easy interface for making small pictures with
@code{mfpic}.  To this end you create an input file consisting of commands,
one per line, with space separated parameters (or you modify the DATA section
of the @code{mkpic} script, which is used if you run it without an input
file).")
    (license license:gpl3+)))

(define-public texlive-modiagram
  (package
    (name "texlive-modiagram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/modiagram/"
                                     "tex/latex/modiagram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0817c3yj5q4srbl29kqw16cg3c6gwr9ahy33hyicqbqap034fnyd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/modiagram")
    (synopsis "Drawing molecular orbital diagrams")
    (description
     "The package provides an environment MOdiagram and some commands, to
create molecular orbital diagrams using TikZ.")
    (license license:lppl1.3c)))

(define-public texlive-neuralnetwork
  (package
    (name "texlive-neuralnetwork")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/neuralnetwork/examples/"
                                     "tex/latex/neuralnetwork/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11k0hwg1mx52mrp7csp93m4rvv22vq91l4ij1ylgbw9flh189p8x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/neuralnetwork")
    (synopsis "Graph-drawing for neural networks")
    (description
     "The package provides facilities for graph-drawing, with facilities
designed for neural network diagrams.")
    (license license:gpl3+)))

(define-public texlive-nl-interval
  (package
    (name "texlive-nl-interval")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nl-interval/"
                                     "tex/latex/nl-interval/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n11a26d48jr6lngfc128fpvahdnbvnlxz9kxp7hirl0cm8ssiwa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nl-interval")
    (synopsis "Represent intervals on the number line")
    (description
     "This package provides macros to simplify the process of representing
intervals on the number line.")
    (license license:lppl1.3c)))

(define-public texlive-nndraw
  (package
    (name "texlive-nndraw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nndraw/" "source/latex/nndraw/"
                                     "tex/latex/nndraw/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08mhl61b2fzsnfz6ldrlz9m5s37w2c4wml8gpd2f4wc9rjag68l4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nndraw")
    (synopsis "Draw neural networks")
    (description
     "With this package you can create fully connected neural networks in
a simple and efficient way.")
    (license license:lppl1.3+)))

(define-public texlive-numericplots
  (package
    (name "texlive-numericplots")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/numericplots/"
                                     "tex/latex/numericplots/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "187h4q35s2asfgv9zxw992316v37p5nnvphjylnxfvygxci36lwg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/numericplots")
    (synopsis "Plot numeric data (including Matlab export) using PSTricks")
    (description
     "Plotting numeric data is a task which has often to be done for
scientific papers.  LaTeX itself provides no facilities for drawing more than
the simplest plots from supplied data.  The package will process user input,
and uses PSTricks to plot the results.  The package provides Matlab functions
to transform Matlab results to plottable data.")
    (license license:gpl3)))

(define-public texlive-outilsgeomtikz
  (package
    (name "texlive-outilsgeomtikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/outilsgeomtikz/"
                                     "tex/latex/outilsgeomtikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sds34i59x4wvqn6x9bcln8wdzs29z4bw6bvlj36jvj6hgx4hx95"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/outilsgeomtikz")
    (synopsis "Some geometric tools, with TikZ")
    (description
     "This package provides some commands, with French keys, to display
geometric tools using TikZ, for example a pen, a compass, a rule, a square, or
a protractor.")
    (license license:lppl1.3c)))

(define-public texlive-pb-diagram
  (package
    (name "texlive-pb-diagram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pb-diagram/"
                                     "tex/latex/pb-diagram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g790ykz0xq01d8zmy6llr33imh42dy51700c9z49xga4dvnyqlv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pb-diagram")
    (synopsis "Commutative diagram package using LAMSTeX or Xy-pic fonts")
    (description
     "The package provides a @code{diagram} environment.  This allows the
LaTeX user to easily create complex commutative diagrams, by placing formula
nodes on a conceptual grid and attaching arrows to them.")
    (license license:gpl2+)))

(define-public texlive-pbibtex-base
  (package
    (name "texlive-pbibtex-base")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/ptex/pbibtex/" "pbibtex/bib/"
                                     "pbibtex/bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06glwwv1rw4n5cpg6cs70yzgyix65nhfsakyq72sn82yss1gvf8z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pbibtex-base")
    (synopsis "Bibliography styles and miscellaneous files for pBibTeX")
    (description
     "These are miscellaneous files, including bibliography
styles (@file{.bst}), for pBibTeX, which is a Japanese extended version of
BibTeX contained in TeX Live.")
    (license license:bsd-3)))

(define-public texlive-pbibtex-manual
  (package
    (name "texlive-pbibtex-manual")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pbibtex-manual/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "030rhhb4xcijvjc0x1ylyk6xz5mn90wrlp5ss4yr6qlpzmq21b50"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pbibtex-manual")
    (synopsis "Documentation files for (u)pBibTeX")
    (description
     "The bundle contains documentation files for Japanese pBibTeX and
upBibTeX.  For historical reasons, this also contains old documentation files
for JBibTeX.")
    (license license:bsd-3)))

(define-public texlive-petri-nets
  (package
    (name "texlive-petri-nets")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/petri-nets/"
                                     "scripts/petri-nets/"
                                     "tex/generic/petri-nets/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m6qmahbw1q5vs63mr30kf75di86drhi8z3a8p7yn9n524jn435c"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pn2pdf")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/petri-nets")
    (synopsis "Set TeX/LaTeX packages for drawing Petri nets")
    (description
     "Petri-nets offers a set of TeX/LaTeX packages about Petri nets and
related models.  Three packages are available: the first allows the user to
draw Petri-nets in PostScript documents; the second defines macros related to
PBC, M-nets and B(PN) models; and a third that combines the other two.")
    (license license:gpl3+)))

(define-public texlive-pgf-blur
  (package
    (name "texlive-pgf-blur")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgf-blur/"
                                     "source/latex/pgf-blur/"
                                     "tex/latex/pgf-blur/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lsndflhx56gawqkcyjyh8pll986m7msraq5qr1asppybf4m0hij"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgf-blur")
    (synopsis "PGF/TikZ package for blurred shadows")
    (description
     "The package adds blurred/faded/fuzzy shadows to PGF/TikZ pictures.
It is configured as a TikZ/PGF library module.")
    (license (list license:lppl license:public-domain))))

(define-public texlive-pgf-interference
  (package
    (name "texlive-pgf-interference")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgf-interference/"
                                     "tex/latex/pgf-interference/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1aa741h358iwn0zd25y3wsr4mr1q2fia1mrfqrbz6p00fvv0rgv5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgf-interference")
    (synopsis "Drawing interference patterns with PGF/TikZ")
    (description
     "This LaTeX package makes it possible to simulate interference patterns
occuring on a screen if monochromatic light is diffracted at regular
structures of slits.")
    (license license:lppl1.3+)))

(define-public texlive-pgf-periodictable
  (package
    (name "texlive-pgf-periodictable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgf-periodictable/"
                                     "tex/latex/pgf-periodictable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pdp3zx3b5rq2qz2fdl6dk192lk8bnxwrv9kng9x8q13740j4jc9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgf-periodictable")
    (synopsis "Create custom periodic tables of elements")
    (description
     "The purpose of this package is to provide the periodic table of elements
in a simple way.  It relies on PGF/TikZ to offer a full or partial periodic
table with a variety of options and displaying the desired data for all the
118 elements.")
    (license license:lppl1.3+)))

(define-public texlive-pgf-pie
  (package
    (name "texlive-pgf-pie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgf-pie/" "tex/latex/pgf-pie/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nvg61v9pzc0mqs8m818ixi8rmw2wv3h7s17shjc7mcdqkp7k1qq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-carlisle texlive-latex texlive-pgf))
    (home-page "https://ctan.org/pkg/pgf-pie")
    (synopsis "Draw pie charts, using PGF")
    (description
     "The package provides the means to draw pie (and variant) charts,
using PGF/TikZ.")
    (license (list license:gpl2 license:lppl1.3c))))

(define-public texlive-pgf-soroban
  (package
    (name "texlive-pgf-soroban")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgf-soroban/"
                                     "tex/latex/pgf-soroban/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vcycmd5a3z6p9glbgw4lsxs0zv0lidvs240i18kv8s39yx6f88r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgf-soroban")
    (synopsis "Create images of the soroban using TikZ/PGF")
    (description
     "The package makes it possible to create pictures of the
soroban (Japanese abacus) using PGF/TikZ.")
    (license license:lppl)))

(define-public texlive-pgf-spectra
  (package
    (name "texlive-pgf-spectra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgf-spectra/"
                                     "tex/latex/pgf-spectra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "131rr4hbychlk1bphhak2i21ajvp4v2fvlw48ak7plmqb5gz81df"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgf-spectra")
    (synopsis "Draw continuous or discrete spectra using PGF/TikZ")
    (description
     "The purpose of this package is to draw the spectra of elements in
a simple way.  It relies on PGF/TikZ for drawing the desired spectrum,
continuous or discrete.  There are data available for the spectra of 98
elements and their ions (from the NASA database and from NIST).  It also
allows the user to draw spectra using their own data.")
    (license license:lppl1.3+)))

(define-public texlive-pgf-umlcd
  (package
    (name "texlive-pgf-umlcd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgf-umlcd/"
                                     "tex/latex/pgf-umlcd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14zx2jms616qfzwqbgixz0pd3qzjzr2bxr6ahhy7mgj3i7rlbr8r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-latex texlive-pgf))
    (home-page "https://ctan.org/pkg/pgf-umlcd")
    (synopsis "Some LaTeX macros for UML class diagrams")
    (description
     "This package provides some LaTeX macros for UML class diagrams.")
    (license (list license:gpl2 license:lppl1.3c))))

(define-public texlive-pgf-umlsd
  (package
    (name "texlive-pgf-umlsd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgf-umlsd/"
                                     "tex/latex/pgf-umlsd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bw23gm9x6ijhn3h0q7af0n9wxnc3ixfjc23v8x49s80gh96gmqg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-latex texlive-pgf))
    (home-page "https://ctan.org/pkg/pgf-umlsd")
    (synopsis "Draw UML sequence diagrams")
    (description
     "This package provides LaTeX macros to draw UML diagrams using PGF.")
    (license license:gpl3+)))

(define-public texlive-pgfkeyx
  (package
    (name "texlive-pgfkeyx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgfkeyx/" "tex/latex/pgfkeyx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g5wvhlyfplv0fd0nsxpw3al9wmk0hw0pjvyyplh1vzdk5rr3xzq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgfkeyx")
    (synopsis "Extended and more robust version of @code{pgfkeys}")
    (description
     "The package extends and improves the robustness of the @code{pgfkeys}
package.  In particular, it can deal with active comma, equality sign, and
slash in key parsing.  The difficulty with active characters has long been
a problem with the @code{pgfkeys} package.  The package also introduces
handlers beyond those that @code{pgfkeys} can offer.")
    (license license:lppl1.3+)))

(define-public texlive-pgfmolbio
  (package
    (name "texlive-pgfmolbio")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/pgfmolbio/"
                                     "scripts/pgfmolbio/"
                                     "source/lualatex/pgfmolbio/"
                                     "tex/lualatex/pgfmolbio/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12kajg7jrhd612lk7m6gwadxb5y7v9znqjlg1n3n05zwrmfd54w1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgfmolbio")
    (synopsis "Draw graphs typically found in molecular biology texts")
    (description
     "The package draws graphs typically found in molecular biology texts.
Currently, the package contains modules for drawing DNA sequencing
chromatograms and protein domain diagrams.")
    (license license:lppl1.3+)))

(define-public texlive-pgfmorepages
  (package
    (name "texlive-pgfmorepages")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgfmorepages/"
                                     "tex/latex/pgfmorepages/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k0njkw34ql0vlpmay155rr4v0sszizhh1pixy20npbk26dkzljw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgfmorepages")
    (synopsis "Assemble multiple logical pages onto a physical page")
    (description
     "This package replaces and extends the @code{pgfpages} sub-package of the
PGF system.  It provides the capability to arrange multiple logical pages on
multiple physical pages, for example as for arranging pages to make
booklets.")
    (license license:lppl1.3c)))

(define-public texlive-pgfopts
  (package
    (name "texlive-pgfopts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgfopts/" "source/latex/pgfopts/"
                                     "tex/latex/pgfopts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p4bfqgkwmzhismrs7a10sblbgx4b6w259vdp1dd3hxvhc2kbnyn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-pgf))
    (home-page "https://ctan.org/pkg/pgfopts")
    (synopsis "LaTeX package options with @code{pgfkeys}")
    (description
     "The @code{pgfkeys} package (part of the PGF distribution) is a way of
defining and using large numbers of keys for key-value syntaxes.  However,
@code{pgfkeys} itself does not offer means of handling LaTeX class and package
options.  This package adds such option handling to @code{pgfkeys}, in the
same way that @code{kvoptions} adds the same facility to the LaTeX standard
@code{keyval} package.")
    (license license:lppl1.3+)))

(define-public texlive-pgfornament
  (package
    (name "texlive-pgfornament")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgfornament/"
                                     "tex/generic/pgfornament/am/"
                                     "tex/generic/pgfornament/pgfhan/"
                                     "tex/generic/pgfornament/vectorian/"
                                     "tex/latex/pgfornament/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02fmyyp1hgasa8k6v0nkdvdmqfbiscyyk3hpqg63b5956ksgap21"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgfornament")
    (synopsis "Drawing of vectorian ornaments with PGF/TikZ")
    (description
     "This package allows the drawing of vectorian ornaments (196) with
PGF/TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-pgfornament-han
  (package
    (name "texlive-pgfornament-han")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgfornament-han/"
                                     "tex/latex/pgfornament-han/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c16wbykv6dyqv3d4gvy6fwqzww0fkg605vwb74mvc63a7n3jqxl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgfornament-han")
    (synopsis "Library for Chinese traditional motifs and patterns")
    (description
     "This package provides a @code{pgfornament} library for Chinese
traditional motifs and patterns.  The command @code{\\pgfornamenthan} takes
the same options as @code{\\pgfornament} from the @code{pgfornament} package,
but renders Chinese traditional motifs instead.")
    (license license:lppl1.3c)))

(define-public texlive-pgfplots
  (package
    (name "texlive-pgfplots")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/third/pgfplots/"
                                     "doc/generic/pgfplots/"
                                     "doc/latex/pgfplots/"
                                     "doc/plain/pgfplots/"
                                     "scripts/pgfplots/"
                                     "source/context/third/pgfplots/"
                                     "source/latex/pgfplots/"
                                     "tex/context/third/pgfplots/"
                                     "tex/generic/pgfplots/"
                                     "tex/latex/pgfplots/"
                                     "tex/plain/pgfplots/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c0gah7ia61s435zlyq4ay9snkrs2xcs627wky7c0sp8mgxyybwr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-pgf))
    (home-page "https://ctan.org/pkg/pgfplots")
    (synopsis "Create normal/logarithmic plots in two and three dimensions")
    (description
     "PGFPlots draws high-quality function plots in normal or logarithmic
scaling with a user-friendly interface directly in TeX.  The user supplies
axis labels, legend entries and the plot coordinates for one or more plots and
PGFPlots applies axis scaling, computes any logarithms and axis ticks and
draws the plots, supporting line plots, scatter plots, piecewise constant
plots, bar plots, area plots, mesh-- and surface plots and some more.
PGFPlots is based on PGF/TikZ (PGF); it runs equally for LaTeX/TeX/ConTeXt.")
    (license license:gpl3+)))

(define-public texlive-picinpar
  (package
    (name "texlive-picinpar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/picinpar/" "tex/latex/picinpar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s6ymq4zg0wl6pfx34shansv3y1qlh6h3q58a97zpz5x21n1a5pq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/picinpar")
    (synopsis "Insert pictures into paragraphs")
    (description
     "This package provides a legacy package for creating windows in
paragraphs, for inserting graphics, etc.  Users should note that Pieter van
Oostrum (in a published review of packages of this sort) does not recommend
this package; Picins is recommended instead.")
    (license license:gpl3+)))

(define-public texlive-pictex
  (package
    (name "texlive-pictex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pictex/" "tex/generic/pictex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wwlh9d7b3gsk3f29d6vk0ic7nnvc533jfg2z019vsf6pin9qvgv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pictex")
    (synopsis "Picture drawing macros for TeX and LaTeX")
    (description
     "PicTeX is an early and very comprehensive drawing package that mostly
draws by placing myriads of small dots to make up pictures.  It has a tendency
to run out of space; packages @code{m-pictex} and @code{pictexwd} deal with
the problems in different ways.")
    (license license:lppl1.0+)))

(define-public texlive-pictex2
  (package
    (name "texlive-pictex2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/pictex2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qqf08yharknq6csk01jdff62mg011bryqlq5mbmjwqwh7wxs0wy"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pictex2")
    (synopsis "Adds relative coordinates and improves the @code{\\plot} command")
    (description
     "This package adds two user commands to standard PiCTeX.  One command
uses relative coordinates, thus eliminating the need to calculate the
coordinate of every point manually as in standard PiCTeX.  The other command
modifies @code{\\plot} to use a rule instead of dots if the line segment is
horizontal or vertical.")
    (license license:lppl)))

(define-public texlive-pictexsum
  (package
    (name "texlive-pictexsum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pictexsum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00yd0945qiss5jizkxncg8a9bdsld7mkhaipi92bbn1ghqicsw5a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pictexsum")
    (synopsis "Summary of PicTeX commands")
    (description
     "The document summarises the commands of PicTeX.  While it is no
substitute for the PicTeX manual itself, the document is a useful aide-memoire
for those who have read the manual.")
    (license license:bsd-2)))

(define-public texlive-pinlabel
  (package
    (name "texlive-pinlabel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pinlabel/" "tex/latex/pinlabel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hfa6gdmc6f59840fia3pdll2bgjwyqk57plcqxb4vc0f7kdqqay"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pinlabel")
    (synopsis "TeX labelling package")
    (description
     "Pinlabel is a labelling package for attaching perfectly formatted TeX
labels to figures and diagrams in both EPS and PDF formats.  It is suitable
both for labelling a new diagram and for relabelling an existing diagram.  The
package uses coordinates derived from GhostView and labels are placed with
automatic and consistent spacing relative to the object labelled.")
    (license license:lppl)))

(define-public texlive-pixelart
  (package
    (name "texlive-pixelart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pixelart/" "tex/latex/pixelart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14hridmq92md46vxaiv8ja5lij2zl449vbvq2x2dv4qqs7bi42ab"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pixelart")
    (synopsis "Draw pixel-art pictures")
    (description
     "This package provides a LuaLaTeX package to draw pixel-art pictures
using TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-pixelarttikz
  (package
    (name "texlive-pixelarttikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pixelarttikz/"
                                     "tex/latex/pixelarttikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13v5qdij5wngqh9flv2amxnh5l3qa4vxvv5ayc1m26vvmy1j7xw8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pixelarttikz")
    (synopsis "Work with PixelArts, with TikZ")
    (description
     "The package defines commands and an environment for displaying pixel
arts.")
    (license license:lppl1.3c)))

(define-public texlive-plain-doc
  (package
    (name "texlive-plain-doc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/plain-doc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "062d6hg4npy57307avvyd2sdxnmyrh5ia2rdb17p6cx555k8zxwq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/csname-doc")
    (synopsis "List of Plain TeX control sequence names")
    (description
     "The document constitutes a list of every control sequence
name (@dfn{csname}) described in the TeXbook, together with an indication of
whether the csname is a primitive TeX command, or is defined in
@file{plain.tex}.")
    (license license:public-domain)))

(define-public texlive-pmgraph
  (package
    (name "texlive-pmgraph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pmgraph/" "tex/latex/pmgraph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a4nd6c9i9y6g34ipjz2ia0m4vizlvx0wcn0yql53pk8k8zrlgnn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pmgraph")
    (synopsis "Poor man's graphics")
    (description
     "This package provides a set of extensions to LaTeX @code{picture}
environment, including a wider range of vectors, and a lot more box frame
styles.")
    (license license:gpl3+)))

(define-public texlive-postage
  (package
    (name "texlive-postage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/postage/" "source/latex/postage/"
                                     "tex/latex/postage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sa9fm5hh57p0srnrd98jljj6200hnl17pmhw2v5q7jjgqj1n5gq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/postage")
    (synopsis "Stamp letters with Deutsche Post's service Internetmarke")
    (description
     "The postage package is used for franking letters with Deutsche Post's
online postage service Internetmarke.  Note that in order to print valid
stamps you must point to a valid PDF of Deutsche Post's Ausdruck
4-spaltig (DIN A4).")
    (license license:lppl1.3c)))

(define-public texlive-prerex
  (package
    (name "texlive-prerex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/prerex/" "doc/man/man5/prerex.5"
                                     "doc/man/man5/prerex.man5.pdf"
                                     "tex/latex/prerex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cmkr8533p4lqnj9x7nlcqj0slin021y13mr4mx2hvd35ya0dd80"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "readline")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tests? #true
      #:modules '((guix build texlive-build-system)
                  ((guix build gnu-build-system) #:prefix gnu:)
                  (guix build utils)
                  (srfi srfi-1))
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'unpack-prerex-source
            (lambda _
              (mkdir-p "build")
              (with-directory-excursion "build"
                (invoke "tar" "xvf"
                        ;; Tarball includes a version number that we ignore.
                        (first (find-files ".." "^prerex-.*\\.tar.gz"))
                        "--strip-components=1"))))
          (add-after 'unpack-prerex-source 'build-prerex
            (lambda args
              (with-directory-excursion "build"
                (for-each (lambda (phase)
                            (apply (assoc-ref gnu:%standard-phases phase) args))
                          '(configure build check install))))))))
    (native-inputs (list readline))
    (home-page "https://ctan.org/pkg/prerex")
    (synopsis "Interactive editor and macro support for prerequisite charts")
    (description
     "This package consists of @file{prerex.sty}, a LaTeX package for
producing charts of course nodes linked by arrows representing pre- and
co-requisites, and @command{prerex}, an interactive program for creating and
editing chart descriptions.  The implementation of @file{prerex.sty} uses PGF,
so that it may be used equally happily with LaTeX or PDFLaTeX; @code{prerex}
itself is written in C.  The package includes source code for a previewer
application, a lightweight Qt-4 and Poppler-based prerex-enabled PDF viewer.")
    (license (list license:gpl2 license:lppl))))

(define-public texlive-productbox
  (package
    (name "texlive-productbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/productbox/"
                                     "source/latex/productbox/"
                                     "tex/latex/productbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12jj5am2h6lqmhc0dz9v8p2j9ci104s9xplki7ncn3fmhy5mm2fq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/productbox")
    (synopsis "Typeset a three-dimensional product box")
    (description
     "The package enables typesetting of a three-dimensional product box.
This product box can be rendered as it is standing on a surface and some light
is shed onto it.  Alternatively it can be typeset as a wireframe to be cut out
and glued together.  This will lead to a physical product box.")
    (license
     (list
      (license:fsf-free "https://tug.ctan.org/macros/latex/contrib/gene/productbox/productbox.ins")))))

(define-public texlive-ps2eps
  (package
    (name "texlive-ps2eps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/bbox.1"
                                     "doc/man/man1/bbox.man1.pdf"
                                     "doc/man/man1/ps2eps.1"
                                     "doc/man/man1/ps2eps.man1.pdf"
                                     "scripts/ps2eps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1anrvgs0hd3790dwpxqal0c2drjmvh93vnyqap40rvp8axwi0a6n"))))
    (outputs '("out" "doc"))
    (properties '((updater-ignored-inputs "perl"))) ;in "-bin" already
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-ps2eps-bin))
    (home-page "https://ctan.org/pkg/ps2eps")
    (synopsis "Produce Encapsulated PostScript from PostScript")
    (description
     "@command{ps2eps} produces Encapsulated PostScript Files (EPS/EPSF) from
a one-page PostScript document, or any PostScript document.  A correct
bounding box is calculated for the EPS files and some PostScript command
sequences that can produce errorneous results on printers are filtered.  The
input is cropped to include just the image contained in the PostScript file.
The EPS files can then be included into TeX documents.

Included in the distribution is the @command{bbox} program, an application to
produce bounding box values for Rawppm or Rawpbm format files.")
    (license license:gpl3+)))

(define-public texlive-ps2eps-bin
  (package
    (inherit texlive-bin)
    (name "texlive-ps2eps-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("ps2eps"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-ps2eps" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (add-after 'unpack 'configure-ghostscript-executable
              ;; ps2eps.pl uses the "gswin32c" ghostscript executable on
              ;; Windows, and the "gs" ghostscript executable on Unix.  It
              ;; detects Unix by checking for the existence of the "/usr/bin"
              ;; directory.  Since Guix System does not have "/usr/bin", it is
              ;; also detected as a Windows system :(.
              (lambda _
                (substitute* "utils/ps2eps/ps2eps-src/bin/ps2eps.pl"
                  (("gswin32c") "gs"))))
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/ps2eps"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/ps2eps"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs (list perl))
    (propagated-inputs '())
    (home-page (package-home-page texlive-ps2eps))
    (synopsis "Binaries for @code{texlive-ps2eps}")
    (description
     "This package provides the binaries for @code{texlive-ps2eps}.")
    (license (package-license texlive-ps2eps))))

(define-public texlive-ps2pk
  (package
    (name "texlive-ps2pk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/mag.1"
                                     "doc/man/man1/mag.man1.pdf"
                                     "doc/man/man1/pfb2pfa.1"
                                     "doc/man/man1/pfb2pfa.man1.pdf"
                                     "doc/man/man1/pk2bm.1"
                                     "doc/man/man1/pk2bm.man1.pdf"
                                     "doc/man/man1/ps2pk.1"
                                     "doc/man/man1/ps2pk.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14xq9x5rf15ibzr41cm5rm4v3rpmj50rfsqp4zzvyhmpmyw4dsx3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-ps2pk-bin))
    (home-page "https://ctan.org/pkg/ps2pk")
    (synopsis "Generate a PK font from an Adobe Type 1 font")
    (description
     "This package provides tools to generate a PK file from an Adobe Type
1 font.  PK fonts are (or used to be) valuable in enabling previewers to view
documents generated that use Type 1 fonts.")
    (license license:isc)))

(define-public texlive-ps2pk-bin
  (package
    (inherit texlive-bin)
    (name "texlive-ps2pk-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("ps2pk"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-ps2pk" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/ps2pk"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/ps2pk"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-ps2pk))
    (synopsis "Binaries for @code{texlive-ps2pk}")
    (description
     "This package provides the binaries for @code{texlive-ps2pk}.")
    (license (package-license texlive-ps2pk))))

(define-public texlive-psutils
  (package
    (name "texlive-psutils")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/epsffit.1"
                                     "doc/man/man1/epsffit.man1.pdf"
                                     "doc/man/man1/extractres.1"
                                     "doc/man/man1/extractres.man1.pdf"
                                     "doc/man/man1/includeres.1"
                                     "doc/man/man1/includeres.man1.pdf"
                                     "doc/man/man1/psbook.1"
                                     "doc/man/man1/psbook.man1.pdf"
                                     "doc/man/man1/psjoin.1"
                                     "doc/man/man1/psjoin.man1.pdf"
                                     "doc/man/man1/psnup.1"
                                     "doc/man/man1/psnup.man1.pdf"
                                     "doc/man/man1/psresize.1"
                                     "doc/man/man1/psresize.man1.pdf"
                                     "doc/man/man1/psselect.1"
                                     "doc/man/man1/psselect.man1.pdf"
                                     "doc/man/man1/pstops.1"
                                     "doc/man/man1/pstops.man1.pdf"
                                     "doc/man/man1/psutils.1"
                                     "doc/man/man1/psutils.man1.pdf"
                                     "dvips/getafm/"
                                     "psutils/"
                                     "scripts/psutils/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ba514lz3pc03ll0kb9apdx62mi2yiyd7bnargkp2bbf62dq79cc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (properties '((updater-ignored-inputs "perl"))) ;in "-bin" already
    (propagated-inputs (list texlive-psutils-bin))
    (home-page "https://ctan.org/pkg/psutils")
    (synopsis "PostScript utilities")
    (description
     "This package provides a bundle of utilities for manipulating PostScript
documents, including page selection and rearrangement, resizing the page,
arrangement into signatures for booklet printing, and page merging for N-up
printing.  Utilities include @command{psbook}, @command{psselect},
@command{pstops}, @command{psnup}, @command{psresize}, @command{epsffit}.")
    (license
     (list license:lgpl2.1+
           (license:fsf-free
            "https://tug.org/svn/texlive/trunk/Build/source/texk/psutils/psutils-src/LICENSE?revision=57915&view=markup")))))

(define-public texlive-psutils-bin
  (package
    (inherit texlive-bin)
    (name "texlive-psutils-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("psutils"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-psutils" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (add-after 'unpack 'patch-psutils-tests
              (lambda _
                ;; This test fails due to a rounding difference with libpaper
                ;; 1.2: <https://github.com/rrthomas/libpaper/issues/23>.
                ;;
                ;; Adjust the expected outcome to account for the minute
                ;; difference.
                (substitute* "texk/psutils/tests/playres.ps"
                  (("844\\.647799") "844.647797"))
                ;; Test suite also fails because it expects to find
                ;; "texmf.cnf" in "../kpathsea/" directory, but we removed it
                ;; in a snippet.  Point to the real "texmf.cnf".
                (let ((kpathsea #$(this-package-input "texlive-libkpathsea")))
                  (substitute* "texk/psutils/psutils.test"
                    (("(TEXMFCNF=).+?;" _ var)
                     (string-append var
                                    kpathsea
                                    "/share/texmf-dist/web2c;"))))))
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/psutils"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/psutils"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list libpaper perl texlive-libkpathsea))
    (propagated-inputs '())
    (synopsis "Binaries for @code{texlive-psutils}")
    (description
     "This package provides the binaries for @code{texlive-psutils}.")
    (license (package-license texlive-psutils))))

(define-public texlive-ptolemaicastronomy
  (package
    (name "texlive-ptolemaicastronomy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ptolemaicastronomy/"
                                     "source/latex/ptolemaicastronomy/"
                                     "tex/latex/ptolemaicastronomy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05j082s8aj57lzbxlhddi7f6gscpl5j66zmmaj6kabpnv152r0l7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ptolemaicastronomy")
    (synopsis "Diagrams of sphere models for variably strict conditionals")
    (description
     "David K. Lewis (Counterfactuals, Blackwell 1973) introduced a sphere
semantics for counterfactual conditionals.  He jokingly referred to the
diagrams depicting such sphere models as Ptolemaic astronomy, hence the name
of this package.  The macros provided in this package aid in the construction
of sphere model diagrams in the style of Lewis.")
    (license license:lppl1.3c)))

(define-public texlive-puyotikz
  (package
    (name "texlive-puyotikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/puyotikz/" "scripts/puyotikz/"
                                     "tex/latex/puyotikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15vw485phk523kby1q1wn0s0f7185cqj7sjsr8hc6iccdbzwknc0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/puyotikz")
    (synopsis "Quickly typeset board states of Puyo Puyo games")
    (description
     "This LaTeX package permits to quickly typeset board states of Puyo Puyo
games.  It supports large and small boards with arbitrary shape, hidden rows,
current and next puyos, labels and move planning markers.")
    (license license:expat)))

(define-public texlive-pxpgfmark
  (package
    (name "texlive-pxpgfmark")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pxpgfmark/"
                                     "tex/latex/pxpgfmark/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c026i1bda0fxfrjhpv4laaj75ra6j8l2v6bxsgplng7f11nx36l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxpgfmark")
    (synopsis "e-pTeX driver for PGF inter-picture connections")
    (description
     "The distributed drivers do not support the PGF feature of inter-picture
connections under e-pTeX and @code{dvipdfmx}.  The package uses existing
features of @code{dvipdfmx} to fix this problem.")
    (license license:expat)))

(define-public texlive-pxpic
  (package
    (name "texlive-pxpic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pxpic/" "source/latex/pxpic/"
                                     "tex/latex/pxpic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03qn6r503sd9sskp9fl1qxmkjwigg01mx4wqzgjdf6824sk2ckg9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxpic")
    (synopsis "Draw pixel pictures")
    (description
     "With @code{pxpic} you draw pictures pixel by pixel.  It was inspired by
a lovely post by Paulo Cereda, among other things (most notably a beautiful
duck) showcasing the use of characters from the Mario video games by Nintendo
in LaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-pxtatescale
  (package
    (name "texlive-pxtatescale")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pxtatescale/"
                                     "tex/latex/pxtatescale/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f9xm6nc9h6r2n5rsz6iw4m1x8r13anisv08j5hkidcyvj6n2s6n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxtatescale")
    (synopsis
     "Patch to graphics driver for scaling in vertical direction of pTeX")
    (description
     "This package patches graphics driver @code{dvipdfmx} to support correct
scaling in vertical direction of Japanese pTeX and upTeX.")
    (license license:expat)))

(define-public texlive-qcircuit
  (package
    (name "texlive-qcircuit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/qcircuit/" "tex/latex/qcircuit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gyygba4zv6ncbwailjh9fvwn95d4ckrn2vj2ja089drr0sd8zkq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qcircuit")
    (synopsis "Macros to generate quantum ciruits")
    (description
     "The package supports those within the quantum information community who
typeset quantum circuits, using @code{xy-pic} package, offering macros
designed to help users generate circuits.")
    (license license:gpl2)))

(define-public texlive-quantikz
  (package
    (name "texlive-quantikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/quantikz/" "tex/latex/quantikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14qscaw959x93cmjzshcxk2xwypdyqcczqg924ksfwz52x3qgxs3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quantikz")
    (synopsis "Draw quantum circuit diagrams")
    (description
     "The purpose of this package is to extend TikZ with the functionality for
drawing quantum circuit diagrams.")
    (license license:cc-by4.0)))

(define-public texlive-quran
  (package
    (name "texlive-quran")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/quran/" "tex/latex/quran/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14vi3l8h0jzv9x2rarpnqw7axcvcn3hn0xn3zpjnzc6h03534zif"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quran")
    (synopsis "Easy way to typeset any part of the @emph{Holy Quran}")
    (description
     "This package offers the user an easy way to typeset the @emph{Holy
Quran}.  It provides several macros for typesetting the whole or any part of
the Quran based on its popular division, including @emph{Surah}, @emph{Ayah},
@emph{Juz}, @emph{Hizb}, @emph{Quarter}, and @emph{Page}.  Besides the Arabic
original, translations to English, German, French, and Persian are provided,
as well as an English transliteration.")
    (license license:lppl1.3c)))

(define-public texlive-quran-bn
  (package
    (name "texlive-quran-bn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/quran-bn/" "tex/latex/quran-bn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00s1awx5s7h95nld2h32d7cm7zhr9qsqkqs9jq7p8cybkhhp8amf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quran-bn")
    (synopsis "Bengali translations to the @code{quran} package")
    (description
     "The package is prepared for typesetting some Bengali translations of the
Holy Quran.  It adds two Bengali translations to the @code{quran} package.")
    (license license:lppl1.3+)))

(define-public texlive-quran-de
  (package
    (name "texlive-quran-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/quran-de/"
                                     "tex/xelatex/quran-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06syk1ifxcy8wxfxgnrh6d3hpx4bdprxgkc9jicaaca6j6m3rm65"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quran-de")
    (synopsis "German translations to the @code{quran} package")
    (description
     "The package is prepared for typesetting some German translations of the
Holy Quran.  It adds three more German translations to the @code{quran}
package.")
    (license license:lppl1.3c)))

(define-public texlive-quran-ur
  (package
    (name "texlive-quran-ur")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/quran-ur/" "tex/latex/quran-ur/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13cziawsh8j4drwibp0558gd05b47rdk9cb0cd9cf6043has9ap9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quran-ur")
    (synopsis "Urdu translations to the @code{quran} package")
    (description
     "The package is prepared for typesetting some Urdu translations of the
Holy Quran.  It adds eight Urdu translations to the @code{quran} package.")
    (license license:lppl1.3c)))

(define-public texlive-qyxf-book
  (package
    (name "texlive-qyxf-book")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/qyxf-book/"
                                     "tex/latex/qyxf-book/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sgjdfpmwjqh40sbanj772bwimbf3az7wah65hxaz5198xd67m1y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qyxf-book")
    (synopsis "Book Template for Qian Yuan Xue Fu")
    (description
     "@code{qyxf-book} is a LaTeX document class (template) developed by Qian
Yuan Xue Fu (QYXF), a student club of Xi'an Jiaotong University (XJTU).  It
creates a minimalistic document style, and several color schemes are offered.
Currently the template is only designed for Chinese typesetting.")
    (license license:expat)))

(define-public texlive-r-und-s
  (package
    (name "texlive-r-und-s")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/r_und_s/" "tex/latex/r_und_s/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15w8sggvlh28567y1d4vpbq8and12hvhphfvd7vabbn8g1l6h1yi"))))
    (outputs '("out" "doc"))
    (properties '((upstream-name . "r_und_s")))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/r-und-s")
    (synopsis "Chemical hazard codes")
    (description
     "The @code{r-und-s} package decodes the german R- und S-Satze, which are
numerically coded security advice for chemical substances into plain text.
This is, e.g., used to compose security sheets or lab protocols and especially
useful for students of chemistry.  There are four packages, giving texts in
German, English, French and Dutch.")
    (license license:bsd-2)))

(define-public texlive-randbild
  (package
    (name "texlive-randbild")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/randbild/"
                                     "source/latex/randbild/"
                                     "tex/latex/randbild/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y9qf73163ai738pf6qvaqxy5s2cymyg19qyyfs8dfx2gygcyny9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/randbild")
    (synopsis "Marginal pictures")
    (description
     "This package provides environments @code{randbild} to draw small
marginal plots (using the packages PSTricks and @code{pst-plot}), and
@code{randbildbasis} (the same, only without the automatically drawn
coordinate system).")
    (license license:lppl)))

(define-public texlive-randomwalk
  (package
    (name "texlive-randomwalk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/randomwalk/"
                                     "source/latex/randomwalk/"
                                     "tex/latex/randomwalk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mmisgiy0c6qww6xyp9r825snh1dkmn81qjg39c7n1jxig3a8rj3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/randomwalk")
    (synopsis "Random walks using TikZ")
    (description
     "The @code{randomwalk} package provides a user command, @code{\\RandomWalk},
to draw random walks with a given number of steps.  Lengths and angles of the
steps can be customized in various ways.")
    (license license:lppl1.3c)))

(define-public texlive-realhats
  (package
    (name "texlive-realhats")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/realhats/"
                                     "source/latex/realhats/"
                                     "tex/latex/realhats/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ybxjhhl28rx9i9zkm4qd97avq801nsz3h8r2igfirzgxym3ijfy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/realhats")
    (synopsis "Put real hats on symbols instead of @samp{^}")
    (description
     "This LaTeX package makes @code{\\hat} put real hats on symbols.")
    (license license:expat)))

(define-public texlive-reotex
  (package
    (name "texlive-reotex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/reotex/" "tex/latex/reotex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hcjk3nms2gg1h99mxnivb5n3382yq92c578mw0pxbwi0f67z3iw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/reotex")
    (synopsis "Draw Reo Channels and Circuits")
    (description
     "The package defines macros and other utilities to design Reo Circuits.")
    (license license:lppl)))

(define-public texlive-robotarm
  (package
    (name "texlive-robotarm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/robotarm/"
                                     "source/latex/robotarm/"
                                     "tex/latex/robotarm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lhvbwq979whvjwx9gyfhsxz20x6imhh57xm843zk6068lv0b3wj"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tex-format "latex"
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'add-missing-ins-file
            ;; TeX Live distribution is missing the appropriate ".ins" file to
            ;; generate the package.  Create it, but ignore all documentation
            ;; related files in there.
            (lambda _
              (with-output-to-file "source/latex/robotarm/robotarm.ins"
                (lambda ()
                  (display "\\input docstrip.tex
\\generate{\\file{robotarm.sty}{\\from{robotarm.dtx}{robotarm-package}}}
\\endbatchfile"))))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-hypdoc
                  texlive-tools))))
    (home-page "https://ctan.org/pkg/robotarm")
    (synopsis "TikZ powered LaTeX package to draw parameterized 2D robot arms")
    (description
     "This LaTeX package uses TikZ to draw parameterized 2D robot arms, for
example to be used in educational material.")
    (license license:lppl1.3+)))

(define-public texlive-rojud
  (package
    (name "texlive-rojud")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/rojud/" "fonts/map/dvips/rojud/"
                                     "fonts/tfm/public/rojud/"
                                     "fonts/type1/public/rojud/"
                                     "tex/latex/rojud/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vq5m755wa5j9y072gmyf7pl7cisxh029b5j8rm46kqllfpaz4zj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rojud")
    (synopsis "Font with the images of the counties of Romania")
    (description
     "This package provides a Type 1 font with images of the 42 counties of Romania,
constructed using a general method which is described in detail in the
documentation.  The package name is an abbreviation of @emph{judetele
Romaniei} (i.e., counties of Romania).")
    (license license:lppl)))

(define-public texlive-rviewport
  (package
    (name "texlive-rviewport")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rviewport/"
                                     "source/latex/rviewport/"
                                     "tex/latex/rviewport/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13mrihyid25h70800ix0mbqhs8dbi39nyif8f12mj54jpfdjhxcz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rviewport")
    (synopsis "Relative viewport for graphics inclusion")
    (description
     "Package @code{graphicx} provides a useful keyword viewport which allows
to show just a part of an image.  However, one needs to put there the actual
coordinates of the viewport window.  Sometimes it is useful to have relative
coordinates as fractions of natural size.  For example, one may want to print
a large image on a spread, putting a half on a verso page, and another half on
the next recto page.  For this one would need a viewport occupying exactly one
half of the file's bounding box, whatever the actual width of the image may
be.  This package adds a new keyword @code{rviewport} to the @code{graphicx}
package specifiying relative viewport for graphics inclusion: a window defined
by the given fractions of the natural width and height of the image.")
    (license license:lppl)))

(define-public texlive-sa-tikz
  (package
    (name "texlive-sa-tikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sa-tikz/" "tex/latex/sa-tikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wdxdgc7jh0h7pql8wja9h4qjc7vr4gv03y4nk2mlxxycwsxiimn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sa-tikz")
    (synopsis "TikZ library to draw switching architectures")
    (description
     "The package provides a library that offers an easy way to draw switching
architectures and to customize their aspect.")
    (license license:lppl1.3+)))

(define-public texlive-sacsymb
  (package
    (name "texlive-sacsymb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sacsymb/" "tex/latex/sacsymb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pwkb8z4bvgqbffcclfif04iqkpdp6lciwmwvwci3mi9bc6yh4vr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sacsymb")
    (synopsis "Sacred symbols prepared with TikZ")
    (description
     "The @code{sacsymb} package contains symbols used in objective
reduction (Orch OR) theory of consciousness as applied to the three brains
model of psychological experience.  These symbols are prepared using TikZ.")
    (license license:lppl1.0+)))

(define-public texlive-schemabloc
  (package
    (name "texlive-schemabloc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/schemabloc/"
                                     "tex/latex/schemabloc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nmjj4b065nmb4kqs4hlvc3jkz64cn5gbyfjavpxlpgfbbl6wnw4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/schemabloc")
    (synopsis "Draw block diagrams, using TikZ")
    (description
     "The package provides a set of macros for constructing block diagrams,
using TikZ.")
    (license license:lppl)))

(define-public texlive-schulmathematik
  (package
    (name "texlive-schulmathematik")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/schulmathematik/"
                                     "tex/latex/schulmathematik/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ry0h810chqvjrlbppn4y6090482wjr7gnymxj2vc44lcifqkaxy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/schulmathematik")
    (synopsis
     "Commands and document classes for German-speaking teachers of
mathematics and physics")
    (description
     "The @code{schulmathematik} bundle provides two LaTeX packages and six
document classes for German-speaking teachers of mathematics and physics.")
    (license license:lppl1.3+)))

(define-public texlive-scratch
  (package
    (name "texlive-scratch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scratch/" "tex/latex/scratch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1np9mhfmn07clkzsg1glfxw1mkxihvv7yd10bnhc8lxxan9rymj1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scratch")
    (synopsis "Draw programs like Scratch")
    (description
     "This package permits to draw program charts in the style of the
@url{https://scratch.mit.edu, Scratch} project.  This package is obsolete.
From now on, Scratch is now version 3 with a new design.  Use the
@code{scratch3} package to draw blocks with the new design.")
    (license license:lppl1.3c)))

(define-public texlive-scratch3
  (package
    (name "texlive-scratch3")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scratch3/" "tex/latex/scratch3/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g8s0p7j058z7hdm4p7kgh7nsyk4wn22lp3j25d5b4hr0xyxmhby"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scratch3")
    (synopsis "Draw programs like Scratch")
    (description
     "This package permits to draw program charts in the style of the
@url{https://scratch.mit.edu, Scratch} project.")
    (license license:lppl1.3c)))

(define-public texlive-scsnowman
  (package
    (name "texlive-scsnowman")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scsnowman/"
                                     "tex/latex/scsnowman/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qr1cb19383hsxqh3a0640713m343v3jgxfk9whdxm0z11am5if0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scsnowman")
    (synopsis "Snowman variants using TikZ")
    (description
     "This LaTeX package provides a command @code{\\scsnowman} which can
display many variants of snowman")
    (license license:bsd-2)))

(define-public texlive-setdeck
  (package
    (name "texlive-setdeck")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/setdeck/" "tex/latex/setdeck/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11kk04nf37hmv7qw2azjl5r0cqf08khj41b1gp4nikrqvz2p1g49"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/setdeck")
    (synopsis "Typeset cards for Set")
    (description "The package will typeset cards for use in a game of Set.")
    (license license:gpl3)))

(define-public texlive-sexam
  (package
    (name "texlive-sexam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/sexam/" "tex/xelatex/sexam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bwzxm8xj7p930rgxh6j6rzb7r26i0w61ixy74wkqwmvb3951rf6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sexam")
    (synopsis "Typeset Arabic exam scripts")
    (description
     "The package provides a modified version of the @code{exam} package made
compatible with XeLaTeX and Polyglossia to typeset Arabic exams.")
    (license license:lppl1.3+)))

(define-public texlive-signchart
  (package
    (name "texlive-signchart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/signchart/"
                                     "source/latex/signchart/"
                                     "tex/latex/signchart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vg7xkrc0chp0r9j05ra499n4zkwg1gh9ywfnb54yhwcas301izs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/signchart")
    (synopsis "Create sign charts")
    (description
     "The package allows users to easily typeset sign charts directly into
their (La)TeX document.")
    (license license:lppl1.3+)))

(define-public texlive-simplenodes
  (package
    (name "texlive-simplenodes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/simplenodes/"
                                     "tex/latex/simplenodes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d3bqia3a7rnd57v8yld4i5d9nwrshkxxv6w2vglhpp447yv0nq7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simplenodes")
    (synopsis "Simple nodes in four colors written in TikZ for LaTeX")
    (description
     "This is a LaTeX macro package for generating simple node-based flow
graphs or diagrams built upon the TikZ package.  The package provides two
basic commands, one to generate a node and one to create links between nodes.
The positioning of the nodes is not handled by the package itself but is
preferably done in a tabular environment.  In total, four simple node types
are defined, loosely based on the nomenclature and color patterns of the
popular Java script Bootstrap.")
    (license license:expat)))

(define-public texlive-simpleoptics
  (package
    (name "texlive-simpleoptics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/simpleoptics/"
                                     "tex/latex/simpleoptics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hna56av80k1gc3fm2nbw2dy31sfdw7v14v8yppad4f2d12skpzd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simpleoptics")
    (synopsis "Drawing lenses and mirrors for optical diagrams")
    (description
     "This package provides some of macros for drawing simple lenses and
mirrors for use in optical diagrams.")
    (license license:lppl1.3c)))

(define-public texlive-simurgh
  (package
    (name "texlive-simurgh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/simurgh/"
                                     "tex/lualatex/simurgh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11256ssaq6hw6c93ldfgyp0gagv69hl54yg1c8wl5wkc0mrh42rb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simurgh")
    (synopsis "Typeset Parsi in LuaLaTeX")
    (description
     "The package provides an automatic and unified interface for Parsi
typesetting in LaTeX, using the LuaTeX engine.")
    (license license:gpl2)))

(define-public texlive-smartdiagram
  (package
    (name "texlive-smartdiagram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/smartdiagram/"
                                     "source/latex/smartdiagram/"
                                     "tex/latex/smartdiagram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qlgafprxqjhy14imb3isgqjsp1y78qrcqlr0n1rvgwppmi1fd0c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/smartdiagram")
    (synopsis "Generate diagrams from lists")
    (description
     "The package will create smart diagrams from lists of items, for simple
documents and for presentations.")
    (license license:lppl1.3+)))

(define-public texlive-spath3
  (package
    (name "texlive-spath3")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/spath3/" "source/latex/spath3/"
                                     "tex/latex/spath3/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16hg6kbr0rzk1xsyrmhnkc0dr4vq8pamqdqncjx6n5jdpwr9kzkx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spath3")
    (synopsis "Manipulate soft paths in PGF")
    (description
     "The @code{spath3} library provides methods for manipulating the soft
paths of TikZ/PGF.  Packaged with it are two TikZ libraries that make use of
the methods provided.  These are libraries for drawing calligraphic paths and
for drawing knot diagrams.")
    (license license:lppl1.3c)))

(define-public texlive-spectralsequences
  (package
    (name "texlive-spectralsequences")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/spectralsequences/"
                                     "tex/latex/spectralsequences/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fdgkvhhg8i0j7c4ibc9d2xjbhgbpqvqp1shpqaslg5mdahml58f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spectralsequences")
    (synopsis "Print spectral sequence diagrams using PGF/TikZ")
    (description
     "The package is a specialized tool built on top of PGF/TikZ for drawing
spectral sequences.  It provides a powerful, concise syntax for specifying the
data of a spectral sequence, and then allows the user to print various pages
of spectral sequences, automatically choosing which subset of the classes,
differentials, and structure lines to display on each page.  It also handles
most of the details of the layout.  At the same time, it is extremely
flexible.  @code{spectralsequences} is closely integrated with TikZ to ensure
that users can take advantage of as much as possible of its expressive power.
It is possible to turn off most of the automated layout features and draw
replacements using TikZ commands.  The package also provides a carefully
designed error reporting system intended to ensure that it is as clear as
possible what is going wrong.")
    (license license:lppl)))

(define-public texlive-strands
  (package
    (name "texlive-strands")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/strands/" "source/latex/strands/"
                                     "tex/latex/strands/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jhvbzy8qjrjmb6j7kjwjn1iqgnszvhwlnpsag8sl1f8qgg1ns9z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/strands")
    (synopsis "Draw objects constructed from strands")
    (description
     "This package permits to draw objects constructed from strands, like set
partitions, permutations, braids, etc.")
    (license license:lppl1.3+)))

(define-public texlive-swebib
  (package
    (name "texlive-swebib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/swebib/" "doc/latex/swebib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bw7ls5gbi31gr9h4mqv2blva1skqymprp350n9wm086kgyv4s8h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/swebib")
    (synopsis "Swedish bibliography styles")
    (description
     "The bundle contains Swedish versions of the standard bibliography
styles, and of the style @code{plainnat}.  The styles should be functionally
equivalent to the corresponding original styles, apart from the Swedish
translations.  The styles do not implement Swedish collation.")
    (license license:lppl1.2+)))

(define-public texlive-swimgraf
  (package
    (name "texlive-swimgraf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/swimgraf/" "tex/latex/swimgraf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09s6wb3nzrxj20qrjyyr3r1fl2nbsgj1a4va101nwqb81pcmp4aq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/swimgraf")
    (synopsis "Graphical/textual representations of swimming performances")
    (description
     "The package provides two macros that produce representations of
a swimmer's performances.  The user records data in a text file and specifies
as arguments of the macros the date range of interest.  The macros extract the
relevant information from the file and process it: @code{\\swimgraph} produces
a graph of the times in a single swimming event (specified as an argument),
plotting long course and short course times in separate lines.  Records and
qualifying times, stored in text files, may optionally be included on the
graph. @code{\\swimtext} produces a written record of the times in all events.
Files of current world and Canadian records are included.")
    (license license:lppl)))

(define-public texlive-syntaxdi
  (package
    (name "texlive-syntaxdi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/syntaxdi/" "tex/latex/syntaxdi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q6f45vr1dq5pildna9i6vxxqg76kylnlb2rfqs9f87r73dg0xak"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/syntaxdi")
    (synopsis "Create railroad syntax diagrams")
    (description
     "This package provides TikZ styles for creating special syntax diagrams
known as railroad diagrams.")
    (license license:lppl1.3+)))

(define-public texlive-t1utils
  (package
    (name "texlive-t1utils")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/t1ascii.1"
                                     "doc/man/man1/t1ascii.man1.pdf"
                                     "doc/man/man1/t1asm.1"
                                     "doc/man/man1/t1asm.man1.pdf"
                                     "doc/man/man1/t1binary.1"
                                     "doc/man/man1/t1binary.man1.pdf"
                                     "doc/man/man1/t1disasm.1"
                                     "doc/man/man1/t1disasm.man1.pdf"
                                     "doc/man/man1/t1mac.1"
                                     "doc/man/man1/t1mac.man1.pdf"
                                     "doc/man/man1/t1unmac.1"
                                     "doc/man/man1/t1unmac.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hdk57179nn57wnmvr3jasjavkvmrn6ryph6jvjhsfqprn7bhf1y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-t1utils-bin))
    (home-page "https://ctan.org/pkg/t1utils")
    (synopsis "Simple Type 1 font manipulation programs")
    (description
     "This package provides a collection of simple programs for manipulating
Adobe Type 1 fonts, comprising:

@itemize
@item @command{t1ascii}: convert PFB (binary) to PFA (ASCII) fonts;
@item @command{t1binary}: convert PFA to PFB fonts;
@item @command{t1disasm}: convert PFA or PFB fonts to human-readable
and -editable format;
@item @command{t1asm}: reassemble such editable formats to a font;
@item @command{t1unmac}: extract font resources from a Macintosh font file;
@item @command{t1mac}: generate a Macintosh font from a Type 1 font.
@end itemize")
    (license license:public-domain)))

(define-public texlive-t1utils-bin
  (package
    (inherit texlive-bin)
    (name "texlive-t1utils-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "texk" '())
            (delete-other-directories "utils" '("t1utils"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-t1utils" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/t1utils"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/t1utils"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-t1utils))
    (synopsis "Binaries for @code{texlive-t1utils}")
    (description
     "This package provides the binaries for @code{texlive-t1utils}.")
    (license (package-license texlive-t1utils))))

(define-public texlive-table-fct
  (package
    (name "texlive-table-fct")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/table-fct/"
                                     "tex/latex/table-fct/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l21dvfp4ypbfn5jvyrb2kwg8s8xfvcwlwxgcyix2ghawv9gsp7m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/table-fct")
    (synopsis
     "Draw a variations table of functions and a convexity table of its graph")
    (description
     "This package offers two environnements, to draw variations table of
a function and a convexity table of its graph.")
    (license license:lppl1.3+)))

(define-public texlive-templates-fenn
  (package
    (name "texlive-templates-fenn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/templates-fenn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s91swqsysva49cjrb9khgik5mvhxcb3wr2wz4l2683gdgxlbgkf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/templates-fenn")
    (synopsis "Templates for TeX usage")
    (description
     "This package provides a set of templates for using LaTeX packages that
the author uses, comprising:

@itemize
@item @file{scrlttr2.tex}: a letter, written with @code{scrlttr2.cls} from the
KOMA-Script bundl,
@item @file{dinbrief.tex}: a letter according to the German
(DIN) standards, written with @file{dinbrief.cls},
@item @file{kbrief.tex}: a brief memo (@emph{Kurzbrief}) to accompany
enclosures, as used in German offices, again based on @code{dinbrief},
@item @file{vermerk.tex}: a general form for taking down notes on events in
the office,
@item @file{diabetes.tex}: a diary for the basis-bolus insulin therapy of
diabetes mellitus, using @file{scrartcl.cls} from the KOMA-Script bundle.
@end itemize")
    (license license:lppl)))

(define-public texlive-templates-sommer
  (package
    (name "texlive-templates-sommer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/templates-sommer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z75xhawsmcxv4f24cqcvfi0r22gavjpg4si6nwrgc8sg82x24m6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/templates-sommer")
    (synopsis "Templates for TeX usage")
    (description
     "This package provides a set of templates for using LaTeX packages that the
author uses, comprising:

@itemize
@item @file{hausarbeit.tex}: for students of the Lehrstuhl Volkskunde an der
Friedrich-Schiller-Universitat Jena,
@item @file{psycho-Dipl.tex}: for diploma theses in psychology.
@end itemize")
    (license license:lppl)))

(define-public texlive-termcal-de
  (package
    (name "texlive-termcal-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/termcal-de/"
                                     "source/latex/termcal-de/"
                                     "tex/latex/termcal-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0av913y88vfv0yb68xx1lrqpxd8hwx8x7zzb1qcb2d9r5ry1l8z7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/termcal-de")
    (synopsis "German localization for @code{termcal}")
    (description
     "This package provides a German localization to the @code{termcal}
package written by Bill Mitchell, which is intended to print a term calendar
for use in planning a class.")
    (license license:lppl1.3c)))

(define-public texlive-tex4ht
  (package
    (name "texlive-tex4ht")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tex4ht/"
                                     "scripts/tex4ht/"
                                     "source/generic/tex4ht/"
                                     "tex/generic/tex4ht/"
                                     "tex4ht/base/unix/"
                                     "tex4ht/base/win32/"
                                     "tex4ht/bin/"
                                     "tex4ht/ht-fonts/alias/"
                                     "tex4ht/ht-fonts/aliase/mathtime/"
                                     "tex4ht/ht-fonts/ascii/manfnt/"
                                     "tex4ht/ht-fonts/cp1256/charset/"
                                     "tex4ht/ht-fonts/css/emacspeak/cm/"
                                     "tex4ht/ht-fonts/dbcs/cjk/b5ka/"
                                     "tex4ht/ht-fonts/gb2312/charset/"
                                     "tex4ht/ht-fonts/gbk/charset/"
                                     "tex4ht/ht-fonts/html-speech/charset/"
                                     "tex4ht/ht-fonts/iso8859/1/charset/"
                                     "tex4ht/ht-fonts/iso8859/1/chess/"
                                     "tex4ht/ht-fonts/iso8859/1/cm/"
                                     "tex4ht/ht-fonts/iso8859/1/devanagari/"
                                     "tex4ht/ht-fonts/iso8859/1/euro/"
                                     "tex4ht/ht-fonts/iso8859/1/go/"
                                     "tex4ht/ht-fonts/iso8859/1/html/charset/"
                                     "tex4ht/ht-fonts/iso8859/1/ipa/"
                                     "tex4ht/ht-fonts/iso8859/1/mathtime/"
                                     "tex4ht/ht-fonts/iso8859/1/mongolian/"
                                     "tex4ht/ht-fonts/iso8859/1/ps2mf/"
                                     "tex4ht/ht-fonts/iso8859/1/sw/"
                                     "tex4ht/ht-fonts/iso8859/1/tibetan/"
                                     "tex4ht/ht-fonts/iso8859/1/xypic/"
                                     "tex4ht/ht-fonts/iso8859/2/charset/"
                                     "tex4ht/ht-fonts/iso8859/2/html/charset/"
                                     "tex4ht/ht-fonts/iso8859/5/charset/"
                                     "tex4ht/ht-fonts/iso8859/5/cm/sauter/"
                                     "tex4ht/ht-fonts/iso8859/5/cyrillic/"
                                     "tex4ht/ht-fonts/iso8859/5/html/charset/"
                                     "tex4ht/ht-fonts/iso8859/5/lh/lh-t2a/"
                                     "tex4ht/ht-fonts/iso8859/6/charset/"
                                     "tex4ht/ht-fonts/iso8859/6/html/charset/"
                                     "tex4ht/ht-fonts/iso8859/7/charset/"
                                     "tex4ht/ht-fonts/iso8859/8/hebrew/"
                                     "tex4ht/ht-fonts/jsml/charset/"
                                     "tex4ht/ht-fonts/koi/8r/charset/"
                                     "tex4ht/ht-fonts/koi/8r/lh/lh-t2a/"
                                     "tex4ht/ht-fonts/mozilla/charset/"
                                     "tex4ht/ht-fonts/ooffice/charset/"
                                     "tex4ht/ht-fonts/share/adobe/helvetic/"
                                     "tex4ht/ht-fonts/symbol/charset/"
                                     "tex4ht/ht-fonts/symbol/cyrillic/"
                                     "tex4ht/ht-fonts/symbol/hebrew/"
                                     "tex4ht/ht-fonts/symbol/mathtime/"
                                     "tex4ht/ht-fonts/unicode/Baskervaldx/"
                                     "tex4ht/ht-fonts/unicode/Century_Schoolbook_L/"
                                     "tex4ht/ht-fonts/unicode/EB_Garamond_Initials/"
                                     "tex4ht/ht-fonts/unicode/EB_Garamond_Italic/"
                                     "tex4ht/ht-fonts/unicode/EB_Garamond_Regular/"
                                     "tex4ht/ht-fonts/unicode/Fourier-Math-Extension/"
                                     "tex4ht/ht-fonts/unicode/Fourier-Math-Letters/"
                                     "tex4ht/ht-fonts/unicode/Fourier-Math-Symbols/"
                                     "tex4ht/ht-fonts/unicode/Kp--M-Ex/"
                                     "tex4ht/ht-fonts/unicode/Kp--M-Exa/"
                                     "tex4ht/ht-fonts/unicode/Kp--M-Sy/"
                                     "tex4ht/ht-fonts/unicode/Kp--M-Sya/"
                                     "tex4ht/ht-fonts/unicode/Kp--M/"
                                     "tex4ht/ht-fonts/unicode/Kp-Companion/"
                                     "tex4ht/ht-fonts/unicode/Kp-Expert/"
                                     "tex4ht/ht-fonts/unicode/Kp-Light-M-Ex/"
                                     "tex4ht/ht-fonts/unicode/Kp-Light-M-Sy/"
                                     "tex4ht/ht-fonts/unicode/Kp-Light-M-Syb/"
                                     "tex4ht/ht-fonts/unicode/Kp-Light-M-Syc/"
                                     "tex4ht/ht-fonts/unicode/Kp-Light-M-Syd/"
                                     "tex4ht/ht-fonts/unicode/Kp-Light-M/"
                                     "tex4ht/ht-fonts/unicode/Kp-Light-SmallCaps/"
                                     "tex4ht/ht-fonts/unicode/Kp-SC-Expert/"
                                     "tex4ht/ht-fonts/unicode/Kp-SmallCaps/"
                                     "tex4ht/ht-fonts/unicode/Kp/"
                                     "tex4ht/ht-fonts/unicode/LibertineMath/"
                                     "tex4ht/ht-fonts/unicode/Linux_Biolinum_T/"
                                     "tex4ht/ht-fonts/unicode/Linux_Libertine_Display_T/"
                                     "tex4ht/ht-fonts/unicode/Linux_Libertine_Initials_T/"
                                     "tex4ht/ht-fonts/unicode/Linux_Libertine_Mono_T/"
                                     "tex4ht/ht-fonts/unicode/Linux_Libertine_T/"
                                     "tex4ht/ht-fonts/unicode/MinLib/"
                                     "tex4ht/ht-fonts/unicode/MnSymbol/"
                                     "tex4ht/ht-fonts/unicode/NCXFourierMath/"
                                     "tex4ht/ht-fonts/unicode/NewTXMath/"
                                     "tex4ht/ht-fonts/unicode/Nimbus_Roman_No9_L/"
                                     "tex4ht/ht-fonts/unicode/Open_Sans_ExtraBold/"
                                     "tex4ht/ht-fonts/unicode/Open_Sans_Light/"
                                     "tex4ht/ht-fonts/unicode/STIX/"
                                     "tex4ht/ht-fonts/unicode/STIX_Two/"
                                     "tex4ht/ht-fonts/unicode/Sf-Kp-Sc/"
                                     "tex4ht/ht-fonts/unicode/Spectral/"
                                     "tex4ht/ht-fonts/unicode/TeXGyreTermes/"
                                     "tex4ht/ht-fonts/unicode/TeXGyreTermesX/"
                                     "tex4ht/ht-fonts/unicode/Tt-Kp-Exp/"
                                     "tex4ht/ht-fonts/unicode/Tt-Kp/"
                                     "tex4ht/ht-fonts/unicode/URW_Chancery_L/"
                                     "tex4ht/ht-fonts/unicode/Utopia/"
                                     "tex4ht/ht-fonts/unicode/adobe/courier/"
                                     "tex4ht/ht-fonts/unicode/adobe/helvetic/"
                                     "tex4ht/ht-fonts/unicode/adobe/mathptm/"
                                     "tex4ht/ht-fonts/unicode/adobe/palatino/"
                                     "tex4ht/ht-fonts/unicode/adobe/symbol/"
                                     "tex4ht/ht-fonts/unicode/adobe/times/"
                                     "tex4ht/ht-fonts/unicode/adobe/zapfding/"
                                     "tex4ht/ht-fonts/unicode/ae/"
                                     "tex4ht/ht-fonts/unicode/ams/cyrillic/"
                                     "tex4ht/ht-fonts/unicode/ams/euler/"
                                     "tex4ht/ht-fonts/unicode/ams/symbols/"
                                     "tex4ht/ht-fonts/unicode/antt/"
                                     "tex4ht/ht-fonts/unicode/arabi/"
                                     "tex4ht/ht-fonts/unicode/arev/"
                                     "tex4ht/ht-fonts/unicode/arphic/"
                                     "tex4ht/ht-fonts/unicode/bbold/"
                                     "tex4ht/ht-fonts/unicode/bitstrea/charter/"
                                     "tex4ht/ht-fonts/unicode/cbgreek/"
                                     "tex4ht/ht-fonts/unicode/cfrinitials/"
                                     "tex4ht/ht-fonts/unicode/charset/"
                                     "tex4ht/ht-fonts/unicode/chess/"
                                     "tex4ht/ht-fonts/unicode/cjk/b5ka/"
                                     "tex4ht/ht-fonts/unicode/cjk/gbksong/"
                                     "tex4ht/ht-fonts/unicode/cjk/utf8/"
                                     "tex4ht/ht-fonts/unicode/cm/"
                                     "tex4ht/ht-fonts/unicode/coch/"
                                     "tex4ht/ht-fonts/unicode/concrete/"
                                     "tex4ht/ht-fonts/unicode/cs/"
                                     "tex4ht/ht-fonts/unicode/currency/"
                                     "tex4ht/ht-fonts/unicode/cyklop/"
                                     "tex4ht/ht-fonts/unicode/cyrillic/cmcyr/"
                                     "tex4ht/ht-fonts/unicode/dstroke/"
                                     "tex4ht/ht-fonts/unicode/ebg/"
                                     "tex4ht/ht-fonts/unicode/ec/"
                                     "tex4ht/ht-fonts/unicode/erewMath/"
                                     "tex4ht/ht-fonts/unicode/fontawesome/"
                                     "tex4ht/ht-fonts/unicode/fourier-orns/"
                                     "tex4ht/ht-fonts/unicode/futr-sup/"
                                     "tex4ht/ht-fonts/unicode/futrc9d/"
                                     "tex4ht/ht-fonts/unicode/futrd8t/"
                                     "tex4ht/ht-fonts/unicode/greek/ibygrk/"
                                     "tex4ht/ht-fonts/unicode/hebrew/"
                                     "tex4ht/ht-fonts/unicode/html/charset/"
                                     "tex4ht/ht-fonts/unicode/iwona/"
                                     "tex4ht/ht-fonts/unicode/jknappen/tc/"
                                     "tex4ht/ht-fonts/unicode/latex/"
                                     "tex4ht/ht-fonts/unicode/lh/lh-t2a/"
                                     "tex4ht/ht-fonts/unicode/libertine/"
                                     "tex4ht/ht-fonts/unicode/libertinus/"
                                     "tex4ht/ht-fonts/unicode/lm/"
                                     "tex4ht/ht-fonts/unicode/marvosym/"
                                     "tex4ht/ht-fonts/unicode/math/"
                                     "tex4ht/ht-fonts/unicode/mathabx/"
                                     "tex4ht/ht-fonts/unicode/mathdesign/"
                                     "tex4ht/ht-fonts/unicode/mathkerncmssi/"
                                     "tex4ht/ht-fonts/unicode/mathtime/"
                                     "tex4ht/ht-fonts/unicode/mflogo/"
                                     "tex4ht/ht-fonts/unicode/misc/"
                                     "tex4ht/ht-fonts/unicode/musix/"
                                     "tex4ht/ht-fonts/unicode/ntxsups/"
                                     "tex4ht/ht-fonts/unicode/ntxtm/"
                                     "tex4ht/ht-fonts/unicode/pl/"
                                     "tex4ht/ht-fonts/unicode/public/"
                                     "tex4ht/ht-fonts/unicode/pxfonts/"
                                     "tex4ht/ht-fonts/unicode/stickstooMath/"
                                     "tex4ht/ht-fonts/unicode/stmaryrd/"
                                     "tex4ht/ht-fonts/unicode/stxickstooMath/"
                                     "tex4ht/ht-fonts/unicode/t1xtt/"
                                     "tex4ht/ht-fonts/unicode/tcxtt/"
                                     "tex4ht/ht-fonts/unicode/tibetan/"
                                     "tex4ht/ht-fonts/unicode/tipa/"
                                     "tex4ht/ht-fonts/unicode/txbexs/"
                                     "tex4ht/ht-fonts/unicode/txbmiaX/"
                                     "tex4ht/ht-fonts/unicode/txbsys/"
                                     "tex4ht/ht-fonts/unicode/txexas/"
                                     "tex4ht/ht-fonts/unicode/txexs/"
                                     "tex4ht/ht-fonts/unicode/txfonts/"
                                     "tex4ht/ht-fonts/unicode/txmiaX/"
                                     "tex4ht/ht-fonts/unicode/txsyb/"
                                     "tex4ht/ht-fonts/unicode/txsyc/"
                                     "tex4ht/ht-fonts/unicode/txsys/"
                                     "tex4ht/ht-fonts/unicode/txtt/"
                                     "tex4ht/ht-fonts/utf8/charset/"
                                     "tex4ht/ht-fonts/viqr/charset/"
                                     "tex4ht/ht-fonts/viscii/charset/"
                                     "tex4ht/ht-fonts/win/1251/charset/"
                                     "tex4ht/ht-fonts/win/1251/cm/sauter/"
                                     "tex4ht/ht-fonts/win/1251/cyrillic/"
                                     "tex4ht/ht-fonts/win/1251/lh/lh-t2a/"
                                     "tex4ht/xtpipes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p9kf450xkf8zic6sfhwbxvvkigxf8gqcrl41l308lsvgykiv87k"))))
    (outputs '("out" "doc"))
    (properties '((updater-ignored-inputs "perl"))) ;in "-bin" already
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-tex4ht-bin))
    (home-page "https://ctan.org/pkg/tex4ht")
    (synopsis "Convert (La)TeX to HTML/XML")
    (description
     "This package provides a converter from TeX and LaTeX to SGML-based
formats such as (X)HTML, MathML, OpenDocument, and Docbook, providing
a configurable (La)TeX-based authoring system for hypertext.  TeX4ht does not
independently parse (La)TeX source (so it avoids the difficulties encountered
by many other converters, arising from the irregularity of (La)TeX syntax).
Instead, TeX4ht uses (La)TeX itself (with myriad macro modifications) to
produce a helper DVI file that it can then process.  This technique allows
TeX4ht to approach the robustness characteristic of restricted-syntax systems
such as @code{gellmu}.")
    (license license:lppl)))

(define-public texlive-tex4ht-bin
  (package
    (inherit texlive-bin)
    (name "texlive-tex4ht-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("tex4htk"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-tex4htk" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/tex4htk"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/tex4htk"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list perl texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-tex4ht))
    (synopsis "Binaries for @code{texlive-tex4ht}")
    (description
     "This package provides the binaries for @code{texlive-tex4ht}.")
    (license (package-license texlive-tex4ht))))

(define-public texlive-tex4ebook
  (package
    (name "texlive-tex4ebook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/tex4ebook/"
                                     "scripts/tex4ebook/" "tex/latex/tex4ebook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03yg3lryql7lfh5rbdhak6j8mlafrn1rhmi514la3vaccq9p2lc1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "tex4ebook")))
    (propagated-inputs (list texlive-make4ht texlive-tex4ht))
    (home-page "https://ctan.org/pkg/tex4ebook")
    (synopsis "Converter from LaTeX to EBook formats")
    (description
     "This is a bundle of Lua scripts and LaTeX packages for conversion of
LaTeX files to EBook formats such as EPUB, MOBI and EPUB3.  TeX4ht is used as
the conversion engine.")
    (license license:lppl1.3+)))

(define-public texlive-texaccents
  (package
    (name "texlive-texaccents")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/texaccents.1"
                                     "doc/man/man1/texaccents.man1.pdf"
                                     "doc/support/texaccents/"
                                     "scripts/texaccents/"
                                     "source/support/texaccents/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kh4cpvrxgcvnmzxgb3my4jawyqd4348cy6h195346pvdb5xsphh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texaccents.sno")))
    (home-page "https://ctan.org/pkg/texaccents")
    (synopsis "Convert composite accented characters to Unicode")
    (description
     "This small utility, written in SNOBOL, converts the composition of
special characters to Unicode.")
    (license license:expat)))

(define-public texlive-texcount
  (package
    (name "texlive-texcount")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/texcount/" "scripts/texcount/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ab1kp0zh2r65x1v42sc5bwxmlifa8splrakq589fgd0aap0l8n1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texcount.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/texcount")
    (synopsis "Count words in a LaTeX document")
    (description
     "TeXcount is a Perl script that counts words in the text of LaTeX files.
It has rules for handling most of the common macros, and can provide
colour-coded output showing which parts of the text have been counted.")
    (license license:lppl)))

(define-public texlive-texdef
  (package
    (name "texlive-texdef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/texdef/" "scripts/texdef/"
                                     "source/support/texdef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jkc6c4nvzp228d7dcmp0gv2q5qassjq1p40fz4pmbxiyias7zw3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "texdef.pl")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'link-scripts 'add-symlink
            (lambda _
              (with-directory-excursion (string-append #$output "/bin")
                (symlink "texdef" "latexdef")))))))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/texdef")
    (synopsis "Display the definitions of TeX commands")
    (description
     "This (Perl) script displays the definitions of (La)TeX command
sequences/macros.  Various options allow the selection of the used class as
well as package files and other factors that may influence the
definition (before/after the preamble, inside an environment, ...).  The
script creates a temporary TeX file which is then compiled using (La)TeX to
find the @code{\\meaning} of the command sequence.  The result is formatted
and presented to the user.  Length or number command sequences (dimensions,
@code{\\char}..., count registers, ...)  are recognized and the contained
value is also shown (using @code{\\the}).  Special definitions like protected
macros are also recognized and the underlying macros are shown as well.  The
script will show plain TeX definitions by default.  LaTeX and ConTeXt are
supported, including flavours (pdf(La)TeX, Lua(La)TeX, Xe(La)TeX, ...).  The
flavour can be selected using a command line option, or via the script name:
@command{latexdef} will use LaTeX as default, etc.")
    (license license:gpl3)))

(define-public texlive-texdiff
  (package
    (name "texlive-texdiff")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/texdiff.1"
                                     "doc/man/man1/texdiff.man1.pdf"
                                     "doc/support/texdiff/" "scripts/texdiff/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cp2k217ziwdgh5c7lg22p58ajv7j410ncag620lkdwajc5jqx1d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texdiff")))
    (home-page "https://ctan.org/pkg/texdiff")
    (synopsis "Compare documents and produce tagged merge")
    (description
     "Two files are compared and a new TeX file is output.  When the output
file is processed with (La)TeX it marks new changes with blue and old text
with red with a strike-through line.  Furthermore, passages with changes are
marked at the margin with grey bars by the LaTeX @code{changebar} package.")
    (license license:artistic2.0)))

(define-public texlive-texdirflatten
  (package
    (name "texlive-texdirflatten")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/texdirflatten.1"
                                     "doc/man/man1/texdirflatten.man1.pdf"
                                     "doc/support/texdirflatten/"
                                     "scripts/texdirflatten/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f2h9qlqfml9p83znxh81i7cmwfbsr0zrladrf3486v4aja859kx"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texdirflatten")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/texdirflatten")
    (synopsis "Collect files related to a LaTeX job in a single directory")
    (description
     "The Perl script parses a LaTeX file recursively, scanning all child
files, and collects details of any included and other data files.  These
component files, are then all put into a single directory (thus flattening the
document's directory tree).")
    (license license:artistic2.0)))

(define-public texlive-texdoc
  (package
    (name "texlive-texdoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/texdoc.1"
                                     "doc/man/man1/texdoc.man1.pdf"
                                     "doc/support/texdoc/" "scripts/texdoc/"
                                     "texdoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vcnsiknl3x1gp62cf3vv4810rcb83rnvfkhsz74bsdn2kcrbz97"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "texdoc.tlu")
      #:phases
      #~(modify-phases %standard-phases
          ;; The following phase prevents the following warning: "Info:
          ;; Running Texdoc not installed in the current TEXMFMAIN".
          (add-after 'unpack 'eschew-warning
            (lambda _
              (substitute* "scripts/texdoc/texdoc.tlu"
                (("if texmf ~= nil") "if false"))))
          ;; `kpse.find_file' is not able to locate "texlive.tlpdb", resulting
          ;; in the following error: "texdoc error: No texlive.tlpdb nor
          ;; shipped tlpdb data found".  This phase explicitly points `texdoc'
          ;; into the right direction.
          (add-after 'unpack 'set-tlpdb-location
            (lambda* (#:key native-inputs inputs #:allow-other-keys)
              (let ((tlpdb (search-input-file (or native-inputs inputs)
                                              "/share/tlpkg/texlive.tlpdb")))
                (substitute* "scripts/texdoc/texdoclib-const.tlu"
                  (("(local tlpdb=\").*" _ prefix)
                   (string-append prefix tlpdb "\"\n")))
                (substitute* "scripts/texdoc/texdoclib-search.tlu"
                  (("(local texlive_tlpdb = ).*" _ prefix)
                   (string-append prefix "'" tlpdb "'\n")))))))))
    (propagated-inputs (list texlive-kpathsea))
    (home-page "https://ctan.org/pkg/texdoc")
    (synopsis "Documentation access for TeX Live")
    (description
     "@command{texdoc} is a Lua script providing easy access to the
documentation in TeX Live: PDF, DVI, plain text files, and more.  Viewing and
other configuration can be extensively customized.")
    (license license:gpl3+)))

(define-public texlive-texdoctk
  (package
    (name "texlive-texdoctk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/texdoctk.1"
                                     "doc/man/man1/texdoctk.man1.pdf"
                                     "scripts/texdoctk/" "texdoctk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18xxivpgjdh8v6kg0b45zjv18sm9a4ljpwk6a4cghg5l5yggrjcx"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl-tk")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "texdoctk.pl")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'link-scripts 'wrap-perl-script
            (lambda _
              (wrap-program (string-append #$output "/bin/texdoctk")
                `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))))))
    (inputs (list perl perl-tk))
    (propagated-inputs (list texlive-kpathsea))
    (home-page "https://ctan.org/pkg/texdoctk")
    (synopsis "Easy access to package documentation")
    (description
     "This package provides a Perl/Tk-based GUI for easy access to package
documentation for TeX on Unix platforms; the databases it uses are based on
the texmf/doc subtrees of teTeX, but database files for local configurations
with modified/extended directories can be derived from them.  Note that
@command{texdoctk} is not a viewer itself, but an interface for finding
documentation files and opening them with the appropriate viewer; so it relies
on appropriate programs to be installed on the system.  However, the choice of
these programs can be configured by the sysadmin or user.")
    (license license:gpl3+)))

(define-public texlive-texdraw
  (package
    (name "texlive-texdraw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/info/texdraw.info"
                                     "doc/support/texdraw/"
                                     "tex/generic/texdraw/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pqrmyc8jnwk06qbrf18cyny1z4ncq0snp4jc0r7qgnh6bmlbncs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texdraw")
    (synopsis "Graphical macros, using embedded PostScript")
    (description
     "TeXdraw is a set of macro definitions for TeX, which allow the user to
produce PostScript drawings from within TeX and LaTeX.  TeXdraw has been
designed to be extensible.  Drawing segments are relocatable, self-contained
units.  Using a combination of TeX's grouping mechanism and the
@code{gsave}/@code{grestore} mechanism in PostScript, drawing segments allow
for local changes to the scaling and line parameters.  Using TeX's macro
definition capability, new drawing commands can be constructed from drawing
segments.")
    (license license:cc-by4.0)))

(define-public texlive-texfot
  (package
    (name "texlive-texfot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/texfot.1"
                                     "doc/man/man1/texfot.man1.pdf"
                                     "doc/support/texfot/" "scripts/texfot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qa4diwssmm73dz0nsc4ypfakknzvraq3zxh5yhbyxwysi33v3ph"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texfot.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/texfot")
    (synopsis "Filter clutter from the output of a TeX run")
    (description
     "The package provides a small Perl script to filter the online output
from a TeX run, attempting to show only those messages which probably deserve
some change in the source.  The TeX invocation itself need not change.")
    (license license:public-domain)))

(define-public texlive-texliveonfly
  (package
    (name "texlive-texliveonfly")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/texliveonfly/"
                                     "scripts/texliveonfly/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15nrgkh9wkaccbyd8jgcyw5xjjhqj3jyy3spbfd679fywq14l8c2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texliveonfly.py")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/texliveonfly")
    (synopsis "On-the-fly download of missing TeX live packages")
    (description
     "The package provides a script that performs on the fly downloads of
missing packages, while a document is being compiled.  To use the script,
replace your (LaTeX) compilation command with @samp{texliveonfly.py
file.tex}.")
    (license license:gpl3)))

(define-public texlive-texloganalyser
  (package
    (name "texlive-texloganalyser")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/texloganalyser/"
                                     "scripts/texloganalyser/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qlrpqwfyakhh163ckznw5z8jwm5frp3krpi7fxnf9pz03c7shhr"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texloganalyser")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/texloganalyser")
    (synopsis "Analyse TeX logs")
    (description
     "This Perl script allows the user to extract (and display) elements of
the log file.")
    (license license:bsd-2)))

(define-public texlive-texlogfilter
  (package
    (name "texlive-texlogfilter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/texlogfilter.1"
                                     "doc/man/man1/texlogfilter.man1.pdf"
                                     "doc/support/texlogfilter/"
                                     "scripts/texlogfilter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wf3g3m2n82n443aq3hfpnj0wzz6r4j8qwg78s6k2fm63x7s14ll"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texlogfilter")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/texlogfilter")
    (synopsis "Filter LaTeX engines output or log file")
    (description
     "@command{texlogfilter} is a Perl script designed to filter LaTeX engines
output or log file (LaTeX, pdfLaTeX, LuaLaTeX or XeLaTeX).  It reduces the
LaTeX output or log to keep only warnings and errors.  The result is
colorised.  Options allow to mask specific warnings, such as box or
references/citations warnings.  It's also possible to add custom filter
patterns.")
    (license license:lppl1.3+)))

(define-public texlive-texlogsieve
  (package
    (name "texlive-texlogsieve")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/texlogsieve.1"
                                     "doc/man/man1/texlogsieve.man1.pdf"
                                     "doc/support/texlogsieve/"
                                     "scripts/texlogsieve/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dgfq5crqqfvcfmpbbx70mbhanir3iyqzxni8zxkyrc1fljibjay"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texlogsieve")))
    (home-page "https://ctan.org/pkg/texlogsieve")
    (synopsis "Filter and summarize LaTeX log files")
    (description
     "@command{texlogsieve} reads a LaTeX log file (or the standard input if
no file is specified), filters out less relevant messages, and displays
a summary report.")
    (license license:gpl3+)))

(define-public texlive-texnegar
  (package
    (name "texlive-texnegar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/texnegar/"
                                     "source/latex/texnegar/"
                                     "tex/latex/texnegar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rza5bmn7cm85aznnffpmfv6b8776jxkpfwhs0y04f83sdjapw63"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texnegar")
    (synopsis "Kashida justification in XeLaTeX and LuaLaTeX")
    (description
     "In some cursive scripts such as Persian or Arabic, kashida is used to
create justification.  In this type of justification characters are elongated
rather than expanding spaces between words.  This package extends the kashida
justification to be used with the LuaTeX engine.")
    (license license:lppl1.3c)))

(define-public texlive-texosquery
  (package
    (name "texlive-texosquery")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/texosquery/"
                                     "scripts/texosquery/"
                                     "source/support/texosquery/"
                                     "tex/latex/texosquery/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17s947p011qar5aaz11ysby3nqqrnk0qv4m26hsl5y6divqb2dan"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts
           #~(list "texosquery-jre5.sh" "texosquery-jre8.sh" "texosquery.sh")))
    (home-page "https://ctan.org/pkg/texosquery")
    (synopsis "Java application to query OS information")
    (description
     "This package provides a Java application to query OS information
designed for use in TeX's shell escape mechanism.  The application can query
the following:

@itemize
@item locale and codeset,
@item current working directory,
@item user home directory
@item temporary directory,
@item OS name, arch and version,
@item current date and time in PDF format (for TeX formats that don't provide
@code{\\pdfcreationdate}),
@item date-time stamp of a file in PDF format (for TeX formats that don't
provide @code{\\pdffilemoddate}),
@item size of a file in bytes (for TeX formats that don't provide
@code{\\pdffilesize}),
@item contents of a directory (captured as a list),
@item directory contents filtered by regular expression (captured as a list),
@item URI or canonical path of a file.  All paths use a forward slash as
directory divider so results can be used, for example, in commands like
@code{\\includegraphics}.
@end itemize

There are files provided for easy access in TeX documents.
@file{texosquery.tex} provides generic TeX code, whereas @file{texosquery.sty}
is a LaTeX package, which provides commands to run @command{texosquery} using
TeX's shell escape mechanism and capture the result in a control sequence.")
    (license license:lppl1.3+)))

(define-public texlive-texplate
  (package
    (name "texlive-texplate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/texplate/"
                                     "scripts/texplate/"
                                     "source/support/texplate/main/kotlin/org/islandoftex/texplate/"
                                     "source/support/texplate/main/resources/org/islandoftex/texplate/templates/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "027vfbqm95ysp7sqlcz3p5b2107mcjg540x73nsf2d1g83k4ps4r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texplate.sh")))
    (home-page "https://ctan.org/pkg/texplate")
    (synopsis "Tool for creating document structures based on templates")
    (description
     "TeXplate is a tool for creating document structures based on templates.
The application name is a word play on TeX and template, so the purpose seems
quite obvious: we want to provide an easy and straightforward framework for
reducing the typical code boilerplate when writing TeX documents.  Also note
that one can easily extrapolate the use beyond articles and theses: the
application is powerful enough to generate any text-based structure, given
that a corresponding template exists.")
    (license license:bsd-3)))

(define-public texlive-texproposal
  (package
    (name "texlive-texproposal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/texproposal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yxb3yagljsdp4s07fzd6498889i7cscch68fb77jbfc2z4srvsy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texproposal")
    (synopsis "Proposal prototype for LaTeX promotion in Chinese universities")
    (description
     "This package contains the original source code and necessary attachment
of the document @emph{Proposal for Offering TeX Courses and Relevant Resources
in Chongqing University}.  This proposal could be helpful if one is
considering to suggest their (Chinese) university or company to use TeX (or
LaTeX, or XeLaTeX} as a typesetting system.

The present proposal mainly explains the importance and necessity of
introducing TeX, a typesetting system often used in academic writing, to
students and teachers.  This proposal starts from a brief introduction of TeX,
then steps further into its fascinating application to academic writing and
dissertation formatting.  Finally, a set of possible implementation strategies
with regard to the proper introduction of TeX and relevant resources to our
university, is proposed.")
    ;; The content of the project itself is released under CC-BY 4.0 terms,
    ;; but the underlying code used to format and display that content is
    ;; licensed under the Expat license.
    (license (list license:cc-by4.0 license:expat))))

(define-public texlive-texware
  (package
    (name "texlive-texware")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dvitype.1"
                                     "doc/man/man1/dvitype.man1.pdf"
                                     "doc/man/man1/pooltype.1"
                                     "doc/man/man1/pooltype.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12kiigypny8rnbvxrx63q1cakjl50dp3n6ky9vpild36kn06a8ah"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-texware-bin))
    (home-page "https://ctan.org/pkg/texware")
    (synopsis "Utility programs for use with TeX")
    (description
     "This package provides basic utility programs, comprising:
@command{dvitype}, which converts a TeX output (DVI) file to a plain text
file; @command{pooltype}, which converts a TeX-suite program's pool (string)
file into human-readable form; @command{tftopl} and @command{pltotf}, which
convert TeX Font Metric (TFM) file to human readable Property List (PL) files
and vice versa.")
    (license license:public-domain)))

(define-public texlive-texware-bin
  (package
    (inherit texlive-bin)
    (name "texlive-texware-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(delete "--enable-web2c" #$flags))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (let ((bin (string-append #$output "/bin"))
                        (files '("dvitype" "pooltype")))
                    (for-each (lambda (f) (invoke "make" f)) files)
                    (for-each (lambda (f) (install-file f bin)) files)))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-texware))
    (synopsis "Binaries for @code{texlive-texware}")
    (description
     "This package provides the binaries for @code{texlive-texware}.")
    (license (package-license texlive-texware))))

(define-public texlive-ticollege
  (package
    (name "texlive-ticollege")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ticollege/"
                                     "tex/latex/ticollege/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qbng6vq8w3ln2aw2kckbjih8hz3m2yr1b0bx8bx1a7bf5fhmd6i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ticollege")
    (synopsis
     "Graphical representation of keys on a standard scientific calculator")
    (description
     "This package provides commands to draw scientific calculator keys with
the help of TikZ.  It also provides commands to draw the content of screens
and of menu items.")
    (license license:lppl)))

(define-public texlive-tie
  (package
    (name "texlive-tie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/tie.1"
                                     "doc/man/man1/tie.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rr0j2a76jwikg6a8fp9mvacwzk90nndknv9px42c2zx2bsdaqz8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-kpathsea))
    (home-page "https://ctan.org/pkg/tie")
    (synopsis "Allow multiple web change files")
    (description
     "Tie was originally developed to allow web programmers to apply more than
one change file to their source.  The program may also be used to create a new
version of a @file{.web} file that incorporates existing changes.")
    ;; The license, provided as the "tie.w" source file, is morally equivalent
    ;; to CC BY-SA.
    (license (license:fsf-free "file://tie.w"))))

(define-public texlive-tikz-3dplot
  (package
    (name "texlive-tikz-3dplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-3dplot/"
                                     "tex/latex/tikz-3dplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05hw2wxs4q477x16ffh6wcmypdf7mz7500dxnfywiqi0pgzmnh89"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-3dplot")
    (synopsis "Coordinate transformation styles for 3d plotting in TikZ")
    (description
     "The package provides straightforward ways to define three-dimensional
coordinate frames through which to plot in TikZ.  The user can specify the
orientation of the main coordinate frame, and use standard TikZ commands and
coordinates to render their @code{tikzfigure}.  A secondary coordinate frame
is provided to allow rotations and translations with respect to the main
coordinate frame.  In addition, the package can also handle plotting
user-specified functions in spherical polar coordinates, where both the radius
and fill color can be expressed as parametric functions of polar angles.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-among-us
  (package
    (name "texlive-tikz-among-us")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-among-us/"
                                     "tex/latex/tikz-among-us/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rrkzh1hain7mvnx4r5s7pccxvcj0izjbjwyrjg3nwin03mqqxy1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-among-us")
    (synopsis "Create some AmongUs characters in TikZ environments")
    (description
     "This package recreates some AmongUs characters in TikZ environments.
Some interesting uses alongside other packages are also supported.")
    (license license:lppl1.3c)))

(define-public texlive-tikz-bagua
  (package
    (name "texlive-tikz-bagua")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-bagua/"
                                     "tex/latex/tikz-bagua/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kn0ggpxz5ksnnxsfhbhavik7n8mpblm9x3qjxcsg2qhs286lwyh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-bagua")
    (synopsis "Draw Bagua symbols in Yijing")
    (description
     "This package provides commands for drawing symbols in Yijing (I Ching)
or Zhouyi using TikZ.  There is no need for extra special fonts for showing
these symbols.")
    (license license:lppl1.3c)))

(define-public texlive-tikz-bayesnet
  (package
    (name "texlive-tikz-bayesnet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-bayesnet/"
                                     "tex/latex/tikz-bayesnet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fmm93h0kl6q45sglfz1ssrnj20sqds9kvamf1dqzmfw2g77qwqr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-bayesnet")
    (synopsis
     "Draw Bayesian networks, graphical models and directed factor graphs")
    (description
     "The package provides a library supporting the display of Bayesian networks,
graphical models and (directed) factor graphs in LaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-bbox
  (package
    (name "texlive-tikz-bbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-bbox/"
                                     "tex/latex/tikz-bbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h224gmdbx63dff0zikv9grf5p7780rdxng2ws9d68k7rk961lb7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-bbox")
    (synopsis "Precise determination of bounding boxes in TikZ")
    (description
     "The built-in determination of the bounding box in TikZ is not entirely
accurate.  This is because, for Bezier curves, it is the smallest box that
contains all control points, which is in general larger than the box that just
contains the curve.  This library determines the exact bounding box of the
curve.")
    (license license:lppl1.3c)))

(define-public texlive-tikz-cd
  (package
    (name "texlive-tikz-cd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-cd/" "tex/generic/tikz-cd/"
                                     "tex/latex/tikz-cd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "188vd02cwy7r58cnam4aj4lq1jp295mmn3q1w3ki7p6n8v1gnl0c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-cd")
    (synopsis "Create commutative diagrams with TikZ")
    (description
     "The general-purpose drawing package TiKZ can be used to typeset
commutative diagrams and other kinds of mathematical pictures.  The purpose of
this package is to make the process of creation of such diagrams easier by
providing a convenient set of macros and reasonable default settings.  This
package also includes an arrow tip library that match closely the arrows
present in the Computer Modern typeface.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-dependency
  (package
    (name "texlive-tikz-dependency")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-dependency/"
                                     "tex/latex/tikz-dependency/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12a31jqrxlaj8jj5f7p9vgwp8yqinl5ab0c3nfv4b1c9a08p8q3s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-dependency")
    (synopsis "Library for drawing dependency graphs")
    (description
     "The package provides a library that draws together existing TikZ
facilities to make a comfortable environment for drawing dependency graphs.
Basic facilities of the package include a lot of styling facilities, to let
you personalize the look and feel of the graphs.")
    (license (list license:lppl license:gpl2))))

(define-public texlive-tikz-dimline
  (package
    (name "texlive-tikz-dimline")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-dimline/"
                                     "tex/latex/tikz-dimline/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15zxc3zxl8mk0rq3b30d2a89lxlnybih49j8w8c6xsfn5mqbn8br"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-dimline")
    (synopsis "Technical dimension lines using PGF/TikZ")
    (description
     "@code{tikz-dimline} helps drawing technical dimension lines in TikZ
@code{picture} environments.")
    (license license:wtfpl2)))

(define-public texlive-tikz-ext
  (package
    (name "texlive-tikz-ext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-ext/"
                                     "tex/generic/tikz-ext/"
                                     "tex/latex/tikz-ext/" "tex/plain/tikz-ext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07ys0brfww0ik6g67gwd3rwiiz8ly0209d4hkkx18vw53sfj0dv2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-ext")
    (synopsis "Collection of libraries for PGF/TikZ")
    (description
     "This is a collection of libraries for PGF/TikZ.  Currently these are
@code{transformations.mirror}, @code{paths.arcto}, @code{paths.ortho},
@code{paths.timer}, @code{patterns.images}, @code{topaths.arcthrough} and
@code{misc}.")
    (license (list license:fdl1.3+ license:lppl))))

(define-public texlive-tikz-feynhand
  (package
    (name "texlive-tikz-feynhand")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-feynhand/"
                                     "tex/latex/tikz-feynhand/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11cz44yqxm7dhx53h27r3n5q911dhllzfl53a401w1wnybymj84s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-feynhand")
    (synopsis "Feynman diagrams with TikZ")
    (description
     "This package lets you draw Feynman diagrams using TikZ.  It is a low-end
modification of the TikZ-Feynman package, one of whose principal advantages is
the automatic generation of diagrams, for which it needs LuaTeX.
TikZ-FeynHand only provides the manual mode and hence runs in LaTeX without
any reference to LuaTeX.  In addition it provides some new styles for vertices
and propagators, alternative shorter keywords in addition to TikZ-Feynman's
longer ones, some shortcut commands for quickly customizing the diagrams look,
and the new feature of putting one propagator on top of another.")
    (license license:gpl3+)))

(define-public texlive-tikz-feynman
  (package
    (name "texlive-tikz-feynman")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-feynman/"
                                     "tex/latex/tikz-feynman/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yndmpghf3z5jddr3zcm5xw7v7zb6715d870ckjd5gifkvyv3nsy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-iftex texlive-pgfopts))
    (home-page "https://ctan.org/pkg/tikz-feynman")
    (synopsis "Feynman diagrams with TikZ")
    (description
     "This is a LaTeX package allowing Feynman diagrams to be easily generated
within LaTeX with minimal user instructions and without the need of external
programs.  It builds upon the TikZ package and leverages the graph placement
algorithms from TikZ in order to automate the placement of many vertices.
@code{tikz-feynman} allows fine-tuned placement of vertices so that even
complex diagrams can still be generated with ease.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-imagelabels
  (package
    (name "texlive-tikz-imagelabels")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-imagelabels/"
                                     "source/latex/tikz-imagelabels/"
                                     "tex/latex/tikz-imagelabels/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hvyrkpabnqscnsqz56hby71vpbby03va0xa6gcjjxak65lscwkv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-imagelabels")
    (synopsis "Put labels on images using TikZ")
    (description
     "This package allows to add label texts to an existing image with the aid
of TikZ.  This may be used to label certain features in an image.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-inet
  (package
    (name "texlive-tikz-inet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-inet/"
                                     "tex/latex/tikz-inet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f4n5mp9hb92li2xywfzfrs8hjyrkd15xp97nh5rdgan695hvdpq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-inet")
    (synopsis "Draw interaction nets with TikZ")
    (description
     "The package extends TikZ with macros to draw interaction nets.")
    (license license:lppl)))

(define-public texlive-tikz-kalender
  (package
    (name "texlive-tikz-kalender")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-kalender/"
                                     "tex/latex/tikz-kalender/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cwdssvbaibjf7nla0d88nyzip407kgqvndid2p2gxc0b2afp69f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-kalender")
    (synopsis "LaTeX based calendar using TikZ")
    (description
     "This package generates a calendar included events provided as
@file{.events} files.")
    (license license:cc-by-sa4.0)))

(define-public texlive-tikz-karnaugh
  (package
    (name "texlive-tikz-karnaugh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-karnaugh/"
                                     "tex/latex/tikz-karnaugh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "091s9gavh8f4jya01nkjhzgh3f5b80ijiiaj7simnxawn60mh1z1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-karnaugh")
    (synopsis "Typeset Karnaugh maps using TikZ")
    (description
     "The @code{tikz-karnaugh} package is a LaTeX package used to draw
Karnaugh maps.  It uses TikZ to produce high quality graph from 1 to 12
variables, but this upper limit depends on the TeX memory usage and can be
different for you.  You can control colour, styles and distances.  It can be
considered as an upgrade and extension of Andreas W. Wieland's @code{karnaugh}
package towards TikZ supporting.")
    (license license:lppl1.0+)))

(define-public texlive-tikz-ladder
  (package
    (name "texlive-tikz-ladder")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-ladder/"
                                     "tex/latex/tikz-ladder/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fkq7z58h7g71ag4j77vy87hqgpp5q8qvw7kv1pmkff7ycrj8alw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-ladder")
    (synopsis "Draw ladder diagrams using TikZ")
    (description
     "The @code{tikz-ladder} package contains a collection of symbols for
typesetting ladder diagrams (PLC program) in agreement with the international
standard IEC-61131-3/2013.  It includes blocks (for representing functions and
function blocks) besides contacts and coils.  It extends the circuit library
of TikZ and allows you to draw a ladder diagram in the same way as you would
draw any other circuit.")
    (license license:lppl1.0+)))

(define-public texlive-tikz-lake-fig
  (package
    (name "texlive-tikz-lake-fig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-lake-fig/"
                                     "tex/latex/tikz-lake-fig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vyr3will7jivwc30aj13bm9gjj4nyl02754p42phn0y7gdf82kr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-lake-fig")
    (synopsis "Schematic diagrams of lakes")
    (description
     "This package contains a collection of schematic diagrams of lakes for
use in LaTeX documents.  Diagrams include representations of material budgets,
fluxes, and connectivity arrangements.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-layers
  (package
    (name "texlive-tikz-layers")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-layers/"
                                     "tex/latex/tikz-layers/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j5wbsybd10zmmiz3lfkb9gzjhxjnbhp7lmdq1fzngywxsb81iz6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-layers")
    (synopsis
     "Add graphical layers on TikZ: @code{behind}, @code{above} and @code{glass}")
    (description
     "TikZ-layers is a tiny package that provides, alongside
@code{background}, typical graphical layers on TikZ: @code{behind},
@code{above} and @code{glass}.  The layers may be selected with one of the
styles @code{on behind layer}, @code{on above layer}, @code{on glass layer} as
an option to a @code{scope} environment.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-mirror-lens
  (package
    (name "texlive-tikz-mirror-lens")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-mirror-lens/"
                                     "tex/latex/tikz-mirror-lens/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sddmlki3bdd9js9vs1m1haqcdk3g1ji086jp1h4nfw6dy1s6y56"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-mirror-lens")
    (synopsis "Spherical mirrors and lenses in TikZ")
    (description
     "This package allows the automatic drawing of the image of objects in
spherical mirrors and lenses from the data of the focus, from the position and
height of the object.  It calculates the position and height of the image, and
also displays the notable rays.")
    (license license:lppl1.3c)))

(define-public texlive-tikz-nef
  (package
    (name "texlive-tikz-nef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-nef/" "tex/latex/tikz-nef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18b2452hfcndqhljq2hn437z6myc45hn62s4bnnjb0f3xnayq1qr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-nef")
    (synopsis "Create diagrams for neural networks")
    (description
     "The @code{nef} TikZ library provides predefined styles and shapes to
create diagrams for neural networks constructed with the methods of
the Neural Engineering Framework (NEF).  The following styles are
supported:
@itemize
@item @code{ea}: ensemble array,
@item @code{ens}: ensemble,
@item @code{ext}: external input or output,
@item @code{inhibt}: inhibitory connection,
@item @code{net}: network,
@item @code{pnode}: pass-through node,
@item @code{rect}: rectification ensemble,
@item @code{recurrent}: recurrent connection.
@end itemize")
    (license license:expat)))

(define-public texlive-tikz-network
  (package
    (name "texlive-tikz-network")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-network/"
                                     "tex/latex/tikz-network/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bs08sxxps4kjvgv53lc07ihkcaz2v1ygdc16vn46yy5dp16w2sz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-network")
    (synopsis "Draw networks with TikZ")
    (description
     "This package allows the creation of images of complex networks that are
seamlessly integrated into the underlying LaTeX files.")
    (license license:gpl3+)))

(define-public texlive-tikz-opm
  (package
    (name "texlive-tikz-opm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-opm/" "tex/latex/tikz-opm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kv26i1lfm9zsvqsajaz9fmz1gv7az3pknk29gg6zwjlg5nxqac3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-opm")
    (synopsis "Typeset OPM diagrams")
    (description
     "This package typesets OPM (Object-Process Methodology) diagrams using
LaTeX and PGF/TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-optics
  (package
    (name "texlive-tikz-optics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-optics/"
                                     "tex/latex/tikz-optics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ii7h57klxq8fjag363wmaaxi9bnds898nl6s1abiqb13pgbmb9n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-optics")
    (synopsis "Library for drawing optical setups with TikZ")
    (description
     "This package provides a new TikZ library designed to easily draw optical
setups with TikZ.  It provides shapes for lens, mirror, etc.  The
geometrically (in)correct computation of light rays through the setup is left
to the user.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-page
  (package
    (name "texlive-tikz-page")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-page/"
                                     "source/latex/tikz-page/"
                                     "tex/latex/tikz-page/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ck1jr37wd7mx8irm0niv43pmfy2ix5s08vybai8k0jgpvvwwi1j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-page")
    (synopsis "Small macro to help building nice and complex layout materials")
    (description
     "The package provides a small macro to help building nice and complex
layout materials.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-palattice
  (package
    (name "texlive-tikz-palattice")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-palattice/"
                                     "tex/latex/tikz-palattice/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vbzr6821q88x4yipa9czcqgpwnkzkkzynxxbxyzy1kh9657hqvg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-palattice")
    (synopsis "Draw particle accelerator lattices with TikZ")
    (description
     "This package allows for drawing a map of a particle accelerator just by
giving a list of elements --- similar to lattice files for simulation
software.  The package includes 12 common element types like dipoles,
quadrupoles, cavities, or screens, as well as automatic labels with element
names, a legend, a rule, and an environment to fade out parts of the
accelerator.  The coordinate of any element can be saved and used for custom
TikZ drawings or annotations.  Thereby, lattices can be connected to draw
injection/extraction or even a complete accelerator facility.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-planets
  (package
    (name "texlive-tikz-planets")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-planets/"
                                     "tex/latex/tikz-planets/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sgdkcn0li4k48m0fvhdk6j1kjvh6kzgjbq2jjwnzrdxz97s7hig"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-planets")
    (synopsis "Illustrate celestial mechanics and the solar system")
    (description
     "This TikZ-package makes it easy to illustrate celestial mechanics and
the solar system.  You can use it to draw sketches of the eclipses, the phases
of the Moon, etc.")
    (license license:cc-by-sa4.0)))

(define-public texlive-tikz-qtree
  (package
    (name "texlive-tikz-qtree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-qtree/"
                                     "tex/latex/tikz-qtree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15w7mr0rhra80rvf4zci2gkd5cy13ijlh64ay0bay87iviwbkn83"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-qtree")
    (synopsis "Use existing Qtree syntax for trees in TikZ")
    (description
     "The package provides a macro for drawing trees with TikZ using the easy
syntax of Alexis Dimitriadis Qtree.  It improves on TikZ's standard
tree-drawing facility by laying out tree nodes without collisions; it improves
on Qtree by adding lots of features from TikZ (for example, edge labels,
arrows between nodes); and it improves on @code{pst-qtree} in being usable
with pdfTeX and XeTeX.")
    (license license:gpl3+)))

(define-public texlive-tikz-relay
  (package
    (name "texlive-tikz-relay")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-relay/"
                                     "tex/latex/tikz-relay/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06q0iamg001lvqmi51j61xbwamgnhiah0aw9qv61n7fnxqpwj66c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-relay")
    (synopsis "TikZ library for typesetting electrical diagrams")
    (description
     "This package contains a collection of symbols for typesetting electrical
wiring diagrams for relay control systems.  The symbols are meant to be in
agreement with the international standard IEC-60617 which has been adopted
worldwide, with perhaps the exception of the USA.  It extends and modifies,
when needed, the TikZ-libray @code{circuits.ee.IEC}.  A few non-standard
symbols are also included mainly to be used in presentations, particularly
with the @code{beamer} package.")
    (license license:lppl1.0+)))

(define-public texlive-tikz-sfc
  (package
    (name "texlive-tikz-sfc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-sfc/" "tex/latex/tikz-sfc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0blgyqvmnbwafx85mz4gkyhk0g0zqfmsd98gm3h794a4jfs3zl31"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-sfc")
    (synopsis
     "Symbols collection for typesetting Sequential Function Chart (SFC)
diagrams")
    (description
     "This package contains a collection of symbols for typesetting Sequential
Function Chart (SFC) diagrams in agreement with the international standard
IEC-61131-3/2013.  It includes steps (normal and initial), transitions,
actions and actions qualifiers (with and without time duration).  It extends
the circuit library of TikZ and allows you to draw an SFC diagram in same way
you would draw any other circuit.")
    (license license:lppl1.0+)))

(define-public texlive-tikz-swigs
  (package
    (name "texlive-tikz-swigs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-swigs/"
                                     "tex/latex/tikz-swigs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0brbq02vafaajzrwrkg20gy5k3zlzvv7ycgkw0aa20l8rxjcyv71"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-swigs")
    (synopsis "Horizontally and vertically split elliptical nodes")
    (description
     "This package provides horizontally and vertically split
elliptical (pairs of) nodes in TikZ.  The package name derives from the fact
that split ellipses of this type are used to represent Single-World
Intervention Graph (SWIG) models which are used in counterfactual causal
inference.")
    (license (list license:lppl1.3c license:gpl3+))))

(define-public texlive-tikz-timing
  (package
    (name "texlive-tikz-timing")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-timing/"
                                     "source/latex/tikz-timing/"
                                     "tex/latex/tikz-timing/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19zs6agcli2glm92z8y89nr4049v5sqvnlddbwlwym5rni33kh1m"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (propagated-inputs (list texlive-svn-prov))
    (home-page "https://ctan.org/pkg/tikz-timing")
    (synopsis "Easy generation of timing diagrams as TikZ pictures")
    (description
     "This package provides macros and an environment to generate timing
diagrams (digital waveforms) without much effort.  The TikZ package is used to
produce the graphics.  A tabular-like environment is provided to produce
larger timing diagrams.")
    (license license:lppl)))

(define-public texlive-tikz-trackschematic
  (package
    (name "texlive-tikz-trackschematic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-trackschematic/"
                                     "tex/latex/tikz-trackschematic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11dak88q9n54i385sjk4nxini2fycdfmhs2h41fdf9k2012ykdnx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-trackschematic")
    (synopsis "TikZ library for creating track diagrams in railways")
    (description
     "This TikZ library is a toolbox of symbols geared primarily towards
creating track schematic for either research or educational purposes.  It
provides a TikZ frontend to some of the symbols which may be needed to
describe situations and layouts in railway operation.  The library is divided
into sublibraries: @code{topology}, @code{trafficcontrol}, @code{vehicles},
@code{constructions}, @code{electrics}, @code{symbology}, and
@code{measures}.")
    (license license:isc)))

(define-public texlive-tikz-truchet
  (package
    (name "texlive-tikz-truchet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-truchet/"
                                     "source/latex/tikz-truchet/"
                                     "tex/latex/tikz-truchet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v959iw7swkkam73q759m09s5fcv932gx9d1vqj6n3b2yzxxc85b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-truchet")
    (synopsis "Draw Truchet tiles")
    (description
     "This is a package for LaTeX that draws Truchet tiles, as used in Colin
Beveridge's article Too good to be Truchet in issue 08 of Chalkdust.")
    (license license:expat)))

(define-public texlive-tikzbricks
  (package
    (name "texlive-tikzbricks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzbricks/"
                                     "tex/latex/tikzbricks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wf5hdwpprbbxmd0rrwvk54raiwpv4q6qgd2gpbba6d26bmgjd1w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzbricks")
    (synopsis "Drawing bricks with TikZ")
    (description
     "This package provides a small LaTeX package to draw bricks with TikZ.
The user can modify color, shape, and viewpoint.")
    (license license:lppl1.3c)))

(define-public texlive-tikzcodeblocks
  (package
    (name "texlive-tikzcodeblocks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzcodeblocks/"
                                     "tex/latex/tikzcodeblocks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04c8bjl3l97vsh7cydbh20wnq93my19avkhcf4kh0g5cvq02nizp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzcodeblocks")
    (synopsis "Helps to draw codeblocks like Scratch, NEPO and PXT in TikZ")
    (description
     "@code{tikzcodeblocks} is a LaTeX package for typesetting blockwise
graphic programming languages like Scratch, NEPO or PXT.")
    (license license:lppl1.3c)))

(define-public texlive-tikzducks
  (package
    (name "texlive-tikzducks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tikzducks/"
                                     "tex/generic/tikzducks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cs4mywxcz2r2y7dpbbmc44sc6vjwbqq6b5nqxjwwqdi2khrgqfl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzducks")
    (synopsis "Package for using rubber ducks in TikZ")
    (description
     "The package is a LaTeX package for ducks to be used in TikZ pictures.")
    (license license:lppl1.3c)))

(define-public texlive-tikzfill
  (package
    (name "texlive-tikzfill")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzfill/" "tex/latex/tikzfill/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11a0mma05wx9v9aprwr7lh1k3njx0xgpbs943rkliy9f1az0lqma"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzfill")
    (synopsis "TikZ libraries for filling with images and patterns")
    (description
     "This is a collection of TikZ libraries which add further options to fill
TikZ paths with images and patterns.  The libraries comprise fillings with
images from files and from TikZ pictures.  Also, patterns of hexagons and of
rhombi are provided.")
    (license license:lppl1.3+)))

(define-public texlive-tikzinclude
  (package
    (name "texlive-tikzinclude")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzinclude/"
                                     "source/latex/tikzinclude/"
                                     "tex/latex/tikzinclude/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mcgzbfvj6pksr18813kpnknkdpzlyi0rncbn9g11ac0g0lyzgqq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzinclude")
    (synopsis "Import TikZ images from collections")
    (description
     "The package addresses the problem of importing only one TikZ-image from
a file holding multiple images.")
    (license license:lppl1.3+)))

(define-public texlive-tikzlings
  (package
    (name "texlive-tikzlings")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzlings/"
                                     "tex/latex/tikzlings/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cqja06i3s8w3wbz6dhlhbri1zhqsyh8jhyahi5v8q9ywdm389yd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzlings")
    (synopsis "Collection of cute little animals and similar creatures")
    (description
     "This package provides a collection of LaTeX packages for drawing cute
little animals and similar creatures using TikZ.  Currently, the following
TikZlings are included: anteater, bat, bear, bee, bug, cat, chicken, coati,
elephant, hippo, koala, marmot, mole, mouse, owl, panda, penguin, pig, rhino,
sheep, sloth, snowman, squirrel, and wolf.  These little drawings can be
customized in many ways.")
    (license license:lppl1.3c)))

(define-public texlive-tikzmark
  (package
    (name "texlive-tikzmark")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzmark/"
                                     "source/latex/tikzmark/"
                                     "tex/latex/tikzmark/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m3yij12kgbgficln9vdgc43bi0si7j0j86lv2k69f1bwf865w4z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzmark")
    (synopsis "Use TikZ's method of remembering a position on a page")
    (description
     "The @code{tikzmark} package defines a command to remember a position on
a page for later (or earlier) use, primarily (but not exclusively) with
TikZ.")
    (license license:lppl1.3c)))

(define-public texlive-tikzmarmots
  (package
    (name "texlive-tikzmarmots")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzmarmots/"
                                     "tex/latex/tikzmarmots/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j1z78r43czg09inw76ksgs97l7klivi93w7hvcvafd47h9zcvsg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzmarmots")
    (synopsis "Drawing little marmots in TikZ")
    (description
     "This is a LaTeX package for marmots to be used in TikZ pictures.
These little figures are constructed in such a way that they may even borrow
some garments and other attributes from the TikZducks.")
    (license license:lppl1.3c)))

(define-public texlive-tikzorbital
  (package
    (name "texlive-tikzorbital")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzorbital/"
                                     "tex/latex/tikzorbital/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rjbl8gcsf752hkrn2j7angvwh55vldsd168w581frmx3g25d9rb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzorbital")
    (synopsis "Atomic and molecular orbitals using TikZ")
    (description
     "This package draws atomic s, p and d orbitals, as well as molecular
orbital diagrams.")
    (license license:lppl)))

(define-public texlive-tikzpackets
  (package
    (name "texlive-tikzpackets")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzpackets/"
                                     "tex/latex/tikzpackets/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i5v0yblm3fw0wy0vhl2a0g1r8ib72d2knk60apqvqizl98fn8ff"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzpackets")
    (synopsis "Display network packets")
    (description
     "This package allows you to easily display network packets graphically.")
    (license license:expat)))

(define-public texlive-tikzpagenodes
  (package
    (name "texlive-tikzpagenodes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzpagenodes/"
                                     "source/latex/tikzpagenodes/"
                                     "tex/latex/tikzpagenodes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13ddkwm4a1x2b47zqjk2m55y2dwl09rl3s0pm1vmxv7h2sawgqbr"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (home-page "https://ctan.org/pkg/tikzpagenodes")
    (synopsis "Single TikZ node for the whole page")
    (description
     "The package provides special PGF/TikZ nodes for the text, marginpar,
footer and header area of the current page.  They are inspired by the current
page node defined by PGF/TikZ itself.")
    (license license:lppl)))

(define-public texlive-tikzpeople
  (package
    (name "texlive-tikzpeople")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzpeople/"
                                     "tex/latex/tikzpeople/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sgxabjy54zcw0dkb5hgi9d84ilq4ik30xwwd1n8jhhmi4vg2sm7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzpeople")
    (synopsis "Draw people-shaped nodes in TikZ")
    (description
     "This package provides people-shaped nodes in the style of Microsoft
Visio clip art, to be used with TikZ.  The available, highly customizable,
node shapes are: alice, bob, bride, builder, businessman, charlie, chef,
conductor, cowboy, criminal, dave, devil, duck, graduate, groom, guard,
jester, judge, maninblack, mexican, nun, nurse, physician, pilot, police,
priest, sailor, santa, surgeon.")
    (license license:lppl1.3+)))

(define-public texlive-tikzpfeile
  (package
    (name "texlive-tikzpfeile")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzpfeile/"
                                     "source/latex/tikzpfeile/"
                                     "tex/latex/tikzpfeile/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h6kkrm462hk2hvbdqqjai3gxsslibghxbjyq3ih0vps7fakglc6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzpfeile")
    (synopsis "Draw arrows using PGF/TikZ")
    (description
     "In a document with a lot of diagrams created with PGF/TikZ, there is
a possibility of the reader being distracted by different sorts of arrowheads
in the diagrams and in the text (as, e.g., in @code{\\rightarrow}).  The
package defines macros to create all arrows using PGF/TikZ, so as to avoid the
problem.")
    (license license:lppl)))

(define-public texlive-tikzpingus
  (package
    (name "texlive-tikzpingus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzpingus/"
                                     "makeindex/tikzpingus/"
                                     "tex/latex/tikzpingus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03gld5j5dhz28imphgrf5cr6pf9ls0rgk46xg0jns9m064g9mh7h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzpingus")
    (synopsis "Penguins with TikZ")
    (description
     "@code{tikzpingus} is a package similar to tikzducks but with penguins
and a vast set of gadgets and extras (capable of changing the wing-positions,
body-types, and more).")
    (license license:gpl3)))

(define-public texlive-tikzposter
  (package
    (name "texlive-tikzposter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzposter/"
                                     "source/latex/tikzposter/"
                                     "tex/latex/tikzposter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hl5p14a79575s5n5rx4yy8vxcb2qrdhx851rhms7dk2sqcfynn5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzposter")
    (synopsis "Create scientific posters using TikZ")
    (description
     "This package provides a document class provides a simple way of using
TikZ for generating posters.  Several formatting options are available, and
spacing and layout of the poster is to a large extent automated.")
    (license license:lppl1.2+)))

(define-public texlive-tikzscale
  (package
    (name "texlive-tikzscale")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzscale/"
                                     "source/latex/tikzscale/"
                                     "tex/latex/tikzscale/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iq7f9jnw86rhp7b3sim3z56ygj005zygzfc0bdnpmx5s4ds1gpv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzscale")
    (synopsis "Resize pictures while respecting text size")
    (description
     "The package extends the @code{\\includegraphics} command to support
@code{tikzpicture} environments.  It allows scaling of TikZ images and
PGFPlots to a given width or height without changing the text size.")
    (license license:lppl1.3+)))

(define-public texlive-tikzsymbols
  (package
    (name "texlive-tikzsymbols")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzsymbols/"
                                     "source/latex/tikzsymbols/"
                                     "tex/latex/tikzsymbols/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q19w9adpfxrsh7jmf4qpjarhgb4wng66kjkmalcxijd99kxbkhk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzsymbols")
    (synopsis "Some symbols created using TikZ")
    (description
     "The package provides various emoticons, cooking symbols and trees.")
    (license license:lppl1.3c)))

(define-public texlive-tikztosvg
  (package
    (name "texlive-tikztosvg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/tikztosvg.1"
                                     "doc/man/man1/tikztosvg.man1.pdf"
                                     "doc/support/tikztosvg/"
                                     "scripts/tikztosvg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h1g3vsljx3bz929krr21i65n20drwhwxi88gwcvrxrgsvi9xj08"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "tikztosvg")))
    (home-page "https://ctan.org/pkg/tikztosvg")
    (synopsis "Utility for rendering TikZ diagrams to SVG")
    (description
     "This package provides a shell script that calls XeTeX and
@command{pdf2svg} to convert TikZ environments to SVG files.")
    (license license:gpl3)))

(define-public texlive-tikzviolinplots
  (package
    (name "texlive-tikzviolinplots")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzviolinplots/"
                                     "tex/latex/tikzviolinplots/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12nrjivmqbpm71kzfgsl6ih5lxv9sv79iidh2yjjyl5dvhlbjkhm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzviolinplots")
    (synopsis "Draws violin plots from data")
    (description
     "This package enables the user to draw violin plots, calculating the
kernel density estimation from the data and plotting the resulting curve
inside a @code{tikzpicture} environment.  It supports different kernels, and
allows the user to either set the bandwidth value for each plot or use
a default value.")
    (license license:lppl1.3+)))

(define-public texlive-tile-graphic
  (package
    (name "texlive-tile-graphic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tile-graphic/"
                                     "source/latex/tile-graphic/"
                                     "tex/latex/tile-graphic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vg2nrb6cjgkmbkv8igs76vzl1vzvisqlm1y612j4144v26n05nw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tile-graphic")
    (synopsis "Create tiles of a graphical file")
    (description
     "This package breaks a given graphical file into @samp{n} rows and
@samp{m} columns of subgraphics, which are called tiles.  The tiles can be
written separately to individual PDF files, or packaged into a single PDF
file.")
    (license license:lppl1.2+)))

(define-public texlive-timing-diagrams
  (package
    (name "texlive-timing-diagrams")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/timing-diagrams/"
                                     "tex/latex/timing-diagrams/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06hzcbbinrlvdsp9jxs82xi9b94x76f239z5b1x3y41ip3n51b1p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/timing-diagrams")
    (synopsis "Draw timing diagrams")
    (description
     "The package provides commands to draw and annotate various kinds of
timing diagrams, using TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-tipfr
  (package
    (name "texlive-tipfr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tipfr/" "tex/latex/tipfr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1frgk49mw7wi18065y4ikg75vg03d2vbdflfnyanixn46zpf2p8z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tipfr")
    (synopsis "Produces calculator's keys with the help of TikZ")
    (description
     "The package provides commands to draw calculator keys with the help of
TikZ.  It also provides commands to draw the content of screens and of menu
items.")
    (license license:lppl)))

(define-public texlive-tkz-base
  (package
    (name "texlive-tkz-base")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkz-base/" "tex/latex/tkz-base/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p62amxjf7ab72a4pcgd03cd4799n7k1adhlbwlck3dr4zn5m8wx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkz-base")
    (synopsis "Tools for drawing with a cartesian coordinate system")
    (description
     "The bundle is a set of packages, designed to give mathematics
teachers (and students) easy access to programming of drawings with TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-tkz-berge
  (package
    (name "texlive-tkz-berge")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkz-berge/" "tex/latex/tkz-berge/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16pgdkf0s97gkd662pddvxr5jbk68mcbikz4rclmv88d9zlgccxr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkz-berge")
    (synopsis "Macros for drawing graphs of graph theory")
    (description
     "The package provides a collection of useful macros for drawing classic
graphs of graph theory, or to make other graphs.  This package has been taken
temporarily out of circulation to give the author time to investigate some
problems.")
    (license license:lppl1.3c)))

(define-public texlive-tkz-doc
  (package
    (name "texlive-tkz-doc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkz-doc/"
                                     "tex/latex/tkz-doc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nqwfl75id6sga4bm7ha9qqp6zzgwflvqncr438db13bhxsq5mkw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkz-doc")
    (synopsis "Documentation macros for the TKZ series of packages")
    (description
     "This bundle offers a documentation class (@code{tkz-doc}) and
a package (@code{tkzexample}).  These files are used in the documentation of
the author's packages @code{tkz-base}, @code{tkz-euclide}, @code{tkz-fct},
@code{tkz-linknodes}, and @code{tkz-tab}.")
    (license license:lppl1.3+)))

(define-public texlive-tkz-euclide
  (package
    (name "texlive-tkz-euclide")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkz-euclide/"
                                     "tex/latex/tkz-euclide/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x8i8xr5k66yrvbwcj2affsvq219hhjzmwwy5afn3dzzbvbvdjph"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkz-euclide")
    (synopsis "Tools for drawing Euclidean geometry")
    (description
     "The @code{tkz-euclide} package is a set of files designed to give math
teachers and students easy access to the programming of Euclidean geometry
with TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-tkz-fct
  (package
    (name "texlive-tkz-fct")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkz-fct/" "tex/latex/tkz-fct/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0czwqkdws24qdp22s6p3m87fpfqmwdqjzwxckzkn3ig6rcl63nqj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkz-fct")
    (synopsis "Tools for drawing graphs of functions")
    (description
     "The @code{tkz-fct} package is designed to give math teachers (and
students) easy access to programming graphs of functions with TikZ and
Gnuplot.")
    (license license:lppl1.3+)))

(define-public texlive-tkz-graph
  (package
    (name "texlive-tkz-graph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkz-graph/"
                                     "tex/latex/tkz-graph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mdfdi97d8q7jqy7l3pqqs7ai4ph5r1aci3ahfsg5zmpmkwr981r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkz-graph")
    (synopsis "Draw graph-theory graphs")
    (description
     "The package is designed to create graph diagrams as simply as possible,
using TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-tkz-orm
  (package
    (name "texlive-tkz-orm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkz-orm/" "tex/latex/tkz-orm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qmwiglz59djq0xkpsfgqzdf6872z33z9faxn86krs5mxmrik6cc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkz-orm")
    (synopsis "Create Object-Role Model (ORM) diagrams")
    (description
     "The package provides styles for drawing Object-Role Model (ORM) diagrams
in TeX based on the PGF and TikZ picture environment.")
    (license (list license:gpl2 license:lppl1.3+))))

(define-public texlive-tkz-tab
  (package
    (name "texlive-tkz-tab")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkz-tab/" "tex/latex/tkz-tab/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j50pf0lf9dbi0zfnqm62rlyazsgbmpcqwlajqsjccqqkirdv6pb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkz-tab")
    (synopsis "Tables of signs and variations using PGF/TikZ")
    (description
     "The package provides comprehensive facilities for preparing lists of
signs and variations, using PGF.  This package has been taken temporarily out
of circulation to give the author time to investigate some problems.")
    (license license:lppl1.3+)))

(define-public texlive-tkzexample
  (package
    (name "texlive-tkzexample")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkzexample/"
                                     "tex/latex/tkzexample/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y445fjvy13cqa9y1sbac43wbmidvfn7vb7jws11fl4lj7vvgvhz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkzexample")
    (synopsis "Package for the documentation of all @samp{tkz-} packages")
    (description
     "This package is needed to compile the documentation of all @samp{tkz-}
packages (like @code{tkz-euclide}).")
    (license license:lppl1.3+)))

(define-public texlive-tlcockpit
  (package
    (name "texlive-tlcockpit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/tlcockpit.1"
                                     "doc/man/man1/tlcockpit.man1.pdf"
                                     "doc/support/tlcockpit/"
                                     "scripts/tlcockpit/"
                                     "source/support/tlcockpit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nv0wx21x022isw8rycvqdqwiz4ay6ws36bbcpqfqkjmvz5qr76w"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "icedtea")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "tlcockpit.sh")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'locate-java
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((java (search-input-file inputs "/bin/java")))
                (substitute* "scripts/tlcockpit/tlcockpit.sh"
                  (("java -") (string-append java " -")))))))))
    ;; FIXME: missing EventTarget.class.
    (inputs (list icedtea))
    (home-page "https://ctan.org/pkg/tlcockpit")
    (synopsis "GUI frontend to TeX Live Manager")
    (description
     "This package aims at being a GUI for @command{tlmgr}, the TeX Live
Manager, with a modern look and feel.")
    (license license:gpl3+)))

(define-public texlive-tonevalue
  (package
    (name "texlive-tonevalue")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tonevalue/"
                                     "tex/latex/tonevalue/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16a724k0c8s3i2pdjfsq5v2z4v5nqdpnxvh63j4ngj822w9llg1z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tonevalue")
    (synopsis
     "Tool for linguists and phoneticians to visualize tone value patterns")
    (description
     "This package provides a TikZ-based solution to typeset visualisations of
tone values.  Currently, unt's model is implemented.  Support for more models
is planned.")
    (license license:asl2.0)))

(define-public texlive-tpic2pdftex
  (package
    (name "texlive-tpic2pdftex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/tpic2pdftex.1"
                                     "doc/man/man1/tpic2pdftex.man1.pdf"
                                     "doc/tpic2pdftex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02nf2fg4xzh8lbbddvm44qyvcvfn5b7kzcyg729a58l29gd88pbs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-tpic2pdftex-bin))
    (home-page "https://ctan.org/pkg/tpic2pdftex")
    (synopsis "Use @code{tpic} commands in pdfTeX")
    (description
     "The Awk script converts Pic language, embedded inline (delimited by
@code{.PS} and @code{.PE} markers), to @code{\\pdfliteral} commands.")
    (license license:gpl3+)))

(define-public texlive-tpic2pdftex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-tpic2pdftex-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("tpic2pdftex"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons* "--enable-tpic2pdftex" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/tpic2pdftex"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/tpic2pdftex"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-tpic2pdftex))
    (synopsis "Binary for @code{texlive-tpic2pdftex}")
    (description
     "This package provides the binary for @code{texlive-tpic2pdftex}.")
    (license (package-license texlive-tpic2pdftex))))

(define-public texlive-tqft
  (package
    (name "texlive-tqft")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tqft/" "source/latex/tqft/"
                                     "tex/latex/tqft/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08lykpnw0hifhmh96pb7s3dd8sbzmz3gqyrwy5ann9fqxxjczf2d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tqft")
    (synopsis "Drawing TQFT diagrams with TikZ/PGF")
    (description
     "The package defines some node shapes useful for drawing TQFT diagrams
with TikZ/PGF.  That is, it defines highly customisable shapes that look like
cobordisms between circles, such as those used in TQFT and other mathematical
diagrams.")
    (license license:lppl1.3+)))

(define-public texlive-tram
  (package
    (name "texlive-tram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tram/"
                                     "fonts/source/public/tram/"
                                     "tex/latex/tram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b26615dd1qs12vl9d82xcxlc718s5jgirzygss9g7m908w2hqch"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tram")
    (synopsis "Typeset tram boxes in LaTeX")
    (description
     "Tram boxes are highlighted with patterns of dots; the package defines an
environment @code{tram} that typesets its content into a tram box.  The
pattern used may be selected in an optional argument to the environment.")
    (license license:lppl)))

(define-public texlive-tsemlines
  (package
    (name "texlive-tsemlines")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/tsemlines/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c7sjdrgqbjw6f2s3185k5rlkig643pkkahjisx16h0akbbdm4k3"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tsemlines")
    (synopsis "Support for the ancient @code{\\emline} macro")
    (description
     "Occasional Documents appear, that use graphics generated by TeXcad from
the EmTeX distribution.  These documents often use the @code{\\emline} macro,
which produced lines at an arbitrary orientation.  The present package
emulates the macro, using TikZ.")
    (license license:public-domain)))

(define-public texlive-ttfutils
  (package
    (name "texlive-ttfutils")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/ttf2afm.1"
                                     "doc/man/man1/ttf2afm.man1.pdf"
                                     "doc/man/man1/ttf2pk.1"
                                     "doc/man/man1/ttf2pk.man1.pdf"
                                     "doc/man/man1/ttf2tfm.1"
                                     "doc/man/man1/ttf2tfm.man1.pdf"
                                     "doc/man/man1/ttfdump.1"
                                     "doc/man/man1/ttfdump.man1.pdf"
                                     "doc/ttf2pk/"
                                     "fonts/enc/ttf2pk/base/"
                                     "fonts/sfd/ttf2pk/"
                                     "ttf2pk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16rxhypar4gw0fsbqzh6r2mppqxd3cdjzv11c84mqzk7qvifvb6y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-ttfutils-bin))
    (home-page "https://ctan.org/pkg/ttfutils")
    (synopsis "Convert TrueType to TFM and PK fonts")
    ;; XXX: "ttf2afm" is actually provided by PDFTeX, through "texlive-bin".
    (description
     "This package provides utilities to convert TrueType to TFM and PK fonts:
@command{ttf2afm}, @command{ttf2pk}, @command{ttf2tfm}, and
@command{ttfdump}.")
    (license license:gpl2+)))

(define-public texlive-ttfutils-bin
  (package
    (inherit texlive-bin)
    (name "texlive-ttfutils-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("ttfdump" "ttf2pk2"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons* "--enable-ttfdump"
                 "--enable-ttf2pk2"
                 (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/ttfdump"
                    (invoke "make" "check"))
                  (with-directory-excursion "texk/ttf2pk2"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/ttfdump"
                  (invoke "make" "install"))
                (with-directory-excursion "texk/ttf2pk2"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list freetype texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-ttfutils))
    (synopsis "Binaries for @code{texlive-ttfutils}")
    (description
     "This package provides the binaries for @code{texlive-ttfutils}.")
    (license (package-license texlive-ttfutils))))

(define-public texlive-twemojis
  (package
    (name "texlive-twemojis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/twemojis/"
                                     "source/latex/twemojis/"
                                     "tex/latex/twemojis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wim1325dcx779305cany8rsifi67y8pbwifs4qbh090dzx5sy6r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/twemojis")
    (synopsis "Use Twitter's open source emojis through LaTeX commands")
    (description
     "This package provides a simple wrapper which allows to use Twitter's
open source emojis through LaTeX commands.  This relies on images, so no fancy
Unicode font stuff is needed and it should work on every installation.")
    (license (list license:lppl1.3+ license:cc-by4.0))))

(define-public texlive-typeoutfileinfo
  (package
    (name "texlive-typeoutfileinfo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/typeoutfileinfo/"
                                     "scripts/typeoutfileinfo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r28n4r20grdg1gc2ym4vc8gp79favks43mp9q96dxnywd4pcik6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "typeoutfileinfo.sh")))
    (propagated-inputs (list texlive-fileinfo))
    (home-page "https://ctan.org/pkg/typeoutfileinfo")
    (synopsis "Display class/package/file information")
    (description
     "The package provides a minimalist shell script, for Unix systems,
that displays the information content in a @code{\\ProvidesFile},
@code{\\ProvidesPackage} or @code{\\ProvidesClass} command in a LaTeX source
file.")
    (license license:lppl1.3+)))

(define-public texlive-tzplot
  (package
    (name "texlive-tzplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tzplot/" "tex/latex/tzplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09k84vjvl3qkp8jffv3j5bksq3jaad2p71yj715z39qf36hwvm7s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tzplot")
    (synopsis "Plot graphs with TikZ abbreviations")
    (description
     "This is a LaTeX package that provides TikZ-based macros to make it easy
to draw graphs.  The macros provided in this package are just abbreviations
for TikZ codes, which can be complicated; but using the package will hopefully
make drawing easier, especially when drawing repeatedly.  The macros were
chosen and developed with an emphasis on drawing graphs in economics.")
    (license license:lppl1.3c)))

(define-public texlive-upmendex
  (package
    (name "texlive-upmendex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/upmendex.1"
                                     "doc/man/man1/upmendex.man1.pdf"
                                     "doc/support/upmendex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mj8nmqr3z7b802kvjmnkckq89l694an7s639yghf3b9b5v7xihx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-upmendex-bin))
    (home-page "https://ctan.org/pkg/upmendex")
    (synopsis "Multilingual index processor")
    (description
     "The package is a multilingual index processor with the following
features:
@itemize

@item mostly compatible with @command{makeindex} and upper compatible with
@command{mendex};

@item supports UTF-8 and works with upLaTeX, XeLaTeX and LuaLaTeX;

@item supports Latin (including non-English), Greek, Cyrillic, Korean Hangul
and Chinese Han (Hanzi ideographs) scripts, as well as Japanese Kana.

@item supports Devanagari, Thai, Arabic and Hebrew scripts (experimental).

@item supports four kinds of sort orders (Pinyin, Radical-Stroke, Stroke and
Zhuyin) for Chinese Han scripts (Hanzi ideographs).

@item applies International Components for Unicode (ICU) for sorting process.

@end itemize")
    (license license:bsd-3)))

(define-public texlive-upmendex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-upmendex-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs/" '())
            (delete-other-directories "utils/" '())
            (delete-other-directories "texk/" '("upmendex"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-upmendex" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/upmendex"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda* (#:key inputs native-inputs #:allow-other-keys)
                (with-directory-excursion "texk/upmendex"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list icu4c texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-upmendex))
    (synopsis "Binary for @code{texlive-upmendex}")
    (description
     "This package provides the binary for @code{texlive-upmendex}.")
    (license (package-license texlive-upmendex))))

(define-public texlive-utf8mex
  (package
    (name "texlive-utf8mex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/mex/utf8mex/" "tex/mex/utf8mex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13013asha1v6vk743hxk4naciiham0cpar6jw0ndlh7mbmyll2y8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/utf8mex")
    (synopsis "Tools to produce formats that read Polish language input")
    (description
     "The bundle provides files for building formats to read input in Polish
encodings.")
    (license license:public-domain)))

(define-public texlive-utfsym
  (package
    (name "texlive-utfsym")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/utfsym/" "tex/latex/utfsym/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bbdhi9fy3bzm9qrjca8ghl04pv9iky380if17w1hxhp2jpd691b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/utfsym")
    (synopsis "Provides various Unicode symbols")
    (description
     "This package provides various symbols from the Unicode in order to be
able to use them originally in a school setting such as on worksheets.")
    (license license:cc0)))

(define-public texlive-venndiagram
  (package
    (name "texlive-venndiagram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/venndiagram/"
                                     "source/latex/venndiagram/"
                                     "tex/latex/venndiagram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n48jgb0kbbnyk5pjg99l8hb1b3f1h30z78cl9lza2pi11p8mbgj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/venndiagram")
    (synopsis "Creating Venn diagrams with TikZ")
    (description
     "The package assists generation of simple two- and three-set Venn
diagrams for lectures or assignment sheets.")
    (license license:lppl)))

(define-public texlive-visualfaq
  (package
    (name "texlive-visualfaq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/visualfaq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fjx5y95n8bhsnwsw34sazbgygznvw76z01rrxmn1bp8za7751n0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/visualfaq")
    (synopsis "Visual LaTeX FAQ")
    (description
     "Having trouble finding the answer to a LaTeX question?  The @emph{Visual
LaTeX FAQ} is a search interface that presents over a hundred typeset samples
of frequently requested document formatting.  Simply click on a hyperlinked
piece of text and the @emph{Visual LaTeX FAQ} will send your web browser to
the appropriate page in the TeX FAQ.")
    (license license:lppl)))

(define-public texlive-visualfaq-fr
  (package
    (name "texlive-visualfaq-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/visualfaq-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xk0qly49dqkrw1qjhnyp4r7y5jykghlp1y26hipghlaqqhdynga"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/visualfaq-fr")
    (synopsis "FAQ LaTeX visuelle francophone")
    (description
     "The Visual LaTeX FAQ is an innovative new search interface on LaTeX
Frequently Asked Questions.  This version is a French translation, offering
links to the French-speaking LaTeX FAQ.")
    (license license:lppl1.3c)))

(define-public texlive-visualpstricks
  (package
    (name "texlive-visualpstricks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/visualpstricks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wfri908smlw1ngqq1mjll2b80b29piicqmv67x0xs1v3kc2sz3s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/visualpstricks")
    (synopsis "Visual help for PSTricks based on images with minimum text")
    (description
     "Visual help for PSTricks based on images with minimum text, one image
per command or per parameter.")
    (license license:gpl3+)))

(define-public texlive-visualtikz
  (package
    (name "texlive-visualtikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/visualtikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q0a1mhc330z8cnhghp2p46bxsmzz8cdba8hcvssglz0gsq5z5fc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/visualtikz")
    (synopsis "Visual help for TikZ based on images with minimum text")
    (description
     "This package provides a visual help for TikZ based on images with
minimum text: an image per command or parameter.  The document is in French,
but will be translated into English later.")
    (license license:lppl1.3+)))

(define-public texlive-web
  (package
    (name "texlive-web")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/tangle.1"
                                     "doc/man/man1/tangle.man1.pdf"
                                     "doc/man/man1/weave.1"
                                     "doc/man/man1/weave.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i8lvhz9k777c8wwqn8mh51w896d0ql7zxy9zbv9fpp0137n5bnj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-kpathsea))
    (home-page "https://ctan.org/pkg/web")
    (synopsis "Original literate programming system")
    (description
     "The system processes web files in two ways: firstly to rearrange them to
produce compilable code (using the program @command{tangle}), and secondly to
produce a TeX source (using the program @command{weave}) that may be typeset
for comfortable reading.")
    (license license:knuth)))

(define-public texlive-wheelchart
  (package
    (name "texlive-wheelchart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/wheelchart/"
                                     "tex/latex/wheelchart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ibpdhxip5wiwifjk1ck0r7wcbmbl2z7nbqay1zshncgb1igfr2x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/wheelchart")
    (synopsis "Draw wheelcharts with TikZ")
    (description
     "This package is based on the package TikZ and can be used to draw
wheelcharts with TikZ.  It provides several options to customize the
wheelcharts.")
    (license license:lppl1.3c)))

(define-public texlive-worldflags
  (package
    (name "texlive-worldflags")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/worldflags/"
                                     "tex/latex/worldflags/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1773hr3af98b7jvpkdg27v542iwclgznvbzal6aw3i1csf0a9dy1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/worldflags")
    (synopsis "Drawing flags with TikZ")
    (description
     "This is a package for drawing flags using TikZ.  Currently the national
flags of all independent nations are included, along with some other flags of
various organizations.  A flag can be drawn as a single TikZ-picture within
ordinary text, and as a picture element within a TikZ-picture.  The appearance
of a flag (size, frame etc.)  can be adapted using optional parameters.")
    (license license:lppl1.3+)))

(define-public texlive-xepersian
  (package
    (name "texlive-xepersian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xepersian/"
                                     "fonts/misc/xetex/fontmapping/xepersian/"
                                     "source/xelatex/xepersian/"
                                     "tex/xelatex/xepersian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xyrzx3s3sfb4mx5jwxdnvs0m95952npa5s2ipkcj913shn3v94k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xepersian")
    (synopsis "Persian for LaTeX, using XeTeX")
    (description
     "This package provides a convenient interface for typesetting Persian and
English texts in LaTeX, using the XeTeX engine.")
    (license license:lppl1.3c)))

(define-public texlive-xepersian-hm
  (package
    (name "texlive-xepersian-hm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xepersian-hm/"
                                     "source/xelatex/xepersian-hm/"
                                     "tex/xelatex/xepersian-hm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lq5bam9vx2phwphy2ig9hygsz4vvz4bx2c6f87my84kp8n3w25n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xepersian-hm")
    (synopsis "Fixes kashida feature in XePersian package")
    (description
     "The kashida feature in XePersian has problems with some fonts such as
the HM Series fonts and the XB Series fonts.  This package fixes these
problems.")
    (license license:lppl1.3c)))

(define-public texlive-xindex
  (package
    (name "texlive-xindex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/xindex/" "scripts/xindex/"
                                     "tex/latex/xindex/" "tex/lualatex/xindex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yxb42ipyfknb5rgqgcj1f8kwvvdavajjrw8b0pp3cggfa5whn17"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "xindex.lua")))
    (home-page "https://ctan.org/pkg/xindex")
    (synopsis "Unicode compatible index generation")
    (description
     "This package provides a Unicode compatible index programm for LaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-xistercian
  (package
    (name "texlive-xistercian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xistercian/"
                                     "source/latex/xistercian/"
                                     "tex/latex/xistercian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "021iwd8w19dbj1iqm1fdf9s06lysbrackz0g897nmsf0fks6qf4r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xistercian")
    (synopsis "Cistercian numerals in LaTeX")
    (description
     "@code{xistercian} allows you to use Cistercian numerals in LaTeX.
The glyphs are created using PGF and to a certain degree configurable.  You
can use Cistercian numerals as page numbers using
@code{\\pagenumbering@{cistercian@}}.  The two main macros are:
@code{\\cistercian@{<counter>@}}, which formats the LaTeX2e counter as
a Cistercian numeral, and @code{\\cisterciannum@{<integer>@}}, formats the
integer (given as a string) as a Cistercian numeral.")
    (license license:lppl1.3c)))

(define-public texlive-xpdfopen
  (package
    (name "texlive-xpdfopen")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pdfclose.1"
                                     "doc/man/man1/pdfclose.man1.pdf"
                                     "doc/man/man1/pdfopen.1"
                                     "doc/man/man1/pdfopen.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "130wvaypfrg9sav0pdcdy1g10fll8pqcsqsy70fxlzzr937glsh1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-xpdfopen-bin))
    (home-page "https://ctan.org/pkg/xpdfopen")
    (synopsis "Commands to control PDF readers, under X11")
    (description
     "The command-line programs @command{pdfopen} and @command{pdfclose} allow
you to control the X Window System version of Adobe's Acrobat Reader from the
command line or from within a (shell) script.  The programs work with
@command{xpdf} and @command{evince}.")
    (license license:public-domain)))

(define-public texlive-xpdfopen-bin
  (package
    (inherit texlive-bin)
    (name "texlive-xpdfopen-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("xpdfopen"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-xpdfopen" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/xpdfopen"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/xpdfopen"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list libxt))
    (propagated-inputs '())
    (home-page (package-home-page texlive-xpdfopen))
    (synopsis "Binaries for @code{texlive-xpdfopen}")
    (description
     "This package provides the binaries for @code{texlive-xpdfopen}.")
    (license (package-license texlive-xpdfopen))))

(define-public texlive-xpicture
  (package
    (name "texlive-xpicture")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xpicture/"
                                     "source/latex/xpicture/"
                                     "tex/latex/xpicture/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pzqnrk7mw1k9madah2ym9qsy20d8i1x1abkvkxvx7rxw7w38s2p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xpicture")
    (synopsis "Extensions of LaTeX picture drawing")
    (description
     "The package extends the facilities of the @code{pict2e} and the
@code{curve2e} packages, providing extra reference frames, conic section
curves, graphs of elementary functions and other parametric curves.")
    (license license:lppl1.3+)))

(define-public texlive-amiri
  (package
    (name "texlive-amiri")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/amiri/"
                                     "fonts/truetype/public/amiri/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d6yrh34fka9371a3vq72df593prik6s7z1i6myd0nix0c9jihp6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amiri")
    (synopsis "Classical Arabic typeface, Naskh style")
    (description
     "Amiri is a classical Arabic typeface in Naskh style for typesetting books
and other running text.  It is a revival of the beautiful typeface pioneered
in the early 20th century by Bulaq Press in Cairo, also known as Amiria Press,
after which the font is named.  The project aims at the revival of the
aesthetics and traditions of Arabic typesetting, and adapting it to the era of
digital typesetting, in a publicly available form.")
    (license license:silofl1.1)))

(define-public texlive-amiweb2c-guide
  (package
    (name "texlive-amiweb2c-guide")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amiweb2c-guide/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cxwsx49p3c162ysv0ydyxdncfg8ij9sx2x7c4pvzb0yidvad01c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amiweb2c-guide")
    (synopsis "How to install AmiWeb2c")
    (description
     "This is a guide for the installation of (La)TeX with the Amiga port of
Web2C named AmiWeb2C in the version 2.1 on an emulated Amiga 4000 computer
running Workbench 3.1.  Furthermore the installation of an ARexx server for
calling LaTeX from an editor is described and some tips for the installation
of new fonts are given.")
    (license license:lppl1.3c)))

(define-public texlive-amsfonts
  (package
    (name "texlive-amsfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/amsfonts/"
                                     "fonts/afm/public/amsfonts/cm/"
                                     "fonts/afm/public/amsfonts/cmextra/"
                                     "fonts/afm/public/amsfonts/cyrillic/"
                                     "fonts/afm/public/amsfonts/euler/"
                                     "fonts/afm/public/amsfonts/latxfont/"
                                     "fonts/afm/public/amsfonts/symbols/"
                                     "fonts/map/dvips/amsfonts/"
                                     "fonts/source/public/amsfonts/cmextra/"
                                     "fonts/source/public/amsfonts/cyrillic/"
                                     "fonts/source/public/amsfonts/dummy/"
                                     "fonts/source/public/amsfonts/symbols/"
                                     "fonts/tfm/public/amsfonts/cmextra/"
                                     "fonts/tfm/public/amsfonts/cyrillic/"
                                     "fonts/tfm/public/amsfonts/dummy/"
                                     "fonts/tfm/public/amsfonts/euler/"
                                     "fonts/tfm/public/amsfonts/symbols/"
                                     "fonts/type1/public/amsfonts/cm/"
                                     "fonts/type1/public/amsfonts/cmextra/"
                                     "fonts/type1/public/amsfonts/cyrillic/"
                                     "fonts/type1/public/amsfonts/euler/"
                                     "fonts/type1/public/amsfonts/latxfont/"
                                     "fonts/type1/public/amsfonts/symbols/"
                                     "source/latex/amsfonts/"
                                     "tex/latex/amsfonts/"
                                     "tex/plain/amsfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0phhzcxapa5607pk37agr981rg90zw2p4rqv7sk7i19byr867a1b"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-cm texlive-metafont))
    (home-page "https://ctan.org/pkg/amsfonts")
    (synopsis "TeX fonts from the American Mathematical Society")
    (description
     "This package provides an extended set of fonts for use in mathematics,
including: extra mathematical symbols; blackboard bold letters (uppercase
only); fraktur letters; subscript sizes of bold math italic and bold Greek
letters; subscript sizes of large symbols such as sum and product; added sizes
of the Computer Modern small caps font; cyrillic fonts (from the University of
Washington); Euler mathematical fonts.  All fonts are provided as Adobe Type
1 files, and all except the Euler fonts are provided as METAFONT source.  The
distribution also includes the canonical Type 1 versions of the Computer
Modern family of fonts.  The Euler fonts are supported by separate packages;
details can be found in the documentation.")
    (license license:silofl1.1)))

(define-deprecated-package texlive-fonts-amsfonts texlive-amsfonts)
(define-deprecated-package texlive-latex-amsfonts texlive-amsfonts)

(define-public texlive-mkpattern
  (package
    (name "texlive-mkpattern")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/mkpattern/" "tex/plain/mkpattern/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sxnkbcc802jl3fj56x9hvg978bpv15lhrwj0aykb4syq29l47ga"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mkpattern")
    (synopsis "Utility for making hyphenation patterns")
    (description
     "Mkpattern is a general purpose program for the generation of hyphenation
patterns, with definition of letter sets and template-like constructions.  It
also provides an easy way to handle different input and output encodings, and
features generation of clean UTF-8 patterns.")
    (license license:lppl)))

(define-public texlive-ec
  (package
    (name "texlive-ec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ec/"
                                     "fonts/source/jknappen/ec/"
                                     "fonts/tfm/jknappen/ec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cyi0vv9dnp45s0ilsrbkyznj9ji62s5bhkqgh49461mv2f8qj6p"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-cm texlive-metafont))
    (home-page "https://ctan.org/pkg/ec")
    (synopsis "Computer modern fonts in T1 and TS1 encodings")
    (description
     "The EC fonts are European Computer Modern Fonts, supporting the complete
LaTeX T1 encoding defined at the 1990 TUG conference hold at Cork/Ireland.
These fonts are intended to be stable with no changes being made to the tfm
files.  The set also contains a Text Companion Symbol font, called @code{tc},
featuring many useful characters needed in text typesetting, for example
oldstyle digits, currency symbols (including the newly created Euro symbol),
the permille sign, copyright, trade mark and servicemark as well as a copyleft
sign, and many others.  The fonts are available in (traced) Adobe Type
1 format, as part of the @code{cm-super} bundle.  The other Computer
Modern-style T1-encoded Type 1 set, Latin Modern, is not actually a direct
development of the EC set, and differs from the EC in a number of
particulars.")
    (license (license:fsf-free "file://doc/fonts/ec/copyrite.txt"))))

(define-deprecated-package texlive-fonts-ec texlive-ec)

;; This provides etex.src which is needed to build various formats, including
;; luatex.fmt and pdflatex.fmt
(define-public texlive-etex
  (package
    (name "texlive-etex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/etex/base/"
                                     "doc/man/man1/etex.1"
                                     "doc/man/man1/etex.man1.pdf"
                                     "fonts/source/public/etex/"
                                     "fonts/tfm/public/etex/"
                                     "tex/plain/etex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15w34g09c0qc76i1aflbzx91pnawz2kvcidg1f7wwsk6a5bz7372"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (native-inputs (list texlive-cm texlive-metafont))
    (home-page "https://www.ctan.org/pkg/etex")
    (synopsis "Extended version of TeX")
    (description
     "This package provides an extended version of TeX (which is capable of
running as if it were TeX unmodified).  E-TeX has been specified by the LaTeX
team as the engine for the development of LaTeX2e; as a result, LaTeX
programmers may assume e-TeX functionality.  The pdftex engine directly
incorporates the e-TeX extensions.")
    (license license:knuth)))

(define-public texlive-etex-pkg
  (package
    (name "texlive-etex-pkg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/etex-pkg/" "tex/latex/etex-pkg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10bvvn3s3lmzjscnb2qxkj1ba9qxx0q1w2spcsjpwf20dvym19py"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/etex-pkg")
    (synopsis "E-TeX support package")
    (description
     "The package provides support for LaTeX documents to use many of the
extensions offered by e-TeX; in particular, it modifies LaTeX's register
allocation macros to make use of the extended register range.  The
@code{etextools} package provides macros that make more sophisticated use of
e-TeX's facilities.")
    (license license:lppl1.3+)))

(define-public texlive-eulervm
  (package
    (name "texlive-eulervm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eulervm/"
                                     "fonts/tfm/public/eulervm/"
                                     "fonts/vf/public/eulervm/"
                                     "source/latex/eulervm/" "tex/latex/eulervm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "118yidwnqw4acap2wdykcdx2cxp8q2ganz67ls6rkg6fid325mkq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eulervm")
    (synopsis "Euler virtual math fonts")
    (description
     "The Euler fonts are suitable for typsetting mathematics in conjunction
with a variety of text fonts that do not provide mathematical character sets
of their own.  Euler-VM is a set of virtual mathematics fonts based on Euler
and CM. This approach has several advantages over immediately using the real
Euler fonts. Most noticeably, less TeX resources are consumed, the quality of
various math symbols is improved and a usable @code{\\hslash} symbol can be
provided.  The virtual fonts are accompanied by a LaTeX package which makes
them easy to use, particularly in conjunction with Type1 PostScript text
fonts.  They are compatible with @code{amsmath}.  A package option allows the
fonts to be loaded at 95% of their nominal size, thus blending better with
certain text fonts, e.g., Minion.")
    (license license:lppl)))

(define-public texlive-plain
  (package
    (name "texlive-plain")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "makeindex/plain/" "tex/plain/base/"
                                     "tex/plain/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zwvrfw8z28c9dy8nby5qfwbyrd2a0cdfwyd5jndscjczhw0yi62"))))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tex-engine "tex"
      #:tex-format #f
      #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/plain")
    (synopsis "Plain TeX format and supporting files")
    (description
     "This package contains files used to build the Plain TeX format, as
described in the TeXbook, together with various supporting files (some also
discussed in the book).")
    (license license:knuth)))

(define-deprecated-package texlive-tex-plain texlive-plain)

(define-public texlive-pxfonts
  (package
    (name "texlive-pxfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/pxfonts/"
                                     "fonts/afm/public/pxfonts/"
                                     "fonts/map/dvips/pxfonts/"
                                     "fonts/tfm/public/pxfonts/"
                                     "fonts/type1/public/pxfonts/"
                                     "fonts/vf/public/pxfonts/"
                                     "tex/latex/pxfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z2ls46x2l79saq4l1d2cqwazhpg79b9hqsf90wzx70676mxcwac"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxfonts")
    (synopsis "Palatino-like fonts in support of mathematics")
    (description
     "Pxfonts supplies virtual text roman fonts using Adobe Palatino (or
URWPalladioL) with some modified and additional text symbols in the OT1, T1,
and TS1 encodings; maths alphabets using Palatino/Palladio; maths fonts
providing all the symbols of the Computer Modern and AMS fonts, including all
the Greek capital letters from CMR; and additional maths fonts of various
other symbols.  The set is complemented by a sans-serif set of text fonts,
based on Helvetica/NimbusSanL, and a monospace set derived from the parallel
TX font set.  All the fonts are in Type 1 format (AFM and PFB files), and are
supported by TeX metrics (VF and TFM files) and macros for use with LaTeX.")
    (license license:gpl3+)))

(define-public texlive-halloweenmath
  (package
    (name "texlive-halloweenmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/halloweenmath/"
                                     "source/latex/halloweenmath/"
                                     "tex/latex/halloweenmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xq72k1p820b5q3haxf936g69p6gv34hr30870l96jnxa3ad7y05"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'non-interactive-build
            ;; When it realizes it cannot employ the usedir directive, the
            ;; build process stops and waits for an input before inserting
            ;; generated files in the working directory.  Do not ask for an
            ;; input.
            (lambda _
              (substitute* "source/latex/halloweenmath/halloweenmath.ins"
                (("\\Ask.*") "")
                (("\\(your .*? will be ignored\\).*") "")))))))
    (native-inputs (list texlive-cm))
    (home-page "https://ctan.org/pkg/halloweenmath")
    (synopsis "Scary and creepy math symbols with AMS-LaTeX integration")
    (description
     "The package defines a handful of commands for typesetting mathematical
symbols of various kinds, ranging from large operators to extensible
arrow-like relations and growing arrow-like math accents that all draw from
the classic Halloween-related iconography (pumpkins, witches, ghosts, cats,
and so on) while being, at the same time, seamlessly integrated within the
rest of the mathematics produced by (AmS-)LaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-haranoaji
  (package
    (name "texlive-haranoaji")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/haranoaji/"
                                     "fonts/opentype/public/haranoaji/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zwmb94p6byzij4dxydwvv70iv9y107p7ig0dj94pgxzc4i6vcny"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/haranoaji")
    (synopsis "Harano Aji fonts")
    (description
     "Harano Aji fonts (Harano Aji Mincho and Harano Aji Gothic) are fonts
obtained by replacing Adobe-Identity-0 (AI0) CIDs of Source Han fonts (Source
Han Serif and Source Han Sans) with Adobe-Japan1 (AJ1) CIDs.  There are 14
fonts, 7 weights each for Mincho and Gothic.")
    (license license:silofl1.1)))

(define-public texlive-haranoaji-extra
  (package
    (name "texlive-haranoaji-extra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/haranoaji-extra/"
                                     "fonts/opentype/public/haranoaji-extra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1knw4yw76rdmp0gxx5faszv60rn7b0p6njb3fkpd2dn3jqy45ivi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/haranoaji-extra")
    (synopsis "Extra weights for Harano Aji fonts")
    (description
     "Harano Aji fonts (Harano Aji Mincho and Harano Aji Gothic) are fonts
obtained by replacing Adobe-Identity-0 (AI0) CIDs of Source Han fonts (Source
Han Serif and Source Han Sans) with Adobe-Japan1 (AJ1) CIDs.  This package
provides extra weights for these fonts.")
    (license license:silofl1.1)))

(define-public texlive-hardwrap
  (package
    (name "texlive-hardwrap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hardwrap/" "source/latex/hardwrap/"
                                     "tex/latex/hardwrap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ql3xml1ccll44q945n7w72p6d51y5wcrkawi7cg621gy5d6wzx5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hardwrap")
    (synopsis "Hard wrap text to a certain character length")
    (description
     "The package facilitates wrapping text to a specific character width,
breaking lines by words rather than, as done by TeX, by characters.  The
primary use for these facilities is to aid the generation of messages sent to
the log file or console output to display messages to the user.  Package
authors may also find this useful when writing out arbitrary text to an
external file.")
    (license license:lppl1.3+)))

(define-public texlive-hatching
  (package
    (name "texlive-hatching")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/hatching/"
                                     "metapost/hatching/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rkxx57rpzk8i0msbyrzcgmbvmjjrg295qg508w3v3dsy0f0krjj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hatching")
    (synopsis "MetaPost macros for hatching interior of closed paths")
    (description
     "The file @file{hatching}.mp contains a set of MetaPost macros for
hatching interior of closed paths.")
    (license license:public-domain)))

(define-public texlive-helvetic
  (package
    (name "texlive-helvetic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/helvetic/"
                                     "fonts/afm/adobe/helvetic/"
                                     "fonts/afm/urw/helvetic/"
                                     "fonts/map/dvips/helvetic/"
                                     "fonts/tfm/adobe/helvetic/"
                                     "fonts/tfm/monotype/helvetic/"
                                     "fonts/tfm/urw35vf/helvetic/"
                                     "fonts/type1/urw/helvetic/"
                                     "fonts/vf/adobe/helvetic/"
                                     "fonts/vf/monotype/helvetic/"
                                     "fonts/vf/urw35vf/helvetic/"
                                     "tex/latex/helvetic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c3f1ly7y6404z0akbfbbfql13sz717v0n0g69qjpr69hi4n0nsl"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urw-base35")
    (synopsis "Replacement for Adobe's Helvetica font")
    (description
     "This package provides a drop-in replacement for the Helvetica font from
Adobe's basic set.")
    ;; No license version specified.
    (license license:gpl3+)))

(define-public texlive-ieejtran
  (package
    (name "texlive-ieejtran")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/ieejtran/"
                                     "doc/bibtex/ieejtran/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01bcw45v6mbyb1gzykzk5ccwz70s6591994xrj84z9ljgzp06lyg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ieejtran")
    (synopsis
     "Unofficial bibliography style file for the Institute of Electrical
Engineers of Japan")
    (description
     "This package provides an unofficial BibTeX style for authors of the
Institute of Electrical Engineers of Japan (IEEJ) transactions journals and
conferences.")
    (license license:expat)))

(define-public texlive-inputenx
  (package
    (name "texlive-inputenx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/inputenx/" "source/latex/inputenx/"
                                     "tex/latex/inputenx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0snjndrcynm4w8m9iq8gmadzhrbwvsdy4y1ak24ia0hpsicdi4aj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/inputenx")
    (synopsis "Enhanced input encoding handling")
    (description
     "This package deals with input encodings.  It provides a wider range of
input encodings using standard mappings, than does @code{inputenc}.  It also
covers nearly all slots.  In this way, it serves as more up to date
replacement for the @code{inputenc} package.")
    (license license:lppl1.3+)))

(define-public texlive-kpathsea
  (package
    (name "texlive-kpathsea")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/info/dir"
                                     "doc/info/kpathsea.info"
                                     "doc/info/web2c.info"
                                     "doc/kpathsea/"
                                     "doc/man/man1/kpseaccess.1"
                                     "doc/man/man1/kpseaccess.man1.pdf"
                                     "doc/man/man1/kpsereadlink.1"
                                     "doc/man/man1/kpsereadlink.man1.pdf"
                                     "doc/man/man1/kpsestat.1"
                                     "doc/man/man1/kpsestat.man1.pdf"
                                     "doc/man/man1/kpsewhich.1"
                                     "doc/man/man1/kpsewhich.man1.pdf"
                                     "doc/web2c/NEWS"
                                     "doc/web2c/web2c.html"
                                     "doc/web2c/web2c.pdf"
                                     "web2c/amiga-pl.tcx"
                                     "web2c/cp1250cs.tcx"
                                     "web2c/cp1250pl.tcx"
                                     "web2c/cp1250t1.tcx"
                                     "web2c/cp227.tcx"
                                     "web2c/cp852-cs.tcx"
                                     "web2c/cp852-pl.tcx"
                                     "web2c/cp8bit.tcx"
                                     "web2c/empty.tcx"
                                     "web2c/fmtutil.cnf"
                                     "web2c/il1-t1.tcx"
                                     "web2c/il2-cs.tcx"
                                     "web2c/il2-pl.tcx"
                                     "web2c/il2-t1.tcx"
                                     "web2c/kam-cs.tcx"
                                     "web2c/kam-t1.tcx"
                                     "web2c/macce-pl.tcx"
                                     "web2c/macce-t1.tcx"
                                     "web2c/maz-pl.tcx"
                                     "web2c/mktex.cnf"
                                     "web2c/mktex.opt"
                                     "web2c/mktexdir"
                                     "web2c/mktexdir.opt"
                                     "web2c/mktexnam"
                                     "web2c/mktexnam.opt"
                                     "web2c/mktexupd"
                                     "web2c/natural.tcx"
                                     "web2c/tcvn-t5.tcx"
                                     "web2c/texmf.cnf"
                                     "web2c/viscii-t5.tcx"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14zi3qydf8hjh2xfn81b54ppq2p78yb8pcgkaz2v2ia9n1r3ga6f"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "gawk" "sed")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'patch-references
            (lambda _
              (let ((dirs (map dirname (list (which "sed")
                                             (which "awk")))))
                (substitute* '("web2c/mktexdir"
                               "web2c/mktexnam"
                               "web2c/mktexupd")
                  (("^version=" m)
                   (format #false "PATH=\"~{~a:~}$PATH\"; export PATH~%~a"
                           dirs m)))))))))
    (inputs (list gawk sed))
    (propagated-inputs (list texlive-libkpathsea)) ;for the executables
    (home-page "https://ctan.org/pkg/kpathsea")
    (synopsis "Files related to the path searching library for TeX")
    (description
     "Kpathsea is a library and utility programs which provide path searching
facilities for TeX file types, including the self-locating feature required
for movable installations, layered on top of a general search mechanism.  This
package provides supporting files.")
    (license license:lgpl3+)))

(define-public texlive-kpfonts
  (package
    (name "texlive-kpfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/kpfonts/"
                                     "fonts/afm/public/kpfonts/"
                                     "fonts/enc/dvips/kpfonts/"
                                     "fonts/map/dvips/kpfonts/"
                                     "fonts/tfm/public/kpfonts/"
                                     "fonts/type1/public/kpfonts/"
                                     "fonts/vf/public/kpfonts/"
                                     "tex/latex/kpfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m5waxqrkm1i59i9vbn9ai9zjn7cl0f36iccwn2d73lhrqhbn16q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kpfonts")
    (synopsis "Complete set of fonts for text and mathematics")
    (description
     "The family contains text fonts in roman, sans-serif and monospaced
shapes, with true small caps and old-style numbers; the package offers full
support of the textcomp package.  The mathematics fonts include all the AMS
fonts, in both normal and bold weights.  Each of the font types is available
in two main versions: default and light.  Each version is available in four
variants: default; oldstyle numbers; oldstyle numbers with old ligatures such
as ct and st, and long-tailed capital Q; and veryoldstyle with long s.  Other
variants include small caps as default or large small caps, and for
mathematics both upright and slanted shapes for Greek letters, as well as
default and narrow versions of multiple integrals.")
    (license license:gpl3+)))

(define-public texlive-kpfonts-otf
  (package
    (name "texlive-kpfonts-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/kpfonts-otf/"
                                     "fonts/opentype/public/kpfonts-otf/"
                                     "tex/latex/kpfonts-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13i9r4sgw547fwv6zqpbzlzarzfjpgp6ivi29qi47xk1dg8bqq95"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kpfonts-otf")
    (synopsis "OTF version of the Kp-fonts")
    (description
     "This bundle provides OpenType versions of the Type1 Kp-fonts designed by
Christophe Caignaert.  It is usable with LuaTeX or XeTeX engines only.  It
consists of sixteen Text fonts (eight Serif, four Sans-Serif, four Monotype)
and six Math fonts.  Serif and Sans-Serif families have small caps available
in two sizes (SmallCaps and PetitesCaps), upper and lowercase digits, real
superscripts and subscripts; ancient ligatures (@samp{ct} and @samp{st}),
ancient long-@samp{s} and a long-tailed capital @samp{Q} are available via
font features.  Math fonts cover all usual symbols including AMS'.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-latexconfig
  (package
    (name "texlive-latexconfig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/latexconfig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0254p59z7w4ihplrxknkcy2ls6258yj9k1dh6yc6sx9i538vylbz"))))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/latexconfig")
    (synopsis "Configuration files for LaTeX-related formats")
    (description "The package provides configuration files for LaTeX-related
formats.")
    (license license:lppl)))

(define-public texlive-latex-bin
  (package
    (name "texlive-latex-bin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dvilualatex.1"
                                     "doc/man/man1/dvilualatex.man1.pdf"
                                     "doc/man/man1/latex.1"
                                     "doc/man/man1/latex.man1.pdf"
                                     "doc/man/man1/lualatex.1"
                                     "doc/man/man1/lualatex.man1.pdf"
                                     "doc/man/man1/pdflatex.1"
                                     "doc/man/man1/pdflatex.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f73x92hwybkq6gqhps6gnsy8rs12zwxbfnp226d0bm6b2ji31z6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:create-formats #~(list "dvilualatex" "latex" "lualatex" "pdflatex")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'install 'symlink-binaries
            ;; Create symbolic links for the latex variants.  We link lualatex
            ;; to luahbtex; see issue #51252 for details.
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((pdftex (search-input-file inputs "bin/pdftex"))
                    (luahbtex (search-input-file inputs "bin/luahbtex"))
                    (bin (string-append #$output "/bin")))
                (mkdir-p bin)
                (with-directory-excursion bin
                  (symlink pdftex "latex")
                  (symlink pdftex "pdflatex")
                  (symlink luahbtex "lualatex"))))))))
    (propagated-inputs
     (list texlive-babel
           texlive-cm
           texlive-firstaid
           texlive-graphics
           texlive-hyphen-complete
           texlive-l3backend
           texlive-l3kernel
           texlive-latex
           texlive-latex-fonts
           texlive-latexconfig
           texlive-lm
           texlive-luahbtex
           texlive-luaotfload
           texlive-luatex
           texlive-pdftex
           texlive-tex-ini-files
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/latex-bin")
    (synopsis "LaTeX formats and man pages")
    (description
     "This package provides LaTeX format files and man pages along with
several packages that are considered as part of the LaTeX kernel.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-base texlive-latex-bin)

(define-public texlive-atenddvi
  (package
    (name "texlive-atenddvi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/atenddvi/"
                                     "source/latex/atenddvi/"
                                     "tex/latex/atenddvi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fwa5233mdgvixhl2rzn9s06zz52j6ml7hfzd4194bn389n9syhk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/atenddvi")
    (synopsis "Provide the @code{\\AtEndDvi} command for older LaTeX format")
    (description
     "This package is unneeded and does nothing when used with a LaTeX format
2020-10-01 or newer as in this case the format provides the @code{\\AtEndDvi}
command.  For older formats it implements @code{\\AtEndDvi}, a counterpart to
@code{\\AtBeginDvi}.  The execution of its argument is delayed to the end of
the document at the end of the last page.  Thus @code{\\special} and
@code{\\write} remain effective, because they are put into the last page.
This is the main difference to @code{\\AtEndDocument}.")
    (license license:lppl1.3c+)))

(define-public texlive-attachfile
  (package
    (name "texlive-attachfile")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/attachfile/"
                                     "doc/latex/attachfile/"
                                     "source/latex/attachfile/"
                                     "tex/latex/attachfile/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0340c4rvxhhk95wlhf54n9akiwhj6pj0bslys6bkq29x9903zx5h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/attachfile")
    (synopsis "Attach arbitrary files to a PDF document")
    (description
     "Starting with PDF 1.3, PDF files can contain file attachments, i.e.,
arbitrary files that a reader can extract, just like attachments to an e-mail
message.  The @code{attachfile} package brings this functionality to pdfLaTeX
and provides some additional features such as the ability to use arbitrary
LaTeX code for the file icon.  Settings can be made either globally or on
a per-attachment basis.  @code{attachfile} makes it easy to attach files and
customize their appearance in the enclosing document.")
    (license license:lppl1.3+)))

(define-public texlive-attachfile2
  (package
    (name "texlive-attachfile2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/attachfile2/"
                                     "doc/man/man1/pdfatfi.1"
                                     "doc/man/man1/pdfatfi.man1.pdf"
                                     "scripts/attachfile2/"
                                     "source/latex/attachfile2/"
                                     "tex/latex/attachfile2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y2ygsgx0gjfqkpn1frqg4z59jz6mdp99v9qmz6v4ppflvc1a0zs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pdfatfi.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/attachfile2")
    (synopsis "Attach files into PDF")
    (description
     "This package can be used to attach files to a PDF document.  It is
a further development of Scott Pakin's package @code{attachfile} for pdfTeX.
Apart from bug fixes, this package adds support for dvips, some new options,
and gets and writes meta information data about the attached files.")
    (license license:lppl1.3c)))

(define-public texlive-atveryend
  (package
    (name "texlive-atveryend")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/atveryend/"
                                     "source/latex/atveryend/"
                                     "tex/latex/atveryend/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rp805h0m99rxs107a798l951lyahlnp7irfklfadn2a2ljzhafn"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex"
                                               "texlive-pdftex")))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (native-inputs (list texlive-latex texlive-pdftex))
    (home-page "https://ctan.org/pkg/atveryend")
    (synopsis "Hooks at the very end of a document")
    (description
     "This LaTeX packages provides two hooks for @code{\\end{document}} that
are executed after the hook of @code{\\AtEndDocument}:
@code{\\AfterLastShipout} can be used for code that is to be executed right
after the last @code{\\clearpage} before the @file{.aux} file is closed.
@code{\\AtVeryEndDocument} is used for code after closing and final reading of
the @file{.aux} file.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-atveryend texlive-atveryend)

(define-public texlive-automata
  (package
    (name "texlive-automata")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/automata/"
                                     "metapost/automata/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y02wp1w2jkhrxanz7r699kr08bmbfn0h0xaxj3zh4xj9745d7d7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/automata")
    (synopsis "Finite state machines, graphs and trees in MetaPost")
    (description
     "The package offers a collection of macros for MetaPost to make easier to
draw finite-state machines, automata, labelled graphs, etc.  The user defines
nodes, which may be isolated or arranged into matrices or trees; edges connect
pairs of nodes through arbitrary paths.  Parameters, that specify the shapes
of nodes and the styles of edges, may be adjusted.")
    (license license:lppl)))

(define-public texlive-auxhook
  (package
    (name "texlive-auxhook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/auxhook/" "source/latex/auxhook/"
                                     "tex/latex/auxhook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qfs7bz8ryp4prr2fw4hwypnfc6yr4rc4wd8qy4rpmab0hab0vdy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/auxhook")
    (synopsis "Hooks for auxiliary files")
    (description
     "This package provides hooks for adding code at the beginning of
@file{.aux} files.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-auxhook texlive-auxhook)

(define-public texlive-epspdf
  (package
    (name "texlive-epspdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/info/epspdf.info" "doc/support/epspdf/"
                                     "scripts/epspdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sxn3dff0nxiw68h1kr86rmnc72xkc62fk94j590a4di1lh2firl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "epspdf.tlu" "epspdftk.tcl")))
    (inputs (list tcl tk))
    (home-page "https://ctan.org/pkg/epspdf")
    (synopsis "Converter for PostScript, EPS and PDF")
    (description
     "Epspdftk.tcl is a GUI PS/EPS/PDF converter.  Epspdf.tlu, its
command-line backend, can be used by itself.  Options include grayscaling,
cropping margins and single-page selection.  Some conversion options are made
possible by converting in multiple steps.")
    (license license:gpl2)))

(define-public texlive-epstopdf
  (package
    (name "texlive-epstopdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/epstopdf.1"
                                     "doc/man/man1/epstopdf.man1.pdf"
                                     "doc/man/man1/repstopdf.1"
                                     "doc/man/man1/repstopdf.man1.pdf"
                                     "doc/support/epstopdf/"
                                     "scripts/epstopdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0brlgj7ywmw95b6bkb3bkvxnvf3a4bfwbgq38lwz4f9klacrs2ys"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "ghostscript")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "epstopdf.pl")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'set-gs-location
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((gs (search-input-file inputs "/bin/gs")))
                (substitute* "scripts/epstopdf/epstopdf.pl"
                  (("\"gs\"") (string-append "\"" gs "\""))))))
          (add-after 'link-scripts 'add-repstopdf
            (lambda _
              (with-directory-excursion (string-append #$output "/bin")
                (symlink "epstopdf" "repstopdf")))))))
    (home-page "https://ctan.org/pkg/epstopdf")
    (synopsis "Convert EPS to PDF using Ghostscript")
    (inputs (list ghostscript perl))
    (description
     "Epstopdf is a Perl script that converts an EPS file to an encapsulated
PDF file (a single page file whose media box is the same as the original EPS's
bounding box). The resulting file suitable for inclusion by pdfTeX as an
image.  LaTeX users may make use of the @code{epstopdf} package, which will
run the @code{epstopdf} script on the fly, thus giving the illusion that
pdfLaTeX is accepting EPS graphic files.")
    (license license:bsd-3)))

(define-public texlive-epstopdf-pkg
  (package
    (name "texlive-epstopdf-pkg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/epstopdf-pkg/"
                                     "source/latex/epstopdf-pkg/"
                                     "tex/latex/epstopdf-pkg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ajyc5pkn1niifz5asyf09vbdqvmy05xwl0vxcdl7ik0ll0jcaxp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/epstopdf-pkg")
    (synopsis "Call @command{epstopdf} on the fly")
    (description
     "The package adds support for EPS files in the @code{graphicx} package
when running under pdfTeX.  If an EPS graphic is detected, the package spawns
a process to convert the EPS to PDF, using the script @command{epstopdf}.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-epstopdf-pkg texlive-epstopdf-pkg)

(define-public texlive-filecontents
  (package
    (name "texlive-filecontents")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/filecontents/"
                                     "source/latex/filecontents/"
                                     "tex/latex/filecontents/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hrlwwv8sywd2z6xw3dryf0xbrbbc50k44q8s23727banghg6ham"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/filecontents")
    (synopsis "Create an external file from within a LaTeX document")
    (description
     "LaTeX2e's @code{filecontents} and @code{filecontents*} environments
enable a LaTeX source file to generate external files as it runs through
LaTeX.  However, there are two limitations of these environments: they refuse
to overwrite existing files, and they can only be used in the preamble of
a document.  The filecontents package removes these limitations, letting you
overwrite existing files and letting you use @code{filecontents}
@code{filecontents*} anywhere.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-filecontents texlive-filecontents)

(define-public texlive-filehook
  (package
    (name "texlive-filehook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/filehook/" "source/latex/filehook/"
                                     "tex/latex/filehook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zg9svjhrnh52fa04n3pnb0hrijp0lrr939dacf90cjjzwk36sfn"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (home-page "https://ctan.org/pkg/filehook")
    (synopsis "Hooks for input files")
    (description
     "The package provides several file hooks (@code{AtBegin}, @code{AtEnd},
...) for files read by @code{\\input}, @code{\\include} and
@code{\\InputIfFileExists}.  General hooks for all such files (e.g., all
@code{\\included} ones) and file specific hooks only used for named files are
provided; two hooks are provided for the end of @code{\\included} files ---
one before, and one after the final @code{\\clearpage}.")
    (license license:lppl1.3+)))

(define-public texlive-epsf
  (package
    (name "texlive-epsf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/epsf/" "tex/generic/epsf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03jcf0kqh47is965d2590miwj7d5kif3c4mgsnvkyl664jzjkh92"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/epsf")
    (synopsis "Simple macros for EPS inclusion")
    (description
     "This package provides the original (and now obsolescent) graphics
inclusion macros for use with dvips, still widely used by Plain TeX users (in
particular).  For LaTeX users, the package is nowadays (rather strongly)
deprecated in favour of the more sophisticated standard LaTeX latex-graphics
bundle of packages.  (The latex-graphics bundle is also available to Plain TeX
users, via its Plain TeX version.)")
    (license license:public-domain)))

(define-deprecated-package texlive-generic-epsf texlive-epsf)

(define-public texlive-fancyvrb
  (package
    (name "texlive-fancyvrb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fancyvrb/" "tex/latex/fancyvrb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jpxlzq1v96s2qifzjjh2xfifch47iks7l8zhs9vq7w5cd4y6pyl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fancyvrb")
    (synopsis "Sophisticated verbatim text")
    (description
     "This package provides tools for the flexible handling of verbatim text
including: verbatim commands in footnotes; a variety of verbatim environments
with many parameters; ability to define new customized verbatim environments;
save and restore verbatim text and environments; write and read files in
verbatim mode; build \"example\" environments (showing both result and
verbatim source).")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-fancyvrb texlive-fancyvrb)

(define-public texlive-fandol
  (package
    (name "texlive-fandol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fandol/"
                                     "fonts/opentype/public/fandol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lk91ypsvj2wkqsw8lklkqfsqimjyn0vzbwgqgs5h6kf61m6qsk5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fandol")
    (synopsis "Four basic fonts for Chinese typesetting")
    (description
     "This package provides Fandol fonts designed for Chinese typesetting.
The current version contains four styles: Song, Hei, Kai, Fang.  All fonts are
in OpenType format.")
    (license license:gpl3+)))

(define-public texlive-gentium-tug
  (package
    (name "texlive-gentium-tug")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gentium-tug/"
                                     "fonts/afm/public/gentium-tug/"
                                     "fonts/enc/dvips/gentium-tug/"
                                     "fonts/map/dvips/gentium-tug/"
                                     "fonts/map/pdftex/gentium-tug/"
                                     "fonts/tfm/public/gentium-tug/"
                                     "fonts/truetype/public/gentium-tug/"
                                     "fonts/type1/public/gentium-tug/"
                                     "source/fonts/gentium-tug/"
                                     "tex/latex/gentium-tug/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0byiqwqxiik3i9cb6lp53vw4yw92frlmmsk05653g9kgmx04x70d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gentium-tug")
    (synopsis "Gentium fonts (in two formats) and support files")
    (description
     "Gentium is a typeface family designed to enable the diverse ethnic
groups around the world who use the Latin, Cyrillic and Greek scripts to
produce readable, high-quality publications.  It supports a wide range of
Latin- and Cyrillic-based alphabets.")
    (license (list license:expat license:silofl1.1))))

(define-public texlive-gincltex
  (package
    (name "texlive-gincltex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gincltex/" "source/latex/gincltex/"
                                     "tex/latex/gincltex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x6bsf445dp8wc5hfgyywlal8vky5w23d69zlpybkp2d9am9a71p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gincltex")
    (synopsis "Include TeX files as graphics")
    (description
     "The package builds on the standard LaTeX packages @code{graphics} and
allows external LaTeX source files to be included, in the same way as graphic
files, by @code{\\includegraphics}.  In effect, then package adds support for
the @file{.tex} extension.")
    (license license:lppl1.3+)))

(define-public texlive-git-latexdiff
  (package
    (name "texlive-git-latexdiff")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/git-latexdiff.1"
                                     "doc/man/man1/git-latexdiff.man1.pdf"
                                     "doc/support/git-latexdiff/"
                                     "scripts/git-latexdiff/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hblgnjad5qm27ijpynz0x1rxgi07y5apgnv5r2wk3ngxj016pvn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "git-latexdiff")))
    (home-page "https://ctan.org/pkg/git-latexdiff")
    (synopsis "Call @command{latexdiff} on two Git revisions of a file")
    (description
     "@command{git-latexdiff} is a tool to graphically visualize differences
between different versions of a LaTeX file.")
    (license license:bsd-2)))

(define-public texlive-glyphlist
  (package
    (name "texlive-glyphlist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/map/glyphlist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12nmmyh77vr2622lzi11nm1z1k2bxs7jz018yl4rwjlpg0sxg1ja"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glyphlist")
    (synopsis "Adobe Glyph List and TeX extensions")
    (description
     "This package provides a map between traditional Adobe glyph names and
Unicode points; it is maintained by Adobe.  The additional
@file{texglyphlist.txt} is maintained as part of @code{lcdf-typetools}.")
    (license license:asl2.0)))

(define-public texlive-graphics-def
  (package
    (name "texlive-graphics-def")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/graphics-def/"
                                     "tex/latex/graphics-def/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kp28k3shsiv0a051lp4fcqadac41c942hxwn506yps7h9y4jg23"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/graphics-def")
    (synopsis "Colour and graphics option files")
    (description
     "This bundle is a combined distribution consisting of @file{dvips.def},
@file{pdftex.def}, @file{luatex.def}, @file{xetex.def}, @file{dvipdfmx.def},
and @file{dvisvgm.def} driver option files for the LaTeX graphics and color
packages.")
    (license license:lppl1.3c+)))

(define-public texlive-graphics-cfg
  (package
    (name "texlive-graphics-cfg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/graphics-cfg/"
                                     "tex/latex/graphics-cfg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00n63adb2laf43lzix39xl68aq0k5k80mmrw602w99w5n7f96gsf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/graphics-cfg")
    (synopsis "Sample configuration files for LaTeX color and graphics")
    (description
     "This bundle includes @file{color.cfg} and @file{graphics.cfg} files that
set default \"driver\" options for the color and graphics packages.")
    (license license:public-domain)))

(define-public texlive-graphics
  (package
    (name "texlive-graphics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/graphics/"
                                     "source/latex/graphics/"
                                     "tex/latex/graphics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "024hncahwc07yd2l94znv7v72sbykxdri5lpg3w4ip0nf10ywyma"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex"
                                               "texlive-pdftex")))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (native-inputs (list texlive-latex texlive-pdftex))
    (propagated-inputs (list texlive-graphics-cfg texlive-graphics-def))
    (home-page "https://ctan.org/macros/latex/required/graphics")
    (synopsis "The LaTeX standard graphics bundle")
    (description
     "This is a collection of LaTeX packages for: producing colour including
graphics (e.g., PostScript) files rotation and scaling of text in LaTeX
documents.  It comprises the packages @code{color}, @code{graphics},
@code{graphicx}, @code{trig}, @code{epsfig}, @code{keyval}, and
@code{lscape}.")
    (license license:lppl1.3c)))

(define-deprecated-package texlive-latex-graphics texlive-graphics)

(define-public texlive-greek-fontenc
  (package
    (name "texlive-greek-fontenc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/greek-fontenc/"
                                     "tex/latex/greek-fontenc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xwg1vnw7z5ik1n106lr1wfq156j1ap8j9z36qdhi5sxqyx9zvm7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/greek-fontenc")
    (synopsis "LICR macros and encoding definition files for Greek")
    (description
     "The package provides Greek LICR macro definitions and encoding
definition files for Greek text font encodings for use with @code{fontenc}.")
    (license license:lppl1.3+)))

(define-public texlive-gsftopk
  (package
    (name "texlive-gsftopk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/gsftopk.1"
                                     "doc/man/man1/gsftopk.man1.pdf"
                                     "dvips/gsftopk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qlac704qbm7kq762z0b887wfncprpcm8zj2lb4nag0wzdrrjdq5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-gsftopk-bin))
    (home-page "https://ctan.org/pkg/gsftopk")
    (synopsis "Convert Ghostscript fonts to PK files")
    (description
     "Designed for use with @command{xdvi} and @command{dvips}, this utility
converts Adobe Type 1 fonts to PK bitmap format.  It should not ordinarily be
much used nowadays, since both its target applications are now capable of
dealing with Type 1 fonts, direct.")
    (license license:gpl3+)))

(define-public texlive-gsftopk-bin
  (package
    (inherit texlive-bin)
    (name "texlive-gsftopk-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("gsftopk"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-gsftopk" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/gsftopk"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/gsftopk"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-gsftopk))
    (synopsis "Binary for @code{texlive-gsftopk}")
    (description
     "This package provides the binary for @code{texlive-gsftopk}.")
    (license (package-license texlive-gsftopk))))

(define-public texlive-hycolor
  (package
    (name "texlive-hycolor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hycolor/" "source/latex/hycolor/"
                                     "tex/latex/hycolor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hmkx37wwmznxjqqnca87shy7qrgqrh2cn5r941ddgivnym31xbh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hycolor")
    (synopsis "Colour for packages @code{hyperref} and @code{bookmark}")
    (description
     "This package provides the code for the color option that is used by
packages @code{hyperref} and @code{bookmark}.  It is not intended as a package
for the user.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-hycolor texlive-hycolor)

(define-public texlive-xcjk2uni
  (package
    (name "texlive-xcjk2uni")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xcjk2uni/"
                                     "source/latex/xcjk2uni/"
                                     "tex/latex/xcjk2uni/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vjp47ngrirrvbnk4vnm5lbysj3qlbwxbfc1szc22gaikm52ggaq"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ttfutils")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'build 'copy-ctxdocstrip.tex
            ;; There's a circular dependency between this package (where
            ;; `ctex' should be a native input) and `ctex' (where this package
            ;; is a propagated input).  To work around this, install the
            ;; specific "ctxdocstrip.tex" file from `ctex' in the build
            ;; directory and set TEXINPUTS variable accordingly so the process
            ;; can find it.
            (lambda* (#:key inputs #:allow-other-keys)
              (install-file (search-input-file inputs
                                               "tex/generic/ctex/ctxdocstrip.tex")
                            "build/")
              (setenv "TEXINPUTS" (string-append (getcwd) "/build:")))))))
    (native-inputs (list (package-source texlive-ctex) texlive-ttfutils))
    (home-page "https://ctan.org/pkg/xcjk2uni")
    (synopsis "Convert CJK characters to Unicode, in pdfTeX")
    (description
     "The package provides commands to convert CJK characters to Unicode in
non-UTF-8 encoding; it provides hooks to support hyperref in producing correct
bookmarks.  The bundle also provides @code{/ToUnicode} mapping file(s) for
a CJK subfont; these can be used with the cmap package, allowing searches of,
and cut-and-paste operations on a PDF file generated by pdfTeX.")
    (license license:lppl1.3c)))

(define-public texlive-xcolor
  (package
    (name "texlive-xcolor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xcolor/" "dvips/xcolor/"
                                     "source/latex/xcolor/" "tex/latex/xcolor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gffdw5klhsyfcnicjw0fpqwgid8qfrfbqwxif7wsbw1q217bmmy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xcolor")
    (synopsis "Driver-independent color extensions for LaTeX and pdfLaTeX")
    (description
     "The package starts from the basic facilities of the colorcolor package,
and provides easy driver-independent access to several kinds of color tints,
shades, tones, and mixes of arbitrary colors.  It allows a user to select
a document-wide target color model and offers complete tools for conversion
between eight color models.  Additionally, there is a command for alternating
row colors plus repeated non-aligned material (like horizontal lines) in
tables.")
    (license license:lppl1.2+)))

(define-deprecated-package texlive-latex-xcolor texlive-xcolor)

(define-public texlive-xltxtra
  (package
    (name "texlive-xltxtra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xltxtra/"
                                     "source/xelatex/xltxtra/"
                                     "tex/xelatex/xltxtra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dh3nnr4xhb85zp3q4jdzqvfghg8m9zvpsvvrmmp0q3ayf0c1dbj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-metalogo))
    (home-page "https://ctan.org/pkg/xltxtra")
    (synopsis "Extras for LaTeX users of XeTeX")
    (description
     "This package was previously used to provide a number of features that
were useful for typesetting documents with XeLaTeX.  Many of those features
have now been incorporated into the @code{fontspec} package and other
packages, but the package persists for backwards compatibility.  Nowadays,
loading @code{xltxtra} will: load the @code{fontspec}, @code{metalogo}, and
@code{realscripts} packages; redefine @code{\\showhyphens} so it works
correctly; and define two extra commands: @code{\\vfrac} and
@code{\\namedglyph}.")
    (license license:lppl1.3c)))

(define-public texlive-xml2pmx
  (package
    (name "texlive-xml2pmx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/xml2pmx.1"
                                     "doc/man/man1/xml2pmx.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d3ralqh0b71scd59b4hmm707yfrz1rj28ni2lzkhbb1ql73bvah"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-xml2pmx-bin))
    (home-page "https://ctan.org/pkg/xml2pmx")
    (synopsis "Convert MusicXML to PMX and MusiXTeX")
    (description
     "This program translates MusicXML files to input suitable for PMX and
MusiXTeX processing.")
    (license license:gpl3+)))

(define-public texlive-xml2pmx-bin
  (package
    (inherit texlive-bin)
    (name "texlive-xml2pmx-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("xml2pmx"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-xml2pmx" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/xml2pmx"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/xml2pmx"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-xml2pmx))
    (synopsis "Binary for @code{texlive-xml2pmx}")
    (description
     "This package provides the binary for @code{texlive-xml2pmx}.")
    (license (package-license texlive-xml2pmx))))

(define-public texlive-xmltexconfig
  (package
    (name "texlive-xmltexconfig")
    (version "2024.2")
    ;; XXX: The package is actually empty in TeX Live. Treat it as
    ;; a meta-package until it is removed from TeX Live.
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (home-page "https://ctan.org/pkg/xmltexconfig")
    (synopsis "Configuration files for @code{xmltex} and @code{pdfxmltex}")
    (description "This package provides configuration files for @code{xmltex}
and @code{pdfxmltex}.")
    (license license:public-domain)))

(define-public texlive-xmltex
  (package
    (name "texlive-xmltex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/otherformats/xmltex/base/"
                                     "tex/xmltex/base/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rqwsapba8zs2ijjs7lpzksm20jqb8zbmanpw7wmdp2rq26ahylh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:create-formats #~(list "pdfxmltex" "xmltex")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'install 'install-wrappers
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((pdftex (search-input-file inputs "/bin/pdftex")))
                (mkdir-p (string-append #$output "/bin"))
                (symlink pdftex (string-append #$output "/bin/xmltex"))
                (symlink pdftex (string-append #$output "/bin/pdfxmltex"))))))))
    (propagated-inputs
     (list texlive-babel
           texlive-cm
           texlive-firstaid
           texlive-hyphen-complete
           texlive-l3backend
           texlive-l3kernel
           texlive-latex
           texlive-latex-fonts
           texlive-latexconfig
           texlive-pdftex
           texlive-tex
           texlive-tex-ini-files
           texlive-unicode-data
           texlive-xmltexconfig))
    (home-page "https://ctan.org/pkg/xmltex")
    (synopsis "Support for parsing XML documents")
    (description
     "The package provides an implementation of a parser for documents
matching the XML 1.0 and XML Namespace Recommendations.  Element and attribute
names, as well as character data, may use any characters allowed in XML, using
UTF-8 or a suitable 8-bit encoding.")
    (license license:lppl1.0+)))        ;per xmltex/base/readme.txt

(define-public texlive-xpiano
  (package
    (name "texlive-xpiano")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xpiano/" "source/latex/xpiano/"
                                     "tex/latex/xpiano/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nk8v0d641cr4mg4l2k0fv7pl9b26nyi30k4px5wajwm976f042p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xpiano")
    (synopsis "Extension of the @code{piano} package")
    (description
     "This package provides macros for typesetting virtual keyboards limited
to two octaves for showing notes represented by a colored circle.  Optionally,
the number used for pitch analysis can be shown.  It is an extension of
@file{piano.sty}.  It features extended syntax and several options, like
setting the color, adding numbers for pitch analysis, one or two octaves, and
others.")
    (license license:lppl1.3+)))

(define-public texlive-xpinyin
  (package
    (name "texlive-xpinyin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xpinyin/" "source/latex/xpinyin/"
                                     "tex/latex/xpinyin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fxsnvmkm66rfq08j03sch24maw0wgb8dhl73r2rf6gwxzf4imc5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          ;; FIXME: The build process requires Lua sockets and Unihan to be
          ;; available.  Building it also introduces a circular dependency
          ;; with TEXLIVE-CTEX, and a reproducibility issue with
          ;; "xpinyin-database.def".  Sorry, this is a bit too much.
          (delete 'build))))
    (home-page "https://ctan.org/pkg/xpinyin")
    (synopsis "Automatically add pinyin to Chinese characters")
    (description
     "The package is written to simplify the input of Hanyu Pinyin.  Macros are
provided that automatically add pinyin to Chinese characters.")
    (license license:lppl1.3c)))

(define-public texlive-hyperref
  (package
    (name "texlive-hyperref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hyperref/"
                                     "source/latex/hyperref/"
                                     "tex/latex/hyperref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mb8fm2759mi9gfxbmg97db2g510ay2wmqjkk93xmgkg768rajbc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-atbegshi
           texlive-auxhook
           texlive-bitset
           texlive-etexcmds
           texlive-gettitlestring
           texlive-hycolor
           texlive-intcalc
           texlive-kvdefinekeys
           texlive-kvsetkeys
           texlive-letltxmacro
           texlive-ltxcmds
           texlive-pdfescape
           texlive-refcount
           texlive-rerunfilecheck
           texlive-stringenc
           texlive-url
           texlive-zapfding))
    (home-page "https://www.ctan.org/pkg/hyperref")
    (synopsis "Extensive support for hypertext in LaTeX")
    (description
     "The @code{hyperref} package is used to handle cross-referencing commands
in LaTeX to produce hypertext links in the document.  The package provides
backends for the @code{\\special} set defined for HyperTeX DVI processors; for
embedded @code{pdfmark} commands for processing by Acrobat
Distiller (@code{dvips} and Y&Y's @code{dvipsone}); for Y&Y's @code{dviwindo};
for PDF control within pdfTeX and @code{dvipdfm}; for TeX4ht; and for VTeX's
pdf and HTML backends.  The package is distributed with the @code{backref} and
@code{nameref} packages, which make use of the facilities of
@code{hyperref}.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-hyperref texlive-hyperref)

(define-public texlive-hypdoc
  (package
    (name "texlive-hypdoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hypdoc/" "source/latex/hypdoc/"
                                     "tex/latex/hypdoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "158x0aa6vdvd8l3k1blqf5qjyaqg3mdmixscs1vvqpymdbahqgi6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hypdoc")
    (synopsis "Hyper extensions for @file{doc.sty}")
    (description
     "This package adds hypertext features to the package @code{doc} that is
used in the documentation system of LaTeX2e.  Bookmarks are added and
references are linked as far as possible.")
    (license license:lppl1.3c)))

(define-public texlive-hyperxmp
  (package
    (name "texlive-hyperxmp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hyperxmp/"
                                     "doc/man/man1/hyperxmp-add-bytecount.1"
                                     "doc/man/man1/hyperxmp-add-bytecount.man1.pdf"
                                     "scripts/hyperxmp/"
                                     "source/latex/hyperxmp/"
                                     "tex/latex/hyperxmp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03ipfjyw8wkgmvlaljnaxb2n3imxfs7hzwm9caw78jf6v5ji70ll"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "hyperxmp-add-bytecount.pl")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-build
            (lambda _
              (delete-file "source/latex/hyperxmp/hyperxmp-stds.tex"))))))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/hyperxmp")
    (synopsis "Embed XMP metadata within a LaTeX document")
    (description
     "XMP (eXtensible Metadata Platform) is a mechanism proposed by Adobe for
embedding document metadata, within the document itself.  The metadata is
designed to be easy to extract, even by programs that are oblivious to the
document's file format.  The @code{hyperxmp} package makes it trivial for
LaTeX document authors to store XMP metadata in their documents as well.  It
is compatible with pdfLaTeX, XeLaTeX, LaTeX+dvipdfm, and LaTeX+dvips+ps2pdf.")
    (license license:lppl1.3c)))

(define-public texlive-latex-brochure
  (package
    (name "texlive-latex-brochure")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-brochure/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xba20sy8q10ac9hxwnz9axh853hrj06vp7mfn12ajax31miznmy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-brochure")
    (synopsis "Publicity flyer for LaTeX")
    (description
     "The document is designed as a publicity flyer for LaTeX, but also serves
as an interesting showcase of what LaTeX can do.  The flyer is designed for
printing, double-sided, on A3 paper, which would then be folded once.")
    (license license:lppl)))

(define-public texlive-latex-course
  (package
    (name "texlive-latex-course")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-course/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00s521wrc5gqqs5jvd1ljl04nighy8q79r0ama783ic27a3k0qhi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-course")
    (synopsis "LaTeX course as a projected presentation")
    (description
     "This package provides a brief Beamer-based slide presentation on LaTeX,
based on Rupprecht's LaTeX 2.09 course, which the author has translated to
English and taken to LaTeX2e and Beamer.  Additional material was taken from
the @emph{Short Introduction to LaTeX}.")
    (license license:gpl3+)))

(define-public texlive-latex-doc-ptr
  (package
    (name "texlive-latex-doc-ptr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-doc-ptr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mamlfnxzi4lwh5cpss8zcfr64jdnf6vnj9fp48accrqdj2rpfs2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-doc-ptr")
    (synopsis "Direction-finder for LaTeX resources available online")
    (description
     "This package provides a brief set of recommendations for users who need
online documentation of LaTeX.  The document supports the need for
documentation of LaTeX itself, in distributions.")
    (license license:public-domain)))

(define-public texlive-latex-for-undergraduates
  (package
    (name "texlive-latex-for-undergraduates")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-for-undergraduates/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03s686vbzpjv71vlp5931vxyx8lckvl5819agh4688h9m98w54s9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-for-undergraduates")
    (synopsis "Tutorial aimed at introducing undergraduate students to LaTeX")
    (description
     "This package provides a tutorial aimed at introducing undergraduate
students to LaTeX, including an introduction to LaTeX Workshop in Visual
Studio Code and an example package of user-defined LaTeX commands.")
    (license license:public-domain)))

(define-public texlive-latex-graphics-companion
  (package
    (name "texlive-latex-graphics-companion")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-graphics-companion/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01zs32gck1sl9zlbhghyjmjwxyvw0jha5vl2hd10knyrb3z4dhxc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lgc-examples")
    (synopsis "Examples from @emph{The LaTeX Graphics Companion}")
    (description
     "This package contains the source of the examples printed in @emph{The
LaTeX Graphics Companion} book, together with necessary supporting files.")
    (license license:lppl)))

(define-public texlive-latex-refsheet
  (package
    (name "texlive-latex-refsheet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-refsheet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "169h1syday30qiw032k14fhxikdwszggvqz8b9ga4i9wwxf1vh4m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-refsheet")
    (synopsis "LaTeX reference sheet for a thesis with KOMA-Script")
    (description
     "This LaTeX reference sheet is for writing a thesis using the KOMA-Script
document classes (@code{scrartcl}, @code{scrreprt}, @code{scrbook}) and all
the packages needed for a thesis in natural sciences.")
    (license license:lppl1.3c)))

(define-public texlive-latex-veryshortguide
  (package
    (name "texlive-latex-veryshortguide")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-veryshortguide/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17i8zmr7mjfrx911psdy9cbn05c5inn4ixqmnjkpr9sbgsninyc4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-veryshortguide")
    (synopsis "The Very Short Guide to LaTeX")
    (description
     "This is a 4-page reminder of what LaTeX does.  It is designed for
printing on A4 paper, double-sided, and folding once to A5.  Such an imposed
version of the document is provided in the distribution, as PDF.  An analogous
version is provided in legal format.")
    (license license:lppl1.3+)))

(define-public texlive-latex-web-companion
  (package
    (name "texlive-latex-web-companion")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-web-companion/apa/"
                                     "doc/latex/latex-web-companion/apb/"
                                     "doc/latex/latex-web-companion/apc/"
                                     "doc/latex/latex-web-companion/ch2/"
                                     "doc/latex/latex-web-companion/ch3/"
                                     "doc/latex/latex-web-companion/ch4/"
                                     "doc/latex/latex-web-companion/ch6/"
                                     "doc/latex/latex-web-companion/ch7/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v018lwf88z3qmzyqpyvfql7dbwk5a9r0wj3jfjc9cp2ksl8zf8f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lwc-examples")
    (synopsis "Examples from @emph{The LaTeX Web Companion}")
    (description
     "This package contains the source of the examples printed in @emph{The
LaTeX Web Companion} book, together with necessary supporting files.")
    (license license:lppl)))

(define-public texlive-latex2e-help-texinfo
  (package
    (name "texlive-latex2e-help-texinfo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/info/latex2e.info"
                                     "doc/latex/latex2e-help-texinfo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rk69n89hl67qfbi5mmb4msaibychsk9a83dx593170ayiir6s6g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex2e-help-texinfo")
    (synopsis "Unofficial reference manual covering LaTeX2e")
    (description
     "This is an unofficial reference manual for LaTeX.  It is provided as
Texinfo source.  This is a collaborative development, and details of getting
involved are to be found on the package home page.")
    (license license:fdl1.1+)))

(define-public texlive-latex4wp
  (package
    (name "texlive-latex4wp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex4wp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a569y6vss3glz1il4hg2f6718mj24spp4ahdj6v7k6y7ppa1zii"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex4wp")
    (synopsis "LaTeX guide specifically designed for word processor users")
    (description
     "@emph{LaTeX for Word Processor Users} is a guide that helps converting
knowledge and techniques of word processing into the LaTeX typesetting
environment.  It aims at helping such users use LaTeX instead.")
    (license license:fdl1.3+)))

(define-public texlive-latex4wp-it
  (package
    (name "texlive-latex4wp-it")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex4wp-it/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14r86fwhb9zafmyv05pqfi9962dpxj7wq94acm43gv8m2rsjp52k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex4wp-it")
    (synopsis "LaTeX guide for word processor users, in Italian")
    (description
     "The package provides a version of the @emph{LaTeX for Word Processor
Users} document in Italian.")
    (license license:fdl1.3+)))

(define-public texlive-latexcheat
  (package
    (name "texlive-latexcheat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexcheat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1383rsi21ma0291asi779bjr33m7fii019di8gv8kxwgci692fz0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexcheat")
    (synopsis "LaTeX cheat sheet")
    (description
     "This package provides a LaTeX reference sheet for writing scientific
papers.  Unlike many other such sheets, this sheet does not focus on
typesetting mathematics, though it does list some symbols.")
    (license license:lppl)))

(define-public texlive-latexcheat-ptbr
  (package
    (name "texlive-latexcheat-ptbr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexcheat-ptbr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m636j9gdfpm4j1b679z5qw5ygbm6jp8xl9dzy6v5zzy695fcgaf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexcheat-ptbr")
    (synopsis "LaTeX cheat sheet, in Brazilian Portuguese")
    (description
     "This is a translation to Brazilian Portuguese of Winston Chang's LaTeX
cheat sheet.")
    (license license:lppl)))

(define-public texlive-latexcourse-rug
  (package
    (name "texlive-latexcourse-rug")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexcourse-rug/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "027siznmshk60flxgra7dgzvwbmgwvckwb6r257b91x3rm77anv5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexcourse-rug")
    (synopsis "LaTeX course book")
    (description
     "The package provides the book and practice files for a LaTeX course that
the author has give several times at the Rijksuniversiteit
Groningen (Netherlands).")
    (license license:fdl1.1+)))

(define-public texlive-latexfileinfo-pkgs
  (package
    (name "texlive-latexfileinfo-pkgs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexfileinfo-pkgs/"
                                     "source/latex/latexfileinfo-pkgs/"
                                     "tex/latex/latexfileinfo-pkgs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08afjj6im3bdxv3j0z6kg8yw0pyjl5164fqn0sx084zbdfwdfrqn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexfileinfo-pkgs")
    (synopsis "Comparison of packages showing LaTeX file information")
    (description
     "The package provides an HTML file that lists and compares CTAN packages
that display LaTeX source file information from @code{\\ProvidesClass},
@code{\\ProvidesFile}, and @code{\\ProvidesPackage} commands in the LaTeX
file.  Five packages of the author's, and several other packages are
discussed; revision control systems are mentioned briefly.")
    (license license:lppl1.3+)))

(define-public texlive-oberdiek
  (package
    (name "texlive-oberdiek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/oberdiek/" "doc/latex/oberdiek/"
                                     "source/latex/oberdiek/"
                                     "tex/generic/oberdiek/" "tex/latex/oberdiek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "126fsv65d60ixzyyyx1gpx8a4dd25k5jm599hl31zvdjcrk4p9sx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-auxhook
           texlive-grfext
           texlive-grffile
           texlive-iftex
           texlive-infwarerr
           texlive-kvoptions
           texlive-pdftexcmds))
    (home-page "https://www.ctan.org/pkg/oberdiek")
    (synopsis "Bundle of packages submitted by Heiko Oberdiek")
    (description
     "The bundle comprises various LaTeX packages, providing among others:
better accessibility support for PDF files; extensible chemists reaction
arrows; record information about document class(es) used; and many more.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-oberdiek texlive-oberdiek)

(define-public texlive-regexpatch
  (package
    (name "texlive-regexpatch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/regexpatch/"
                                     "source/latex/regexpatch/"
                                     "tex/latex/regexpatch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jv8hvkvq0yvc8mh68ybj8fvhf6kcdzwjin1czs45i26s0dpsngj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/regexpatch")
    (synopsis "High level patching of commands")
    (description
     "The package generalises the macro patching commands provided by
P. Lehmann's @code{etoolbox}.  The difference between this package and its
sibling @code{xpatch} is that this package sports a very powerful
@code{\\regexpatchcmd} based on the @code{l3regex} module of the LaTeX3
experimental packages.")
    (license license:lppl1.3c)))

(define-public texlive-rerunfilecheck
  (package
    (name "texlive-rerunfilecheck")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rerunfilecheck/"
                                     "source/latex/rerunfilecheck/"
                                     "tex/latex/rerunfilecheck/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m3rvjgw0hg3n7db8hpyq55lq7py4scm35bqbawpc5mn5pmh2zg1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-atveryend texlive-uniquecounter))
    (home-page "https://www.ctan.org/pkg/rerunfilecheck")
    (synopsis "Checksum based rerun checks on auxiliary files")
    (description
     "This package provides additional rerun warnings if some auxiliary files
have changed.  It is based on MD5 checksum, provided by pdfTeX.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-rerunfilecheck texlive-rerunfilecheck)

(define-public texlive-onedown
  (package
    (name "texlive-onedown")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/onedown/"
                                     "source/latex/onedown/"
                                     "tex/latex/onedown/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j4ymb1mz2wa189dy98mwv0550sj38wbridk2fx074dy2lfjxdm5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/onedown")
    (synopsis "Typeset bridge diagrams")
    (description
     "This is a comprehensive package to draw all sorts of bridge diagrams,
including hands, bidding tables, trick tables, and expert quizzes.

It works for all font sizes.  Different fonts for hands, bidding diagrams and
compass are possible.  It also provides annotations to card and bidding
diagrams, automated check on consistency of suit and hands, and multilingual
output of bridge terms.")
    (license license:lppl1.3+)))

(define-public texlive-tools
  (package
    (name "texlive-tools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tools/"
                                     "source/latex/tools/"
                                     "tex/latex/tools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fkpjgaagf36hq1wxi4a57ijcgdzvlmwlp6alfb05w2ym628zz3h"))))
    (outputs '("out" "doc"))
    (arguments
     (list #:build-targets #~(list "tools.ins")))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tools")
    (synopsis "The LaTeX standard tools bundle")
    (description "This package provides a collection of simple tools that
are part of the LaTeX required tools distribution, comprising the packages:
@code{afterpage}, @code{array}, @code{bm}, @code{calc}, @code{dcolumn},
@code{delarray}, @code{enumerate}, @code{fileerr}, @code{fontsmpl},
@code{ftnright}, @code{hhline}, @code{indentfirst}, @code{layout},
@code{longtable}, @code{multicol}, @code{rawfonts}, @code{showkeys},
@code{somedefs}, @code{tabularx}, @code{theorem}, @code{trace},
@code{varioref}, @code{verbatim}, @code{xr}, and @code{xspace}.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-tools texlive-tools)

(define-public texlive-url
  (package
    (name "texlive-url")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/url/" "tex/latex/url/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "184m40wgnx939ky2hbxnj0v9aak023ldrhgffp0lgyk9wdqpxlqg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/url")
    (synopsis "Verbatim with URL-sensitive line breaks")
    (description "The command @code{\\url} is a form of verbatim command that
allows linebreaks at certain characters or combinations of characters, accepts
reconfiguration, and can usually be used in the argument to another command.
The command is intended for email addresses, hypertext links,
directories/paths, etc., which normally have no spaces, so by default the
package ignores spaces in its argument.  However, a package option allows
spaces, which is useful for operating systems where spaces are a common part
of file names.")
    ;; The license header states that it is under LPPL version 2 or later, but
    ;; the latest version is 1.3c.
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-url texlive-url)

(define-public texlive-l3experimental
  (package
    (name "texlive-l3experimental")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l3experimental/"
                                     "source/latex/l3experimental/l3benchmark/"
                                     "source/latex/l3experimental/l3draw/"
                                     "source/latex/l3experimental/l3graphics/"
                                     "source/latex/l3experimental/l3opacity/"
                                     "source/latex/l3experimental/l3str/"
                                     "source/latex/l3experimental/l3sys-shell/"
                                     "source/latex/l3experimental/xcoffins/"
                                     "source/latex/l3experimental/xgalley/"
                                     "tex/latex/l3experimental/l3benchmark/"
                                     "tex/latex/l3experimental/l3draw/"
                                     "tex/latex/l3experimental/l3graphics/"
                                     "tex/latex/l3experimental/l3opacity/"
                                     "tex/latex/l3experimental/l3str/"
                                     "tex/latex/l3experimental/l3sys-shell/"
                                     "tex/latex/l3experimental/xcoffins/"
                                     "tex/latex/l3experimental/xgalley/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vrggg8id8fyndzq0vr76vdh4vi8xixjs3b09gq7if48bvjrz3h4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-l3kernel))
    (home-page "https://ctan.org/pkg/l3experimental")
    (synopsis "Experimental LaTeX3 concepts")
    (description
     "The l3experimental packages are a collection of experimental
implementations for aspects of the LaTeX3 kernel, dealing with higher-level
ideas such as the Designer Interface.  Some of them work as stand alone
packages, providing new functionality, and can be used on top of LaTeX2e with
no changes to the existing kernel.  The present release includes:
@itemize @code
@item l3benchmark
for measuring the time taken by TeX to run certain code;
@item l3draw
a code-level interface for constructing drawings;
@item l3graphics
an interface for the inclusion of graphics files;
@item l3opacity
support for opacity in PDF output;
@item l3str
support for string manipulation;
@item l3bitset
support for bit vectors;
@item l3sys-shell
which provides abstractions for common shell functions like file
deletion and copying;
@item xcoffins
which allows the alignment of boxes using a series of handle positions,
supplementing the simple TeX reference point;
@item xgalley
which controls boxes receiving text for typesetting.
@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-l3kernel
  (package
    (name "texlive-l3kernel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l3kernel/"
                                     "source/latex/l3kernel/"
                                     "tex/latex/l3kernel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ajz0h02l8ykpxxqvq8djjnv7fcidfadcyj11mxifhfm6ii589qk"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tex-engine "tex"
      #:tex-format #f
      #:texlive-latex-bin? #f))
    (native-inputs (list texlive-latex))
    (propagated-inputs (list texlive-l3backend))
    (home-page "https://ctan.org/pkg/l3kernel")
    (synopsis "LaTeX3 programming conventions")
    (description
     "The l3kernel bundle provides an implementation of the LaTeX3 programmers
interface, as a set of packages that run under LaTeX2e.  The interface
provides the foundation on which the LaTeX3 kernel and other future code are
built: it is an API for TeX programmers.  The packages are set up so that the
LaTeX3 conventions can be used with regular LaTeX2e packages.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-l3kernel texlive-l3kernel)

(define-public texlive-l3backend
  (package
    (name "texlive-l3backend")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l3backend/"
                                     "dvips/l3backend/"
                                     "source/latex/l3backend/"
                                     "tex/latex/l3backend/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y0jf1gz37vwp7hvi26y83iy9jgjp2drm6v6wq8yayap293jdfk0"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex")))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-engine "tex"
           #:tex-format #f
           #:texlive-latex-bin? #f))
    (native-inputs (list texlive-latex))
    (home-page "https://ctan.org/pkg/l3backend")
    (synopsis "LaTeX3 backend drivers")
    (description
     "This package forms parts of expl3, and contains the code used to
interface with backends (drivers) across the expl3 codebase.  The functions
here are defined differently depending on the engine in use.  As such, these
are distributed separately from l3kernel to allow this code to be updated on
an independent schedule.")
    (license license:lppl1.3c)))

(define-deprecated-package texlive-dvips-l3backend texlive-l3backend)
(define-deprecated-package texlive-latex-l3backend texlive-l3backend)

(define-public texlive-l3packages
  (package
    (name "texlive-l3packages")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l3packages/"
                                     "source/latex/l3packages/l3keys2e/"
                                     "source/latex/l3packages/xfp/"
                                     "source/latex/l3packages/xparse/"
                                     "source/latex/l3packages/xtemplate/"
                                     "tex/latex/l3packages/l3keys2e/"
                                     "tex/latex/l3packages/xfp/"
                                     "tex/latex/l3packages/xparse/"
                                     "tex/latex/l3packages/xtemplate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "141f5lyybhyg9dncxxsl3npgyysk6ac8wpbagpmqvymfa6sqqrqx"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex")))
    (build-system texlive-build-system)
    (arguments
     (list #:build-targets
           '(list "l3keys2e.ins"
                  "xparse.ins"
                  "xfrac.ins"
                  "xfp.ins"
                  "xtemplate.ins")
           #:tex-engine "tex"
           #:tex-format #f
           #:texlive-latex-bin? #f))
    (native-inputs (list texlive-latex))
    (propagated-inputs (list texlive-l3kernel))
    (home-page "https://ctan.org/pkg/l3packages")
    (synopsis "High-level LaTeX3 concepts")
    (description
     "This collection contains implementations for aspects of the LaTeX3
kernel, dealing with higher-level ideas such as the Designer Interface.  The
packages here are considered broadly stable (The LaTeX3 Project does not
expect the interfaces to alter radically).  These packages are built on
LaTeX2e conventions at the interface level, and so may not migrate in the
current form to a stand-alone LaTeX3 format.

Packages provided are @code{xparse}, which provides a high-level interface for
declaring document commands @code{xfp}, an expandable IEEE 754 FPU for LaTeX,
@code{l3keys2e}, which makes the facilities of the kernel module l3keys
available for use by LaTeX 2e packages, @code{xtemplate}, which provides
a means of defining generic functions using a key-value syntax, and
@code{xfrac}, which provides flexible split-level fractions.")
    (license license:lppl1.3c)))

(define-deprecated-package texlive-latex-l3packages texlive-l3packages)

(define-public texlive-fonts-churchslavonic
  (package
    (name "texlive-fonts-churchslavonic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fonts-churchslavonic/"
                                     "fonts/opentype/public/fonts-churchslavonic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yq641kmsh52gc66h559h6cgcd46dq1q10gnq3g2x77jv2b39a5r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fonts-churchslavonic")
    (synopsis "Fonts for typesetting in Church Slavonic language")
    (description
     "The package provides Unicode-encoded OpenType fonts for Church Slavonic
which are intended for Unicode TeX engines only.")
    (license license:silofl1.1)))

(define-public texlive-fontspec
  (package
    (name "texlive-fontspec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fontspec/"
                                     "source/latex/fontspec/"
                                     "tex/latex/fontspec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yz1jkwyybrj3qixmdaxxmi8p4a9kz5zyawl6vcmxys6wlxiyqr2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-euenc
           texlive-iftex
           texlive-l3kernel
           texlive-l3packages
           texlive-lm
           texlive-xunicode))
    (home-page "https://ctan.org/pkg/fontspec")
    (synopsis "Advanced font selection in XeLaTeX and LuaLaTeX")
    (description
     "Fontspec is a package for XeLaTeX and LuaLaTeX.  It provides an
automatic and unified interface to feature-rich AAT and OpenType fonts through
the NFSS in LaTeX running on XeTeX or LuaTeX engines.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-fontspec texlive-fontspec)

(define-public texlive-grffile
  (package
    (name "texlive-grffile")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/grffile/"
                                     "source/latex/grffile/"
                                     "tex/latex/grffile/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01mlvdhqwfwj1l91jfvkdfbn1hj95rlb6xhwikzx1r8qrz5whw7n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/grffile")
    (synopsis "Extended file name support for graphics (legacy package)")
    (description
     "The original @code{grffile} package extended the file name processing
of the @code{graphics} package to support a larger range of file names.  The
base LaTeX code now supports multiple dots and spaces, and this package by
default is a stub that just loads @code{graphicx}.")
    (license license:lppl1.3c+)))

(define-public texlive-sanskrit
  (package
    (name "texlive-sanskrit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sanskrit/"
                                     "fonts/source/public/sanskrit/"
                                     "fonts/tfm/public/sanskrit/"
                                     "source/latex/sanskrit/"
                                     "tex/latex/sanskrit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qc0mylgdcc4rnid29was51s6mzil0smrs7kgnnrv8kvlb6mzydl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/sanskrit")
    (synopsis "Sanskrit support")
    (description
     "This package provides a font and pre-processor suitable for the
production of documents written in Sanskrit.  Type 1 versions of the fonts are
available.")
    (license license:lppl)))

(define-public texlive-sanskrit-t1
  (package
    (name "texlive-sanskrit-t1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/sanskrit-t1/"
                                     "fonts/map/dvips/sanskrit-t1/"
                                     "fonts/type1/public/sanskrit-t1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mv9ph7999y9shnq25k0w4sgcbvlf2gav5d1fpycjxan3h6rc7vi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sanskrit-t1")
    (synopsis "Type 1 version of @code{skt} fonts for Sanskrit")
    (description
     "The sanskrit-t1 font package provides Type 1 version of Charles Wikner's
@code{skt} font series for the Sanskrit language.")
    (license license:lppl)))

(define-public texlive-sansmath
  (package
    (name "texlive-sansmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sansmath/" "tex/latex/sansmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lqxfvmxan0c9s270jp8jw1a5s6ya1i4jlfp2xz2k4w0g0fryjpj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sansmath")
    (synopsis "Maths in a Sans font")
    (description
     "The package defines a new math version Sans, and a command
@code{\\sansmath} that behaves somewhat like @code{\\boldmath}.")
    (license license:public-domain)))

(define-public texlive-sansmathfonts
  (package
    (name "texlive-sansmathfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/sansmathfonts/"
                                     "fonts/map/dvips/sansmathfonts/"
                                     "fonts/source/public/sansmathfonts/"
                                     "fonts/tfm/public/sansmathfonts/"
                                     "fonts/type1/public/sansmathfonts/"
                                     "fonts/vf/public/sansmathfonts/"
                                     "tex/latex/sansmathfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13i8sn4v5srcxsq0qw7q5lmw5271lzksc5xsgjrvg98s38zg7pa5"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-amsfonts"
                                               "texlive-cm"
                                               "texlive-ec")))
    (build-system texlive-build-system)
    (native-inputs
     (list texlive-amsfonts texlive-cm texlive-ec texlive-metafont))
    (home-page "https://ctan.org/pkg/sansmathfonts")
    (synopsis "Correct placement of accents in sans-serif maths")
    (description
     "This package provides sans serif small caps and math fonts for use with
Computer Modern.")
    (license license:lppl1.3c)))

(define-public texlive-stringenc
  (package
    (name "texlive-stringenc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/stringenc/"
                                     "source/latex/stringenc/"
                                     "tex/generic/stringenc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pz9fgn3zc1brbpkw2kkphsv8q6vpvbn51n0smmfl1n2m97fni9j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stringenc")
    (synopsis "Converting a string between different encodings")
    (description
     "This package provides @code{\\StringEncodingConvert} for converting a
string between different encodings.  Both LaTeX and plain-TeX are supported.")
    (license license:lppl1.3c+)))

(define-public texlive-svg-inkscape
  (package
    (name "texlive-svg-inkscape")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/svg-inkscape/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gw3jp7wph0ys6372z2rgjwlpmmawdax7xpgrp4hzg5hxz748pn5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/svg-inkscape")
    (synopsis "How to include an SVG image in LaTeX using Inkscape")
    (description
     "The document demonstrates the use of SVG images in LaTeX documents.
Using the @samp{PDF+LaTeX output} option of Inkscape, it is possible to
include SVG in documents, in which LaTeX typesets the text.  This results in
uniform text style throughout the document, including text in images;
moreover, LaTeX commands may be used in the image's text, providing such
things as mathematics and references.

The document also describes how to automate the conversion from SVG to
@samp{PDF+LaTeX} using Inkscape.")
    (license license:lppl1.3+)))

(define-public texlive-svn-prov
  (package
    (name "texlive-svn-prov")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/svn-prov/" "source/latex/svn-prov/"
                                     "tex/latex/svn-prov/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w416cf1yb1m2j9y38002zq6rbhbmkafi7w100y9m9lrzya0ws06"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/svn-prov")
    (synopsis "Subversion variants of @code{\\Provides}... macros")
    (description
     "The package introduces Subversion variants of the standard LaTeX macros
@code{\\ProvidesPackage}, @code{\\ProvidesClass} and @code{\\ProvidesFile}
where the file name and date is extracted from Subversion Id keywords.  The
file name may also be given explicitly as an optional argument.")
    (license license:lppl)))

(define-public texlive-l3build
  (package
    (name "texlive-l3build")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l3build/"
                                     "doc/man/man1/l3build.1"
                                     "doc/man/man1/l3build.man1.pdf"
                                     "scripts/l3build/"
                                     "source/latex/l3build/"
                                     "tex/latex/l3build/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sx4719vvy1jpyq3dwm59pf0acakf21lidmdmjz8sfwp14xbk7sy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "l3build.lua")))
    (propagated-inputs (list texlive-luatex))
    (home-page "https://ctan.org/pkg/l3build")
    (synopsis "Testing and building system for LaTeX")
    (description
     "The @code{l3build} module is designed to support the development of
high-quality LaTeX code by providing: a unit testing system, automated
typesetting of code sources, and a reliable packaging system for CTAN
releases.  The bundle consists of a Lua script to run the tasks and
a @file{.tex} file which provides the testing environment.")
    (license license:lppl1.3c+)))

(define-public texlive-luabidi
  (package
    (name "texlive-luabidi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luabidi/"
                                     "tex/lualatex/luabidi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hapqr3mqbnx1087rbxb4hd7ynj53hhq97rnr9nlwkj19jw6rra3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luabidi")
    (synopsis "Bidi functions for LuaTeX")
    (description
     "The package attempts to emulate the XeTeX @code{bidi} package, in the
context of LuaTeX.")
    (license (list license:lppl1.3c license:expat))))

(define-public texlive-luacode
  (package
    (name "texlive-luacode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luacode/"
                                     "source/lualatex/luacode/"
                                     "tex/lualatex/luacode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dyld5yb57p3j7wz591plbgjy7dk7ngn8cxw1lfmvx8iprgk1f8d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luacode")
    (synopsis "Helper for executing Lua code from within TeX")
    (description
     "Executing Lua code from within TeX with directlua can sometimes be
tricky: there is no easy way to use the percent character, counting
backslashes may be hard, and Lua comments don't work the way you expect.  The
package provides the @code{\\luaexec} command and the @code{luacode}
environments to help with these problems.")
    (license license:lppl1.3+)))

(define-public texlive-lualatex-doc-de
  (package
    (name "texlive-lualatex-doc-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lualatex-doc-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vnmgs475bzbqi14m9sm45cwjfsbvbk45wkb8m73j1bnk7wg7hh4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lualatex-doc-de")
    (synopsis "Guide to LuaLaTeX (German translation)")
    (description
     "The document is a German translation of the map/guide to the world of
LuaLaTeX.  Coverage supports both new users and package developers.  Apart
from the introductory material, the document gathers information from several
sources, and offers links to others.")
    (license license:fdl1.3+)))

(define-public texlive-lualatex-math
  (package
    (name "texlive-lualatex-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/lualatex-math/"
                                     "source/lualatex/lualatex-math/"
                                     "tex/lualatex/lualatex-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rzzlq6a0c7sj1x83wqn5iwaiz3w9prcpz4lqbjlkgr7my4m052z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-etoolbox texlive-filehook))
    (home-page "https://ctan.org/pkg/lualatex-math")
    (synopsis "Fixes for mathematics-related LuaLaTeX issues")
    (description
     "The package patches a few commands of the LaTeX2e kernel and the
@code{amsmath} and @code{mathtools} packages to be more compatible with the
LuaTeX engine.  It is only meaningful for LuaLaTeX documents containing
mathematical formulas, and does not exhibit any new functionality.  The fixes
are mostly moved from the @code{unicode-math} package to this package since
they are not directly related to Unicode mathematics typesetting.")
    (license license:lppl1.3c)))

(define-public texlive-lualibs
  (package
    (name "texlive-lualibs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/lualibs/" "source/luatex/lualibs/"
                                     "tex/luatex/lualibs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07669vykws1h3q6s3m25rwpsdf4pzq8d90wpqjkvc5zn7lnk27wk"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex"
                                               "texlive-pdftex")))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (native-inputs (list texlive-latex texlive-pdftex))
    (home-page "https://ctan.org/pkg/lualibs")
    (synopsis "Additional Lua functions for LuaTeX macro programmers")
    (description
     "Lualibs is a collection of Lua modules useful for general programming.
The bundle is based on lua modules shipped with ConTeXt, and made available in
this bundle for use independent of ConTeXt.")
    (license license:gpl2)))

(define-deprecated-package texlive-luatex-lualibs texlive-lualibs)

(define-public texlive-lua-alt-getopt
  (package
    (name "texlive-lua-alt-getopt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/lua-alt-getopt/"
                                     "scripts/lua-alt-getopt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cizxzn33n3pn98xkqnxb8s6vdwkar3xrwhraqrs05pjfdn9d4wz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/lua-alt-getopt")
    (synopsis "Process application arguments as @code{getopt_long}")
    (description
     "This package provides a Lua module for processing application arguments
in the same way as BSD/GNU @code{getopt_long(3)} functions do.")
    (license license:expat)))

(define-public texlive-luatex
  (package
    (name "texlive-luatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/base/"
                                     "doc/man/man1/dviluatex.1"
                                     "doc/man/man1/dviluatex.man1.pdf"
                                     "doc/man/man1/luatex.1"
                                     "doc/man/man1/luatex.man1.pdf"
                                     "doc/man/man1/texlua.1"
                                     "doc/man/man1/texlua.man1.pdf"
                                     "doc/man/man1/texluac.1"
                                     "doc/man/man1/texluac.man1.pdf"
                                     "tex/generic/config/luatex-unicode-letters.tex"
                                     "web2c/texmfcnf.lua"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jcqymq0a2yyn7smbwl0inc6q7ly4x7hraq8wbx3r5qr9q63hlpg"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-kpathsea")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:create-formats #~(list "dviluatex" "luatex")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'customize-texmfcnf.lua
            (lambda _
              (substitute* "web2c/texmfcnf.lua"
                (("TEXMFDIST *=.*") "TEXMFDIST = os.getenv(\"GUIX_TEXMF\"),\n")
                (("TEXMFSYSVAR *=.*")
                 "TEXMFSYSVAR = \"$TEXMFDIST/../texmf-var\",\n")
                (("TEXMFSYSCONFIG *=.*")
                 "TEXMFSYSCONFIG = \"$TEXMFDIST/../texmf-config\",\n")
                (("TEXMF *=.*")
                 "TEXMF = \"{$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXMFSYSCONFIG,$TEXMFSYSVAR,$TEXMFDIST}\",\n")))))))
    (native-inputs (list texlive-kpathsea))
    (propagated-inputs
     (list texlive-cm
           texlive-etex
           texlive-hyphen-complete
           texlive-knuth-lib
           texlive-plain
           texlive-tex-ini-files
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/luatex")
    (synopsis "Extended version of pdfTeX using Lua")
    (description
     "LuaTeX is an extended version of pdfTeX using Lua as an embedded
scripting language.  The LuaTeX project's main objective is to provide an open
and configurable variant of TeX while at the same time offering downward
compatibility.  LuaTeX uses Unicode (as UTF-8) as its default input encoding,
and is able to use modern (OpenType) fonts (for both text and mathematics).
It should be noted that LuaTeX is still under development; its specification
has been declared stable, but absolute stability may not in practice be
assumed.")
    (license license:gpl2)))

(define-public texlive-luatexbase
  (package
    (name "texlive-luatexbase")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/luatexbase/"
                                     "source/luatex/luatexbase/"
                                     "tex/luatex/luatexbase/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nz2k9czqdmn08v75qa2bwanvcvyp9jmqcgwaxcy4fy4mpbrn8ra"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-ctablestack))
    (home-page "https://ctan.org/pkg/luatexbase")
    (synopsis "Basic resource management for LuaTeX code")
    (description
     "The LaTeX kernel builds in support for LuaTeX functionality, also
available as @file{ltluatex.tex} for users of plain TeX and those with older
LaTeX kernel implementations.  This support is based on ideas taken from the
original @code{luatexbase} package, but there are interface differences.  This
stub package provides a compatibility layer to allow existing packages to
upgrade smoothly to the new support structure.")
    (license license:lppl1.3+)))

(define-public texlive-luatex85
  (package
    (name "texlive-luatex85")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/luatex85/"
                                     "source/generic/luatex85/"
                                     "tex/generic/luatex85/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02j42g9c5smgbrk898fpvrgqlxqcqi8xch23awvnbvg6y54cs573"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luatex85")
    (synopsis "pdfTeX aliases for LuaTeX")
    (description
     "The package provides emulation of pdfTeX primitives for LuaTeX v0.85+.")
    (license license:lppl1.3+)))

(define-public texlive-luatexja
  (package
    (name "texlive-luatexja")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/luatexja/"
                                     "source/luatex/luatexja/"
                                     "tex/luatex/luatexja/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h03dzbi2lqrfsrhdcbfihnn3hni8wxzknam3hhqpdsql39i0drw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-luatexbase))
    (home-page "https://ctan.org/pkg/luatexja")
    (synopsis "Typeset Japanese with Lua(La)TeX")
    (description
     "The package offers support for typesetting Japanese documents with LuaTeX.
Either of the Plain and LaTeX2e formats may be used with the package.")
    (license license:bsd-3)))

(define-public texlive-luahbtex
  (package
    (name "texlive-luahbtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/luahbtex.1"
                                     "doc/man/man1/luahbtex.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y47q58jggwzy5hk9n2arh0g4a92pqcavadzxa38lpadf16zxbck"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:create-formats #~(list "luahbtex")))
    (propagated-inputs
     (list texlive-cm
           texlive-etex
           texlive-hyphen-complete
           texlive-knuth-lib
           texlive-luatex
           texlive-plain
           texlive-tex-ini-files
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/luahbtex")
    (synopsis "LuaTeX with HarfBuzz library for glyph shaping")
    (description
     "LuaHBTeX is a LuaTeX variant that can use the HarfBuzz engine for glyph
shaping, instead of LuaTeX's built-in shaper.")
    (license (package-license texlive-luatex))))

(define-public texlive-lua-uni-algos
  (package
    (name "texlive-lua-uni-algos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/lua-uni-algos/"
                                     "tex/luatex/lua-uni-algos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dx70msqkj101mgj88b7fmb28bghlrrrcy5v66m74gqb5i41dnc2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/lua-uni-algos")
    (synopsis "Unicode algorithms for LuaTeX")
    (description
     "Lua code working with Unicode data has to deal with quite some
challenges.  For example there are many canonically equivalent sequences which
should be treated in the same way, and even identifying a single character
becomes quite different once you have to deal with all kinds of combining
characters, emoji sequences and syllables in different scripts.  Therefore
@code{lua-uni-algos} wants to build a collection of small libraries
implementing algorithms to deal with lots of the details in Unicode, such that
authors of LuaTeX packages can focus on their actual functionality instead of
having to fight against the peculiarities of Unicode.  Given that this package
provides Lua modules, it is only useful in Lua(HB)TeX.  Additionally, it
expects an up-to-date version of the unicode-data package to be present.  This
package is intended for package authors only; no user-level functionality
provided.")
    (license license:lppl1.3+)))

(define-public texlive-luaotfload
  (package
    (name "texlive-luaotfload")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/luaotfload/"
                                     "doc/man/man1/luaotfload-tool.1"
                                     "doc/man/man1/luaotfload-tool.man1.pdf"
                                     "doc/man/man5/luaotfload.conf.5"
                                     "doc/man/man5/luaotfload.conf.man5.pdf"
                                     "scripts/luaotfload/"
                                     "source/luatex/luaotfload/"
                                     "tex/luatex/luaotfload/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rbf7m27r7nz5raj2gcm1y0hsrg3fxx5l7di15rl4vsz73ij38mk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:texlive-latex-bin? #f
           #:link-scripts #~(list "luaotfload-tool.lua")))
    (propagated-inputs
     (list texlive-lm
           texlive-lua-alt-getopt
           texlive-lua-uni-algos
           texlive-lualibs))
    (home-page "https://ctan.org/pkg/luaotfload")
    (synopsis "OpenType font loader for LuaTeX")
    (description
     "Luaotfload is an adaptation of the ConTeXt font loading system for the
Plain and LaTeX formats.  It allows OpenType fonts to be loaded with font
features accessible using an extended font request syntax while providing
compatibilitywith XeTeX.  By indexing metadata in a database it facilitates
loading fonts by their proper names instead of file names.")
    (license license:gpl2)))

(define-deprecated-package texlive-luatex-luaotfload texlive-luaotfload)

(define-public texlive-amsmath
  (package
    (name "texlive-amsmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amsmath/" "source/latex/amsmath/"
                                     "tex/latex/amsmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a8cbi5pdd4l4mwdb0vhmclqvlihh7a6gmpls6vn4jgcs15sjfw3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/amsmath")
    (synopsis "AMS mathematical facilities for LaTeX")
    (description
     "This is the principal package in the AMS-LaTeX distribution.  It adapts
for use in LaTeX most of the mathematical features found in AMS-TeX; it is
highly recommended as an adjunct to serious mathematical typesetting in LaTeX.
When amsmath is loaded, AMS-LaTeX packages @code{amsbsy} (for bold symbols),
@code{amsopn} (for operator names) and @code{amstext} (for text embedded in
mathematics) are also loaded.  This package is part of the LaTeX required
distribution; however, several contributed packages add still further to its
appeal; examples are @code{empheq}, which provides functions for decorating
and highlighting mathematics, and @code{ntheorem}, for specifying theorem (and
similar) definitions.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-amsmath texlive-amsmath)

(define-public texlive-amsmath-it
  (package
    (name "texlive-amsmath-it")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amsmath-it/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xcwsk8q9q3nsz8wbklgpbw0vzjw7iw0chffzcbp2zsk6rypqf7w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amsmath-it")
    (synopsis "Italian translations of some old @code{amsmath} documents")
    (description
     "This package provides an Italian translation for some old @code{amsmath}
documents.  The documents are: @file{diffs-m.txt} of December 1999, and
@file{amsmath.faq} of March 2000.")
    (license license:lppl)))

(define-public texlive-manfnt
  (package
    (name "texlive-manfnt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/manfnt/" "source/latex/manfnt/"
                                     "tex/latex/manfnt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0iwka406hkxb85yqg4kwr81483s3h250way1pmbfb67vl3x4p60x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/manfnt")
    (synopsis "LaTeX support for the TeX book symbols")
    (description
     "This package provides a LaTeX package for easy access to the symbols of
the Knuth's manual font, such as the Dangerous Bend and Manual-errata Arrow.")
    (license license:lppl)))

(define-public texlive-manfnt-font
  (package
    (name "texlive-manfnt-font")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/afm/hoekwater/manfnt-font/"
                                     "fonts/map/dvips/manfnt-font/"
                                     "fonts/type1/hoekwater/manfnt-font/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cdd2a3xj00bwsby9z5iz5f2iy2iwsjl35gcack9q83hacbf3ssb"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/manual")
    (synopsis "Knuth's manual fonts")
    (description
     "This package provides Metafont (by Donald Knuth) and Adobe Type 1 (by
Taco Hoekwater) versions of the font containing the odd symbols Knuth uses in
his books.  LaTeX support is available using the @code{manfnt} package.")
    (license license:knuth)))

(define-public texlive-mathdots
  (package
    (name "texlive-mathdots")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/mathdots/"
                                     "source/generic/mathdots/"
                                     "tex/generic/mathdots/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jaffj343p1chdxs2g7s6lpckvihk0jfw22nw0vmijyjxfiy9yg0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathdots")
    (synopsis "Commands to produce dots in math that respect font size")
    (description
     "Mathdots redefines @code{\\ddots} and @code{\\vdots}, and defines
@code{\\iddots}.  The dots produced by @code{\\iddots} slant in the opposite
direction to @code{\\ddots}.  All the commands are designed to change size
appropriately in scripts, as well as in response to LaTeX size changing
commands.  The commands may also be used in plain TeX.")
    (license license:lppl)))

(define-public texlive-amscls
  (package
    (name "texlive-amscls")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/amscls/" "doc/latex/amscls/"
                                     "source/latex/amscls/" "tex/latex/amscls/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1chy1rqwici66p9brphb3gsprmcyhia9cvm5fn9wb5a9cchxqa08"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/amscls")
    (synopsis "AMS document classes for LaTeX")
    (description
     "This bundle contains three AMS classes: @code{amsart} (for writing
articles for the AMS), @code{amsbook} (for books) and @code{amsproc} (for
proceedings), together with some supporting material.  The material is made
available as part of the AMS-LaTeX distribution.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-amscls texlive-amscls)

(define-public texlive-babel
  (package
    (name "texlive-babel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/babel/"
                                     "makeindex/babel/"
                                     "source/latex/babel/"
                                     "tex/generic/babel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ijfnjsgg509gqqv7kqkw1ql2vsli9bpjh4bx9155xk61dcdm8nc"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex"
                                               "texlive-pdftex"
                                               "unzip")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:phases
      #~(modify-phases %standard-phases
          ;; This package tries to produce babel.aux twice but refuses to
          ;; overwrite the first one.
          (add-before 'build 'fix-ins
            (lambda _
              (substitute* "source/latex/babel/babel.ins"
                (("askonceonly") "askforoverwritefalse"))))
          (add-before 'build 'generate-locales
            (lambda _
              (let ((locale-directory (string-append (getcwd) "/build/locale")))
                (mkdir-p locale-directory)
                (with-directory-excursion "source/latex/babel/"
                  (invoke "unzip" "locale.zip" "-d" locale-directory))))))))
    (native-inputs (list texlive-latex texlive-pdftex unzip))
    (home-page "https://www.ctan.org/pkg/babel")
    (synopsis "Multilingual support for Plain TeX or LaTeX")
    (description
     "The package manages culturally-determined typographical (and other)
rules, and hyphenation patterns for a wide range of languages.  A document may
select a single language to be supported, or it may select several, in which
case the document may switch from one language to another in a variety of
ways.  Babel uses contributed configuration files that provide the detail of
what has to be done for each language.  Users of XeTeX are advised to use the
polyglossia package rather than Babel.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-babel texlive-babel)

(define-public texlive-babelbib
  (package
    (name "texlive-babelbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/babelbib/"
                                     "doc/bibtex/babelbib/" "tex/latex/babelbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q65qy0jmy98zfaha26b09hzr7v02jn8i6942y51hfaphbgh8kpx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babelbib")
    (synopsis "Multilingual bibliographies")
    (description
     "This package enables the user to generate multilingual bibliographies in
cooperation with @code{babel}.  Two approaches are possible: each citation may
be written in another language, or the whole bibliography can be typeset in
a language chosen by the user.  In addition, the package supports commands to
change the typography of the bibliographies.")
    (license license:lppl1.0+)))

(define-public texlive-barcodes
  (package
    (name "texlive-barcodes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/barcodes/"
                                     "fonts/source/public/barcodes/"
                                     "fonts/tfm/public/barcodes/"
                                     "source/latex/barcodes/"
                                     "tex/latex/barcodes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bxvmmmb4x0zpdkqa399rwdhz6yamfzx2kn2i7a8vz172q0b2msc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/barcodes")
    (synopsis "Fonts for making barcodes")
    (description
     "The package deals with EAN barcodes; Metafont sources for fonts are
provided, and a set of examples; for some codes, a small Perl script is
needed.")
    (license license:lppl)))

(define-public texlive-bbcard
  (package
    (name "texlive-bbcard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/bbcard/" "metapost/bbcard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f1d3l85d0308izqpydmqmb4vpw47lqx1pwjiq14npjs8zfzkp18"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bbcard")
    (synopsis "Bullshit bingo, calendar and baseball-score cards")
    (description
     "This set contains three jiffy packages for creating cards of various
sorts with MetaPost.")
    (license license:public-domain)))

(define-public texlive-bbm
  (package
    (name "texlive-bbm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/bbm/" "fonts/source/public/bbm/"
                                     "fonts/tfm/public/bbm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fyzr8zfcv3i1ymzvpifbkmfxqvrva029vh4v0siia63sl36lvq3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; FIXME: Font metrics cannot be generated due to "bad pos"
               ;; errors with "bbmitt" fonts.
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/bbm")
    (synopsis "Blackboard-style CM fonts")
    (description
     "This package provides blackboard variants of Computer Modern fonts.  The
fonts are distributed as Metafont source (only); LaTeX support is available
with the @code{bbm-macros} package.  A sample of these fonts appears in the
blackboard bold sampler.")
    ;; The package states "You may freely use, modify and/or distribute this
    ;; file." everywhere, notably in the file below.
    (license (license:fsf-free "file://doc/fonts/bbm/README"))))

(define-public texlive-bbm-macros
  (package
    (name "texlive-bbm-macros")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bbm-macros/"
                                     "source/latex/bbm-macros/"
                                     "tex/latex/bbm-macros/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11klh7hwi06yr2wx5bpk230hn7rpfspk6sd55j6rmw8kz2wa3lr7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bbm-macros")
    (synopsis "LaTeX support for blackboard-style CM fonts")
    (description
     "This package provides LaTeX support for Blackboard variants of Computer
Modern fonts.  It declares a font family @code{bbm} so you can in principle
write running text in blackboard bold, and lots of math alphabets for using
the fonts within maths.")
    (license license:lppl)))

(define-public texlive-bbold
  (package
    (name "texlive-bbold")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bbold/"
                                     "fonts/source/public/bbold/"
                                     "fonts/tfm/public/bbold/"
                                     "source/latex/bbold/" "tex/latex/bbold/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x3fhz582xcv33s9yiwka82j8bz3nxribgmni3j8j03r6dih8d8r"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list #:build-targets #~(list "bbold.dtx")
           #:tex-format "latex"
           #:phases
           #~(modify-phases %standard-phases
               ;; Building documentation, automatic when generating
               ;; runfiles, fails.  Skip building it.
               (add-after 'unpack 'skip-documentation
                 (lambda _
                   (substitute* "source/latex/bbold/bbold.dtx"
                     (("\\\\DocInput\\{bbold\\.dtx\\}") "")))))))
    (native-inputs
     (list texlive-metafont
           (texlive-updmap.cfg
            (list texlive-etoolbox texlive-hypdoc))))
    (home-page "https://ctan.org/pkg/bbold")
    (synopsis "Sans serif blackboard bold")
    (description
     "This package provides a geometric sans serif blackboard bold font, for
use in mathematics; Metafont sources are provided, as well as macros for use
with LaTeX.")
    (license license:bsd-3)))

(define-public texlive-blockdraw-mp
  (package
    (name "texlive-blockdraw-mp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/blockdraw_mp/"
                                     "metapost/blockdraw_mp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z0cgjslx4kx8fspf3i5h4idxlzhgpm14i16vq88c96z8cdjb2xy"))))
    (outputs '("out" "doc"))
    (properties '((upstream-name . "blockdraw_mp")))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/blockdraw_mp")
    (synopsis "Block diagrams and bond graphs, with MetaPost")
    (description
     "This package provides a set of simple MetaPost macros to draw block
diagrams and bond graphs. While the task is not itself difficult to program,
it is felt that many users will be happy to have a library for the job.")
    (license license:lppl)))

(define-public texlive-blopentype
  (package
    (name "texlive-blopentype")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/blopentype/"
                                     "tex/luatex/blopentype/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bancizncwjyy15pk06kaln8kpzzh7777zwabjrzlj58a0hbm0q6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-gates texlive-texapi texlive-yax))
    (home-page "https://ctan.org/pkg/blopentype")
    (synopsis "Basic LuaTeX OpenType handler")
    (description
     "This is a basic LuaTeX OpenType handler, based on Paul Isambert's PiTeX
code.")
    (license (list license:lppl1.3c license:expat))))

(define-public texlive-bookcover
  (package
    (name "texlive-bookcover")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bookcover/"
                                     "source/latex/bookcover/"
                                     "tex/latex/bookcover/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m5km26diwv7xij4r64c3gk2hl8xc22lrbcccqlrk1fhdlz3i8zb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bookcover")
    (synopsis "Class for book covers and dust jackets")
    (description "This class helps typesetting book covers and dust jackets.")
    (license license:lppl1.2+)))

(define-public texlive-bpolynomial
  (package
    (name "texlive-bpolynomial")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/bpolynomial/"
                                     "metapost/bpolynomial/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p4c3xc55zij85yy1jhmj7jrkxss935qx5zdxbm79mjlxx1aq1q0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bpolynomial")
    (synopsis "Drawing polynomial functions of up to order 3")
    (description
     "This MetaPost package helps plotting polynomial and root functions up to
order three.  The package provides macros to calculate Bezier curves exactly
matching a given constant, linear, quadratic or cubic polynomial, or square or
cubic root function.  In addition, tangents on all functions and derivatives
of polynomials can be calculated.")
    (license license:lppl)))

(define-public texlive-businesscard-qrcode
  (package
    (name "texlive-businesscard-qrcode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/businesscard-qrcode/"
                                     "tex/xelatex/businesscard-qrcode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r942lv7mymi9wmmshjgf3vnz2n38m91dzqzrg0dg6bckb09dhmf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/businesscard-qrcode")
    (synopsis "Business cards with QR-Code")
    (description
     "This package generates a configurable business card or visiting card
with full vcard as QR-Code, ready to send to online printers.  You can specify
the exact size of the paper and the content within the paper, including
generation of crop marks.")
    (license license:lgpl3)))

(define-public texlive-cmarrows
  (package
    (name "texlive-cmarrows")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/cmarrows/"
                                     "metapost/cmarrows/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1awyf474n4f6fivb7ih9mpmz6641f815in8qrg2biagys3czsq96"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cmarrows")
    (synopsis "MetaPost arrows and braces in the Computer Modern style")
    (description
     "This MetaPost package contains macros to draw arrows and braces in the
Computer Modern style.")
    (license license:lppl)))

(define-public texlive-cmexb
  (package
    (name "texlive-cmexb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cmexb/" "fonts/map/dvips/cmexb/"
                                     "fonts/tfm/public/cmexb/"
                                     "fonts/type1/public/cmexb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fwnxzlkcf58n1f91vz8xbcp8nmhqmhjqhswgkzvyrd6lnp5gzdk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cmexb")
    (synopsis "@code{cmexb10} metrics and Type 1")
    (description
     "This package provides Computer Modern Math Extension bold, metrics and
@file{.pfb} file.")
    (license license:public-domain)))   ;see "README-cmexb"

(define-public texlive-cqubeamer
  (package
    (name "texlive-cqubeamer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/cqubeamer/"
                                     "tex/xelatex/cqubeamer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13ma7i3z64w59m2hkrh68j3vqa2k93hhb2lmarqb4pkhr72vk4s7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cqubeamer")
    (synopsis "LaTeX Beamer Template for Chongqing University")
    (description
     "This package provides a LaTeX beamer template designed for researchers
of Chongqing University.  It can be used for academic reports, conferences, or
thesis defense, and can be helpful for delivering a speech.  It should be used
with the XeTeX engine.")
    (license (list license:expat license:cc-by4.0))))

(define-public texlive-cs
  (package
    (name "texlive-cs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/enc/dvips/cs/"
                                     "fonts/map/dvips/cs/"
                                     "fonts/source/public/cs/"
                                     "fonts/tfm/cs/cs-a35/"
                                     "fonts/tfm/cs/cs-charter/"
                                     "fonts/tfm/public/cs/"
                                     "fonts/type1/public/cs/"
                                     "fonts/vf/cs/cs-a35/"
                                     "fonts/vf/cs/cs-charter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nzzcg1yvbslhqm5lsfcpqh6sbzkmnmmgyakg9l8855qpa8g9bf3"))))
    (properties '((updater-extra-native-inputs "texlive-sauter")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont texlive-sauter))
    (propagated-inputs (list texlive-cmexb))
    (home-page "https://ctan.org/pkg/csfonts")
    (synopsis "Czech/Slovak-tuned Computer Modern fonts")
    (description "This package provides Czech/Slovak-tuned Computer Modern
fonts in the Metafont format; Type 1 format versions (csfonts-t1) are also
available.")
    (license license:gpl2+)))           ;see fonts/source/public/cs/cscode.mf

;;; Note: if this package is modified, its name must be changed to comply with
;;; its license.
(define-public texlive-csplain
  (package
    (name "texlive-csplain")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/csplain/base/"
                                     "tex/csplain/fonts/"
                                     "tex/csplain/opmac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14z479gkiwgw17pdghrxh5q0rlxnij7ccj49kgf3macwgmh5lm0r"))))
    (properties '((updater-extra-native-inputs "texlive-xetex")))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "csplain" "luacsplain" "pdfcsplain")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((pdftex (search-input-file inputs "bin/pdftex"))
                         (luatex (search-input-file inputs "bin/luatex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink pdftex "csplain")
                       (symlink pdftex "pdfcsplain")
                       (symlink luatex "luacsplain"))))))))
    (native-inputs (list texlive-xetex))
    (propagated-inputs
     (list texlive-cm
           texlive-cs
           texlive-enctex
           texlive-hyphen-complete
           texlive-luatex
           texlive-luatex85
           texlive-pdftex
           texlive-plain
           texlive-tex
           texlive-tex-ini-files
           texlive-xetex))
    (home-page "https://petr.olsak.net/csplain-e.html")
    (synopsis "Plain TeX multilanguage support")
    (description
     "CSplain is a small extension of basic Plain TeX macros from which the
formats @code{csplain} and @code{pdfcsplain} can be generated.  It supports:
hyphenation of words for 50+ languages, simple and powerful font loading
system (various sizes of fonts), TeX, pdfTeX, XeTeX and LuaTeX engines, math
fonts simply loaded with full amstex-like features, three internal
encodings (IL2 for Czech/Slovak languages, T1 for many languages with latin
alphabet and Unicode in new TeX engines), natural UTF-8 input in pdfTeX using
encTeX without any active characters, Czech and Slovak special typesetting
features.  An important part of the package is OPmac, which implements most of
LaTeX's features (sectioning, font selection, color, hyper reference and URLs,
bibliography, index, table of contents, tables, etc.) by Plain TeX macros.
The OPmac macros can generate a bibliography without any external program.")
    ;; This custom permissive license includes as a redistribution condition
    ;; that says the package must be renamed from 'csplain' if it is modified.
    (license (license:non-copyleft "file:///tex/csplain/base/csplain.ini"))))

(define-public texlive-ctable
  (package
    (name "texlive-ctable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ctable/" "source/latex/ctable/"
                                     "tex/latex/ctable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x624vz1gv8bsdafwhx89zaic7f2mz9vlvwjpv8fwzjhjwx4lxmv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ctable")
    (synopsis "Flexible typesetting of table and figure floats")
    (description
     "This package provides commands to typeset centered, left- or
right-aligned table and (multiple-)figure floats, with footnotes.")
    (license license:lppl)))

(define-public texlive-babel-albanian
  (package
    (name "texlive-babel-albanian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-albanian/"
                                     "source/generic/babel-albanian/"
                                     "tex/generic/babel-albanian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sgyxj2f2w5fb22ys0idcfy10m1wbz3mk3rkpvv7cwa0v3a0arhl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-albanian")
    (synopsis "Support for Albanian within Babel")
    (description
     "The package provides support for typesetting Albanian (as part of the
Babel system).")
    (license license:lppl1.3+)))

(define-public texlive-babel-azerbaijani
  (package
    (name "texlive-babel-azerbaijani")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-azerbaijani/"
                                     "source/generic/babel-azerbaijani/"
                                     "tex/generic/babel-azerbaijani/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vpgx76316gfhxp9maiqnd3z1hjavzlnjibxi4yhalbby0dnswi1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-azerbaijani")
    (synopsis "Support for Azerbaijani within Babel")
    (description
     "This is the Babel style for Azerbaijani.  This language poses special
challenges because no traditional font encoding contains the full character
set, and therefore a mixture must be used (e.g., T2A and T1).  This package is
compatible with Unicode engines LuaTeX and XeTeX, which are very likely the
most convenient way to write Azerbaijani documents.")
    (license license:lppl1.3+)))

(define-public texlive-babel-basque
  (package
    (name "texlive-babel-basque")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-basque/"
                                     "source/generic/babel-basque/"
                                     "tex/generic/babel-basque/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16bcy5wlkwh8cwvcff1sc3m4rq4a7fzzawpl158kscp7fmw7i7k4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-basque")
    (synopsis "Babel contributed support for Basque")
    (description "The package establishes Basque conventions in a document.")
    (license license:lppl1.3+)))

(define-public texlive-babel-belarusian
  (package
    (name "texlive-babel-belarusian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-belarusian/"
                                     "source/generic/babel-belarusian/"
                                     "tex/generic/babel-belarusian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1055gyy9hab9whnr5c2p4i4yczkn5pwm0n54ylnnsl8wg8q58w1z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-belarusian")
    (synopsis "Babel support for Belarusian")
    (description
     "The package provides support for use of Babel in documents written in
Belarusian.")
    (license license:lppl1.3c)))

(define-public texlive-babel-bosnian
  (package
    (name "texlive-babel-bosnian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-bosnian/"
                                     "source/generic/babel-bosnian/"
                                     "tex/generic/babel-bosnian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "097j3cwq29x17hc6wbdj2m4h7m2yv47i1m2irqxkrjvywq0b5bqd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-bosnian")
    (synopsis "Babel contrib support for Bosnian")
    (description
     "The package provides a language definition file that enables support of
Bosnian with Babel.")
    (license license:lppl1.3+)))

(define-public texlive-babel-breton
  (package
    (name "texlive-babel-breton")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-breton/"
                                     "source/generic/babel-breton/"
                                     "tex/generic/babel-breton/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hvb2qjin8jx4lmw3w2y04jnnnc6w0033kjhgflfyp309dmvhzhl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-breton")
    (synopsis "Babel contributed support for Breton")
    (description
     "Breton (being, principally, a spoken language) does not have typographic
rules of its own; this package provides an appropriate selection of French and
British typographic rules.")
    (license license:lppl1.3+)))

(define-public texlive-babel-bulgarian
  (package
    (name "texlive-babel-bulgarian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-bulgarian/"
                                     "source/generic/babel-bulgarian/"
                                     "tex/generic/babel-bulgarian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "065j31rl7r4x8krkwxhq0lwdkmbq90jr8666if4br36kw0g3kzv3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-bulgarian")
    (synopsis "Babel contributed support for Bulgarian")
    (description
     "The package provides support for documents in Bulgarian (or simply
containing some Bulgarian text).")
    (license license:lppl1.3+)))

(define-public texlive-babel-catalan
  (package
    (name "texlive-babel-catalan")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-catalan/"
                                     "source/generic/babel-catalan/"
                                     "tex/generic/babel-catalan/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "162ih5948z2kbxqxf7bp94ffg7f2b5l8ffa9w304868hj9ik6jfk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-catalan")
    (synopsis "Babel contributed support for Catalan")
    (description
     "The package establishes Catalan conventions in a document (or a subset
of the conventions, if Catalan is not the main language of the document).")
    (license license:lppl1.3+)))

(define-public texlive-babel-croatian
  (package
    (name "texlive-babel-croatian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-croatian/"
                                     "source/generic/babel-croatian/"
                                     "tex/generic/babel-croatian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r3cccrc2i57sza8qc24hxm2p6igvhbkr8a6lnsrcrhbji2smi07"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-croatian")
    (synopsis "Babel contributed support for Croatian")
    (description
     "The package establishes Croatian conventions in a document (or a subset
of the conventions, if Croatian is not the main language of the document).")
    (license license:lppl1.3+)))

(define-public texlive-babel-english
  (package
    (name "texlive-babel-english")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-english/"
                                     "source/generic/babel-english/"
                                     "tex/generic/babel-english/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fh8xxxh79za80yvgypf8clzj0lk237lfyqfkl233id9rlias08d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-english")
    (synopsis "Babel support for English")
    (description
     "The package provides the language definition file for support of
English in @code{babel}.  Care is taken to select british hyphenation patterns
for British English and Australian text, and default (american) patterns for
Canadian and USA text.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-generic-babel-english texlive-babel-english)

(define-public texlive-babel-esperanto
  (package
    (name "texlive-babel-esperanto")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-esperanto/"
                                     "source/generic/babel-esperanto/"
                                     "tex/generic/babel-esperanto/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1av9x9d5rff6hsssssbn1jnyrqnj1c2n5fa4kgxlla95xn7zs65m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-esperanto")
    (synopsis "Babel support for Esperanto")
    (description
     "The package provides the language definition file for support of
Esperanto in Babel.  Some shortcuts are defined, as well as translations to
Esperanto of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-estonian
  (package
    (name "texlive-babel-estonian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-estonian/"
                                     "source/generic/babel-estonian/"
                                     "tex/generic/babel-estonian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pi4rmbwjg8mrxi9y6jhczfv6nbrb25n025sx56yn36f579rwwiy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-estonian")
    (synopsis "Babel support for Estonian")
    (description
     "The package provides the language definition file for support of
Estonian in Babel.  Some shortcuts are defined, as well as translations to
Estonian of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-french
  (package
    (name "texlive-babel-french")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-french/"
                                     "source/generic/babel-french/"
                                     "tex/generic/babel-french/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04jbg7dfk9wsyls5vk6a5v2kd5ni8jf4ixj0piy1a0z75s01my1r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-french")
    (synopsis "Babel contributed support for French")
    (description
     "The package establishes French conventions in a document (or a subset of
the conventions, if French is not the main language of the document).")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-generic-babel-french texlive-babel-french)

(define-public texlive-babel-friulan
  (package
    (name "texlive-babel-friulan")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-friulan/"
                                     "source/generic/babel-friulan/"
                                     "tex/generic/babel-friulan/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "082xhr083hcbp0lqvkfj48hnqj4fa7x30vn6sk6v2f1g57zq9v69"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-friulan")
    (synopsis "Babel and Polyglossia support for Friulan(Furlan)")
    (description
     "The package provides a language description file that enables support of
Friulan either with Babel or with Polyglossia.")
    (license license:lppl1.3+)))

(define-public texlive-babel-galician
  (package
    (name "texlive-babel-galician")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-galician/"
                                     "source/generic/babel-galician/"
                                     "tex/generic/babel-galician/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13giby8mzyxjccyvhb9dsnyqc2h17k70fch84z5mi8si3jnm9sq4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-galician")
    (synopsis "Babel and Polyglossia support for Galician")
    (description
     "The package provides a language description file that enables support of
Galician either with Babel or with Polyglossia.")
    (license license:lppl1.3+)))

(define-public texlive-babel-georgian
  (package
    (name "texlive-babel-georgian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-georgian/"
                                     "tex/generic/babel-georgian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qjpaxzgm0qh88j6x1zvnjb1n994prxqnzchrp05pgsbyjcf410p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-georgian")
    (synopsis "Babel support for Georgian")
    (description
     "The package provides support for use of Babel in documents written in
Georgian.  The package is adapted for use both under traditional TeX engines,
and under XeTeX and LuaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-babel-german
  (package
    (name "texlive-babel-german")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-german/"
                                     "source/generic/babel-german/"
                                     "tex/generic/babel-german/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k5m77nfvazfb2s9bdjchzhiyrs63mk5n8g1da5xcwrbl1pldclw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-german")
    (synopsis "Babel support for documents written in German")
    (description
     "This bundle is an extension to the babel package for multilingual typesetting.
It provides all the necessary macros, definitions and settings to typeset
German documents.  The bundle includes support for the traditional and
reformed German orthography as well as for the Austrian and Swiss varieties of
German.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-generic-babel-german texlive-babel-german)

(define-public texlive-babel-greek
  (package
    (name "texlive-babel-greek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-greek/"
                                     "source/generic/babel-greek/"
                                     "tex/generic/babel-greek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00yk4kx7078q6dkx43rifgpcplhbg8b98m39zsw0vgpd91vzr93p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-greek")
    (synopsis "Babel support for documents written in Greek")
    (description
     "The file provides modes for monotonic (single-diacritic) and polytonic
(multiple-diacritic) modes of writing.  Provision is made for Greek function
names in mathematics, and for classical-era symbols.")
    (license license:lppl1.3+)))

(define-public texlive-babel-hebrew
  (package
    (name "texlive-babel-hebrew")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-hebrew/"
                                     "source/generic/babel-hebrew/"
                                     "tex/generic/babel-hebrew/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n0w7jmjf71fw96ycrqwxxh6s4knw3fj4i83n63y4xv2x5w40f7y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-hebrew")
    (synopsis "Babel support for Hebrew")
    (description
     "The package provides the language definition file for support of Hebrew
in babel.  Macros to control the use of text direction control of TeX--XeT and
e-TeX are provided (and may be used elsewhere).  Some shortcuts are defined,
as well as translations to Hebrew of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-hungarian
  (package
    (name "texlive-babel-hungarian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-hungarian/"
                                     "tex/generic/babel-hungarian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x54clczgvkq9slq5331hvp1rzlv4jm4g9gnpflz8y72jbqmcm24"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-hungarian")
    (synopsis "Babel support for Hungarian (Magyar)")
    (description
     "The package provides a language definition file that enables support of
Magyar (Hungarian) with Babel.")
    (license license:lppl)))

(define-public texlive-babel-icelandic
  (package
    (name "texlive-babel-icelandic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-icelandic/"
                                     "source/generic/babel-icelandic/"
                                     "tex/generic/babel-icelandic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cz6q6mn34h19k1rd2c5pfw3s6allqcbsvm0pyriinnylpx9i44d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-icelandic")
    (synopsis "Babel support for Icelandic")
    (description
     "The package provides the language definition file for support of
Icelandic in Babel.  Some shortcuts are defined, as well as translations to
Icelandic of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-indonesian
  (package
    (name "texlive-babel-indonesian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-indonesian/"
                                     "source/generic/babel-indonesian/"
                                     "tex/generic/babel-indonesian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ilkl7s5dh8cs6z211p4imyzg3d2axfa5vkmrxn4d3lbx1g3chs1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-indonesian")
    (synopsis "Support for Indonesian within Babel")
    (description "This is the Babel style for Indonesian.")
    (license license:lppl1.3+)))

(define-public texlive-babel-interlingua
  (package
    (name "texlive-babel-interlingua")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-interlingua/"
                                     "source/generic/babel-interlingua/"
                                     "tex/generic/babel-interlingua/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mxyfa6rsaxwazliblg9p4cbr0vip12c00mkvnz4dak2adnhzvbg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-interlingua")
    (synopsis "Babel support for Interlingua")
    (description
     "The package provides the language definition file for support of
Interlingua in Babel.  This includes translations to Interlingua of standard
LaTeX names (no shortcuts are provided).  Interlingua itself is an auxiliary
language, built from the common vocabulary of Spanish/Portuguese, English,
Italian and French, with some normalisation of spelling.")
    (license license:lppl1.3+)))

(define-public texlive-babel-irish
  (package
    (name "texlive-babel-irish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-irish/"
                                     "source/generic/babel-irish/"
                                     "tex/generic/babel-irish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j78inzjbv653gla11g3rzmn0b5fvzbkmppmhbgq9qi8102p7k55"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-irish")
    (synopsis "Babel support for Irish")
    (description
     "The package provides the language definition file for support of Irish
Gaelic in Babel.  The principal content is translations to Irish of standard
LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-italian
  (package
    (name "texlive-babel-italian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-italian/"
                                     "source/generic/babel-italian/"
                                     "tex/generic/babel-italian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zb2cm5b0pbpvxpcm1mmp1mwxaighf6grlh5ijcq1m36iycpgm0p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-italian")
    (synopsis "Babel support for Italian text")
    (description "The package provides language definitions for use in
Babel.")
    (license license:lppl1.3c)))

(define-public texlive-babel-japanese
  (package
    (name "texlive-babel-japanese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-japanese/"
                                     "source/generic/babel-japanese/"
                                     "tex/generic/babel-japanese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jn2pl080c0dd6ryj6y5b87h6ijg3lcd2hw7g5kyw7p9r7a6b8i0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-japanese")
    (synopsis "Babel support for Japanese")
    (description
     "This package provides a japanese option for the Babel package.  It
defines all the language definition macros in Japanese.  Currently this
package works with pLaTeX, upLaTeX, XeLaTeX and LuaLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-babel-kurmanji
  (package
    (name "texlive-babel-kurmanji")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-kurmanji/"
                                     "source/generic/babel-kurmanji/"
                                     "tex/generic/babel-kurmanji/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "021dzdjhiymsvqxc1cq409vkm7390lrr691snydr9xr35x0k3wr1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-kurmanji")
    (synopsis "Babel support for Kurmanji")
    (description
     "The package provides the language definition file for support of
Kurmanji in Babel.  Kurmanji belongs to the family of Kurdish languages.  Some
shortcuts are defined, as well as translations to Kurmanji of standard LaTeX
names.  Note that the package is dealing with Northern Kurdish, written using
a Latin-based alphabet.  The @code{arabxetex} package offers support for
Kurdish written in Arabic script.")
    (license license:lppl1.3+)))

(define-public texlive-babel-latin
  (package
    (name "texlive-babel-latin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-latin/"
                                     "source/generic/babel-latin/"
                                     "tex/generic/babel-latin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ykiny7rcz5czsadxfxl53403ixkyxi67dqlphqaxkvvm2k61kpb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-latin")
    (synopsis "Babel support for Latin")
    (description
     "The Babel-latin package provides the Babel languages @code{latin},
 @code{classiclatin}, @code{medievallatin}, and @code{ecclesiasticlatin}.  It
also defines several useful shorthands as well as some modifiers for
typographical fine-tuning.")
    (license license:lppl1.3+)))

(define-public texlive-babel-latvian
  (package
    (name "texlive-babel-latvian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-latvian/"
                                     "source/generic/babel-latvian/"
                                     "tex/generic/babel-latvian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a605a9ksibxf8kbrqa2bmk24j9wmgzpz5f12jwcym02jm66sw82"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-latvian")
    (synopsis "Babel support for Latvian")
    (description
     "The package provides the language definition file for support of Latvian
in Babel.")
    (license license:lppl1.3+)))

(define-public texlive-babel-lithuanian
  (package
    (name "texlive-babel-lithuanian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-lithuanian/"
                                     "source/generic/babel-lithuanian/"
                                     "tex/generic/babel-lithuanian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08ifkjb61m9nx3wn8hvca9vfrzlmxpwvrh21hq1rh6dwmqli11j6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-lithuanian")
    (synopsis "Babel support for documents written in Lithuanian")
    (description
     "Babel support material for documents written in Lithuanian moved from
the @code{lithuanian} package into a new package @code{babel-lithuanian} to
match Babel support for other languages.")
    (license license:lppl1.3+)))

(define-public texlive-babel-macedonian
  (package
    (name "texlive-babel-macedonian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-macedonian/"
                                     "source/generic/babel-macedonian/"
                                     "tex/generic/babel-macedonian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fps3nlbr4j2vy8pww4xkp2xsxiclzal4ifcpc1a0dsc4blll5nr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-macedonian")
    (synopsis "Babel module to support Macedonian Cyrillic")
    (description
     "The package provides support for Macedonian documents written in
Cyrillic, in Babel.")
    (license license:lppl1.3+)))

(define-public texlive-babel-malay
  (package
    (name "texlive-babel-malay")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-malay/"
                                     "source/generic/babel-malay/"
                                     "tex/generic/babel-malay/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gbjrsf4drmrplhwl0avpzv5yfyb30znhza4pxk704i1khabnwzk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-malay")
    (synopsis "Support for Malay within Babel")
    (description "This is the Babel style for Malay.")
    (license license:lppl1.3+)))

(define-public texlive-babel-occitan
  (package
    (name "texlive-babel-occitan")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-occitan/"
                                     "source/generic/babel-occitan/"
                                     "tex/generic/babel-occitan/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0apg6i95lhhlwwci3mm8gqrs5x5qchxkc9w615cj083bvsri8vnk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-occitan")
    (synopsis "Babel support for Occitan")
    (description "This package provides Occitan language description file for
Babel, with usage instructions.")
    (license license:lppl1.3+)))

(define-public texlive-babel-piedmontese
  (package
    (name "texlive-babel-piedmontese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-piedmontese/"
                                     "source/generic/babel-piedmontese/"
                                     "tex/generic/babel-piedmontese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04hig8rd6nxwwz1zjskpmap00gixmb63qh08p5fxqc6mb4bdh78b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-piedmontese")
    (synopsis "Babel support for Piedmontese")
    (description
     "The package provides the language definition file for support of
Piedmontese in Babel.  Some shortcuts are defined, as well as translations to
Piedmontese of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-portuges
  (package
    (name "texlive-babel-portuges")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-portuges/"
                                     "source/generic/babel-portuges/"
                                     "tex/generic/babel-portuges/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0619ygyjz5vz3a6khx7yvsa059x59r54fgyxb0p8k196lss07lq2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-portuges")
    (synopsis "Babel support for Portuges")
    (description
     "The package provides the language definition file for support of
Portuguese and Brazilian Portuguese in Babel.  Some shortcuts are defined, as
well as translations to Portuguese of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-romanian
  (package
    (name "texlive-babel-romanian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-romanian/"
                                     "source/generic/babel-romanian/"
                                     "tex/generic/babel-romanian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yyzcw7pm0b7fmxwn3j677g066dlmkmpa1flrivkqzbcn4mykwir"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-romanian")
    (synopsis "Babel support for Romanian")
    (description
     "The package provides the language definition file for support of
Romanian in Babel.  Translations to Romanian of standard LaTeX names are
provided.")
    (license license:lppl1.3+)))

(define-public texlive-babel-romansh
  (package
    (name "texlive-babel-romansh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-romansh/"
                                     "source/generic/babel-romansh/"
                                     "tex/generic/babel-romansh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08lc76yglblidg24s5ap9j0xmzbxgsfwcf9f6g1m4bwbqwkh089x"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs (list (texlive-updmap.cfg
                          (list texlive-etoolbox
                                texlive-hypdoc))))
    (home-page "https://ctan.org/pkg/babel-romansh")
    (synopsis "Babel and Polyglossia support for the Romansh language")
    (description
     "The package provides a language description file that enables support of
Romansh either with Babel or with Polyglossia.")
    (license license:lppl1.3+)))

(define-public texlive-babel-russian
  (package
    (name "texlive-babel-russian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-russian/"
                                     "source/generic/babel-russian/"
                                     "tex/generic/babel-russian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sy3b7qx5l6smpixa9896zqqrh6ymrz31pd4026f815jy78k3cfb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-russian")
    (synopsis "Russian language module for Babel")
    (description
     "The package provides support for use of Babel in documents written in
Russian (in both traditional and modern forms).  The support is adapted for
use both under traditional TeX engines, and under XeTeX and LuaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-babel-samin
  (package
    (name "texlive-babel-samin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-samin/"
                                     "source/generic/babel-samin/"
                                     "tex/generic/babel-samin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1izvs1xz9g838ygxwnm8v7rcc8fzn68xd1dbah13wcc0p9nq736x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-samin")
    (synopsis "Babel support for Samin")
    (description
     "The package provides the language definition file for support of North
Sami in Babel.  Several Sami dialects/languages are spoken in Finland, Norway,
Sweden and on the Kola Peninsula of Russia.  Not all use the same alphabet,
and no attempt is made to support any other than North Sami here.  Some
shortcuts are defined, as well as translations to Norsk of standard LaTeX
names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-scottish
  (package
    (name "texlive-babel-scottish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-scottish/"
                                     "source/generic/babel-scottish/"
                                     "tex/generic/babel-scottish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lcnf84ri330z8qvxlqxyhfm50ylxh9wb3sn2pjjhfg7zadg9zvv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-scottish")
    (synopsis "Babel support for Scottish Gaelic")
    (description
     "The package provides the language definition file for support of Gaidhlig
(Scottish Gaelic) in Babel.  Some shortcuts are defined, as well as
translations of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-serbian
  (package
    (name "texlive-babel-serbian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-serbian/"
                                     "source/generic/babel-serbian/"
                                     "tex/generic/babel-serbian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "089w8phd1pyzh8dmn4v2bspnmx4hqi63mby1yn7xk596qxi3nqrz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-serbian")
    (synopsis "Babel and Polyglossia support for Serbian")
    (description
     "The package provides support for Serbian documents written in Latin, in
Babel.")
    (license license:lppl1.3+)))

(define-public texlive-babel-serbianc
  (package
    (name "texlive-babel-serbianc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-serbianc/"
                                     "source/generic/babel-serbianc/"
                                     "tex/generic/babel-serbianc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ji77vlb10vxdka5bsnqkrlf34c4qhpl162xizrzxf11z6099wng"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-serbianc")
    (synopsis "Babel module to support Serbian Cyrillic")
    (description
     "The package provides support for Serbian documents written in Cyrillic,
in Babel.")
    (license license:lppl1.3+)))

(define-public texlive-babel-slovak
  (package
    (name "texlive-babel-slovak")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-slovak/"
                                     "source/generic/babel-slovak/"
                                     "tex/generic/babel-slovak/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16w95j3ckvjvmwccx2qvf7lq3b3zvnlf7ygm35i8xq22f3lm2a9k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-slovak")
    (synopsis "Babel support for typesetting Slovak")
    (description
     "The package provides the language definition file for support of Slovak
in Babel, including Slovak variants of LaTeX built-in-names.  Shortcuts are
also defined.")
    (license license:lppl1.3+)))

(define-public texlive-babel-slovenian
  (package
    (name "texlive-babel-slovenian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-slovenian/"
                                     "source/generic/babel-slovenian/"
                                     "tex/generic/babel-slovenian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08bf1732vsa148km0vkfj6k1cg3j3yrhkzsvnhv283bbr1wqprz6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-slovenian")
    (synopsis "Babel support for typesetting Slovenian")
    (description
     "The package provides the language definition file for support of
Slovenian in Babel.  Several shortcuts are defined, as well as translations to
Slovenian of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-sorbian
  (package
    (name "texlive-babel-sorbian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-sorbian/"
                                     "source/generic/babel-sorbian/"
                                     "tex/generic/babel-sorbian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b6qqk0qik294z8sirvf58cf5v8mhsz4hj91gw7zg8b4j362lp8y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-sorbian")
    (synopsis "Babel support for Upper and Lower Sorbian")
    (description
     "The package provides language definitions file for support of both Upper
and Lower Sorbian, in Babel.  Some shortcuts are defined, as well as
translations to the relevant language of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-spanish
  (package
    (name "texlive-babel-spanish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-spanish/"
                                     "source/generic/babel-spanish/"
                                     "tex/generic/babel-spanish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nzc4hs91a901cjy2vhpamdw3gyxp7k2lmag9ni8zmy180zncm5g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-spanish")
    (synopsis "Babel support for Spanish")
    (description
     "This bundle provides the means to typeset Spanish text, with the support
provided by the LaTeX standard package Babel.  Note that separate support is
provided for those who wish to typeset Spanish as written in Mexico.")
    (license license:lppl1.3+)))

(define-public texlive-babel-swedish
  (package
    (name "texlive-babel-swedish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-swedish/"
                                     "source/generic/babel-swedish/"
                                     "tex/generic/babel-swedish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qi2rzhlxikabrk9n0096inbczgp5hwghvy5zn0mph8zmsxlfbdf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-swedish")
    (synopsis "Babel support for typesetting Swedish")
    (description
     "The package provides the language definition file for Swedish.")
    (license license:lppl1.3+)))

(define-public texlive-babel-thai
  (package
    (name "texlive-babel-thai")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-thai/"
                                     "source/generic/babel-thai/"
                                     "tex/generic/babel-thai/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wgprys500a1fn56bnsmq8fhmb9y8cfwsqn5hginfb36d3gym4p6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-thai")
    (synopsis "Support for Thai within babel")
    (description
     "The package provides support for typesetting Thai text within the Babel
system.")
    (license license:lppl1.3+)))

(define-public texlive-babel-turkish
  (package
    (name "texlive-babel-turkish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-turkish/"
                                     "source/generic/babel-turkish/"
                                     "tex/generic/babel-turkish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q88q0kfa4jjd4m51mvj798scxr5c5l7bjp9sfv8s5pq3ym19bq0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-turkish")
    (synopsis "Babel support for Turkish documents")
    (description
     "The package provides support, within Babel, of the Turkish language.")
    (license license:lppl1.3+)))

(define-public texlive-babel-ukrainian
  (package
    (name "texlive-babel-ukrainian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-ukrainian/"
                                     "source/generic/babel-ukrainian/"
                                     "tex/generic/babel-ukrainian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nz8yzpc5khyv6wgm5ndwfdxx591wqlg311crzxk08ardg8zwvgs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-ukrainian")
    (synopsis "Babel support for Ukrainian")
    (description
     "The package provides support for use of babel in documents written in
Ukrainian.  The support is adapted for use under legacy TeX engines as well as
XeTeX and LuaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-babel-vietnamese
  (package
    (name "texlive-babel-vietnamese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-vietnamese/"
                                     "source/generic/babel-vietnamese/"
                                     "tex/generic/babel-vietnamese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12nnrdk0k2xfab33249s3gzs1815p7j197bv4zisndxvrmiv6hdf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-vietnamese")
    (synopsis "Babel support for typesetting Vietnamese")
    (description
     "The package provides the language definition file for support of
Vietnamese in Babel.")
    (license license:lppl1.3+)))

(define-public texlive-babel-welsh
  (package
    (name "texlive-babel-welsh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-welsh/"
                                     "source/generic/babel-welsh/"
                                     "tex/generic/babel-welsh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qba526ralldh4y6w0pzdw2vb2ng31mw416qzn0zzjp8sppc3hyw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-welsh")
    (synopsis "Babel support for Welsh")
    (description
     "The package provides the language definition file for Welsh.")
    (license license:lppl1.3+)))

(define-public texlive-cyklop
  (package
    (name "texlive-cyklop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cyklop/"
                                     "fonts/afm/public/cyklop/"
                                     "fonts/enc/dvips/cyklop/"
                                     "fonts/map/dvips/cyklop/"
                                     "fonts/opentype/public/cyklop/"
                                     "fonts/tfm/public/cyklop/"
                                     "fonts/type1/public/cyklop/"
                                     "tex/latex/cyklop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jfri15l1jycqzjac8s5bz6izypdwfjagfz6jhw95ixj1s9brnpl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cyklop")
    (synopsis "The Cyclop typeface")
    (description
     "The Cyclop typeface was designed in the 1920s at the workshop of Warsaw
type foundry @emph{Odlewnia Czcionek J. Idzkowski i S-ka}.  This sans serif
typeface has a highly modulated stroke so it has high typographic contrast.
The vertical stems are much heavier then horizontal ones.  Most characters
have thin rectangles as additional counters giving the unique shape of the
characters.  The lead types of Cyclop typeface were produced in slanted
variant at sizes 8-48 pt.  It was heavily used for heads in newspapers and
accidents prints.  Typesetters used Cyclop in the inter-war period, during the
occupation in the underground press.  The typeface was used until the
beginnings of the offset print and computer typesetting era.  Nowadays it is
hard to find the metal types of this typeface.

The fonts are distributed in the Type1 and OpenType formats along with the
files necessary for use these fonts in TeX and LaTeX including encoding
definition files: T1 (ec), T5 (Vietnamese), OT4, QX, texnansi and nonstandard
ones (IL2 for Czech fonts).")
    (license license:gfl1.0)))

(define-public texlive-cyrillic-bin
  (package
    (name "texlive-cyrillic-bin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/rubibtex.1"
                                     "doc/man/man1/rubibtex.man1.pdf"
                                     "doc/man/man1/rumakeindex.1"
                                     "doc/man/man1/rumakeindex.man1.pdf"
                                     "scripts/texlive-extra/rubibtex.sh"
                                     "scripts/texlive-extra/rumakeindex.sh"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09l5f7l91ph6sqfp2ia3yn23pa3s4cyfgyn020ncqvapg00s0mmg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "rubibtex.sh" "rumakeindex.sh")
      #:phases
      #~(modify-phases %standard-phases
          (replace 'patch-shell-scripts
            (lambda _
              (with-directory-excursion "scripts/texlive-extra/"
                (with-fluids ((%default-port-encoding "ISO-8859-1"))
                  (substitute* (list "rubibtex.sh" "rumakeindex.sh")
                    (("\\b(basename|cat|mkdir|rm|sed)\\b" _ command)
                     (which command))))))))))
    (home-page "https://ctan.org/pkg/cyrillic-bin")
    (synopsis "Cyrillic BibTeX and MakeIndex")
    (description
     "This package provides scripts for Cyrillic versions of BibTeX and
MakeIndex.")
    (license license:public-domain)))

(define-public texlive-cyrillic
  (package
    (name "texlive-cyrillic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cyrillic/"
                                     "source/latex/cyrillic/"
                                     "tex/latex/cyrillic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08v670f7s74klnac7pzqsad9m4jsxfkckzkswxb94xxd61kanzdx"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex")))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-engine "tex"
           #:tex-format #f))
    (native-inputs (list texlive-latex))
    (propagated-inputs (list texlive-cyrillic-bin))
    (home-page "https://ctan.org/pkg/cyrillic")
    (synopsis "Support for Cyrillic fonts in LaTeX")
    (description
     "This bundle of macros files provides macro support (including font
encoding macros) for the use of Cyrillic characters in fonts encoded under the
T2* and X2 encodings.  These encodings cover (between them) pretty much every
language that is written in a Cyrillic alphabet.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-cyrillic texlive-cyrillic)

(define-public texlive-passivetex
  (package
    (name "texlive-passivetex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/xmltex/passivetex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h49v6sqbm27isfwwcql9dzxn4vmcn2algkqh7f1pzj860xw3ygn"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/passivetex")
    (synopsis "Support package for XML/SGML typesetting")
    (description
     "This is a set of packages providing XML parsing, UTF-8 parsing,
Unicode entities, and common formatting object definitions for JadeTeX.")
    ;; License given in "tex/xmltex/passivetex/mlnames.sty".
    (license license:lppl1.0+)))

(define-public texlive-pict2e
  (package
    (name "texlive-pict2e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pict2e/"
                                     "source/latex/pict2e/"
                                     "tex/latex/pict2e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pazv1khsgjhxc673qrhjrbzlkgmcj53qccb9hw7ygdajxrjc2ba"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pict2e")
    (synopsis "New implementation of @code{picture} commands")
    (description
     "This package extends the existing LaTeX @code{picture} environment,
using the familiar technique (the @code{graphics} and @code{color} packages)
of driver files (at present, drivers for dvips, pdfTeX, LuaTeX, XeTeX, VTeX,
dvipdfm, and dvipdfmx are available).  The package documentation has a fair
number of examples of use, showing where things are improved by comparison
with the LaTeX @code{picture} environment.")
    (license license:lppl1.3+)))

(define-public texlive-psnfss
  (package
    (name "texlive-psnfss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/psnfss/"
                                     "fonts/map/dvips/psnfss/"
                                     "source/latex/psnfss/"
                                     "tex/latex/psnfss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17zxqz32ky99z22yaqayg9ih8lyaswi97d34jykc0s12w4k4i97c"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-cm))
    (propagated-inputs
     (list texlive-graphics texlive-symbol texlive-zapfding))
    (home-page "https://www.ctan.org/pkg/psnfss")
    (synopsis "Font support for common PostScript fonts")
    (description
     "The PSNFSS collection includes a set of files that provide a complete
working setup of the LaTeX font selection scheme (NFSS2) for use with common
PostScript fonts.  The base set of text fonts covered by PSNFSS includes the
AvantGarde, Bookman, Courier, Helvetica, New Century Schoolbook, Palatino,
Symbol, Times Roman and Zapf Dingbats fonts.  In addition, the fonts Bitstream
Charter and Adobe Utopia are covered.  Separate packages are provided to load
each font for use as the main text font.  The package @code{helvet} allows
Helvetica to be loaded with its size scaled to something more appropriate for
use as a Sans-Serif font to match Times, while @code{pifont} provides the
means to select single glyphs from symbol fonts.  The bundle as a whole is
part of the LaTeX required set of packages.")
    (license license:lppl1.2+)))

(define-deprecated-package texlive-latex-psnfss texlive-psnfss)

(define-public texlive-ifplatform
  (package
    (name "texlive-ifplatform")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ifplatform/"
                                     "source/latex/ifplatform/"
                                     "tex/latex/ifplatform/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1llas0xwq3y9nk7gblg40l99cgmkl9r7rbfazrhpnbaz5cshl8pl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ifplatform")
    (synopsis "Conditionals to test which platform is being used")
    (description
     "This package uses the (La)TeX extension @samp{-shell-escape} to
establish whether the document is being processed on a Windows or on
a Unix-like system, or on Cygwin.

Booleans provided are: @code{\\ifwindows}, @code{\\iflinux}, @code{\\ifmacosx}
and @code{\\ifcygwin}.  The package also preserves the output of
@command{uname} on a Unix-like system, which may be used to distinguish
between various classes of Unix systems.")
    (license license:lppl1.3c)))

(define-deprecated-package texlive-latex-ifplatform texlive-ifplatform)

(define-public texlive-ifptex
  (package
    (name "texlive-ifptex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/ifptex/" "tex/generic/ifptex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mf4rwy1g0l2qsz571h5g3kinciy17vqgm42gvhbhffm5xyxhvx8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ifptex")
    (synopsis "Check if the engine is pTeX or one of its derivatives")
    (description
     "The @code{ifptex} package is a counterpart of @code{ifxetex},
@code{ifluatex}, etc.@: for the pTeX engine.  The @code{ifuptex} package is an
alias to @code{ifptex} provided for backward compatibility.")
    (license license:expat)))

(define-public texlive-iftex
  (package
    (name "texlive-iftex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/iftex/" "tex/generic/iftex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05p8iw8c8vjs59zb8pgilwpvlzrlb8zxyf34fhyr67y6bwm8phnf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "http://www.ctan.org/pkg/iftex")
    (synopsis "Determine the currently used TeX engine")
    (description
     "This package, which works both for Plain TeX and for LaTeX, defines the
@code{\\ifPDFTeX}, @code{\\ifXeTeX}, and @code{\\ifLuaTeX} conditionals for
testing which engine is being used for typesetting.  The package also provides
the @code{\\RequirePDFTeX}, @code{\\RequireXeTeX}, and @code{\\RequireLuaTeX}
commands which throw an error if pdfTeX, XeTeX or LuaTeX (respectively) is not
the engine in use.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-generic-iftex texlive-iftex)
(define-deprecated-package texlive-generic-ifxetex texlive-iftex)

(define-public texlive-ifxptex
  (package
    (name "texlive-ifxptex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/ifxptex/"
                                     "tex/generic/ifxptex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r77j010a9fcn47kjy6vwv72i8fynb8jsilas6hs9c9lgk5bal1g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ifxptex")
    (synopsis "Detect pTeX and its derivatives")
    (description
     "The package provides commands for detecting pTeX and its derivatives
(e-pTeX, upTeX, e-upTeX, and ApTeX).  Both LaTeX and plain TeX are
supported.")
    (license license:knuth)))

(define-public texlive-tipa
  (package
    (name "texlive-tipa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/tipa/"
                                     "fonts/map/dvips/tipa/"
                                     "fonts/source/public/tipa/"
                                     "fonts/tfm/public/tipa/"
                                     "fonts/type1/public/tipa/"
                                     "tex/latex/tipa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11gi7yhq2lnfgvqa29i0sidi5mwkzpja5ggdcpvqwv4xljf4vpvh"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-cm texlive-metafont))
    (home-page "https://ctan.org/pkg/tipa")
    (synopsis "Fonts and macros for IPA phonetics characters")
    (description
     "These fonts are considered the ultimate answer to IPA typesetting.  The
encoding of these 8-bit fonts has been registered as LaTeX standard encoding
T3, and the set of addendum symbols as encoding TS3.  Times-like Adobe Type
1 versions are provided for both the T3 and the TS3 fonts.")
    (license license:lppl)))

(define-public texlive-tipa-de
  (package
    (name "texlive-tipa-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tipa-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16gwc0dpdls6s2vdl3hmd6307d88gfzsa3kbw3vhl0z5iawvwj4h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tipa-de")
    (synopsis "German translation of @code{tipa} documentation")
    (description
     "This is a German translation of Fukui Rei's @code{tipaman} from the
@code{tipa} bundle.")
    (license license:lppl)))

(define-public texlive-amsrefs
  (package
    (name "texlive-amsrefs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/amsrefs/" "bibtex/bst/amsrefs/"
                                     "doc/latex/amsrefs/" "source/latex/amsrefs/"
                                     "tex/latex/amsrefs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12la66vz5ic6jc1cy96b2zh2fxsbaii9kbs4wrz1ii8v508wdkhv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amsrefs")
    (synopsis "LaTeX-based replacement for BibTeX")
    (description
     "Amsrefs is a LaTeX package for bibliographies that provides an
archival data format similar to the format of BibTeX database files, but
adapted to make direct processing by LaTeX easier.  The package can be used
either in conjunction with BibTeX or as a replacement for BibTeX.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-amsrefs texlive-amsrefs)

(define-public texlive-bigfoot
  (package
    (name "texlive-bigfoot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bigfoot/"
                                     "source/latex/bigfoot/"
                                     "tex/latex/bigfoot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "140b4bbjcgajd1flznmi3ga6lx5pna2nxybr2dqm9515lny8gwf0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bigfoot")
    (synopsis "Footnotes for critical editions")
    (description
     "The package aims to provide a one-stop solution to requirements for
footnotes.  It offers multiple footnote apparatus superior to that of
@code{manyfoot}.  Footnotes can be formatted in separate paragraphs, or be run
into a single paragraph.  Note that the majority of the @code{bigfoot}
package's interface is identical to that of @code{manyfoot}; users should seek
information from that package's documentation.

The @code{bigfoot} bundle also provides the @code{perpage} and @code{suffix}
packages.")
    (license license:gpl2+)))

(define-deprecated-package texlive-latex-bigfoot texlive-bigfoot)

(define-public texlive-blindtext
  (package
    (name "texlive-blindtext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/blindtext/"
                                     "source/latex/blindtext/"
                                     "tex/latex/blindtext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gakawih3mzm5jh01kb44sjpsa4r8c3zwzig5bac37g4ha2vqska"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/blindtext")
    (synopsis "Producing blind text for testing")
    (description
     "The package provides the commands @code{\\blindtext} and
@code{\\Blindtext} for creating \"blind\" text useful in testing new classes
and packages, and @code{\\blinddocument}, @code{\\Blinddocument} for creating
an entire random document with sections, lists, mathematics, etc.  The package
supports three languages, @code{english}, @code{(n)german} and @code{latin};
the @code{latin} option provides a short \"lorem ipsum\" (for a fuller \"lorem
ipsum\" text, see the @code{lipsum} package).")
    (license license:lppl)))

(define-deprecated-package texlive-latex-blindtext texlive-blindtext)

(define-public texlive-dinbrief
  (package
    (name "texlive-dinbrief")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dinbrief/"
                                     "source/latex/dinbrief/"
                                     "tex/latex/dinbrief/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l6mmn3y07xglmh3h5f7pnpmyacqb2g6nqgq3q1p6k97kf708c5s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-build
            (lambda _
              (with-fluids ((%default-port-encoding "ISO-8859-1"))
                (with-directory-excursion "source/latex/dinbrief"
                  (delete-file "dinbrief.drv")
                  (substitute* "dinbrief.dtx"
                    (("zur Verf.+ung. In der Pr\"aambel")
                     "zur Verf\"ung. In der Pr\"aambel")))))))))
    (home-page "https://ctan.org/pkg/dinbrief")
    (synopsis "German letter DIN style")
    (description
     "This package implements a document layout for writing letters according
to the rules of DIN (Deutsches Institut für Normung, German standardisation
institute).  A style file for LaTeX 2.09 (with limited support of the
features) is part of the package.  Since the letter layout is based on a
German standard, the user guide is written in German, but most macros have
English names from which the user can recognize what they are used for.  In
addition there are example files showing how letters may be created with the
package.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-dinbrief texlive-dinbrief)

(define-public texlive-draftwatermark
  (package
    (name "texlive-draftwatermark")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/draftwatermark/"
                                     "source/latex/draftwatermark/"
                                     "tex/latex/draftwatermark/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hanv3972wm2wdy8f8ygljl9rnbf04vn5yx2pqz3jdic8dhwp0j0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/draftwatermark")
    (synopsis "Put a grey textual watermark on document pages")
    (description
     "This package provides a means to add a textual, light grey watermark
on every page or on the first page of a document.  Typical usage may consist
in writing words such as DRAFT or CONFIDENTIAL across document pages.  The
package performs a similar function to that of @code{draftcopy}, but its
implementation is output device independent, and made very simple by relying
on @code{everypage}.")
    (license license:lppl1.3+)))

(define-public texlive-drv
  (package
    (name "texlive-drv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/drv/" "metapost/drv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vjc9x9xa50zzzc3m2csj9x0gqwcamhyqz1xkdbkqwkcy8rfpnlh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/drv")
    (synopsis "Derivation trees with MetaPost")
    (description
     "This package provides a set of MetaPost macros for typesetting
derivation trees (such as used in sequent calculus, type inference,
programming language semantics...).")
    (license license:lppl)))

(define-public texlive-dviincl
  (package
    (name "texlive-dviincl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/dviincl/" "metapost/dviincl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05f6ll7cq4ad4i4nkzrjnlqg1456is06fbmjiinadahf7yrqk3lw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dviincl")
    (synopsis "Include a DVI page into MetaPost output")
    (description
     "DVItoMP is one of the auxiliary programs available to any MetaPost
package; it converts a DVI file into a MetaPost file.  Using it, one can
envisage including a DVI page into an EPS files generated by MetaPost.  Such
files allow pages to include other pages.")
    (license license:public-domain)))

(define-public texlive-emp
  (package
    (name "texlive-emp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/emp/" "source/latex/emp/"
                                     "tex/latex/emp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "183qwxxjws4l0jrn92dj4qd8avnv9gq2rk1zqak0h48wxlp0fpyq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/emp")
    (synopsis "Encapsulate MetaPost figures in a document")
    (description
     "Emp is a package for encapsulating MetaPost figures in LaTeX: the
package provides environments where you can place MetaPost commands, and means
of using that code as fragments for building up figures to include in your
document.  So, with Emp, the procedure is to run your document with LaTeX, run
MetaPost, and then complete running your document in the normal way.  Emp is
therefore useful for keeping illustrations in synchrony with the text.  It
also frees you from inventing descriptive names for PostScript files that fit
into the confines of file system conventions.")
    (license license:gpl3+)))

(define-public texlive-enctex
  (package
    (name "texlive-enctex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/enctex/"
                                     "tex/generic/enctex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j8ji1ka8vhskm5kn0iwmkhjfp88ly6rva30pr1c9llsmsac5sf2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/enctex")
    (synopsis "TeX extension that translates input on its way into TeX")
    (description
     "EncTeX is (another) TeX extension, written at the change-file level.  It
provides means of translating input on the way into TeX.  It allows, for
example, translation of multibyte sequences, such as utf-8 encoding.")
    (license license:gpl3+)))

(define-public texlive-environ
  (package
    (name "texlive-environ")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/environ/"
                                     "source/latex/environ/"
                                     "tex/latex/environ/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08a3vhyzc647b9zp3yifdklj0vch9cv2vajh7ig3y01jcdqhjy41"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-trimspaces))
    (home-page "https://ctan.org/pkg/environ")
    (synopsis "New interface for environments in LaTeX")
    (description
     "This package provides the @code{\\collect@@body} command (as in
@code{amsmath}), as well as a @code{\\long} version @code{\\Collect@@Body},
for collecting the body text of an environment.  These commands are used to
define a new author interface to creating new environments.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-environ texlive-environ)

(define-public texlive-epsincl
  (package
    (name "texlive-epsincl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/epsincl/" "metapost/epsincl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pjnfqayh42gavlbd9wqn86qyqhw1bxrbmwgsv39ycj4s63xjxqr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/epsincl")
    (synopsis "Include EPS in MetaPost figures")
    (description
     "The package facilitates including EPS files in MetaPost figures.")
    (license license:public-domain)))

(define-public texlive-eqparbox
  (package
    (name "texlive-eqparbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eqparbox/"
                                     "source/latex/eqparbox/"
                                     "tex/latex/eqparbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16c5dyd4bz45a2c1ppbq05h9ixg15srk5az5pld5gpv4j0zwzrqw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eqparbox")
    (synopsis "Create equal-widthed parboxes")
    (description
     "LaTeX users sometimes need to ensure that two or more blocks of text
occupy the same amount of horizontal space on the page.  To that end, the
@code{eqparbox} package defines a new command, @code{\\eqparbox}, which works
just like @code{\\parbox}, except that instead of specifying a width, one
specifies a tag.  All @code{eqparbox}es with the same tag---regardless of
where they are in the document---will stretch to fit the widest
@code{eqparbox} with that tag.  This simple, equal-width mechanism can be used
for a variety of alignment purposes, as is evidenced by the examples in
@code{eqparbox}'s documentation.  Various derivatives of @code{\\eqparbox} are
also provided.")
    (license license:lppl1.3c)))

(define-deprecated-package texlive-latex-eqparbox texlive-eqparbox)

(define-public texlive-etoc
  (package
    (name "texlive-etoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/etoc/" "source/latex/etoc/"
                                     "tex/latex/etoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "008j03lplb5a12ha8vdsl2m8jqjm5vr753x40nahbpr96397k2b2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/etoc")
    (synopsis "Customisable table of contents")
    (description
     "This package gives the user complete control of how the entries of the
table of contents should be constituted from the name, number, and page number
of each sectioning unit.  The layout is controlled by the definition of line
styles for each sectioning level used in the document.

The package provides its own custom line styles (which may be used as
examples), and continues to support the standard formatting inherited from the
LaTeX document classes, but the package can also allow the user to delegate
the details to packages dealing with list making environments (such as
@code{enumitem}).  The package's default global style typesets tables of
contents in a multi-column format, with either a standard heading, or a ruled
title (optionally with a frame around the table).

The @code{\\tableofcontents} command may be used arbitrarily many times in the
same document, while @code{\\localtableofcontents} provides a local table of
contents.")
    (license license:lppl1.3c)))

(define-deprecated-package texlive-latex-etoc texlive-etoc)

(define-public texlive-expdlist
  (package
    (name "texlive-expdlist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/expdlist/"
                                     "source/latex/expdlist/"
                                     "tex/latex/expdlist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kylmj615hmbmjbynn5bfzhfz0wk1drxmg0kjqljnglffkb6irv6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/expdlist")
    (synopsis "Expanded description environments")
    (description
     "The package provides additional features for the LaTeX @code{description} environment,
including adjustable left margin.  The package also allows the user to break
a list (for example, to interpose a comment) without affecting the structure
of the list (this works for itemize and eumerate lists and numbered lists
remain in sequence).")
    (license license:lppl)))

(define-deprecated-package texlive-latex-expdlist texlive-expdlist)

(define-public texlive-expressg
  (package
    (name "texlive-expressg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/expressg/"
                                     "metapost/expressg/"
                                     "source/metapost/expressg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08f6lxxxmhfld6g2iy2kn68llalz3wayxqka7nd48s1ahm33kmdd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/expressg")
    (synopsis "Diagrams consisting of boxes, lines, and annotations")
    (description
     "This package provides a MetaPost package providing facilities to assist
in drawing diagrams that consist of boxes, lines, and annotations.  Particular
support is provided for creating EXPRESS-G diagrams, for example IDEF1X, OMT,
Shlaer-Mellor, and NIAM diagrams.  The package may also be used to create UML
and most other Box-Line-Annotation charts, but not Gantt charts directly.")
    (license license:lppl)))

(define-public texlive-exteps
  (package
    (name "texlive-exteps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/exteps/" "metapost/exteps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mmlmcjn8fk16y14p3q6xfmkcc75vcykblgcyzapzxd1nzy51ak7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/exteps")
    (synopsis "Include EPS figures in MetaPost")
    (description
     "Exteps is a module for including external EPS figures into MetaPost
figures.  It is written entirely in MetaPost, and does not therefore require
any post processing of the MetaPost output.")
    (license license:gpl3+)))

(define-public texlive-featpost
  (package
    (name "texlive-featpost")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/featpost/"
                                     "metapost/featpost/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a97syvr3vwpayhasb98ssvgwr99p13plrjnqb9ad24jd6srmmdg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/featpost")
    (synopsis "MetaPost macros for 3D")
    (description
     "These macros allow the production of three-dimensional schemes
containing angles, circles, cylinders, cones and spheres, among other
things.")
    (license license:gpl3+)))

(define-public texlive-feynmf
  (package
    (name "texlive-feynmf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/feynmf/" "metafont/feynmf/"
                                     "metapost/feynmf/" "source/latex/feynmf/"
                                     "tex/latex/feynmf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a6zhs4x6rkjl7vapc3y59hmrvmi570ji2bszpsk88w3fi8klckb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/feynmf")
    (synopsis "Macros and fonts for creating Feynman (and other) diagrams")
    (description
     "The @code{feynmf} package provides an interface to Metafont to use
simple structure specifications to produce relatively complex diagrams. While
the package was designed for Feynman diagrams, it could in principle be used
for diagrams in graph and similar theories, where the structure is
semi-algorithmically determined.")
    (license license:gpl3+)))

(define-public texlive-feynmp-auto
  (package
    (name "texlive-feynmp-auto")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/feynmp-auto/"
                                     "source/latex/feynmp-auto/"
                                     "tex/latex/feynmp-auto/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19ghfblv641ghak049v42wbqmh7pfadz0mrbkfbx2jr4bvf57rv2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/feynmp-auto")
    (synopsis "Automatic processing of @code{feynmp} graphics")
    (description
     "The package takes care of running Metapost on the output files produced
by the @code{feynmp} package, so that the compiled pictures will be available
in the next run of LaTeX. The package honours options that apply to
@code{feynmp}.")
    (license license:lppl1.3+)))

(define-public texlive-filemod
  (package
    (name "texlive-filemod")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/filemod/" "tex/generic/filemod/"
                                     "tex/latex/filemod/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1snsj7kblkj1ig3x3845lsypz7ab04lf0dcpdh946xakgjnz4fb5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/filemod")
    (synopsis "Provide file modification times, and compare them")
    (description
     "This package provides macros to read and compare the modification dates
of files.  The files may be @code{.tex} files, images or other files (as long
as they can be found by LaTeX).  It uses the @code{\\pdffilemoddate} primitive
of pdfLaTeX to find the file modification date as PDF date string, parses the
string and returns the value to the user.  The package will also work for DVI
output with recent versions of the LaTeX compiler which uses pdfLaTeX in DVI
mode.  The functionality is provided by purely expandable macros or by faster
but non-expandable ones.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-filemod texlive-filemod)

(define-public texlive-fix2col
  (package
    (name "texlive-fix2col")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fix2col/" "source/latex/fix2col/"
                                     "tex/latex/fix2col/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04mzs1qn9ish5sdp1v9adqvl92ljbs9rjxxfsqskalm4g9ckn8dy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fix2col")
    (synopsis "Fix miscellaneous two column mode features")
    (description
     "This package is obsolete; do not use in new documents.  It will do
nothing in LaTeX formats after 2015/01/01 as the fixes that it implements were
incorporated into the @code{fixltx2e} package, which is itself obsolete as
since the 2015/01/01 release these fixes are in the LaTeX format itself.

Fix mark handling so that @code{\\firstmark} is taken from the first column if
that column has any marks at all; keep two column floats like @code{figure*}
in sequence with single column floats like figure.")
    (license license:lppl)))

(define-public texlive-fixlatvian
  (package
    (name "texlive-fixlatvian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/fixlatvian/"
                                     "makeindex/fixlatvian/"
                                     "source/xelatex/fixlatvian/"
                                     "tex/xelatex/fixlatvian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09bivnc287z57k9rhwfl16w66dkvb55shnwpqv972n6dsjdcrh7j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fixlatvian")
    (synopsis "Improve Latvian language support in XeLaTeX")
    (description
     "The package offers improvement of the Latvian language support in
@code{polyglossia}, in particular in the area of the standard classes.")
    (license license:lppl1.3+)))

(define-public texlive-fiziko
  (package
    (name "texlive-fiziko")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/fiziko/" "metapost/fiziko/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "160iqgm4f7imnj89gj4822xv5wnnxf336k261v52h6sd0lhnhany"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fiziko")
    (synopsis "MetaPost library for physics textbook illustrations")
    (description
     "This MetaPost library was initially written to automate some elements of
black and white illustrations for a physics textbook.  It provides functions
to draw things like lines of variable width, shaded spheres, and tubes of
different kinds, which can be used to produce images of a variety of objects.
The library also contains functions to draw some objects constructed from
these primitives.")
    (license (list license:gpl3+ license:cc-by-sa4.0))))

(define-public texlive-font-change-xetex
  (package
    (name "texlive-font-change-xetex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xetex/font-change-xetex/"
                                     "tex/xetex/font-change-xetex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qhkxsk3wl6a8isik4ln1jq7ifhk7hbidq2i1lfy18c1py87xw5k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/font-change-xetex")
    (synopsis "Macros to change text and mathematics fonts in plain XeTeX")
    (description
     "This package consists of macros that can be used to typeset plain XeTeX
documents using any OpenType or TrueType font installed on the computer
system.  The macros allow the user to change the text mode fonts and some math
mode fonts.  For any declared font family, various font style, weight, and
size variants like bold, italics, small caps, etc., are available through
standard and custom TeX control statements.  Using the optional argument of
the macros, the available XeTeX font features and OpenType tags can be
accessed.  Other features of the package include activating and deactivating
hanging punctuation, and support for special Unicode characters.")
    (license license:cc-by-sa4.0)))

(define-public texlive-fontbook
  (package
    (name "texlive-fontbook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/fontbook/"
                                     "source/xelatex/fontbook/"
                                     "tex/xelatex/fontbook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n5yn6rgndk0yr91bhglby9nr5mifgfi895klvsixmxc0k5bqp97"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontbook")
    (synopsis "Generate a font book")
    (description
     "The package provides a means of producing a book of font samples (for
evaluation, etc.).")
    (license license:lppl1.3+)))

(define-public texlive-fontwrap
  (package
    (name "texlive-fontwrap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/fontwrap/"
                                     "tex/xelatex/fontwrap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nzphhwgm9387mn2rfhmsandyvcwv99lxm5978jg6pycs43dggs7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontwrap")
    (synopsis "Bind fonts to specific Unicode blocks")
    (description
     "The package (which runs under XeLaTeX) lets you bind fonts to specific
Unicode blocks, for automatic font tagging of multilingual text.")
    (license license:gpl3+)))

(define-public texlive-garrigues
  (package
    (name "texlive-garrigues")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/garrigues/"
                                     "metapost/garrigues/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vg1j0r4mkp057v7kjr8yza1danc3zj7k590x5531yi0gzp7hgq2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/garrigues")
    (synopsis "MetaPost macros for the reproduction of Garrigues' Easter nomogram")
    (description
     "This library provides MetaPost macros for the reproduction of Garrigues
Easter nomogram.")
    (license license:lppl)))

(define-public texlive-garuda-c90
  (package
    (name "texlive-garuda-c90")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/garuda-c90/"
                                     "fonts/map/dvips/garuda-c90/"
                                     "fonts/tfm/public/garuda-c90/"
                                     "source/fonts/garuda-c90/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f6rlfxq3ccv9wdf7pzfgs1081yflxd3fzhkzi23mpyl777l7q9y"))))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-fonts-tlwg))
    (home-page "https://ctan.org/pkg/garuda-c90")
    (synopsis "TeX support (from CJK) for the Garuda font")
    (description
     "This package provides TeX support (from CJK) for the Garuda font.")
    (license license:gpl2+)))

(define-public texlive-hanging
  (package
    (name "texlive-hanging")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hanging/" "source/latex/hanging/"
                                     "tex/latex/hanging/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18ichpmmghz0nmv6m646r64y5jvyp52qz9hj7hadrf34xj1ijmlk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/hanging")
    (synopsis "Typeset hanging paragraphs")
    (description
     "The @code{hanging} package facilitates the typesetting of hanging
paragraphs.  The package also enables typesetting with hanging punctuation,
by making punctuation characters active.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-hanging texlive-hanging)

(define-public texlive-fira
  (package
    (name "texlive-fira")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fira/"
                                     "fonts/enc/dvips/fira/"
                                     "fonts/map/dvips/fira/"
                                     "fonts/opentype/public/fira/"
                                     "fonts/tfm/public/fira/"
                                     "fonts/type1/public/fira/"
                                     "fonts/vf/public/fira/"
                                     "tex/latex/fira/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19sb6c1h1crhs1597i3nlvr2ahl20hxj7a1a5xkpfr5vj4n3x5kv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fira")
    (synopsis "Fira fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Fira Sans family of fonts designed by Erik Spiekermann and Ralph du
Carrois of Carrois Type Design.  Fira Sans is available in eleven weights with
corresponding italics: light, regular, medium, bold, ...")
    (license (list license:lppl
                   license:silofl1.1))))

(define-public texlive-firstaid
  (package
    (name "texlive-firstaid")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/firstaid/" "source/latex/firstaid/"
                                     "tex/latex/firstaid/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kzf4siq18mp5wfp9mkc96vk45k85wcgphpv51vsa312fqdylzcb"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex"
                                               "texlive-pdftex")))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (native-inputs (list texlive-latex texlive-pdftex))
    (home-page "https://ctan.org/pkg/firstaid")
    (synopsis
     "First aid for external LaTeX files and packages that need updating")
    (description
     "This package contains some first aid for LaTeX packages or classes that
require updates because of internal changes to the LaTeX kernel that are not
yet reflected in the package's or class's code.  The file
@file{latex2e-first-aid-for-external-files.ltx} provided by this package is
meant to be loaded during format generation and not by the user.")
    (license license:lppl1.3c)))

(define-public texlive-gmp
  (package
    (name "texlive-gmp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gmp/" "source/latex/gmp/"
                                     "tex/latex/gmp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zvl80wjg4xsika0p0v6jskrwdpy3n7qbfvbg76qbzzpc03n6x6a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gmp")
    (synopsis "Enable integration between MetaPost pictures and LaTeX")
    (description
     "The package allows integration between MetaPost pictures and LaTeX.
The main feature is that passing parameters to the MetaPost pictures is
possible and the picture code can be put inside arguments to commands,
including @code{\\newcommand}.")
    (license license:lppl1.3+)))

(define-public texlive-hershey-mp
  (package
    (name "texlive-hershey-mp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/hershey-mp/"
                                     "metapost/hershey-mp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pbybiqh5qgj9zh0yifxm2hn25h73kz1glrv1cz9sw38h6iydlzw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hershey-mp")
    (synopsis "MetaPost support for the Hershey font file format")
    (description
     "This package provides MetaPost support for reading jhf vector font
files, used by (mostly? only?) the so-called Hershey Fonts of the late 1960s.
The package does not include the actual font files, which you can probably
find in the software repository of your operating system.")
    (license license:eupl1.2)))

(define-public texlive-interchar
  (package
    (name "texlive-interchar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/interchar/"
                                     "tex/xelatex/interchar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06pvpaph1gi3rjvwzpvzc2rlx0wb8fqmidbfh8dw2qazzbirdlnz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/interchar")
    (synopsis "Managing character class schemes in XeTeX")
    (description
     "The package manages character class schemes of XeTeX.  Using this
package, you may switch among different character class schemes.  Migration
commands are provided for make packages using this mechanism compatible with
each others.")
    (license license:lppl1.3+)))

(define-public texlive-latexmk
  (package
    (name "texlive-latexmk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/latexmk.1"
                                     "doc/man/man1/latexmk.man1.pdf"
                                     "doc/support/latexmk/" "scripts/latexmk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yqll020pp0ajyq9i1ifim0mqvb9dk97y1gjkgi8r4n0d1bvkx9d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "latexmk.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/latexmk")
    (synopsis "Fully automated LaTeX document generation")
    (description
     "Latexmk completely automates the process of generating a LaTeX document.
Given the source files for a document, @command{latexmk} issues the
appropriate sequence of commands to generate a @file{.dvi}, @file{.ps},
@file{.pdf} or hardcopy version of the document.  An important feature is the
preview continuous mode, where the script watches all of the source files and
reruns LaTeX, etc., whenever a source file has changed.  Thus a previewer can
offer a display of the document's latest state.")
    (license license:gpl2)))

(define-public texlive-latexmp
  (package
    (name "texlive-latexmp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/latexmp/" "metapost/latexmp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zxwxss5sl16laaqalr8043wmyk2bhlja3al5xlxkizvlnflqy0f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexmp")
    (synopsis "Interface for LaTeX-based typesetting in MetaPost")
    (description
     "The MetaPost package @code{latexMP} implements a user-friendly interface
to access LaTeX-based typesetting capabilities in MetaPost.  The text to be
typeset is given as string.  This allows even dynamic text elements, for
example counters, to be used in labels.  Compared to other implementations it
is much more flexible, since it can be used as direct replacement for
@code{btex.etex}, and much faster, compared for example to the solution
provided by @code{tex.mp}.")
    (license license:public-domain)))

(define-public texlive-marathi
  (package
    (name "texlive-marathi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/marathi/" "source/latex/marathi/"
                                     "tex/latex/marathi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xlyvdb6dadg4x2xixcxr1ixqsz69ssifpbh5p46lzsz080pwd58"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/marathi")
    (synopsis "Typeset Marathi language using XeLaTeX or LuaLaTeX")
    (description
     "This package is used to typeset Marathi language with LuaLaTeX and XeLaTeX.
It will provide localizations needed for the Marathi language.  Currently the
package localizes package @code{blindtext} and package @code{expex}.")
    (license (list license:gpl3+ license:fdl1.3+))))

(define-public texlive-markdown
  (package
    (name "texlive-markdown")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/third/markdown/examples/"
                                     "doc/generic/markdown/"
                                     "doc/latex/markdown/examples/"
                                     "doc/optex/markdown/examples/"
                                     "scripts/markdown/"
                                     "source/generic/markdown/"
                                     "tex/context/third/markdown/"
                                     "tex/generic/markdown/"
                                     "tex/latex/markdown/"
                                     "tex/luatex/markdown/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1202x2l22sq2252b7bnywm58b2sj7syvk9ayldd3fgxb0lr3a063"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/markdown")
    (synopsis "Converting and rendering Markdown documents inside TeX")
    (description
     "The package provides facilities for the conversion of Markdown markup to
plain TeX.  These are provided both in form of a Lua module and in form of
plain TeX, LaTeX, and ConTeXt macro packages that enable the direct inclusion
of Markdown documents inside TeX documents.")
    (license license:lppl1.3c)))

(define-public texlive-mcf2graph
  (package
    (name "texlive-mcf2graph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/mcf2graph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xy1f4cmf2w9p0wpdapig6jc4bwwmqqiy7981ja3kcx6g6id1r95"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mcf2graph")
    (synopsis "Draw chemical structure diagrams with MetaPost")
    (description
     "The Molecular Coding Format (MCF) is a linear notation for describing
chemical structure diagrams.  This package converts MCF to graphic files using
MetaPost.")
    (license license:expat)))

(define-public texlive-metago
  (package
    (name "texlive-metago")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/metago/" "metapost/metago/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13m61ml8wfs5888nifilgzi503m3gz1f2fa44408jdhlr6zk6fa0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metago")
    (synopsis "MetaPost output of Go positions")
    (description
     "The package allows you to draw Go game positions with MetaPost.  Two
methods of usage are provided, either using the package programmatically, or
using the package via a script (which may produce several images).")
    (license license:lppl)))

(define-public texlive-metaobj
  (package
    (name "texlive-metaobj")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/metaobj/" "metapost/metaobj/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ir6p14h79x5iqbxmj2893x8j1d490bnhs83jwnrbcjxn0yxky6w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metaobj")
    (synopsis "MetaPost package providing high-level objects")
    (description
     "METAOBJ is a large MetaPost package providing high-level objects.  It
implements many of PSTricks features for node connections, but also trees,
matrices, and many other things.  It more or less contains @code{boxes.mp} and
@code{rboxes.mp}.  It is easily extensible with new objects.")
    (license license:lppl)))

(define-public texlive-metaplot
  (package
    (name "texlive-metaplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/metaplot/" "metapost/metaplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19y8lj28gvky7f7g2i562ixwvmnxnflnfc8l8r0x7zg384hg8835"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metaplot")
    (synopsis "Plot-manipulation macros for use in MetaPost")
    (description
     "MetaPlot is a set of MetaPost macros for manipulating pre-generated
plots (and similar objects), and formatting them for inclusion in a MetaPost
figure.  The intent is that the plots can be generated by some outside
program, in an abstract manner that does not require making decisions about
on-page sizing and layout, and then they can be imported into MetaPlot and
arranged using the full capabilities of MetaPost.  Metaplot also includes
a very flexible set of macros for generating plot axes, which may be useful in
other contexts as well.")
    (license license:lppl)))

(define-public texlive-metapost-colorbrewer
  (package
    (name "texlive-metapost-colorbrewer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/metapost-colorbrewer/"
                                     "metapost/metapost-colorbrewer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00bpdz2k849k1sfrlflxhdbylncb5y2bixgmylyh0i8rbb467q7l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metapost-colorbrewer")
    (synopsis
     "Implementation of the @code{colorbrewer2.org} colours for MetaPost")
    (description
     "This package provides two MetaPost include files that define all the
@code{colorbrewer2.org} colours: @code{colorbrewer-cmyk.mp} and
@code{colorbrewer-rgb.mp}. The first defines all the colours as CMYK, the
second as RGB.")
    (license license:gpl3+)))

(define-public texlive-metauml
  (package
    (name "texlive-metauml")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/metauml/" "metapost/metauml/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01hs234mjqnr39zm7jl6dpbm5w0k4p73pr0aj35ii0dhakln2jsy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metauml")
    (synopsis "MetaPost library for typesetting UML diagrams")
    (description
     "MetaUML is a MetaPost library for typesetting UML diagrams, which
provides a usable, human-friendly textual notation for UML, offering now
support for class, package, activity, state, and use case diagrams.")
    (license license:gpl3+)))

(define-public texlive-mfpic
  (package
    (name "texlive-mfpic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/mfpic/" "metafont/mfpic/"
                                     "metapost/mfpic/" "source/generic/mfpic/"
                                     "tex/generic/mfpic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s3z31mglmij7qc1f0681vv2a6md9wz9zbi6zlh7zvmhy5hzkjkv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mfpic")
    (synopsis "Draw Metafont/post pictures from (La)TeX commands")
    (description
     "Mfpic is a scheme for producing pictures from (La)TeX commands.
Commands @code{\\mfpic} and @code{\\endmfpic} (in LaTeX, the @code{mfpic}
environment) enclose a group in which drawing commands may be placed.  The
commands generate a Meta-language file, which may be processed by MetaPost (or
even Metafont).  The resulting image file will be read back in to the document
to place the picture at the point where the original (La)TeX commands
appeared.")
    (license license:lppl1.3+)))

(define-public texlive-mfpic4ode
  (package
    (name "texlive-mfpic4ode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mfpic4ode/"
                                     "source/latex/mfpic4ode/"
                                     "tex/latex/mfpic4ode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ssmpvp1apxvinidq42pfpvjimpvd250har85n6rl7dj5fws9j8m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mfpic4ode")
    (synopsis "Macros to draw direction fields and solutions of ODEs")
    (description
     "The package is a small set of macros for drawing direction fields, phase
portraits and trajectories of differential equations and two dimensional
autonomous systems.  The Euler, Runge-Kutta and fourth order Runge-Kutta
algorithms are available to solve the ODEs.  The picture is translated into
@code{mfpic} macros and MetaPost is used to create the final drawing.")
    (license license:lppl)))

(define-public texlive-minim-hatching
  (package
    (name "texlive-minim-hatching")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/minim-hatching/"
                                     "metapost/minim-hatching/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qcd5zvhj9hrdhb7il1hbfdh5sgccl6mvwwmpw9fymbwdri9224f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/minim-hatching")
    (synopsis "Create tiling patterns with @code{minim-mp} MetaPost processor")
    (description
     "This is a small proof-of-concept library of tiling patterns for use with
the @code{minim-mp} MetaPost processor.")
    (license license:eupl1.2)))

(define-public texlive-mp3d
  (package
    (name "texlive-mp3d")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/mp3d/" "metapost/mp3d/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qfg4ifm5z72sr8vimibmpmqh0cxzipiy4jr8rbq5qsj2mfqzphd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mp3d")
    (synopsis "3D animations")
    (description
     "This library creates animations of 3-dimensional objects (such as
polyhedra) in MetaPost.")
    (license license:lppl)))

(define-public texlive-mparrows
  (package
    (name "texlive-mparrows")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/mparrows/"
                                     "metapost/mparrows/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pc9w5g6qasfpv4dxf0aahahbxk6kjwirdmx8l4i27syjb1lgzw9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mparrows")
    (synopsis "MetaPost module with different types of arrow heads")
    (description
     "This package provides a package to provide different types of arrow
heads to be used with MetaPost commands")
    (license license:public-domain)))

(define-public texlive-mpattern
  (package
    (name "texlive-mpattern")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/mpattern/"
                                     "metapost/mpattern/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00g250vl6gnvwx6zgmfqcw3nwkh546i1vjz4zjp3dc5n5yj5y6ls"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mpattern")
    (synopsis "Patterns in MetaPost")
    (description
     "This package provides a package for defining and using patterns in MetaPost,
using the Pattern Color Space available in PostScript Level 2.")
    (license license:public-domain)))

(define-public texlive-mpcolornames
  (package
    (name "texlive-mpcolornames")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/mpcolornames/"
                                     "metapost/mpcolornames/"
                                     "source/metapost/mpcolornames/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s5yb57yamg1fd7w5hmkmfyxyqj3mivhkvrkqzm31dzh4y22qg3k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mpcolornames")
    (synopsis "Extend list of predefined colour names for MetaPost")
    (description
     "The MetaPost format @code{plain.mp} provides only five built-in colour names
(variables), all of which are defined in the RGB model: red, green and blue
for the primary colours and black and white.  The package makes more than 500
colour names from different colour sets in different colour models available
to MetaPost.")
    (license license:lppl)))

(define-public texlive-mpgraphics
  (package
    (name "texlive-mpgraphics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mpgraphics/"
                                     "source/latex/mpgraphics/"
                                     "tex/latex/mpgraphics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z51scc8vimwihdyxv3g1cb7bjbj8w2a2ck1ygjyf8xzz4hcic2s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mpgraphics")
    (synopsis "Process and display MetaPost figures inline")
    (description
     "The package allows LaTeX users to typeset MetaPost code inline and
display figures in their documents with only and only one run of LaTeX,
pdfLaTeX or XeLaTeX (no separate runs of @command{mpost}).  Mpgraphics
achieves this by using the shell esc