v2.7 (2020-07-11): * save-original-entrytype option now allows the name of a field as the value (making it consistent with the save-original-id option). * save-original-id option now has a check to disallow special internal fields (instead of silently ignoring the setting). * replicate-fields option will now allow unknown fields (but not special internal fields) in the targets and will save them using \GlsXtrSetField. * new options: save-original-id-action save-original-entrytype-action hex-unicode-fields * Bug fix: Added check for null in getSortFallbackContents (to avoid NullPointerException) v2.6 (2020-07-09): * Fixed bug where getSortFallbackValue returns string "null" instead of actual null. v2.5 (2020-05-30): * --version switch now also shows version details for bundled texparserlib.jar * Bug fix (texparserlib.jar): corrected \else part of conditionals v2.4 (2020-05-27): * Bug fix (issue in TeX parser library used by bib2gls) https://github.com/nlct/texparser/issues/3 v2.3 (2020-03-23): * New sort methods: recordcount and recordcount-reverse (both require --record-count). * Resource option 'selection' now also allows the values 'deps but not recorded' and 'ancestors but not recorded' * New resource options: custom-sort-fallbacks field-concat-sep * The sort fallback resource options custom-sort-fallbacks, entry-sort-fallback, symbol-sort-fallback, abbreviation-sort-fallback and bibtexentry-sort-fallback now allow 'id' or 'original id' as values or values that are field concatenations. * New command line switches: --provide-glossaries --no-provide-glossaries v2.2 (2020-03-16): * Bug fix (texparserlib.jar): - "Files located in local texmf path are not determined correctly" issue #3 https://github.com/nlct/bib2gls/issues/3 v2.1 (2020-02-28): * Only trigger error exit code for bib parser exceptions (just warn for interpreter and aux parser exceptions). * Bug fix (texparserlib.jar): - "Fails to parse \@writefile{lot}{\egroup }" issue #2 https://github.com/nlct/texparser/issues/2 v2.0 (2020-02-12): * New command line options: --trim-only-fields --trim-except-fields * New resource option: interpret-fields-action prefix-fields append-prefix-field append-prefix-field-cs append-prefix-field-exceptions append-prefix-field-cs-exceptions append-prefix-field-nbsp-match save-sibling-count * New values for 'identical-sort-action' option: 'def' and 'use' * New value for 'selection' option: 'recorded and deps and see not also' * New internal fields: dualprefix, dualprefixplural, dualprefixfirst, dualprefixfirstplural, siblingcount, siblinglist * Dual prefix mappings now added if the prefix field is defined (provided by glosssaries-prefix.sty). * Interpreter now supports \nobreakspace and it obeys --break-space and --no-break-space in the same way as ~ * Added support for nonumberlist * Bug fixes: - corrected interpret-fields - corrected selection={recorded and deps and see} - corrected plural for entries where the name is inherited from the parent * convertgls2bib: - new command line options: --ignore-type --no-ignore-type --split-on-type (-p) --no-split-on-type --ignore-category --no-ignore-category --split-on-category (-c) --no-split-on-category --ignore-fields (-f) --overwrite --no-overwrite --preamble-only (-p) --no-preamble-only --index-conversion (-i) --no-index-conversion --absorb-see --no-absorb-see - added check for see=[\alsoname] in addition to see=[\seealsoname] v1.9 (2019-04-09): * manual: - added section "Logical Divisions: type vs group vs parent" * new resource option: compact-ranges progenitor-type adopted-parent-field unknown-entry-alias save-original-entrytype field-case-change no-case-change-cs encapsulate-fields encapsulate-fields* interpret-fields replicate-missing-field-action entry-sort-fallback * new entry types: @progenitor @spawnindex @spawnindexplural @spawnentry @spawnsymbol @spawnnumber @spawnabbreviation @spawnacronym * New command line options: --warn-non-bib-fields --no-warn-non-bib-fields --warn-unknown-entry-types --no-warn-unknown-entry-types * The `type` option (and similar options that assign the `type` field) now accepts the special setting "same as parent". * The `group` option no longer requires the --group switch. * The `match` and `not-match` options now accept `original entrytype`. v1.8 (2018-11-30): * new resource options: save-primary-locations primary-location-formats long-case-change dual-long-case-change word-boundaries sort-label-list dependency-fields * added support for the new glossaries-extra package option record=nameref (introduced to glossaries-extra v1.37). * normal locations are now written to the location field as \glsnoidxdisplayloc{}{}{}{} instead of explicitly using \setentrycounter[]{}\{} This matches the way the record is added to the loclist field and makes it easier to adjust the record formatting. * bib2gls now always parses the .log file even if the interpreter setting is off. (It still needs to know version details and whether hyperlinks and Unicode are supported by the document.) * Underscores now allowed in bib labels. * Hooks added to pick up label prefixes if needed: \bibglsprimaryprefixlabel \bibglsdualprefixlabel \bibglstertiaryprefixlabel \bibglsexternalprefixlabel * bug fix: corrected default sort=doc * bug fix: corrected letternumber-upperlower and letternumber-lowerupper sort methods. * bug fix: corrected invalid datetime pattern that threw InvalidArgumentException * bug fix: https://github.com/nlct/bib2gls/issues/3 Files located in local texmf path are not determined correctly on Windows. (actual bug was in texparserlib.jar rather than bib2gls.jar) * \@glsnavhypertarget will now fallback on original definition (which requires an extra LaTeX call) if the type is unknown. * Renamed example file sample-languages.tex to sample-markuplanguages.tex v1.7 (2018-08-18): * added support for multiple supplementary sources (requires at least glossaries-extra v1.36) v1.6 (2018-07-07): * corrected some of the latin to Java encoding names * added check for \@input in .aux file v1.5 (2018-05-09): * added introductory guide (bib2gls-begin.pdf) * rearranged some of the resource option sections in the main user manual (bib2gls.pdf) * new .glstex helper command: \bibglssetlastgrouptitle * added @indexplural and associated .glstex helper command \bibglsnewindexplural * added resource options: - sort-replace - dual-sort-replace - secondary-sort-replace * save-child-count now also creates the childlist internal field. * bug fixes: - corrected encoding setting (bib2gls and convertgls2bib) - corrected \ (backslash space) eol causing unwanted extra eol - corrected sort fallback - labelify-replace now recognises \$ in the replacement part as a reference to a captured group - improved error handling for invalid entry IDs - save-child-count was partially switching on flatten-lonely - corrected name-case-change for @index v1.4 (2018-04-09): * added switches: --list-known-packages --custom-packages --cite-as-record --no-cite-as-record --merge-wrglossary-records --no-merge-wrglossary-records * added resource options: - missing-parents - missing-parent-category - bibtexentry-sort-fallback - save-index-counter * added extra keyword "same as original entry" to category and type assignments. * added new entry types: - @bibtexentry - @contributor v1.3 (2018-03-05): * bug fix: check for quoted path elements (spaces in file names) * bug fix: corrected category={same as base} * bug fix: corrected dual selection * New switch --ignore-packages (-k) v1.2 (2018-02-25): * New resource options: - group-formation - secondary-group-formation - dual-group-formation - labelify - labelify-list - labelify-replace * New command line switches: - --force-cross-resource-refs (-x) - --no-force-cross-resource-refs - --support-unicode-script - --no-support-unicode-script * Bug fix: replicate-fields now parsed correctly * Bug fix: corrected hierarchical sorting * Bug fix: fixed sort=none v1.1 (2017-11-25): * New resource options: - counter - dual-counter - name-case-change - description-case-change - not-match - identical-sort-action - dual-identical-sort-action - secondary-identical-sort-action - sort-suffix - sort-suffix-marker - date-sort-format - date-sort-locale - dual-date-sort-format - dual-date-sort-locale - secondary-date-sort-format - secondary-date-sort-locale - entry-type-aliases - tertiary-prefix - tertiary-type - tertiary-category - combine-dual-locations - abbreviation-sort-fallback - abbreviation-name-fallback - symbol-sort-fallback - match-action - save-loclist - action - copy-action-group-field - field-aliases - replicate-fields - post-description-dot - strip-trailing-nopost - write-preamble - bibtex-contributor-fields - contributor-order - check-end-punctuation - sort-number-pad - dual-sort-number-pad - secondary-sort-number-pad - sort-pad-plus - dual-sort-pad-plus - secondary-sort-pad-plus - sort-pad-minus - dual-sort-pad-minus - secondary-sort-pad-minus - cs-label-prefix - record-label-prefix - save-original-id - interpret-label-fields - strip-missing-parents - limit - copy-alias-to-see - replicate-override - date-time-fields - date-fields - time-fields - date-time-field-format - date-field-format - time-field-format - dual-date-time-field-format - dual-date-field-format - dual-time-field-format - date-time-field-locale - date-field-locale - time-field-locale - dual-date-time-field-locale - dual-date-field-locale - dual-time-field-locale - alias - primary-dual-dependency - duplicate-label-suffix - missing-sort-fallback - dual-missing-sort-fallback - secondary-missing-sort-fallback * Added 'same as base' as a keyword value of 'category', 'type', 'dual-category', 'dual-type', and 'supplemental-category' resource options. * New entry types: @dualindexentry, @dualindexsymbol, @dualindexnumber, @dualindexabbreviation, @tertiaryindexabbreviationentry * Case-changing options now also accept the values firstuc and firstuc-cs * New sort options: letter-upperlower, letter-upperlower-reverse, letter-lowerupper, letter-lowerupper-reverse, letternumber-case, letternumber-case-reverse, letternumber-nocase, letternumber-nocase-reverse, letternumber-lowerupper, letternumber-lowerupper-reverse, letternumber-upperlower, letternumber-upperlower-reverse, numeric, numeric-reverse, currency, currency-reverse, percent, percent-reverse, numberformat, numberformat-reverse, date, date-reverse, time, time-reverse, datetime, datetime-reverse (and associated resource options). * fixed bug in hierarchical entries with label prefixes. * fixed bugs in secondary sorting. * new switches: --packages (-p), --expand-fields, --no-expand-fields, --record-count (-c), --no-record-count, --record-count-unit (-n), --no-record-count-unit, --no-break-space, --break-space * fixed fallback if kpsewhich fails. * texparserlib: added extra core maths commands. * convertgls2bib: new switches --ignore-sort and --no-ignore-sort. v1.0 (2017-09-09): * initial release