From fc11ada0ec8b7c288a463e0e6a6edeb479dc5089 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 17 Aug 2023 19:41:09 +0200 Subject: [PATCH] gnu: Add texlive-bibexport. * gnu/packages/tex.scm (texlive-bibexport): New variable. --- gnu/packages/tex.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 12745b576e..6b37373c0a 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -3333,6 +3333,29 @@ as a standalone command line tool.") multiscript version of @code{biblatex-ms}.") (license license:artistic2.0))) +(define-public texlive-bibexport + (package + (name "texlive-bibexport") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "bibtex/bst/bibexport/" + "doc/bibtex/bibexport/" "scripts/bibexport/" + "source/bibtex/bibexport/") + (base32 + "161056627w1lazfpld3lyjwfrl8j8gc4b6dzml46bzwf7mk9ifln"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (arguments (list #:link-scripts #~(list "bibexport.sh"))) + (home-page "https://ctan.org/pkg/bibexport") + (synopsis "Extract a BibTeX file based on a @file{.aux} file") + (description + "This package provides a Bourne shell script that uses BibTeX to extract +bibliography entries that are @code{\\cite}'d in a document. It can also +expand a BibTeX file, expanding the abbreviations (other than the built-in +ones like month names) and following the cross-references.") + (license license:lppl1.3+))) + (define-public texlive-bibleref (package (name "texlive-bibleref")