From f2b4b2e1cca2d8f17f301db5f56ee552e4223d06 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 19 Jun 2023 15:54:14 +0200 Subject: [PATCH] gnu: Add texlive-unisugar. * gnu/packages/tex.scm (texlive-unisugar): New variable. --- gnu/packages/tex.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 947ecf2318..edc76985af 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -7236,6 +7236,27 @@ RTL script without any markup.") It only works with the XeTeX engine.") (license license:lppl1.3c))) +(define-public texlive-unisugar + (package + (name "texlive-unisugar") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/xelatex/unisugar/" + "tex/xelatex/unisugar/") + (base32 + "1bn88ghfn14am1grph1pjw9k0xy1rz8swzhsbxsxyzz6cqk9s161"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/unisugar") + (synopsis "Define syntactic sugar for Unicode LaTeX") + (description + "The package allows the user to define shorthand aliases for single +Unicode characters, and also provides support for such aliases in RTL-text. +The package requires an TeX-alike system that uses Unicode input in a native +way: current examples are XeTeX and LuaTeX.") + (license license:lppl1.3+))) + (define-public texlive-currfile (package (name "texlive-currfile")