CONVERTGLS2BIB(1) convertgls2bib CONVERTGLS2BIB(1)

convertgls2bib [option]+ texfile bibfile

Converts a .tex file containing glossary definitions using commands like "\newglossaryentry" and "\newacronym" to a .bib file in the format required for bib2gls. Distributed with bib2gls.

Display help message and exit.
Display version information and exit.
Suppress all messages except for errors.
Switch on verbose mode.
Switch off verbose mode.
Display debugging messages.
May be used instead of --debug where the level number is difficult to remember. Value same as for bib2gls's --debug-mode option.
Switch off debugging mode. Equivalent to --debug 0.
Log messages to given file. Intended primarily for debugging messages so enabling debug mode will automatically create a transcript file, but otherwise a file won't be created unless this option is used.

Set the character encoding to name for the input .tex files.
Set the character encoding to name for the output .bib files.
Use the language resource files associated with the given language tag lang tag. If there isn't an appropriate file, the en (English) file will be used.

Only parse the document preamble. That is, stop parsing if "\begin{document}" encountered.
Parse the entire document (default).
Ignore all the fields in the comma-separated list. If the list includes sort, type or category it will automatically implement the corresponding --ignore-sort, --ignore-type or --ignore-category option. Each item in the list should identify the field by its original case-sensitive key.

This option is cumulative.

Cancels the effect of --ignore-fields.
Omit the category field. Default if --split-on-category.
Don't omit the category field. Default unless --split-on-category.
Omit the type field. Default if --split-on-type.
Don't omit the type field. Default unless --split-on-type.
Ignore the sort field (default).
Don't ignore the sort field.

Overwrite existing .bib files. Default unless --split-on-type used.
Don't overwrite existing .bib files. Default if --split-on-type used.
Split the entries into separate files according to the type field. This option automatically implements --ignore-type and --no-overwrite.
Don't split the entries into separate files according to the type field (default).
Split the entries into separate files according to the category field. This option automatically implements --ignore-category and --no-overwrite.
Don't split the entries into separate files according to the category field (default).

Absorb "\glssee" and "\glsxtrindexseealso" into the data (default).
Don't absorb "\glssee" and "\glsxtrindexseealso" into the data.
Any entries that would normally be converted to @entry that don't have a description or just have the description set to "\nopostdesc" or "\glsxtrnopostpunc" will be converted to @index and the description field will be omitted.
Don't use @index instead of @entry if the description is empty or just "\nopostdesc" or "\glsxtrnopostpunc" (default).
Substitute spaces in labels with value.
Add source key to destination field label mapping. The argument should be a comma-separated list of src-field=dest-field pairs. This option is cumulative.

The deprecated --key-map is a synonym of --field-map.

Cancels all mappings applied with --field-map. The deprecated --no-key-map is a synonym of --field-map.
Adds the given mappings to the default set of internal field to key mappings. (For example, desc is the internal field label of the description key.) This option is cumulative.

This option is only needed if the internal field label is supplied in the argument of command such as "\glssetnoexpandfield".

Java 8 and a TeX distribution.

License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

The bib2gls manual:

texdoc bib2gls

The glossaries-extra manual:

texdoc glossaries-extra

The glossaries manual:

texdoc glossaries

Nicola L. C. Talbot, https://www.dickimaw-books.com/

2024-12-21 perl v5.40.0