diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-06-09 12:30:26 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-06-15 17:03:18 +0200 |
commit | f84d5a09d4c02404351547615521def0a041fafa (patch) | |
tree | 07eca3215265d10ffea3edfbc3ea24c0f548ec4b /gnu/packages/tex.scm | |
parent | 18e366e856645a8095974d2fa738e13af66f1ad4 (diff) | |
download | guix-f84d5a09d4c02404351547615521def0a041fafa.tar guix-f84d5a09d4c02404351547615521def0a041fafa.tar.gz |
gnu: Add texlive-latex-babel.
* gnu/packages/tex.scm (texlive-latex-babel): New variable.
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r-- | gnu/packages/tex.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index da86650299..8351262bbc 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -1274,6 +1274,40 @@ material. The material is made available as part of the AMS-LaTeX distribution.") (license license:lppl1.3c+))) +(define-public texlive-latex-babel + (package + (name "texlive-latex-babel") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (texlive-ref "latex" "babel")) + (sha256 + (base32 + "1n3i5adsyy7jw0imnzrm2i8wkf73i3mjk9h3ic8cb9cd19i4r9r3")))) + (build-system texlive-build-system) + (arguments + '(#:tex-directory "latex/babel" + #: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* "babel.ins" + (("askonceonly") "askforoverwritefalse")) + #t))))) + (home-page "http://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 texlive-texmf (package (name "texlive-texmf") |