Skip to content

Subcommand: citation

Lucas Czech edited this page Jun 8, 2021 · 19 revisions

Print references to be cited when using grenedalf.

Usage: grenedalf citation [options]

Options

Options
keys TEXT:{Czech2021-grenedalf,Kofler2011-PoPoolation,Kofler2011-PoPoolation2}=[] ...
Only print the citations for the given keys.
--format TEXT:{bibtex,markdown,both}=bibtex
Output format for citations.
--all Print all relevant citations used by commands in grenedalf.
--list List all available citation keys.

Description

The auxiliary command prints references that need to be cited when using grenedalf. By default, it simply prints the grenedalf reference itself.

It can however also be used to print other references used by commands in grenedalf. Each reference has a citation key (similar to how BibTeX uses them). If such keys are listed after the command, only the specified references are printed:

grenedalf citation Czech2021-grenedalf

The --list flag prints a list of all available citation keys. Furthermore, the --all flag prints out all available references that are used in grenedalf commands. Using the --format option, the output format can be chosen as needed.

Clone this wiki locally