[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/421: gnu: Add texlive-currfile.
From: |
guix-commits |
Subject: |
28/421: gnu: Add texlive-currfile. |
Date: |
Sun, 28 May 2023 01:29:23 -0400 (EDT) |
ngz pushed a commit to branch tex-team-next
in repository guix.
commit 716587e936e0a9b08fab2c5686edc0ef3d60f170
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat May 6 12:31:46 2023 +0200
gnu: Add texlive-currfile.
* gnu/packages/tex.scm (texlive-currfile): 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 ad3669fafd..48d290a091 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5486,6 +5486,37 @@ definition, or to define space-stripped macros.")
(define-deprecated-package texlive-latex-trimspaces texlive-trimspaces)
+(define-public texlive-currfile
+ (package
+ (name "texlive-currfile")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/latex/currfile/" "source/latex/currfile/"
+ "tex/latex/currfile/")
+ (base32
+ "1l9win5msf80yzgzfx580d1hw8lza1advhqkhpz83i080020asji")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (native-inputs
+ (list texlive-ydoc))
+ (propagated-inputs
+ (list texlive-filehook
+ texlive-kvoptions))
+ (home-page "https://ctan.org/pkg/currfile")
+ (synopsis "Provide file name and path of input files")
+ (description
+ "The package provides macros holding file name information (directory,
+base name, extension, full name and full path) for files read by LaTeX
+@code{\\input} and @code{\\include} macros; it uses the file hooks provided by
+the author's @code{filehook}. In particular, it restores the parent file name
+after the trailing @code{\\clearpage} of an @code{\\included} file; as
+a result, the macros may be usefully employed in the page header and footer of
+the last printed page of such a file. The depth of inclusion is made
+available, together with the parent (including file) and parents (all
+including files to the root of the tree). The package supersedes FiNK.")
+ (license license:lppl1.3+)))
+
(define-public texlive-calrsfs
(package
(inherit
- 22/421: gnu: texlive-latex-expdlist -> texlive-expdlist., (continued)
- 22/421: gnu: texlive-latex-expdlist -> texlive-expdlist., guix-commits, 2023/05/28
- 02/421: gnu: texlive-latex-epstopdf-pkg: Fix package definition., guix-commits, 2023/05/28
- 05/421: gnu: texlive-latex-filecontents: Rename to texlive-filecontents., guix-commits, 2023/05/28
- 08/421: gnu: Simplify simple-texlive-package for non-trivial packages., guix-commits, 2023/05/28
- 10/421: guix: import: Improve home-page generation in texlive importer., guix-commits, 2023/05/28
- 15/421: gnu: texlive-latex-dinbrief -> texlive-dinbrief., guix-commits, 2023/05/28
- 14/421: gnu: texlive-latex-blindtext -> texlive-blindtext., guix-commits, 2023/05/28
- 23/421: gnu: Add texlive-minitoc., guix-commits, 2023/05/28
- 19/421: gnu: texlive-latex-environ -> texlive-environ., guix-commits, 2023/05/28
- 27/421: gnu: Add texlive-filehook., guix-commits, 2023/05/28
- 28/421: gnu: Add texlive-currfile.,
guix-commits <=
- 25/421: gnu: Add texlive-xfor., guix-commits, 2023/05/28
- 26/421: gnu: Add texlive-mfirstuc., guix-commits, 2023/05/28
- 34/421: gnu: Add texlive-refstyle., guix-commits, 2023/05/28
- 39/421: gnu: Add texlive-attachfile., guix-commits, 2023/05/28
- 32/421: gnu: Add texlive-passivetex., guix-commits, 2023/05/28
- 30/421: gnu: Add texlive-enctex., guix-commits, 2023/05/28
- 40/421: gnu: Add texlive-showexpl., guix-commits, 2023/05/28
- 43/421: gnu: texlive-dvips-l3backend -> texlive-l3backend., guix-commits, 2023/05/28
- 45/421: gnu: texlive-latex-cyrillic -> texlive-cyrillic., guix-commits, 2023/05/28
- 47/421: gnu: texlive-latex-hanging -> texlive-hanging., guix-commits, 2023/05/28