summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-06-26 15:02:09 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-18 18:16:28 +0200
commita272567810af1768266c1e3d84735af19b5b23ec (patch)
treede02b4c7b70dbb589a7c6bf75e326badefce3743 /gnu/packages
parentc1449c68a2ebc4112260af4986926060ed1be9a2 (diff)
gnu: Add texlive-luavlna.
* gnu/packages/tex.scm (texlive-luavlna): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/tex.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 5181411310..6de62dab47 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -16911,6 +16911,32 @@ There is no need to install lua on users system as TeX distributions (TeX Live
or MikTeX) come bundled with LuaLaTeX.")
(license license:lppl1.3c)))
+(define-public texlive-luavlna
+ (package
+ (name "texlive-luavlna")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/luatex/luavlna/" "tex/luatex/luavlna/")
+ (base32
+ "1daa8gdkava15vvvfgr63mrq85l2ni0ydh9l17i9hyhw40mgz4bb")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (home-page "https://ctan.org/pkg/luavlna")
+ (synopsis
+ "Prevent line breaks after single letter words, units, or academic titles")
+ (description
+ "In some languages, like Czech or Polish, there should be no single
+letter words at the end of a line, according to typographical norms. This
+package handles such situations using LuaTeX's callback mechanism. In doing
+this, the package can detect languages used in the text and insert spaces only
+in parts of the document where languages requiring this feature are used.
+Another feature of this package is the inclusion of non-breakable space after
+initials (like in personal names), after or before academic degrees, and
+between numbers and units. The package supports both plain LuaTeX and
+LuaLaTeX.")
+ (license license:lppl1.3+)))
+
(define-public texlive-babel-czech
(package
(name "texlive-babel-czech")