From 1e87a0cf99ed5d7a63d1b2a26c492cecbeb0fe76 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 26 Jun 2023 15:09:24 +0200 Subject: [PATCH] gnu: Add texlive-optex. * gnu/packages/tex.scm (texlive-optex): 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 ec328238b8..d3c8e04fd2 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -11450,6 +11450,42 @@ and back-ends. It also ensures compatibility with the @code{media9} and (define-deprecated-package texlive-latex-ocgx2 texlive-ocgx2) +(define-public texlive-optex + (package + (name "texlive-optex") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/man/man1/optex.1" + "doc/man/man1/optex.man1.pdf" + "doc/optex/base/" + "tex/optex/base/" + "tex/optex/demo/" + "tex/optex/pkg/") + (base32 + "0bcrj9wrimcd2pxrcfk7x3vkhxzij4422l19a8j4h299lkq3pbx0"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (arguments (list #:create-formats #~(list "optex"))) + (propagated-inputs + (list texlive-amsfonts + texlive-cm + texlive-ec + texlive-hyphen-base + texlive-librarian + texlive-lm + texlive-luaotfload + texlive-luatex + texlive-rsfs + texlive-unicode-data)) + (home-page "https://ctan.org/pkg/optex") + (synopsis "LuaTeX format based on Plain TeX and OPmac") + (description + "OpTeX is a LuaTeX format based on Plain TeX macros with power from +OPmac (fonts selection system, colors, external graphics, references, +hyperlinks, ...) with Unicode fonts.") + (license license:public-domain))) + (define-public texlive-ms (package (name "texlive-ms")