From 92c776ce7fcfe7e48437d01f04e48383ab4a4d0b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 14 Aug 2023 10:15:02 +0200 Subject: [PATCH] gnu: Add texlive-pst-diffraction. * gnu/packages/tex.scm (texlive-pst-diffraction): New variable. --- gnu/packages/tex.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 4a7769e14c..5c85abff0d 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -32780,6 +32780,33 @@ positioning some nodes and defining the position of all other nodes relative to them by using the standard database terminology.") (license license:lppl))) +(define-public texlive-pst-diffraction + (package + (name "texlive-pst-diffraction") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/generic/pst-diffraction/" + "source/generic/pst-diffraction/" + "tex/generic/pst-diffraction/" + "tex/latex/pst-diffraction/") + (base32 + "1wi67md3046nj0arqi1wmbgdhdrsnfqgmmb0ayk2iswfhvx32myr"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/pst-diffraction") + (synopsis "Print diffraction patterns from various apertures") + (description + "The package enables the user to draw (using PSTricks) the diffraction +patterns for different geometric forms of apertures for monochromatic light. +The aperture stops can have rectangular, circular or triangular openings. The +view of the diffraction may be planar, or three-dimensional. Options +available are the dimensions of the aperture under consideration and of the +particular optical setting, e.g., the radius in case of an circular opening. +Moreover one can choose the wavelength of the light (the associated color will +be calculated by the package).") + (license license:lppl))) + (define-public texlive-pst-text (package (name "texlive-pst-text")