mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 00:52:55 -05:00
gnu: Add texlive-fetchcls.
* gnu/packages/tex.scm (texlive-fetchcls): New variable.
This commit is contained in:
parent
69e70d1605
commit
756664d3da
1 changed files with 26 additions and 0 deletions
|
@ -81904,6 +81904,32 @@ (define-public texlive-fcolumn
|
||||||
@samp{f}.")
|
@samp{f}.")
|
||||||
(license license:lppl1.3+)))
|
(license license:lppl1.3+)))
|
||||||
|
|
||||||
|
(define-public texlive-fetchcls
|
||||||
|
(package
|
||||||
|
(name "texlive-fetchcls")
|
||||||
|
(version (number->string %texlive-revision))
|
||||||
|
(source (texlive-origin
|
||||||
|
name version
|
||||||
|
(list "doc/latex/fetchcls/"
|
||||||
|
"source/latex/fetchcls/"
|
||||||
|
"tex/latex/fetchcls/")
|
||||||
|
(base32
|
||||||
|
"03wiyp91x2y93l50rbla4b6qpc3h5zjz36j392r1slxlhplm6m7p")))
|
||||||
|
(outputs '("out" "doc"))
|
||||||
|
(build-system texlive-build-system)
|
||||||
|
(arguments (list #:tex-format "latex"))
|
||||||
|
(home-page "https://ctan.org/pkg/fetchcls")
|
||||||
|
(synopsis "Fetch the current class name")
|
||||||
|
(description
|
||||||
|
"With standard LaTeX you are able to check for the class in use invoking the
|
||||||
|
kernel command @code{\\@@ifclassloaded}. However, doing so you cannot get the
|
||||||
|
explicit class name, unless you want to loop over every possible class name
|
||||||
|
until @code{\\@@ifclassloaded} returns true --- don't do that! With the help
|
||||||
|
of the present package you can obtain the name of the current class with
|
||||||
|
significantly less effort. Just load the package as usual, then, the control
|
||||||
|
sequence @code{\\classname} will hold the name you were looking for.")
|
||||||
|
(license license:lppl1.3c)))
|
||||||
|
|
||||||
;;;
|
;;;
|
||||||
;;; Avoid adding new packages to the end of this file. To reduce the chances
|
;;; 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
|
;;; of a merge conflict, place them above by existing packages with similar
|
||||||
|
|
Loading…
Reference in a new issue