[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
37/53: gnu: Add texlive-poetrytex.
From: |
guix-commits |
Subject: |
37/53: gnu: Add texlive-poetrytex. |
Date: |
Wed, 16 Aug 2023 14:27:10 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit db82b442f2055c176845e004fa895aa890dfe7f1
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Wed Aug 16 19:45:57 2023 +0200
gnu: Add texlive-poetrytex.
* gnu/packages/tex.scm (texlive-poetrytex): New variable.
---
gnu/packages/tex.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 69d37eea64..6efab395ee 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10582,6 +10582,49 @@ way, and with a few additional abilities, such as
facilities for a list of
poems, an index of first lines, and some structural commands.")
(license license:lppl1.3c)))
+(define-public texlive-poetrytex
+ (package
+ (name "texlive-poetrytex")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/latex/poetrytex/"
+ "source/latex/poetrytex/"
+ "tex/latex/poetrytex/")
+ (base32
+ "1y78zd1hd3z1901x6mc6q0mw4rgj3qcqhnjn34zix11r0gn4b2jr")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (arguments
+ (list #:tex-format "latex"
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Replace "\code{...}" with "\texttt{...}" (which is the alias
+ ;; chosen in the documentation) in order to prevent a "Command
+ ;; \code already defined" error.
+ (add-after 'unpack 'fix-documentation-source
+ (lambda _
+ (substitute* "source/latex/poetrytex/poetrytex.dtx"
+ (("\\\\newcommand\\*\\\\code\\[1\\].*") "")
+ (("\\\\code\\{") "\\texttt{")))))))
+ (native-inputs
+ (list (texlive-updmap.cfg
+ (list texlive-etoolbox
+ texlive-fancyvrb
+ texlive-framed
+ texlive-hologo
+ texlive-hypdoc
+ texlive-parskip
+ texlive-tipa
+ texlive-tocloft))))
+ (home-page "https://ctan.org/pkg/poetrytex")
+ (synopsis "Typeset anthologies of poetry")
+ (description
+ "The package is designed to aid in the management and formatting of
+anthologies of poetry and other writings; it does not concern itself with
+actually typesetting the verse itself.")
+ (license license:lppl1.3+)))
+
(define-public texlive-polexpr
(package
(name "texlive-polexpr")
- 27/53: gnu: Add texlive-liturg., (continued)
- 27/53: gnu: Add texlive-liturg., guix-commits, 2023/08/16
- 35/53: gnu: Add texlive-poemscol., guix-commits, 2023/08/16
- 41/53: gnu: Add texlive-rrgtrees., guix-commits, 2023/08/16
- 36/53: gnu: Add texlive-poetry., guix-commits, 2023/08/16
- 38/53: gnu: Add texlive-qobitree., guix-commits, 2023/08/16
- 42/53: gnu: Add texlive-rtklage., guix-commits, 2023/08/16
- 43/53: gnu: Add texlive-screenplay., guix-commits, 2023/08/16
- 44/53: gnu: Add texlive-screenplay-pkg., guix-commits, 2023/08/16
- 50/53: gnu: Add texlive-tree-dvips., guix-commits, 2023/08/16
- 34/53: gnu: Add texlive-play., guix-commits, 2023/08/16
- 37/53: gnu: Add texlive-poetrytex.,
guix-commits <=
- 46/53: gnu: Add texlive-stage., guix-commits, 2023/08/16
- 47/53: gnu: Add texlive-textglos., guix-commits, 2023/08/16
- 48/53: gnu: Add texlive-thalie., guix-commits, 2023/08/16
- 53/53: gnu: Add texlive-collection-humanities., guix-commits, 2023/08/16
- 52/53: gnu: Add texlive-xyling., guix-commits, 2023/08/16
- 45/53: gnu: Add texlive-sides., guix-commits, 2023/08/16
- 49/53: gnu: Add texlive-theatre., guix-commits, 2023/08/16
- 51/53: gnu: Add texlive-verse., guix-commits, 2023/08/16