From 34766a6631c97af0f13af6c16e1c9d26780e5cb5 Mon Sep 17 00:00:00 2001 From: Wiktor Żelazny Date: Fri, 2 Sep 2022 09:51:22 +0200 Subject: gnu: Add texlive-latex-newfloat. * gnu/packages/tex.scm (texlive-latex-newfloat): New variable. Signed-off-by: Christopher Baines --- gnu/packages/tex.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 1b3c086d54..212c7eb4a9 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -4954,6 +4954,23 @@ that are compatible with @code{natbib}: @code{plainnat}, @code{unsrtnat}, designed from the start to be compatible with @code{natbib}.") (license license:lppl))) +(define-public texlive-latex-newfloat + (package + (inherit (simple-texlive-package + "texlive-latex-newfloat" + (list "doc/latex/newfloat/" + "tex/latex/newfloat/") + (base32 "1047max3li9ni15njgsvc7qglakgrjy2l0s72imgzdmwgb2h8jyf") + #:trivial? #t)) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/newfloat") + (synopsis "Define new floating environments") + (description + "This package offers the command @code{\\DeclareFloatingEnvironment}, +which the user may use to define new floating environments which behave like +the LaTeX standard foating environments @code{figure} and @code{table}.") + (license license:lppl))) + (define-public texlive-latex-newunicodechar (package (inherit (simple-texlive-package -- cgit v1.2.3 From e879111c094e4310a13c443317792b3a4e30ddcc Mon Sep 17 00:00:00 2001 From: Wiktor Żelazny Date: Fri, 2 Sep 2022 07:56:04 +0200 Subject: gnu: Add texlive-latex-hyphenat. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tex.scm (texlive-latex-hyphenat): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/tex.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 212c7eb4a9..80edb64186 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -11572,3 +11572,22 @@ use of the fonts in LaTeX (Type 1) and XeLaTeX/LuaLaTeX (OTF).") Adobe in both Adobe Type 1 and OpenType formats, plus macros supporting the use of the fonts in LaTeX (Type 1) and XeLaTeX/LuaLaTeX (OTF).") (license (list license:lppl1.3+ license:silofl1.1)))) + +(define-public texlive-latex-hyphenat + (package + (inherit (simple-texlive-package + "texlive-latex-hyphenat" + (list "doc/latex/hyphenat/" + "tex/latex/hyphenat/") + (base32 "0b3jx2yvryx95am0ll9h6yc99niw2lwgsbq7r89j84z2qyp2llsq") + #:trivial? #t)) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/hyphenat") + (synopsis "Disable/enable hyphenation") + (description + "This package can disable all hyphenation or enable hyphenation of +non-alphabetics or monospaced fonts. The package can also enable hyphenation +within ‘words’ that contain non-alphabetic characters (e.g., that include +underscores), and hyphenation of text typeset in monospaced (e.g., cmtt) +fonts.") + (license license:lppl1.3c+))) -- cgit v1.2.3 From 9c5a952818d4780ae62f0cd1e413fd611f4adf24 Mon Sep 17 00:00:00 2001 From: Wiktor Żelazny Date: Fri, 2 Sep 2022 08:27:31 +0200 Subject: gnu: texlive-caption: Fix description. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tex.scm (texlive-caption): Update description. [description]: newfloat.sty and totalcount.sty are not in the package. Signed-off-by: Ludovic Courtès --- gnu/packages/tex.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 80edb64186..56308c4cf9 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -9804,8 +9804,8 @@ of compatibility notes, for other packages, is provided in the documentation. The package also provides the \"caption outside float\" facility, in the same way that simpler packages like @code{capt-ofcapt-of} do. The package supersedes @code{caption2}. -Packages @code{bicaption}, @code{ltcaption}, @code{newfloat}, -@code{subcaption} and @code{totalcount} are included in the bundle.") +Packages @code{bicaption}, @code{ltcaption} and @code{subcaption} are +included in the bundle.") (license license:lppl1.3+)))) (define-public texlive-symbol -- cgit v1.2.3 From 7627ac7ba950c272262bcbf0bb7757b583ff02f0 Mon Sep 17 00:00:00 2001 From: Wiktor Żelazny Date: Thu, 1 Sep 2022 11:38:04 +0200 Subject: gnu: Add texlive-latex-lastpage. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tex.scm (texlive-latex-lastpage): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/tex.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 56308c4cf9..2236f9faf2 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -11591,3 +11591,21 @@ within ‘words’ that contain non-alphabetic characters (e.g., that include underscores), and hyphenation of text typeset in monospaced (e.g., cmtt) fonts.") (license license:lppl1.3c+))) + +(define-public texlive-latex-lastpage + (package + (inherit (simple-texlive-package + "texlive-latex-lastpage" + (list "doc/latex/lastpage/" + "tex/latex/lastpage/") + (base32 "0q6x743b8fkw9r82lrxy49f9xsg81bffynwvpnvpnp3h4mkafvdb") + #:trivial? #t)) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/lastpage") + (synopsis "Reference last page for Page N of M type footers") + (description + "This package enables referencing the number of pages in a LaTeX document +through the introduction of a new label which can be referenced like +@code{\\pageref{LastPage}} to give a reference to the last page of a document. +It is particularly useful in the page footer that says: Page N of M.") + (license license:lppl1.3c+))) -- cgit v1.2.3 From c92b01080494cf5641a33c805d0b2f80c64c6a88 Mon Sep 17 00:00:00 2001 From: Wiktor Żelazny Date: Thu, 1 Sep 2022 13:38:06 +0200 Subject: gnu: Add texlive-latex-tabto-ltx. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tex.scm (texlive-latex-tabto-ltx): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/tex.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 2236f9faf2..281f2904da 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -11609,3 +11609,41 @@ through the introduction of a new label which can be referenced like @code{\\pageref{LastPage}} to give a reference to the last page of a document. It is particularly useful in the page footer that says: Page N of M.") (license license:lppl1.3c+))) + +(define-public texlive-latex-tabto-ltx + (package + (name "texlive-latex-tabto-ltx") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference (url (string-append + "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/latex/tabto-ltx")) + (revision %texlive-revision))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1vq9s3n0mdgx2w84bjdsqxp3vcasfb824agjy56713902li1g8vm")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/latex/tabto"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") + target) #t)))) + (home-page "https://ctan.org/pkg/tabto-ltx") + (synopsis "``Tab'' to a measured position in the line") + (description + "This package provides @code{\\tabto{}}, which moves the +typesetting position to @code{} from the left margin of the paragraph. +If the typesetting position is already further along, @code{\\tabto} starts a +new line; the command @code{\\tabto*} will move position backwards if +necessary, so that previous text may be overwritten. In addition, the command +@code{\\TabPositions} may be used to define a set of tabbing positions, after +which the command @code{\\tab} advances typesetting position to the next +defined ``tab stop''.") + (license license:lppl1.3+))) -- cgit v1.2.3 From 742e70cb13533426dce990feef067f57dde92738 Mon Sep 17 00:00:00 2001 From: Wiktor Żelazny Date: Thu, 1 Sep 2022 14:52:20 +0200 Subject: gnu: Add texlive-generic-soul. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tex.scm (texlive-generic-soul): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/tex.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 281f2904da..e3fb6b32ed 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -11647,3 +11647,24 @@ necessary, so that previous text may be overwritten. In addition, the command which the command @code{\\tab} advances typesetting position to the next defined ``tab stop''.") (license license:lppl1.3+))) + +(define-public texlive-generic-soul + (let ((template (simple-texlive-package + "texlive-generic-soul" + (list "/doc/generic/soul/" + "/tex/generic/soul/") + (base32 + "11jdgvfpcv10y5j898495lf29k2m03x39v9jzb4v79w4cgxcmfps") + #:trivial? #t))) + (package + (inherit template) + (home-page "http://www.ctan.org/pkg/soul") + (synopsis "Hyphenation for letterspacing, underlining, and more") + (description + "@code{soul} enables hyphenatable spacing out (letterspacing), +underlining, striking out, etc., using the TeX hyphenation algorithm to find +the proper hyphens automatically. The package also provides a mechanism that +can be used to implement similar tasks, that have to treat text syllable by +syllable. The package itself does not support UTF-8 input in ordinary +(PDF)LaTeX; some UTF-8 support is offered by package @code{soulutf8}.") + (license license:lppl)))) -- cgit v1.2.3 From 9fb065a544320020fd8e34918a5c44c870470185 Mon Sep 17 00:00:00 2001 From: Wiktor Żelazny Date: Thu, 1 Sep 2022 15:53:38 +0200 Subject: gnu: Add texlive-latex-totcount. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tex.scm (texlive-latex-totcount): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/tex.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index e3fb6b32ed..ae8bf43161 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -11668,3 +11668,20 @@ can be used to implement similar tasks, that have to treat text syllable by syllable. The package itself does not support UTF-8 input in ordinary (PDF)LaTeX; some UTF-8 support is offered by package @code{soulutf8}.") (license license:lppl)))) + +(define-public texlive-latex-totcount + (package + (inherit (simple-texlive-package + "texlive-latex-totcount" + (list "doc/latex/totcount/" + "tex/latex/totcount/") + (base32 "0z4mijyk3z7555q8da41aiji602plis5z261z4rr1fl8sndhnhn1") + #:trivial? #t)) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/totcount") + (synopsis "Find the last value of a counter") + (description + "This package records the value that was last set, for any counter of +interest. Since most such counters are simply incremented when they are +changed, the recorded value will usually be the maximum value.") + (license license:lppl1.3c+))) -- cgit v1.2.3