[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/13: gnu: Add texlive-ydoc.
From: |
guix-commits |
Subject: |
05/13: gnu: Add texlive-ydoc. |
Date: |
Thu, 5 Sep 2019 16:46:30 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 73ce44218b8beb8e7f94777efb7bf500462cabf2
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 7838b16..7b040ab 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -7068,3 +7068,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 master updated (067ea29 -> 66d2133), guix-commits, 2019/09/05
- 03/13: gnu: texlive-fonts-iwona: Use double spacing in description., guix-commits, 2019/09/05
- 01/13: gnu: libbigwig: Update to 0.4.4., guix-commits, 2019/09/05
- 04/13: gnu: Add texlive-xcolor., guix-commits, 2019/09/05
- 06/13: gnu: Add texlive-pstricks., guix-commits, 2019/09/05
- 09/13: gnu: Add texlive-tools., guix-commits, 2019/09/05
- 11/13: gnu: Add texlive-standalone., guix-commits, 2019/09/05
- 07/13: gnu: Add texlive-pst-text., guix-commits, 2019/09/05
- 02/13: gnu: vigra-c: Update to 0.0.0-1.66ff4fa., guix-commits, 2019/09/05
- 05/13: gnu: Add texlive-ydoc.,
guix-commits <=
- 13/13: gnu: Add texlive-booktabs., guix-commits, 2019/09/05
- 08/13: gnu: Add texlive-iftex., guix-commits, 2019/09/05
- 10/13: gnu: texlive-latex-xkeyval: Fix build., guix-commits, 2019/09/05
- 12/13: gnu: Add texlive-siunitx., guix-commits, 2019/09/05