From f66b4cf838b45cab53e063f751b51a732a636e04 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 29 Aug 2023 15:43:51 +0200 Subject: [PATCH] gnu: Add texlive-arabicfront. * gnu/packages/tex.scm (texlive-arabicfront): New variable. --- gnu/packages/tex.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 818be08ed9..247cc6951d 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -72991,6 +72991,28 @@ conditional @code{\\ifappendix} and a LaTeX-style conditional been called.") (license license:lppl1.3+))) +(define-public texlive-arabicfront + (package + (name "texlive-arabicfront") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/arabicfront/" + "tex/latex/arabicfront/") + (base32 + "1cmsv10yn7351nkxs0mjl7xj3xlshg5hj6pyykb9i8yqm8h4jwcn"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/arabicfront") + (synopsis "Frontmatter with Arabic page numbers") + (description + "This package modifies the definitions of @code{\\frontmatter} and +@code{\\mainmatter} so that page numbering starts in Arabic style from the +front matter while preserving the rest of the original definitions. For it to +work, @code{\\pagenumbering} has to be inside these macros --- most of classes +do that, but there are exceptions like @code{memoir}.") + (license license:expat))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar