[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/15: gnu: Add texlive-ydoc.
From: |
guix-commits |
Subject: |
06/15: gnu: Add texlive-ydoc. |
Date: |
Thu, 5 Sep 2019 16:26:25 -0400 (EDT) |
rekado pushed a commit to branch wip-texlive
in repository guix.
commit 6f5f17a216e8777e149d6824d44740f072941a7d
Author: Ricardo Wurmus <address@hidden>
Date: Thu Sep 5 22:12:40 2019 +0200
gnu: Add texlive-ydoc.
* gnu/packages/tex.scm (texlive-ydoc): New variable.
---
gnu/packages/tex.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 35f04d1..802b12d 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -7087,3 +7087,51 @@ the file to which it applies.")
"This package helps LaTeX users to create PDF/X, PFD/A and other
standards-compliant PDF documents with pdfTeX, LuaTeX and XeTeX.")
(license license:lppl1.2+)))
+
+(define-public texlive-ydoc
+ (let ((template (simple-texlive-package
+ "texlive-ydoc"
+ (list "/doc/latex/ydoc/"
+ "/source/latex/ydoc/")
+ (base32
+ "0ckcpy1b8v1fk3qc8qkxgiag2wc0qzxm6bgksv000m4m1hsi2g8b")
+ #:trivial? #f)))
+ (package
+ (inherit template)
+ (outputs '("out" "doc"))
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ #t)
+ "latex/ydoc")
+ ((#:build-targets _ #t)
+ ''("ydoc.dtx"))
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "source/latex/ydoc") #t))
+ (add-after 'copy-files 'move-files
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((share (string-append (assoc-ref outputs "out")
+ "/share/texmf-dist"))
+ (target (string-append share "/tex/generic/ydoc"))
+ (doc (string-append (assoc-ref outputs "doc")
+ "/share/texmf-dist/doc") ))
+ (mkdir-p target)
+ (for-each
+ (lambda (file)
+ (rename-file (string-append share "/tex/latex/ydoc/"
file)
+ (string-append target "/" file)))
+ '("ydocincl.tex" "ydocstrip.tex"))
+ (mkdir-p doc)
+ (rename-file (string-append share "/doc") doc)
+ #t)))))))
+ (home-page "http://www.ctan.org/pkg/ydoc")
+ (synopsis "Macros for documentation of LaTeX classes and packages")
+ (description "The package provides macros and environments to document
+LaTeX packages and classes. It is an (as yet unfinished) alternative to the
+@code{ltxdoc} class and the @code{doc} or @code{xdoc} packages. The aim is to
+provide a different layout and more modern styles (using the @code{xcolor},
+@code{hyperref} packages, etc.) This is an alpha release, and should probably
+not (yet) be used with other packages, since the implementation might
+change.")
+ (license license:lppl1.3+))))
- branch wip-texlive created (now 65a3324), guix-commits, 2019/09/05
- 03/15: gnu: texlive-fonts-iwona: Use double spacing in description., guix-commits, 2019/09/05
- 02/15: gnu: Add texlive-xcolor., guix-commits, 2019/09/05
- 05/15: gnu: texlive-union: Fix font map generation., guix-commits, 2019/09/05
- 09/15: gnu: Add texlive-iftex., guix-commits, 2019/09/05
- 12/15: gnu: Add texlive-standalone., guix-commits, 2019/09/05
- 04/15: gnu: vigra-c: Update to 0.0.0-1.66ff4fa., guix-commits, 2019/09/05
- 06/15: gnu: Add texlive-ydoc.,
guix-commits <=
- 08/15: gnu: Add texlive-pst-text., guix-commits, 2019/09/05
- 07/15: gnu: Add texlive-pstricks., guix-commits, 2019/09/05
- 01/15: gnu: texlive-latex-base: Ensure that extra sources are installed., guix-commits, 2019/09/05
- 10/15: gnu: Add texlive-tools., guix-commits, 2019/09/05
- 13/15: gnu: Add texlive-siunitx., guix-commits, 2019/09/05
- 14/15: gnu: Add texlive-booktabs., guix-commits, 2019/09/05
- 11/15: gnu: texlive-latex-xkeyval: Fix build., guix-commits, 2019/09/05
- 15/15: gnu: Add guile-cv., guix-commits, 2019/09/05