guix-more/more/packages/tex.scm

tex.scm

1
;;; GNU Guix --- Functional package management for GNU
2
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
3
;;;
4
;;; This file is part of GNU Guix.
5
;;;
6
;;; GNU Guix is free software; you can redistribute it and/or modify it
7
;;; under the terms of the GNU General Public License as published by
8
;;; the Free Software Foundation; either version 3 of the License, or (at
9
;;; your option) any later version.
10
;;;
11
;;; GNU Guix is distributed in the hope that it will be useful, but
12
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
;;; GNU General Public License for more details.
15
;;;
16
;;; You should have received a copy of the GNU General Public License
17
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
18
19
(define-module (more packages tex)
20
  #:use-module (guix packages)
21
  #:use-module (guix download)
22
  #:use-module (guix git-download)
23
  #:use-module (guix svn-download)
24
  #:use-module (guix utils)
25
  #:use-module (guix build-system texlive)
26
  #:use-module ((guix licenses) #:prefix license:)
27
  #:use-module (gnu packages)
28
  #:use-module (gnu packages tex))
29
30
(define-public texlive-generic-babel-french
31
  (package
32
    (name "texlive-generic-babel-french")
33
    (version (number->string %texlive-revision))
34
    (source (origin
35
              (method svn-fetch)
36
              (uri (texlive-ref "generic" "babel-french"))
37
              (file-name (string-append name "-" version "-checkout"))
38
              (sha256
39
               (base32
40
                "1rymnl34w4k5izw56g48s90wki2qyq8nz1aj6ijax2bnznm55ngl"))))
41
    (build-system texlive-build-system)
42
    (arguments '(#:tex-directory "generic/babel-french"))
43
    (home-page "https://www.ctan.org/pkg/babel-french")
44
    (synopsis "Babel support for French")
45
    (description
46
     "This package provides the language definition file for support of
47
French in @code{babel}.")
48
    (license license:lppl1.3+)))
49
50
(define-public texlive-latex-sauerj
51
  (package
52
    (name "texlive-latex-sauerj")
53
    (version (number->string %texlive-revision))
54
    (source (origin
55
              (method svn-fetch)
56
              (uri (texlive-ref "latex" "sauerj"))
57
              (file-name (string-append name "-" version "-checkout"))
58
              (sha256
59
               (base32
60
                "1rn3l0klhx1yhw37m20jj5aiss0qd7n30ivhss6x9ivsli938dk0"))))
61
    (build-system texlive-build-system)
62
    (arguments '(#:tex-directory "latex/sauerj"))
63
    (home-page "")
64
    (synopsis "")
65
    (description "sauerj, parcolumns")
66
    (license license:lppl1.3+)))
67
68
(define-public biber-old
69
  (package
70
    (inherit biber)
71
    (name (package-name biber))
72
    (version "2.11")
73
    (source (origin
74
              (method git-fetch)
75
              (uri (git-reference
76
                    (url "https://github.com/plk/biber/")
77
                    (commit (string-append "v" version))))
78
              (file-name (git-file-name name version))
79
              ;; TODO: Patch awaiting inclusion upstream (see:
80
              ;; https://github.com/plk/biber/issues/239).
81
              (patches (search-patches "biber-fix-encoding-write.patch"))
82
              (sha256
83
               (base32
84
                "0qgkc1k9n36yfmndwz879pak6mjphld0p85lzn9g2ng0vhxsifzz"))))))
85