From 702f23b3b85cd8a6aa11d3ebe1ad032faca3954b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 9 Jul 2017 11:29:17 +0200 Subject: gnu: texlive-latex-base: Fix xetex and xelatex formats. * gnu/packages/tex.scm (texlive-latex-base)[arguments]: Build xetex and xelatex formats with matching interpreters. --- gnu/packages/tex.scm | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index f4b6596e9d..e0584ebf17 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -743,25 +743,28 @@ book).") ;; leading asterisk). We should not use luatex here, ;; because that would make the generated format files ;; incompatible with any other TeX engine. - - ;; FIXME: XeTeX fails to build because neither - ;; \XeTeXuseglyphmetrics nor \XeTeXdashbreakstate are - ;; defined. (every (lambda (format) (zero? (system* "latex" "-ini" "-interaction=batchmode" "-output-directory=web2c" "-translate-file=cp227.tcx" (string-append "*" format ".ini")))) - '("latex" ;"xetex" + '("latex" "pdflatex" "pdfetex")) + (every + (lambda (format) + (zero? (system* format "-ini" "-interaction=batchmode" + "-output-directory=web2c" + (string-append "*" format ".ini")))) + '("xetex" + "xelatex")) (every (lambda (format) (zero? (system* "luatex" "-ini" "-interaction=batchmode" "-output-directory=web2c" (string-append format ".ini")))) - '("dviluatex" "dvilualatex" "luatex" "lualatex" "xelatex"))))) + '("dviluatex" "dvilualatex" "luatex" "lualatex"))))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) -- cgit v1.2.3 From 05d28068ed6a54e87b2efdf357c045383875e135 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:07:07 +0200 Subject: gnu: texlive-latex-oberdiek: Build ifpdf package. * gnu/packages/tex.scm (texlive-latex-oberdiek)[arguments]: Only build the "oberdiek.ins" package (which includes all other packages); patch file to build "ifpdf.dtx" instead of "ifpdf.ins". --- gnu/packages/tex.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index e0584ebf17..0177fd2b67 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1022,13 +1022,14 @@ nameref packages, which make use of the facilities of hyperref.") (build-system texlive-build-system) (arguments '(#:tex-directory "latex/oberdiek" + #:build-targets '("oberdiek.ins") #:phases (modify-phases %standard-phases - ;; "ifpdf.ins" is not generated, so we cannot process it. + ;; "ifpdf.ins" is not generated, so we need to process the dtx file. (add-after 'unpack 'do-not-process-ifpdf.ins (lambda _ (substitute* "oberdiek.ins" - (("\\\\batchinput\\{ifpdf.ins\\}") "")) + (("ifpdf.ins") "ifpdf.dtx")) #t))))) (home-page "http://www.ctan.org/pkg/oberdiek") (synopsis "Bundle of packages submitted by Heiko Oberdiek") -- cgit v1.2.3 From beb476ed772d4b504e137399fe8cee5cca5843d1 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 9 Jul 2017 11:45:51 +0200 Subject: gnu: texlive-generic-ifxetex: Fix description. * gnu/packages/tex.scm (texlive-generic-ifxetex)[description]: Fix typo. --- gnu/packages/tex.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 0177fd2b67..7a75df426f 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -863,7 +863,7 @@ overwrite existing files and letting you use @code{filecontents} / (description "This is a simple package which provides an @code{\\ifxetex} conditional, so that other code can determine that it is running under XeTeX. The package -requires the etexe-TeX extensions to the TeX primitive set.") +requires the e-TeX extensions to the TeX primitive set.") (license license:lppl1.3c+))) (define-public texlive-latex-fancyvrb -- cgit v1.2.3 From 98b4aca156bff5ea1b522a8675ceba1a5c208ad1 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:12:19 +0200 Subject: gnu: Add texlive-fonts-amsfonts. * gnu/packages/tex.scm (texlive-fonts-amsfonts): New variable. --- gnu/packages/tex.scm | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 7a75df426f..f7e6bb2686 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -634,6 +634,91 @@ class), line and circle fonts (for use in the picture environment) and LaTeX symbol fonts.") (license license:lppl1.2+))) +(define-public texlive-fonts-amsfonts + (package + (name "texlive-fonts-amsfonts") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/fonts/source/public/amsfonts")) + (revision %texlive-revision))) + (sha256 + (base32 + "07h20rvpbdb4k72hzmjkyb29426zr9wxsfp6yd4ajbbpd3vx8grb")))) + (build-system gnu-build-system) + (arguments + `(#:modules ((guix build gnu-build-system) + (guix build utils) + (srfi srfi-1) + (srfi srfi-26)) + #:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda* (#:key inputs #:allow-other-keys) + (let ((mf (assoc-ref inputs "texlive-metafont-base")) + (cwd (getcwd))) + ;; Tell mf where to find mf.base + (setenv "MFBASES" (string-append mf "/share/texmf-dist/web2c")) + ;; Tell mf where to look for source files + (setenv "MFINPUTS" + (string-append cwd ":" + cwd "/cmextra:" + cwd "/cyrillic:" + cwd "/dummy:" + cwd "/symbols:" + mf "/share/texmf-dist/metafont/base:" + (assoc-ref inputs "texlive-fonts-cm") + "/share/texmf-dist/fonts/source/public/cm"))) + (mkdir "build") + (every (lambda (font) + (format #t "building font ~a\n" (basename font ".mf")) + (with-directory-excursion (dirname font) + (zero? (system* "mf" "-progname=mf" + "-output-directory=../build" + (string-append "\\" + "mode:=ljfour; " + "mag:=1; " + "nonstopmode; " + "input " + (getcwd) "/" + (basename font ".mf")))))) + (find-files "." "[0-9]+\\.mf$")))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (tfm (string-append + out "/share/texmf-dist/fonts/tfm/public/amsfonts")) + (mf (string-append + out "/share/texmf-dist/fonts/source/public/amsfonts"))) + (for-each (cut install-file <> tfm) + (find-files "build" "\\.*")) + (for-each (cut install-file <> mf) + (find-files "." "\\.mf")) + #t)))))) + (native-inputs + `(("texlive-fonts-cm" ,texlive-fonts-cm) + ("texlive-metafont-base" ,texlive-metafont-base) + ("texlive-bin" ,texlive-bin))) + (home-page "http://www.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))) + ;; This provides etex.src which is needed to build various formats, including ;; luatex.fmt and pdflatex.fmt (define-public texlive-tex-plain -- cgit v1.2.3 From 137f9cbc8880d9e54a0055fc7c6fe0c58a2124ea Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 9 Jul 2017 12:02:10 +0200 Subject: gnu: Add texlive-latex-amsfonts. * gnu/packages/tex.scm (texlive-latex-amsfonts): New variable. --- gnu/packages/tex.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index f7e6bb2686..aa4f739c55 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -719,6 +719,29 @@ Modern family of fonts. The Euler fonts are supported by separate packages; details can be found in the documentation.") (license license:silofl1.1))) +(define-public texlive-latex-amsfonts + (package + (name "texlive-latex-amsfonts") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "amsfonts")) + (sha256 + (base32 + "0slzfv5h2m03b2xvm2sasznz4azh6rgi069z161dja3l8rln79hm")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/amsfonts")) + (native-inputs + `(("texlive-fonts-cm" ,texlive-fonts-cm) + ("texlive-metafont-base" ,texlive-metafont-base))) + (home-page "http://www.ctan.org/pkg/amsfonts") + (synopsis "TeX fonts from the American Mathematical Society") + (description + "This package provides basic LaTeX support for the symbol fonts provides +by the amsfonts package. It provides @code{amsfonts.sty}, with names of +individual symbols defined in @code{amssymb.sty}.") + (license license:silofl1.1))) + ;; This provides etex.src which is needed to build various formats, including ;; luatex.fmt and pdflatex.fmt (define-public texlive-tex-plain -- cgit v1.2.3 From bda61541d530bc9242b8887fc98264e3ecdcee00 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:12:53 +0200 Subject: gnu: Add texlive-latex-anysize. * gnu/packages/tex.scm (texlive-latex-anysize): New variable. --- gnu/packages/tex.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index aa4f739c55..2a7461c13e 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1691,6 +1691,39 @@ other programs in the distribution offer online interactive use (with hypertext linkages in some cases).") (license license:gpl3+))) +(define-public texlive-latex-anysize + (package + (name "texlive-latex-anysize") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/latex/anysize")) + (revision %texlive-revision))) + (sha256 + (base32 + "19khwqjlvznc955sijhww3c4zbb0053rvzwv9nz738qknq7y18vb")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/latex/anysize"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) + (home-page "http://www.ctan.org/pkg/anysize") + (synopsis "Simple package to set up document margins") + (description + "This is a simple package to set up document margins. This package is +considered obsolete; alternatives are the @code{typearea} package from the +@code{koma-script} bundle, or the @code{geometry} package.") + (license license:public-domain))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From 1d3be84e7368d01d34894a3e29f6ba4fe0872da0 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:13:22 +0200 Subject: gnu: Add texlive-latex-appendix. * gnu/packages/tex.scm (texlive-latex-appendix): New variable. --- gnu/packages/tex.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 2a7461c13e..d15c838748 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1724,6 +1724,28 @@ considered obsolete; alternatives are the @code{typearea} package from the @code{koma-script} bundle, or the @code{geometry} package.") (license license:public-domain))) +(define-public texlive-latex-appendix + (package + (name "texlive-latex-appendix") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "appendix")) + (sha256 + (base32 + "0rxfpr8vq3brwx5rc7qn91ixlp9zva4zrms8a579fqa1g5yva7vg")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/appendix")) + (home-page "http://www.ctan.org/pkg/appendix") + (synopsis "Extra control of appendices") + (description + "The appendix package provides various ways of formatting the titles of +appendices. Also (sub)appendices environments are provided that can be used, +for example, for per chapter/section appendices. An @code{appendices} +environment is provided which can be used instead of the @code{\\appendix} +command.") + (license license:lppl))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From b92ac281e5c56c4cb7a59e99255b336bd3c2d975 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:13:42 +0200 Subject: gnu: Add texlive-latex-changebar. * gnu/packages/tex.scm (texlive-latex-changebar): New variable. --- gnu/packages/tex.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index d15c838748..df3be6fec2 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1746,6 +1746,28 @@ environment is provided which can be used instead of the @code{\\appendix} command.") (license license:lppl))) +(define-public texlive-latex-changebar + (package + (name "texlive-latex-changebar") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "changebar")) + (sha256 + (base32 + "1ik4m8pzfsn1grlda6fniqqfwmgj7rfxwg63jdw0p0qv002vc7ik")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/changebar")) + (home-page "http://www.ctan.org/pkg/changebar") + (synopsis "Generate changebars in LaTeX documents") + (description + "Identify areas of text to be marked with changebars with the +@code{\\cbstart} and @code{\\cbend} commands; the bars may be coloured. The +package uses 'drivers' to place the bars; the available drivers can work with +@code{dvitoln03}, @code{dvitops}, @code{dvips}, the emTeX and TeXtures DVI +drivers, and VTeX and pdfTeX.") + (license license:lppl))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From e003a5f06d7e13e0f2e3796023277d14f845a85e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:14:01 +0200 Subject: gnu: Add texlive-latex-colortbl. * gnu/packages/tex.scm (texlive-latex-colortbl): New variable. --- gnu/packages/tex.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index df3be6fec2..8486d9e59b 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1768,6 +1768,25 @@ package uses 'drivers' to place the bars; the available drivers can work with drivers, and VTeX and pdfTeX.") (license license:lppl))) +(define-public texlive-latex-colortbl + (package + (name "texlive-latex-colortbl") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "colortbl")) + (sha256 + (base32 + "190pmq8la2rq07xry8bn8z8yywzxv6fqyqaj7yjfj5rgw6x0mas8")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/colortbl")) + (home-page "http://www.ctan.org/pkg/colortbl") + (synopsis "Add colour to LaTeX tables") + (description + "This package allows rows, columns, and even individual cells in LaTeX +tables to be coloured.") + (license license:lppl))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From 36ce05ffddc2962f9ba96f0924a37b37f0ea8724 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:14:19 +0200 Subject: gnu: Add texlive-latex-fancybox. * gnu/packages/tex.scm (texlive-latex-fancybox): New variable. --- gnu/packages/tex.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 8486d9e59b..42b5ef274a 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1787,6 +1787,40 @@ drivers, and VTeX and pdfTeX.") tables to be coloured.") (license license:lppl))) +(define-public texlive-latex-fancybox + (package + (name "texlive-latex-fancybox") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/latex/fancybox")) + (revision %texlive-revision))) + (sha256 + (base32 + "0smmnaad2q8qwicay1frri990lv65l0k8cwzsvdsyp3jk8kp042w")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/latex/fancybox"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) + (home-page "http://www.ctan.org/pkg/fancybox") + (synopsis "Variants of \\fbox and other games with boxes") + (description + "This package provides variants of @code{\\fbox}: @code{\\shadowbox}, +@code{\\doublebox}, @code{\\ovalbox}, @code{\\Ovalbox}, with helpful tools for +using box macros and flexible verbatim macros. You can box mathematics, +floats, center, flushleft, and flushright, lists, and pages.") + (license license:lppl1.2+))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From 20282111e5bd52c68d57d714d90c81463b2c34d0 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:14:40 +0200 Subject: gnu: Add texlive-latex-fancyhdr. * gnu/packages/tex.scm (texlive-latex-fancyhdr): New variable. --- gnu/packages/tex.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 42b5ef274a..2895f68478 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1821,6 +1821,39 @@ using box macros and flexible verbatim macros. You can box mathematics, floats, center, flushleft, and flushright, lists, and pages.") (license license:lppl1.2+))) +(define-public texlive-latex-fancyhdr + (package + (name "texlive-latex-fancyhdr") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/latex/fancyhdr")) + (revision %texlive-revision))) + (sha256 + (base32 + "04h430agf8aj7ziwyb46xpk95c605rjk1wzhr63m6ylipihidlgw")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/latex/fancyhdr"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) + (home-page "http://www.ctan.org/pkg/fancyhdr") + (synopsis "Extensive control of page headers and footers in LaTeX2e") + (description + "The package provides extensive facilities, both for constructing headers +and footers, and for controlling their use (for example, at times when LaTeX +would automatically change the heading style in use).") + (license license:lppl))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From 18ce343773a77b0847e72147b947b25d8b98c8f4 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:15:00 +0200 Subject: gnu: Add texlive-latex-fancyvrb. * gnu/packages/tex.scm (texlive-latex-fancyvrb): New variable. --- gnu/packages/tex.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 2895f68478..cb56243478 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1854,6 +1854,31 @@ and footers, and for controlling their use (for example, at times when LaTeX would automatically change the heading style in use).") (license license:lppl))) +(define-public texlive-latex-fancyvrb + (package + (name "texlive-latex-fancyvrb") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "fancyvrb")) + (sha256 + (base32 + "03l7140y031rr14h02i4z9zqsfvrbn7wzwxbjsrjcgrk6sdr71wv")))) + (build-system texlive-build-system) + (arguments + '(#:build-targets '("fancyvrb.ins") ; fvrb-ex.ins cannot be built + #:tex-directory "latex/fancyvrb")) + (home-page "http://www.ctan.org/pkg/fancyvrb") + (synopsis "Sophisticated verbatim text") + (description + "This package provides tools for 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.0+))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From df2b9bb4deaae44d9934c1dfb90dcb2bd7f36ffe Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:15:19 +0200 Subject: gnu: Add texlive-latex-float. * gnu/packages/tex.scm (texlive-latex-float): New variable. --- gnu/packages/tex.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index cb56243478..37985f945a 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1879,6 +1879,29 @@ verbatim mode; build \"example\" environments (showing both result and verbatim source).") (license license:lppl1.0+))) +(define-public texlive-latex-float + (package + (name "texlive-latex-float") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "float")) + (sha256 + (base32 + "0nbl7wylkv22fcdv4p8byhhj575fli6jnqjpkhrkbv8dzwah84nq")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/float")) + (home-page "http://www.ctan.org/pkg/float") + (synopsis "Improved interface for floating objects") + (description + "This package improves the interface for defining floating objects such +as figures and tables. It introduces the boxed float, the ruled float and the +plaintop float. You can define your own floats and improve the behaviour of +the old ones. The package also provides the @code{H} float modifier option of +the obsolete @code{here} package. You can select this as automatic default +with @code{\\floatplacement{figure}{H}}.") + (license license:lppl))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From 3921bc7c246d558aec66f691dde5948e8a42fbe2 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:15:36 +0200 Subject: gnu: Add texlive-latex-footmisc. * gnu/packages/tex.scm (texlive-latex-footmisc): New variable. --- gnu/packages/tex.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 37985f945a..625761009d 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1902,6 +1902,29 @@ the obsolete @code{here} package. You can select this as automatic default with @code{\\floatplacement{figure}{H}}.") (license license:lppl))) +(define-public texlive-latex-footmisc + (package + (name "texlive-latex-footmisc") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "footmisc")) + (sha256 + (base32 + "03x61wwql8nh6zrqiiiq3rb0x7m3pn48c606zapy19y21fybwdxs")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/footmisc")) + (home-page "http://www.ctan.org/pkg/footmisc") + (synopsis "Range of footnote options") + (description + "This is a collection of ways to change the typesetting of footnotes. +The package provides means of changing the layout of the footnotes themselves, +a way to number footnotes per page, to make footnotes disappear in a +\"moving\" argument, and to deal with multiple references to footnotes from +the same place. The package also has a range of techniques for labelling +footnotes with symbols rather than numbers.") + (license license:lppl1.3+))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From b2bc1daf98251250b21b35e9cda902372535fe6b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:15:53 +0200 Subject: gnu: Add texlive-latex-listings. * gnu/packages/tex.scm (texlive-latex-listings): New variable. --- gnu/packages/tex.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 625761009d..5e417bf986 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1925,6 +1925,29 @@ the same place. The package also has a range of techniques for labelling footnotes with symbols rather than numbers.") (license license:lppl1.3+))) +(define-public texlive-latex-listings + (package + (name "texlive-latex-listings") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "listings")) + (sha256 + (base32 + "1nsn9wp3wl12b36c0sqrim33lf33cr5wky0h4ncnw8lvqgm7h8wf")))) + (build-system texlive-build-system) + (arguments + '(#:tex-directory "latex/listings" + #:build-targets '("listings.ins"))) + (home-page "http://www.ctan.org/pkg/listings") + (synopsis "Typeset source code listings using LaTeX") + (description + "The package enables the user to typeset programs (programming code) +within LaTeX; the source code is read directly by TeX---no front-end processor +is needed. Keywords, comments and strings can be typeset using different +styles. Support for @code{hyperref} is provided.") + (license license:lppl1.3+))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From 02fd07b305a86095423f236ff118721e0ab9eb24 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:16:26 +0200 Subject: gnu: Add texlive-latex-jknapltx. * gnu/packages/tex.scm (texlive-latex-jknapltx): New variable. --- gnu/packages/tex.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 5e417bf986..34dac6e5b7 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1948,6 +1948,44 @@ is needed. Keywords, comments and strings can be typeset using different styles. Support for @code{hyperref} is provided.") (license license:lppl1.3+))) +(define-public texlive-latex-jknapltx + (package + (name "texlive-latex-jknapltx") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/latex/jknapltx")) + (revision %texlive-revision))) + (sha256 + (base32 + "0m034x72f2g07icr50gacyxfb9g1lz2rmqh4kqr1qjb421x2kds9")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/latex/jknapltx"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) + (home-page "http://www.ctan.org/pkg/jknappen") + (synopsis "Miscellaneous packages by Joerg Knappen") + (description + "This package provides miscellaneous macros by Joerg Knappen, including: +represent counters in greek; Maxwell's non-commutative division; +@code{latin1jk}, @code{latin2jk} and @code{latin3jk}, which are +@code{inputenc} definition files that allow verbatim input in the respective +ISO Latin codes; blackboard bold fonts in maths; use of RSFS fonts in maths; +extra alignments for @code{\\parboxes}; swap Roman and Sans fonts; +transliterate semitic languages; patches to make (La)TeX formulae embeddable +in SGML; use maths minus in text as appropriate; simple Young tableaux.") + (license license:gpl2))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From ecffeeb54ff9399e16cf633691da7a28d6c26d3a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:16:44 +0200 Subject: gnu: Add texlive-latex-multirow. * gnu/packages/tex.scm (texlive-latex-multirow): New variable. --- gnu/packages/tex.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 34dac6e5b7..94f423b8a7 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1986,6 +1986,26 @@ transliterate semitic languages; patches to make (La)TeX formulae embeddable in SGML; use maths minus in text as appropriate; simple Young tableaux.") (license license:gpl2))) +(define-public texlive-latex-multirow + (package + (name "texlive-latex-multirow") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "multirow")) + (sha256 + (base32 + "0qlxy47f1f8plgch3jqfsnrdgpyz20sz46yp33i2jwvf9hvfczf0")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/multirow")) + (home-page "http://www.ctan.org/pkg/multirow") + (synopsis "Create tabular cells spanning multiple rows") + (description + "The package provides tools for creating tabular cells spanning multiple +rows. It has a lot of flexibility, including an option for specifying an +entry at the \"natural\" width of its text.") + (license license:lppl1.3+))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From da38b23595f4bd031ebf5e942556a2b4338d33f5 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:17:02 +0200 Subject: gnu: Add texlive-latex-overpic. * gnu/packages/tex.scm (texlive-latex-overpic): New variable. --- gnu/packages/tex.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 94f423b8a7..a081f5ec48 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2006,6 +2006,41 @@ rows. It has a lot of flexibility, including an option for specifying an entry at the \"natural\" width of its text.") (license license:lppl1.3+))) +(define-public texlive-latex-overpic + (package + (name "texlive-latex-overpic") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/latex/overpic")) + (revision %texlive-revision))) + (sha256 + (base32 + "0m29q9qdb00558b7g2i7iw6w62n5s46yx81j8m99qkv77magk4fm")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/latex/overpic"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) + (home-page "http://www.ctan.org/pkg/overpic") + (synopsis "Combine LaTeX commands over included graphics") + (description + "The @code{overpic} environment is a cross between the LaTeX +@code{picture} environment and the @code{\\includegraphics} command of +@code{graphicx}. The resulting picture environment has the same dimensions as +the included graphic. LaTeX commands can be placed on the graphic at defined +positions; a grid for orientation is available.") + (license license:lppl1.0+))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From adc02c70c2ee2c8f5b8994e40f653339bff0991e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:17:19 +0200 Subject: gnu: Add texlive-latex-pdfpages. * gnu/packages/tex.scm (texlive-latex-pdfpages): New variable. --- gnu/packages/tex.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index a081f5ec48..4b7caff788 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2041,6 +2041,29 @@ the included graphic. LaTeX commands can be placed on the graphic at defined positions; a grid for orientation is available.") (license license:lppl1.0+))) +(define-public texlive-latex-pdfpages + (package + (name "texlive-latex-pdfpages") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "pdfpages")) + (sha256 + (base32 + "06p5smfq66559ppdnmkl3hp8534x84ywbscimsiir4gllpya3i9h")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/pdfpages")) + (home-page "http://www.ctan.org/pkg/pdfpages") + (synopsis "Include PDF documents in LaTeX") + (description + "This package simplifies the inclusion of external multi-page PDF +documents in LaTeX documents. Pages may be freely selected and it is possible +to put several logical pages onto each sheet of paper. Furthermore a lot of +hypertext features like hyperlinks and article threads are provided. The +package supports pdfTeX (pdfLaTeX) and VTeX. With VTeX it is even possible to +use this package to insert PostScript files, in addition to PDF files.") + (license license:lppl1.3+))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From d8fef6ea1fb5559bf1773dc37526a0c94a31cae2 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:17:41 +0200 Subject: gnu: Add texlive-fonts-stmaryrd. * gnu/packages/tex.scm (texlive-fonts-stmaryrd): New variable. --- gnu/packages/tex.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 4b7caff788..5ac55b9ce3 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2064,6 +2064,38 @@ package supports pdfTeX (pdfLaTeX) and VTeX. With VTeX it is even possible to use this package to insert PostScript files, in addition to PDF files.") (license license:lppl1.3+))) +(define-public texlive-fonts-stmaryrd + (package + (name "texlive-fonts-stmaryrd") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "fonts" "stmaryrd")) + (sha256 + (base32 + "08pn4ca3vl6qm9l3wm5h5iyjsrg411kkm1yana329xwg2j14s9n6")))) + (build-system texlive-build-system) + (arguments + '(#:tex-directory "latex/stmaryrd" + #:phases + (modify-phases %standard-phases + (add-after 'configure 'patch-ins + (lambda _ + (substitute* "stmaryrd.ins" + (("^%% LaTeX2e.*") "\\input docstrip\n") + (("fontdef\\}\\}" line) + (string-append line "\n\\endbatchfile"))) + #t))))) + (home-page "http://www.ctan.org/pkg/stmaryrd") + (synopsis "St Mary Road symbols for theoretical computer science") + (description + "The fonts were originally distributed as Metafont sources only, but +Adobe Type 1 versions are also now available. Macro support is provided for +use under LaTeX; the package supports the @code{only} option (provided by the +@code{somedefs} package) to restrict what is loaded, for those who don't need +the whole font.") + (license license:lppl))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From 2db3a03445aed196ffdcd0a92fe642b4e72d8745 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:17:59 +0200 Subject: gnu: Add texlive-latex-subfigure. * gnu/packages/tex.scm (texlive-latex-subfigure): New variable. --- gnu/packages/tex.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 5ac55b9ce3..5baca164ec 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2096,6 +2096,32 @@ use under LaTeX; the package supports the @code{only} option (provided by the the whole font.") (license license:lppl))) +(define-public texlive-latex-subfigure + (package + (name "texlive-latex-subfigure") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "subfigure")) + (sha256 + (base32 + "15spcl5wb7w269qd6y596vp4yi8sa5ppcx8w4z2i9kyp02r3a0yb")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/subfigure")) + (home-page "http://www.ctan.org/pkg/subfigure") + (synopsis "Figures divided into subfigures") + (description + "This (deprecated) package provides support for the manipulation and +reference of small or \"sub\" figures and tables within a single figure or +table environment. It is convenient to use this package when your subfigures +are to be separately captioned, referenced, or are to be included in the +List-of-Figures. A new @code{\\subfigure} command is introduced which can be +used inside a figure environment for each subfigure. An optional first +argument is used as the caption for that subfigure. The package is now +considered obsolete: it was superseded by @code{subfig}, but users may find +the more recent @code{subcaption} package more satisfactory.") + (license license:lppl))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From acc620d6ed608cd80ae4c3d7ca749af1e0a1ce46 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:18:20 +0200 Subject: gnu: Add texlive-latex-titlesec. * gnu/packages/tex.scm (texlive-latex-titlesec): New variable. --- gnu/packages/tex.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 5baca164ec..50966b9a59 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2122,6 +2122,41 @@ considered obsolete: it was superseded by @code{subfig}, but users may find the more recent @code{subcaption} package more satisfactory.") (license license:lppl))) +(define-public texlive-latex-titlesec + (package + (name "texlive-latex-titlesec") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/latex/titlesec")) + (revision %texlive-revision))) + (sha256 + (base32 + "04nmkhqx6jxcxx9a30zbcd5smxi5fd0cbp132bki7fnvhspnhg21")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/latex/titlesec"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) + (home-page "http://www.ctan.org/pkg/titlesec") + (synopsis "Select alternative section titles") + (description + "This package provides an interface to sectioning commands for selection +from various title styles, e.g. for marginal titles and to change the font of +all headings with a single command, also providing simple one-step page +styles. It also includes a package to change the page styles when there are +floats in a page. You may assign headers/footers to individual floats, too.") + (license license:lppl))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From cd2c77f434e15bcfb25eef6f528db900f01ce6a7 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 2 Jul 2017 15:18:37 +0200 Subject: gnu: Add texlive-latex-wasysym. * gnu/packages/tex.scm (texlive-latex-wasysym): New variable. --- gnu/packages/tex.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 50966b9a59..5324da7568 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2157,6 +2157,27 @@ styles. It also includes a package to change the page styles when there are floats in a page. You may assign headers/footers to individual floats, too.") (license license:lppl))) +(define-public texlive-latex-wasysym + (package + (name "texlive-latex-wasysym") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "wasysym")) + (sha256 + (base32 + "1sgwbfwjjf70g54hh93gsd9jp9nm67w6n74x9d72a56n07jbk5hv")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/wasysym")) + (home-page "http://www.ctan.org/pkg/wasysym") + (synopsis "LaTeX support file to use the WASY2 fonts") + (description + "The wasy2WASY2 (Waldi Symbol) font by Roland Waldi provides many glyphs +like male and female symbols and astronomical symbols, as well as the complete +lasy font set and other odds and ends. The wasysym package implements an easy +to use interface for these symbols.") + (license license:lppl))) + (define texlive-texmf (package (name "texlive-texmf") -- cgit v1.2.3 From 9186c1560bfadc85b613ebf631d0386b99018bcc Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 9 Jul 2017 11:34:44 +0200 Subject: gnu: Add texlive-generic-epsf. * gnu/packages/tex.scm (texlive-generic-epsf): New variable. --- gnu/packages/tex.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 5324da7568..2f146b545d 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -974,6 +974,42 @@ so that other code can determine that it is running under XeTeX. The package requires the e-TeX extensions to the TeX primitive set.") (license license:lppl1.3c+))) +(define-public texlive-generic-epsf + (package + (name "texlive-generic-epsf") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/generic/epsf")) + (revision %texlive-revision))) + (sha256 + (base32 + "14w3j81ympyvg8hkk9i1xgr8a0gfnfsb2ki8qqsk5pa051za1xcy")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/generic/epfs"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) + (home-page "http://www.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-public texlive-latex-fancyvrb (package (name "texlive-latex-fancyvrb") -- cgit v1.2.3 From 83c830d1ac010873f702c24542a184cfe07368e3 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 9 Jul 2017 11:55:23 +0200 Subject: gnu: Add texlive-fonts-ec. * gnu/packages/tex.scm (texlive-fonts-ec): New variable. --- gnu/packages/tex.scm | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 2f146b545d..01188a24a8 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2022,6 +2022,87 @@ transliterate semitic languages; patches to make (La)TeX formulae embeddable in SGML; use maths minus in text as appropriate; simple Young tableaux.") (license license:gpl2))) +(define-public texlive-fonts-ec + (package + (name "texlive-fonts-ec") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/fonts/source/jknappen/ec/")) + (revision %texlive-revision))) + (sha256 + (base32 + "12av65fbz9xiashm09c9m1fj1mijxls5xspd7652ry1n5s0nixy4")))) + (build-system gnu-build-system) + (arguments + `(#:modules ((guix build gnu-build-system) + (guix build utils) + (srfi srfi-1) + (srfi srfi-26)) + #:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda* (#:key inputs #:allow-other-keys) + (let ((mf (assoc-ref inputs "texlive-metafont-base"))) + ;; Tell mf where to find mf.base + (setenv "MFBASES" (string-append mf "/share/texmf-dist/web2c")) + ;; Tell mf where to look for source files + (setenv "MFINPUTS" + (string-append (getcwd) ":" + mf "/share/texmf-dist/metafont/base:" + (assoc-ref inputs "texlive-fonts-cm") + "/share/texmf-dist/fonts/source/public/cm"))) + (mkdir "build") + (every (lambda (font) + (format #t "building font ~a\n" font) + (zero? (system* "mf" "-progname=mf" + "-output-directory=build" + (string-append "\\" + "mode:=ljfour; " + "mag:=1; " + "batchmode; " + "input " (basename font ".mf"))))) + (find-files "." "[0-9]+\\.mf$")))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (tfm (string-append + out "/share/texmf-dist/fonts/tfm/jknappen/ec")) + (mf (string-append + out "/share/texmf-dist/fonts/source/jknappen/ec"))) + (for-each (cut install-file <> tfm) + (find-files "build" "\\.*")) + (for-each (cut install-file <> mf) + (find-files "." "\\.mf")) + #t)))))) + (native-inputs + `(("texlive-bin" ,texlive-bin) + ("texlive-metafont-base" ,texlive-metafont-base) + ("texlive-fonts-cm" ,texlive-fonts-cm))) + (home-page "http://www.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. Recent releases of LaTeX2e support the EC fonts. The +EC fonts supersede the preliminary version released as the DC fonts. 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 "https://www.tug.org/svn/texlive/tags/\ +texlive-2017.1/Master/texmf-dist/doc/fonts/ec/copyrite.txt")))) + (define-public texlive-latex-multirow (package (name "texlive-latex-multirow") -- cgit v1.2.3 From 1562763c0a3cf79a38f4087d5902f02fc09d98fc Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 9 Jul 2017 11:55:43 +0200 Subject: gnu: Add texlive-latex-eso-pic. * gnu/packages/tex.scm (texlive-latex-eso-pic): New variable. --- gnu/packages/tex.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 01188a24a8..27266079e6 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2103,6 +2103,26 @@ differs from the EC in a number of particulars.") (license (license:fsf-free "https://www.tug.org/svn/texlive/tags/\ texlive-2017.1/Master/texmf-dist/doc/fonts/ec/copyrite.txt")))) +(define-public texlive-latex-eso-pic + (package + (name "texlive-latex-eso-pic") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "eso-pic")) + (sha256 + (base32 + "1xvmms28mvvfpks9x7lfya2xhh5k8jy3qnlih1mzcnf156xnb89z")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/eso-pic")) + (home-page "http://www.ctan.org/pkg/eso-pic") + (synopsis "Add picture commands (or backgrounds) to every page") + (description + "The package adds one or more user commands to LaTeX's @code{shipout} +routine, which may be used to place the output at fixed positions. The +@code{grid} option may be used to find the correct places.") + (license license:lppl1.3+))) + (define-public texlive-latex-multirow (package (name "texlive-latex-multirow") -- cgit v1.2.3 From ae3779d5cdd4b31a119d319d29a86c422383d765 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 9 Jul 2017 11:56:25 +0200 Subject: gnu: Add texlive-latex-eepic. * gnu/packages/tex.scm (texlive-latex-eepic): New variable. --- gnu/packages/tex.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 27266079e6..9841359223 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2123,6 +2123,42 @@ routine, which may be used to place the output at fixed positions. The @code{grid} option may be used to find the correct places.") (license license:lppl1.3+))) +(define-public texlive-latex-eepic + (package + (name "texlive-latex-eepic") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/latex/eepic")) + (revision %texlive-revision))) + (sha256 + (base32 + "1c68gvh021pvybg07apsd2xhq2ljbg80kq94wh71drdga3c2zqjw")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/latex/eepic"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) + (home-page "http://www.ctan.org/pkg/eepic") + (synopsis "Extensions to epic and the LaTeX drawing tools") + (description + "Extensions to @code{epic} and the LaTeX picture drawing environment, +include the drawing of lines at any slope, the drawing of circles in any +radii, and the drawing of dotted and dashed lines much faster with much less +TeX memory, and providing several new commands for drawing ellipses, arcs, +splines, and filled circles and ellipses. The package uses @code{tpic} +@code{\\special} commands.") + (license license:public-domain))) + (define-public texlive-latex-multirow (package (name "texlive-latex-multirow") -- cgit v1.2.3 From 406af0d66346565b62f94229dcbe8864acc5771c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 9 Jul 2017 11:57:04 +0200 Subject: gnu: Add texlive-latex-lh. * gnu/packages/tex.scm (texlive-latex-lh): New variable. --- gnu/packages/tex.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 9841359223..afbfe6bb07 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2330,6 +2330,32 @@ styles. It also includes a package to change the page styles when there are floats in a page. You may assign headers/footers to individual floats, too.") (license license:lppl))) +(define-public texlive-latex-lh + (package + (name "texlive-latex-lh") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "lh")) + (sha256 + (base32 + "00gdiwh3sfhh1iimjhpja7lm7k4vzqzql2irgwnpz94qvh25zwi5")))) + (build-system texlive-build-system) + (arguments '(#:tex-directory "latex/lh")) + (home-page "http://www.ctan.org/pkg/lh") + (synopsis "Cyrillic fonts that support LaTeX standard encodings") + (description + "The LH fonts address the problem of the wide variety of alphabets that +are written with Cyrillic-style characters. The fonts are the original basis +of the set of T2* and X2 encodings that are now used when LaTeX users need to +write in Cyrillic languages. Macro support in standard LaTeX encodings is +offered through the latex-cyrillic and t2 bundles, and the package itself +offers support for other (more traditional) encodings. The fonts, in the +standard T2* and X2 encodings are available in Adobe Type 1 format, in the +CM-Super family of fonts. The package also offers its own LaTeX support for +OT2 encoded fonts, CM bright shaped fonts and Concrete shaped fonts.") + (license license:lppl))) + (define-public texlive-latex-wasysym (package (name "texlive-latex-wasysym") -- cgit v1.2.3 From 44436def9b169db90a188a20708a0a3a171f2a06 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 9 Jul 2017 11:57:23 +0200 Subject: gnu: Add texlive-metapost. * gnu/packages/tex.scm (texlive-metapost): New variable. --- gnu/packages/tex.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index afbfe6bb07..19422a3045 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2356,6 +2356,39 @@ CM-Super family of fonts. The package also offers its own LaTeX support for OT2 encoded fonts, CM bright shaped fonts and Concrete shaped fonts.") (license license:lppl))) +(define-public texlive-metapost + (package + (name "texlive-metapost") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/metapost")) + (revision %texlive-revision))) + (sha256 + (base32 + "03nvjddffiz796wll6axzmgfvynyciy2mqamv20qx252w71vwkwd")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/metapost"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) + (home-page "http://www.ctan.org/pkg/metapost") + (synopsis "Create scalable illustrations") + (description + "MetaPost uses a language based on that of Metafont to produce precise +technical illustrations. Its output is scalable PostScript or SVG, rather +than the bitmaps Metafont creates.") + (license license:lppl))) + (define-public texlive-latex-wasysym (package (name "texlive-latex-wasysym") -- cgit v1.2.3 From f45a5520383e227c9e3f5c106595e623f742b43f Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 9 Jul 2017 12:53:29 +0200 Subject: gnu: Add texlive-fonts-rsfs. * gnu/packages/tex.scm (texlive-fonts-rsfs): New variable. --- gnu/packages/tex.scm | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 19422a3045..3b9fb275fc 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2103,6 +2103,79 @@ differs from the EC in a number of particulars.") (license (license:fsf-free "https://www.tug.org/svn/texlive/tags/\ texlive-2017.1/Master/texmf-dist/doc/fonts/ec/copyrite.txt")))) +(define-public texlive-fonts-rsfs + (package + (name "texlive-fonts-rsfs") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/fonts/source/public/rsfs/")) + (revision %texlive-revision))) + (sha256 + (base32 + "0r12pn02r4a955prcvq0048nifh86ihlcgvw3pppqqvfngv34l5h")))) + (build-system gnu-build-system) + (arguments + `(#:modules ((guix build gnu-build-system) + (guix build utils) + (srfi srfi-1) + (srfi srfi-26)) + #:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda* (#:key inputs #:allow-other-keys) + (let ((mf (assoc-ref inputs "texlive-metafont-base"))) + ;; Tell mf where to find mf.base + (setenv "MFBASES" (string-append mf "/share/texmf-dist/web2c")) + ;; Tell mf where to look for source files + (setenv "MFINPUTS" + (string-append (getcwd) ":" + mf "/share/texmf-dist/metafont/base:" + (assoc-ref inputs "texlive-fonts-cm") + "/share/texmf-dist/fonts/source/public/cm"))) + (mkdir "build") + (every (lambda (font) + (format #t "building font ~a\n" font) + (zero? (system* "mf" "-progname=mf" + "-output-directory=build" + (string-append "\\" + "mode:=ljfour; " + "mag:=1; " + "batchmode; " + "input " (basename font ".mf"))))) + (find-files "." "[0-9]+\\.mf$")))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (tfm (string-append + out "/share/texmf-dist/fonts/tfm/public/rsfs")) + (mf (string-append + out "/share/texmf-dist/fonts/source/public/rsfs"))) + (for-each (cut install-file <> tfm) + (find-files "build" "\\.*")) + (for-each (cut install-file <> mf) + (find-files "." "\\.mf")) + #t)))))) + (native-inputs + `(("texlive-bin" ,texlive-bin) + ("texlive-metafont-base" ,texlive-metafont-base) + ("texlive-fonts-cm" ,texlive-fonts-cm))) + (home-page "http://www.ctan.org/pkg/rsfs") + (synopsis "Ralph Smith's Formal Script font") + (description + "The fonts provide uppercase formal script letters for use as symbols in +scientific and mathematical typesetting (in contrast to the informal script +fonts such as that used for the calligraphic symbols in the TeX maths symbol +font). The fonts are provided as Metafont source, and as derived Adobe Type 1 +format. LaTeX support, for using these fonts in mathematics, is available via +one of the packages @code{calrsfs} and @code{mathrsfs}.") + (license (license:fsf-free "http://mirrors.ctan.org/fonts/rsfs/README")))) + (define-public texlive-latex-eso-pic (package (name "texlive-latex-eso-pic") -- cgit v1.2.3