ctanbib(1)

πŸ“¦
version 68650 Β· 4 versions
, in arch rolling, debian trixie, fedora 44, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute

πŸ’– 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 β€” (default manual) 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 πŸ’–βœ¨πŸŽ€πŸ¦‹