gnu: texlive-latex-tabto-ltx -> texlive-tabto-ltx.

* gnu/packages/tex.scm (texlive-tabto-ltx): New variable.
(texlive-latex-tabto-ltx): Deprecate variable.
This commit is contained in:
Nicolas Goaziou 2023-05-14 20:06:12 +02:00
parent 443cf97f4e
commit 55aa692e22
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -12720,44 +12720,32 @@ (define-public texlive-lastpage
(define-deprecated-package texlive-latex-lastpage texlive-lastpage) (define-deprecated-package texlive-latex-lastpage texlive-lastpage)
(define-public texlive-latex-tabto-ltx (define-public texlive-tabto-ltx
(package (package
(name "texlive-latex-tabto-ltx") (name "texlive-tabto-ltx")
(version (number->string %texlive-revision)) (version (number->string %texlive-revision))
(source (origin (source (texlive-origin
(method svn-fetch) name version
(uri (svn-reference (url (string-append (list "doc/latex/tabto-ltx/" "tex/latex/tabto-ltx/")
"svn://www.tug.org/texlive/tags/" (base32
%texlive-tag "/Master/texmf-dist/" "0q0v1pc4hvj71nayfpkj6gfwcbi18s5c526r1k7j4p9m5fcqmbgm")))
"/tex/latex/tabto-ltx")) (outputs '("out" "doc"))
(revision %texlive-revision))) (build-system texlive-build-system)
(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") (home-page "https://ctan.org/pkg/tabto-ltx")
(synopsis "``Tab'' to a measured position in the line") (synopsis "Tab to a measured position in the line")
(description (description
"This package provides @code{\\tabto{<length>}}, which moves the "This package provides @code{\\tabto{<length>}}, which moves the
typesetting position to @code{<length>} from the left margin of the paragraph. typesetting position to @code{<length>} from the left margin of the paragraph.
If the typesetting position is already further along, @code{\\tabto} starts a If the typesetting position is already further along, @code{\\tabto} starts
new line; the command @code{\\tabto*} will move position backwards if a new line; the command @code{\\tabto*} will move position backwards if
necessary, so that previous text may be overwritten. In addition, the command 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 @code{\\TabPositions} may be used to define a set of tabbing positions, after
which the command @code{\\tab} advances typesetting position to the next which the command @code{\\tab} advances typesetting position to the next
defined ``tab stop''.") defined tab stop.")
(license license:lppl1.3+))) (license license:lppl1.3+)))
(define-deprecated-package texlive-latex-tabto-ltx texlive-tabto-ltx)
(define-public texlive-soul (define-public texlive-soul
(let ((template (simple-texlive-package (let ((template (simple-texlive-package
"texlive-soul" "texlive-soul"