Skip to content

Subcommand: citation

Lucas Czech edited this page Sep 16, 2024 · 19 revisions

Synopsis: Print references to be cited when using grenedalf.

Usage: grenedalf citation [options]

Documentation for grenedalf v0.6.2

Table of contents:

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.

Options

Options

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