ctanbib(1)
π ctanbib(1) π
okay so bestie, welcome to the ctanbib man page β the little cutie that lives in the ctanbib man page and goes and fetches bibliography info for you. it's giving β¨ librarian energy β¨ but make it CTAN.
πΈ NAME πΈ
ctanbib β retrieve bibliographic information for packages hosted on CTAN.
like. it gets you the citation. that's the whole vibe. π
π¦ SYNOPSIS π¦
ctanbib <options> [package name]
β¨ DESCRIPTION β¨
so this command retrieves bibliographic information for TeX packages hosted on CTAN, and it hands it to you in the BibTeX format. no cap. π
it looks up the Catalogue entry for each PKGNAME on CTAN (at https://ctan.org/xml/2.0/pkg/PKGNAME), and then converts the relevant info into a BibTeX entry. iconic behaviour honestly.
by default, the url field in the output entry is the package's home field value β if that's specified in the Catalogue entry. if it isn't, then https://ctan.org/pkg/PKGNAME is used instead. π«Ά
π OPTIONS π
-c,--ctanβ always use the CTAN/pkg/url instead of the package homepage. main character move.-C,--CTANβ use the package's CTAN path as the url (e.g.:/support/ctanbib).-e,--entrytypeβ (defaultmanual) change entry type.-h,--helpβ print the help message.-p,--pkgnameβ wrap the package name in a This command can be redefined in the document for the desired formatting.-v,--versionβ print the version info.
π EXAMPLES π
okay bestie, watch this:
$ ctanbib latex
this invocation will print data in the BibLaTeX format to the standard output:
@manual{latex,
title = {The Latex package},
subtitle = {A TeX macro package that defines LaTeX},
author = {Lamport, Leslie and The LaTeX Team},
url = {http://www.latex-project.org/},
urldate = {2018-08-23},
date = {2018-04-01},
version = {PL 5}
}
ate. π
now the --ctan option:
$ ctanbib -c hyperref
this produces a bib record with the @ctan type:
@ctan{hyperref,
title = {The Hyperref package},
subtitle = {Extensive support for hypertext in LaTeX},
author = {Rahtz, Sebastian and Oberdiek, Heiko},
url = {/macros/latex/contrib/hyperref},
urldate = {2018-08-27},
date = {},
version = {6.86b}
}
π§ See also π§
see ctanbib-doc.pdf for more details. iykyk. πβ¨
π BUGS π
no known bugs. we stay winning. π
π AUTHOR π
Michal Hoftich (michal.h21@gmail.com) β king behaviour fr fr π
π LICENSE π
permission is granted to copy, distribute and/or modify this software under the terms of the LaTeX Project Public License, version 1.3. π«Ά
and that's the whole page, bestie!! this was version 0.2d, dated 25 Oct 2023, from the ctanbib man page β slay, go cite some packages πβ¨ππ¦
π¦ where this page comes from
- alpine 3.24: texmf-dist-binextra-doc 2026.0-r0 Β· LPPL-1.0 AND LPPL-1.1 AND LPPL-1.2 AND LPPL-1.3a AND LPPL-1.3c AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms