summary refs log tree commit diff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-05-03 13:57:24 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-05-03 15:36:14 +0200
commit3d8a48f8935b479af16bec57c56b0043efd90525 (patch)
treee882d68ec914e4a5f275c08762286d924c610fe1 /gnu/packages/tex.scm
parent04cbef14ff6ac2e1c89214ceafcb21103f40031f (diff)
downloadguix-3d8a48f8935b479af16bec57c56b0043efd90525.tar.gz
gnu: Add texlive-babel-swedish.
* gnu/packages/tex.scm (texlive-babel-swedish): New variable.

Co-authored-by: Rovanion Luckey <rovanion.luckey@gmail.com>
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r--gnu/packages/tex.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 54b503e465..df5d1fab89 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3380,6 +3380,31 @@ traditional and reformed German orthography as well as for the Austrian and
 Swiss varieties of German.")
     (license license:lppl1.3+)))
 
+(define-public texlive-babel-swedish
+  (let ((template (simple-texlive-package
+                   "texlive-babel-swedish"
+                   (list "/source/generic/babel-swedish/")
+                   (base32
+                    "0swdg2l5i7cbcvy4q4xgsnwwnbxiyvs6f5b72kiw7mjn24v27g8f"))))
+    (package
+      (inherit template)
+      (arguments
+       (substitute-keyword-arguments (package-arguments template)
+         ((#:tex-directory _ '())
+          "generic/babel-swedish")
+         ((#:build-targets _ '())
+          ''("swedish.ins")) ; TODO: use dtx and build documentation
+         ((#:phases phases)
+          `(modify-phases ,phases
+             (add-after 'unpack 'chdir
+               (lambda _ (chdir "source/generic/babel-swedish")))))))
+      (home-page "https://www.ctan.org/pkg/babel-swedish")
+      (synopsis "Babel support for Swedish")
+      (description "This package provides the language definition file for
+support of Swedish in @code{babel}.  It provides all the necessary macros,
+definitions and settings to typeset Swedish documents.")
+      (license license:lppl1.3c+))))
+
 (define-public texlive-latex-cyrillic
   (package
     (name "texlive-latex-cyrillic")