SysTutorials

Linux Manual Pages › Section 1

bib2gls(1)

SYNOPSIS

bib2gls [option]+ auxfile

DESCRIPTION

bib2gls is designed to work with the glossaries-extra LaTeX package. (The record package option is required.) The application performs two functions in one: (1) selects entries from .bib files according to information found in the auxfile (similar to bibtex); (2) hierarchically sorts entries and collates location lists (similar to makeindex and xindy). The .aux extension may be omitted from auxfile.

The auxfile (and corresponding .log file) should either be in the current directory or in the directory specified by –dir. Bib files can either be relative to the directory the auxfile is in or in a location that can be found by kpsewhich.

OPTIONS

–help or -h
Display help message and exit.
–version or -v
Display version information and exit.
–debug [level]
Switch on the debug mode (optionally at the given level, which should be a non-negative integer). If level is 0 then the debug mode is switched off.
–no-debug (or –nodebug)
Switch off debug mode. (Equivalent to –debug 0)
–verbose
Switch on verbose mode.
–no-verbose (or –noverbose)
Switch off verbose mode. (Some messages will still be written to STDOUT.)
–silent
Only display error messages. All other messages are just written to the transcript file.
–locale lang (or -l lang)
Use language resource file for lang (which should be an IETF locale tag).
–log-file file (or -t <file>)
Set the transcript file.
–dir directory (or -d <directory>)
Files are relative to directory. (This doesn’t change the current working directory.)
–tex-encoding name
Set the character encoding for the output files. This overrides the setting given in auxfile.
–interpret
Use the TeX parser library to interpret known (La)TeX commands (default).
–no-interpret
Don’t try interpreting (La)TeX commands.
–break-space
Interpret "~" (tilde) character and " obreakspace" as a normal space.
–no-break-space
Interpret "~" (tilde) and " obreakspace" as a non-breaking space (default).
–cite-as-record
Treat "