mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 07:12:30 -05:00
gnu: Add texlive-tokenizer.
* gnu/packages/tex.scm (texlive-tokenizer): New variable.
This commit is contained in:
parent
efd08301cb
commit
a3689883d4
1 changed files with 24 additions and 0 deletions
|
@ -98400,6 +98400,30 @@ (define-public texlive-tokcycle
|
|||
provides a number of options for handling groups.")
|
||||
(license license:lppl1.3c)))
|
||||
|
||||
(define-public texlive-tokenizer
|
||||
(package
|
||||
(name "texlive-tokenizer")
|
||||
(version (number->string %texlive-revision))
|
||||
(source (texlive-origin
|
||||
name version
|
||||
(list "doc/latex/tokenizer/"
|
||||
"tex/latex/tokenizer/")
|
||||
(base32
|
||||
"0gvqn1rc3aq7kzmg6vibwgcpvpzsqkdfbp5im43405zl3d7rzhb9")))
|
||||
(outputs '("out" "doc"))
|
||||
(build-system texlive-build-system)
|
||||
(home-page "https://ctan.org/pkg/tokenizer")
|
||||
(synopsis "Tokenizer for LaTeX")
|
||||
(description
|
||||
"This package provides a tokenizer for LaTeX.
|
||||
@code{\\GetTokens@{Target1@}@{Target2@}@{Source@}} splits source into two
|
||||
tokens at the first encounter of a comma. The first token is saved in a newly
|
||||
created command with the name passed as @samp{<Target1>} and the second token
|
||||
likewise. A package option @code{trim} causes leading and trailing space to
|
||||
be removed from each token; with this option, the @code{\\TrimSpaces} command
|
||||
is defined, which removes leading and trailing spaces from its argument.")
|
||||
(license license:lppl)))
|
||||
|
||||
;;;
|
||||
;;; Avoid adding new packages to the end of this file. To reduce the chances
|
||||
;;; of a merge conflict, place them above by existing packages with similar
|
||||
|
|
Loading…
Reference in a new issue