guix-commits
[Top][All Lists]
Advanced

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

66/93: gnu: Add texlive-pwebmac.


From: guix-commits
Subject: 66/93: gnu: Add texlive-pwebmac.
Date: Thu, 20 Jul 2023 05:21:42 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 3853487f9133c1ef36e04d331e337af88dead2a6
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Thu Jul 20 11:02:39 2023 +0200

    gnu: Add texlive-pwebmac.
    
    * gnu/packages/tex.scm (texlive-pwebmac): New variable.
---
 gnu/packages/tex.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ab8a95f065..cb35848b9b 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3501,6 +3501,42 @@ not overly complex, so that users should find it easy to 
adapt the macros to
 their specific needs.")
     (license license:lppl)))
 
+(define-public texlive-pwebmac
+  (package
+    (name "texlive-pwebmac")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/plain/pwebmac/" "tex/plain/pwebmac/")
+             (base32
+              "18mc66iv5jszxwnrwvlx2c040521mray480my9pdcl7aw5w2z4a2")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/pwebmac";)
+    (synopsis "Consolidated WEB macros for DVI and PDF output")
+    (description
+     "The original WEB system by Donald Knuth has the macros webmac.tex that
+produce DVI output only; for historic reasons, it will never be
+modified (apart from catastrophic errors).  Han The Thanh has modified these
+macros in his @file{pdfwebmac.tex} for PDF output (only) with pdfTeX.
+Jonathan Kew's XeTeX has similar macros @file{xewebmac.tex} by Khaled Hosny
+that modify @file{webmac.tex} for PDF output; these macros can only be used
+with a specific TeX engine each.  The present @code{pwebmac} package
+integrates these three WEB macro files similar to @file{cwebmac.tex} in Silvio
+Levy's and Don Knuth's CWEB system, so @file{pwebmac.tex} can be used with
+Plain TeX, pdfTeX, and XeTeX alike.
+
+Its initial application is the production of PDF and HINT files for all major
+WEB programs for TeX and friends.  For this purpose, the shell script
+@command{makeall} was whipped together; it provides various command line
+options and works around several quirks in the WEB sources.
+
+WEB programmers who want to use @file{pwebmac.tex} instead of the default
+@file{webmac.tex} in their programs have to change the first line in the TeX
+file created by @code{weave}.  From there, all depends on the TeX engine you
+use.")
+    (license license:public-domain)))
+
 (define-public texlive-tex
   (package
     (name "texlive-tex")



reply via email to

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