From 2ffa3a400b6493330007928fc25af637488aa3bc Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 3 May 2023 19:27:41 +0200 Subject: [PATCH] gnu: texlive-latex-filecontents: Rename to texlive-filecontents. * gnu/packages/tex.scm (texlive-filecontents): New variable. (texlive-latex-filecontents): Deprecate package. (texlive-latex-trimspaces): (texlive-latex-needspace): (texlive-latex-changepage): (texlive-ifmtarg): Apply renaming. --- gnu/packages/tex.scm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 8a44b09797..c81f9b1917 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -3339,9 +3339,9 @@ (define-public texlive-epstopdf-pkg (define-deprecated-package texlive-latex-epstopdf-pkg texlive-epstopdf-pkg) -(define-public texlive-latex-filecontents +(define-public texlive-filecontents (let ((template (simple-texlive-package - "texlive-latex-filecontents" + "texlive-filecontents" (list "doc/latex/filecontents/" "source/latex/filecontents/" "tex/latex/filecontents/") @@ -3369,6 +3369,8 @@ (define-public texlive-latex-filecontents @code{filecontents*} anywhere.") (license license:lppl1.3c+)))) +(define-deprecated-package texlive-latex-filecontents texlive-filecontents) + (define-public texlive-epsf (package (inherit (simple-texlive-package @@ -5836,7 +5838,7 @@ (define-public texlive-latex-trimspaces (("pstool.tex") "trimspaces.tex")) #t))))) (inputs - (list texlive-latex-filecontents)) + (list texlive-filecontents)) (home-page "https://www.ctan.org/pkg/trimspaces") (synopsis "Trim spaces around an argument or within a macro") (description @@ -9512,7 +9514,7 @@ (define-public texlive-latex-needspace '(#:tex-directory "latex/needspace" #:tex-format "latex")) (inputs - (list texlive-latex-filecontents)) + (list texlive-filecontents)) (home-page "https://www.ctan.org/pkg/needspace") (synopsis "Insert pagebreak if not enough space") (description @@ -9538,7 +9540,7 @@ (define-public texlive-latex-changepage '(#:tex-directory "latex/changepage" #:tex-format "latex")) (inputs - (list texlive-latex-filecontents)) + (list texlive-filecontents)) (home-page "https://www.ctan.org/pkg/changepage") (synopsis "Margin adjustment and detection of odd/even pages") (description @@ -11718,7 +11720,7 @@ (define-public texlive-ifmtarg (add-after 'unpack 'chdir (lambda _ (chdir "source/latex/ifmtarg"))))))) (inputs - (list texlive-latex-filecontents)) + (list texlive-filecontents)) (home-page "https://www.ctan.org/pkg/ifmtarg") (synopsis "If-then-else command for processing potentially empty arguments") (description "This package provides a command for the LaTeX programmer for