summaryrefslogtreecommitdiff
path: root/thomaslabs/packages/tex.scm
blob: 5b6a7807839a3babd857e87d14561dd976f5a895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
(define-module (thomaslabs packages tex)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module ((guix licenses) #:prefix license:)

  #:use-module (guix build-system texlive)
  #:use-module (guix build-system gnu)

  #:use-module (gnu packages)
  #:use-module (gnu packages cpp)
  #:use-module (gnu packages digest)

  #:use-module (gnu packages tex)
  #:use-module (gnu packages gettext)
  #:use-module (gnu packages autotools)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages python)
  #:use-module (gnu packages compression)
  #:use-module (gnu packages fontutils)
  #:use-module (gnu packages m4)
  #:use-module (gnu packages ghostscript))

(define simple-texlive-package
  (@@ (gnu packages tex) simple-texlive-package))

(define-public texlive-circuitikz
  (package
    (inherit (simple-texlive-package
              "texlive-circuitikz"
              (list "doc/latex/circuitikz/"
                    "tex/latex/circuitikz/"
                    "tex/generic/circuitikz/"
                    "tex/context/third/circuitikz/")
              (base32
               "0xd2xyg9hqvl16a921hb7bxx4x7sxzzqap37h6is8g26swmw8jb2")
              #:trivial? #t))
    (build-system texlive-build-system)
    (home-page "")
    (synopsis "")
    (description
     "")
    (license license:lppl)))

(define-public texlive-esdiff
  (package
    (inherit (simple-texlive-package
              "texlive-esdiff"
              (list "doc/latex/esdiff/"
                    "tex/latex/esdiff/")
              (base32
               "1qivxp937zmndzb5569dabq6x1gnq40kvyyhmf1srkkk3fy5admp")
              #:trivial? #t))
    (build-system texlive-build-system)
    (home-page "")
    (synopsis "")
    (description
     "")
    (license license:lppl)))

(define-public texlive-pgfplots
  (package
    (inherit (simple-texlive-package
              "texlive-pgfplots"
              (list "doc/latex/pgfplots/"
                    "tex/latex/pgfplots/"
                    "tex/generic/pgfplots/"
                    "tex/plain/pgfplots/"
                    "scripts/pgfplots/")
              (base32
               "1313xc5dn32fx86pyki2gm0vyzgv1450bca03x8cmk6j0liik28n")
              #:trivial? #t))
    (build-system texlive-build-system)
    (home-page "")
    (synopsis "")
    (description
     "")
    (license license:lppl)))

(define-public texlive-mhchem
  (package
    (inherit (simple-texlive-package
              "texlive-mhchem"
              (list "tex/latex/mhchem/")
              (base32
               "0cp7dfkry418kb0md1bvkv5b7x8m5r5ygj6lnz3arym2fzmmrp7z")
              #:trivial? #t))
    (build-system texlive-build-system)
    (home-page "")
    (synopsis "")
    (description
     "")
    (license license:lppl)))

;; (define-public texlive-mathtools
;;   (package
;;     (inherit (simple-texlive-package
;;               "texlive-mathtools"
;;               (list "doc/latex/pgfplots/"
;;                     "tex/latex/pgfplots/"
;;                     "tex/generic/pgfplots/"
;;                     "tex/plain/pgfplots/"
;;                     "scripts/pgfplots/")
;;               (base32
;;                "1313xc5dn32fx86pyki2gm0vyzgv1450bca03x8cmk6j0liik28n")
;;               #:trivial? #t))
;;     (build-system texlive-build-system)
;;     (home-page "")
;;     (synopsis "")
;;     (description
;;      "")
;;     (license license:lppl)))

(define-public texlive-latex-base-fixed
  (package
    (inherit texlive-latex-base)
    (name "texlive-latex-base-fixed")
    (propagated-inputs (modify-inputs
                           (package-propagated-inputs texlive-latex-base)
                         (append texlive-babel)))))

;; (define-public dvisvgm
;;   (package
;;     (name "dvisvgm")
;;     (version "3.0.3")
;;     (source
;;      (origin
;;        (method git-fetch)
;;        (uri (git-reference
;;              (url "https://github.com/mgieseki/dvisvgm")
;;              (commit version)))
;;        (file-name (git-file-name name version))
;;        (sha256
;;         (base32 "11r401yqbw61n1mwsfk5qmwx2c92djwpl0q756qkds5kh25l9ci8"))))
;;     (native-inputs
;;      (list pkg-config
;;            autoconf
;;            autoconf-archive
;;            automake
;;            python-wrapper
;;            libtool))
;;     (inputs
;;      (list texlive-libkpathsea
;;            freetype
;;            fontforge
;;            clipper
;;            ghostscript
;;            xxhash
;;            google-brotli
;;            woff2
;;            zlib))
;;     (build-system gnu-build-system)
;;     (synopsis "Command-line utility for generating SVG from DVI, EPS and PDF
;; files")
;;     (description "`dvisvgm' converts TeX DVI, EPS and PDF files into an
;; SVG (Scalable Vector Graphics) image.  It provides full font support including
;; virtual fonts, font maps and sub-fonts.  The embedded SVG fonts can optionally
;; be replaced with graphics paths for applications that do not support SVG
;; fonts.  `dvisvgm' supports also colors, emTeX, tpic, papersize, PDF mapfile
;; and PostScript specials.  A working TeX installation in needed.")
;;     (home-page "https://dvisvgm.de/")
;;     (license license:gpl3+)))

;; (define-public digestif
;;   (package
;;    (name "digestif")
;;    (version "0.0.1")
;;    (source (origin
;;             (uri (git-reference
;;                   (url "https://github.com/astoff/digestif.git")
;;                   (commit "505ca88a54012be5534654238baaa457f8446fed")))
;;             (sha256
;;              (base32 "1prv5nqskvilyyx3z9b2jiz72lwpz2xcas57qjpbv6qq5l2si1xm"))
;;             (method git-fetch)))
;;    (inputs
;;     `(("lua" ,lua)
;;       ("lua-lpeg" ,lua-lpeg)))
;;    (build-system copy-build-system)
;;    (arguments '(#:phases
;;                 (modify-phases %standard-phases
;;                   (add-before 'install 'fix
;;                               (lambda* (#:key outputs #:allow-other-keys)
;;                                 (m)
;;                                 (let ((files '("digestif-dev-1.rockspec"
;;                                                ".travis.yml"
;;                                                "spec"
;;                                                "scripts"))))
;;                       ()
;;                       #t)))))
;;    (synopsis "")
;;    (description "")
;;    (home-page "a")
;;    (license license:gpl3)))