From 0b7ad48e8649c8021bce33948002008e76165b88 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 11 Mar 2019 22:03:21 +0000 Subject: ctanbib (11mar19) git-svn-id: svn://tug.org/texlive/trunk@50340 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/man/man1/ctanbib.1 | 72 ++++++++++++++++++++++++ Master/texmf-dist/doc/man/man1/ctanbib.man1.pdf | Bin 0 -> 20182 bytes 2 files changed, 72 insertions(+) create mode 100644 Master/texmf-dist/doc/man/man1/ctanbib.1 create mode 100644 Master/texmf-dist/doc/man/man1/ctanbib.man1.pdf (limited to 'Master/texmf-dist/doc/man/man1') diff --git a/Master/texmf-dist/doc/man/man1/ctanbib.1 b/Master/texmf-dist/doc/man/man1/ctanbib.1 new file mode 100644 index 00000000000..baa40b1190a --- /dev/null +++ b/Master/texmf-dist/doc/man/man1/ctanbib.1 @@ -0,0 +1,72 @@ +.\" Manpage for ctanbib. +.\" Contact michal.h21@gmail.com to correct errors or typos. +.TH ctanbib 1 "28 aug 2018" "0.1" "ctanbib man page" +.SH NAME +ctanbib +\- retrieve bibliographic information for packages hosted on CTAN. +.SH SYNOPSIS +ctanbib [package name] +.SH DESCRIPTION +This command can retrieve bibliographic information for TeX packages hosted on +CTAN in the BibTeX format. +.SH OPTIONS +.IP -c,--ctan +use @ctan type instead of @manual. The difference between the two is that the +url field contains package CTAN path, instead of link to the package. +.IP -h,--help +print the help message. +.IP -v,--version +print the version info. +.SH EXAMPLES + +$ ctanbib latex + +.Pp +This invocation will print data in the BibLaTeX format to the standard output: + +.nf +.ft CW +@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} +} +.ft R +.fi + +.Pp +The --ctan option: + +$ ctanbib -c hyperref + +.Pp +This produces bib record with the @ctan type: + +.nf +.ft CW +@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} +} +.ft R +.fi + +.SH See also +See ctanbib-doc.pdf for more details +.SH BUGS +No known bugs. +.SH AUTHOR +Michal Hoftich (michal.h21@gmail.com) +.SH LICENSE +Permission is granted to copy, distribute and/or modify this software +under the terms of the LaTeX Project Public License, version 1.3. + diff --git a/Master/texmf-dist/doc/man/man1/ctanbib.man1.pdf b/Master/texmf-dist/doc/man/man1/ctanbib.man1.pdf new file mode 100644 index 00000000000..2a48c8545c0 Binary files /dev/null and b/Master/texmf-dist/doc/man/man1/ctanbib.man1.pdf differ -- cgit v1.2.3