summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-08-29 10:41:39 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-08-29 10:41:45 +0200
commitc4819aecee652ef14512b4dacf5832654291882e (patch)
tree9f933b098261938ae6a4529d2de84d156ffd4c3d /gnu
parentbef78ff5f339504b4ee3ce73fbefc636847e70ce (diff)
gnu: Add texlive-import.
* gnu/packages/tex.scm (texlive-import): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tex.scm22
1 files changed, 22 insertions, 0 deletions
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")