guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: Add texlive-import.


From: guix-commits
Subject: 02/03: gnu: Add texlive-import.
Date: Tue, 29 Aug 2023 04:58:49 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit c4819aecee652ef14512b4dacf5832654291882e
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Aug 29 10:41:39 2023 +0200

    gnu: Add texlive-import.
    
    * gnu/packages/tex.scm (texlive-import): 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 a24e48d096..7eb281e364 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -17162,6 +17162,28 @@ Plain TeX and Eplain.  This is its French 
translation.")
 French Imprimerie Nationale.")
     (license license:lppl1.3+)))
 
+(define-public texlive-import
+  (package
+    (name "texlive-import")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/import/" "tex/latex/import/")
+             (base32
+              "0wlzs31li6nvzigkxw59bbpmyqrkzpdangvjqq3z7wl6y79sic6g")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/import";)
+    (synopsis "Establish input relative to a directory")
+    (description
+     "The commands @code{\\import@{full_path@}@{file@}} and
+@code{\\subimport@{path_extension@}@{file@}} set up input through standard
+LaTeX mechanisms (@code{\\input}, @code{\\include} and
+@code{\\includegraphics}) to load files relative to the imported directory.
+There are also @code{\\includefrom}, @code{\\subincludefrom}, and starred
+variants of the commands.")
+    (license license:public-domain)))
+
 (define-public texlive-imsproc
   (package
     (name "texlive-imsproc")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]