From b71cdcd4b99e5d9b675f4def8eb49833b87b837b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 17 Aug 2023 21:26:53 +0200 Subject: [PATCH] gnu: Add texlive-biblatex-shortfields. * gnu/packages/tex.scm (texlive-biblatex-shortfields): New variable. --- gnu/packages/tex.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index e08d932379..16213ffb83 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -4423,6 +4423,37 @@ (define-public texlive-biblatex-science preparing papers for submission to the journal @emph{Science}.") (license license:lppl1.3+))) +(define-public texlive-biblatex-shortfields + (package + (name "texlive-biblatex-shortfields") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/biblatex-shortfields/" + "tex/latex/biblatex-shortfields/") + (base32 + "14s6ykbnb6b2i811rjn44chv8f73yhnnywczn78zwbij5z6jgcjv"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/biblatex-shortfields") + (synopsis "Use short forms of fields with BibLaTeX") + (description + "The BibLaTeX package provides @code{shortseries} and @code{shortjournal} +field, but the default styles don't use them. It also provides a mechanism to +print the equivalence between short forms of fields and long +fields (@code{\\printbiblist}), but this mechanism does not allow to mix +between different type of short fields, for example, between short forms of +journal title and short forms of series titles. + +This package provides a solution to these two problems. If +a @code{shortjournal} field is defined, it prints it instead of the +@code{\\journal} field. If a @code{shortseries} field is defined, it prints +it instead of the @code{\\series} field. It provides +a @code{\\printbibshortfields} command to print a list of the sort forms of +the fields. This list also includes the claves defined with the +@code{biblatex-claves} package.") + (license license:lppl1.3+))) + (define-public texlive-bibleref (package (name "texlive-bibleref")