Debian Codegraph @

texmf-dist/doc/support/bib2gls/CHANGES

raw
1 v4.7 (2025-11-13)
2
3 - new command line switch:
4
5 --[no-]shift-zero-sections
6
7 - bug fix: corrected break-space option
8
9 v4.6 (2025-07-27)
10
11 - added resource option post-description-dot-exclude
12
13 v4.5 (2025-04-15)
14
15 - enforce .glstex extension
16 Fixes https://github.com/nlct/bib2gls/issues/34
17
18 v4.4 (2025-02-07)
19
20 - use datatool sort markers for corresponding control codes when writing sort
21 value to glstex file
22
23 - bug fix: transferred locations with alias-loc=transfer not
24 merging
25
26 v4.3 (2025-01-29)
27
28 * bib2gls:
29
30 - skip compound entries that don't have one or more
31 elements selected
32
33 - new command line switch:
34
35 --aux-input-action
36
37 - bug fix: save-principle-locations=retain changes encap
38
39 * texparserlib.jar: Corrected definition of \textdegree
40
41 v4.2 (2025-01-24)
42
43 * bib2gls
44
45 - bug fix: corrected fallback field concatenation check for options like
46 abbreviation-sort-fallback
47
48 v4.1 (2025-01-03)
49
50 * bib2gls
51
52 - added resource options:
53
54 omit-fields
55 omit-fields-missing-field-action
56 gather-parsed-dependencies
57
58 - added \BibGlsNoCaseChange
59
60 v4.0a (2024-12-15)
61
62 Corrected distribution (missing files).
63
64 v4.0 (2024-12-14)
65
66 * bib2gls
67
68 - added \INTERPRETNOREPL and \REPLACESPCHARS quarks
69
70 - added action=provide
71
72 - added new resource options:
73
74 wordify-math-greek
75 wordify-math-symbol
76 ignored-type
77
78 - added support for \BibGlsOptions and \IfNotBibGls
79 (provided by glossaries-extra v1.54+)
80
81 - added switch --[no-]datatool-sort-markers
82
83 - bug fix: indexplural not setting text field if missing, which
84 results in the text field defaulting to the plural form.
85
86 - bug fix issue #29 "Version 3.8 and 3.9 fail to find aux files in subdirectories of build directory"
87 https://github.com/nlct/bib2gls/issues/29
88
89 - bug fix: complex conditional relations <> <= and >=
90 incorrectly parsing quoted rhs
91
92 - bash script no longer sets java.locale.providers when running the jar file
93 (not necessary for Java 9 onwards)
94
95 * convertgls2bib
96
97 - added support for \loadglsentries
98
99 * Added datatool2bib command-line conversion tool.
100
101 v3.9 (2024-01-30)
102
103 * bib2gls
104
105 - new command line switch: --[no-]date-in-header
106
107 - allow \u<hex> in assign-fields
108
109 - bug fix: NullPointerException if entry referenced before
110 bibData initialised
111
112 v3.8 (2023-10-13)
113
114 * bib2gls
115
116 - bug fix: #27 Version 3.7 does not work correctly with subdirectories for auxiliary files
117 https://github.com/nlct/bib2gls/issues/27
118
119 v3.7 (2023-09-29)
120
121 * bib2gls
122
123 - \bibglshypergroup no-op only if glossaries version below 4.53
124 and glossaries-extra version below 1.53 (update glossaries
125 and glossaries-extra to enable)
126
127 v3.6 (2023-09-04)
128
129 * bib2gls
130
131 - added check for self-referencing alias
132
133 - added check for encoding in aux file not matching requested or
134 default TeX encoding
135
136 - allow process to retry if encoding error occurs in aux file
137
138 - bug fix: --default-encoding option not picked up in all
139 instances where the default is required
140
141 v3.5 (2023-08-24)
142
143 * bib2gls
144
145 - new command line switches:
146
147 --default-encoding
148 --log-encoding
149 --debug-mode
150
151 - extra command supported by the interpreter (but not in the
152 document):
153
154 \bibglspaddigits
155
156 v3.4 (2023-06-29)
157
158 * bib2gls
159
160 - bug fix: NullPointerException occurs if @compoundset found in
161 bib file but no \@glsxtr@mglsrefs found in aux file.
162 https://github.com/nlct/bib2gls/issues/23
163
164 v3.3 (2023-04-24):
165
166 * bib2gls
167
168 - New resource options:
169
170 assign-fields
171 assign-override
172 assign-missing-field-action
173 flatten-lonely-condition
174 flatten-lonely-missing-field-action
175 copy-to-glossary
176 copy-to-glossary-missing-field-action
177 abbreviation-text-fallback
178 locale
179
180 - default value of sort option is now sort=resource rather than
181 sort=doc. If the locale option isn't set then sort=resource
182 is equivalent to sort=doc.
183
184 - Added support for bib2gls-extra-<lang>.xml files.
185
186 - Bug fix: Removed already defined in other glstex file warning if
187 action != define
188
189 - Bug fix: if parent entry is a dependent of another entry not
190 marked for removal don't flatten lonely child
191
192 * convertgls2bib
193
194 - Fixed infinite loop:
195
196 at com.dickimawbooks.gls2bib.Gls2Bib.newcommand(Gls2Bib.java:419)
197 at com.dickimawbooks.texparserlib.latex.LaTeXParserListener.newcommand(LaTeXParserListener.java:978)
198
199 v3.2 (2022-11-24):
200
201 * Added --[no-]obey-aux-catcode
202
203 The default is --no-obey-aux-catcode, which ignores catcode
204 changing commands found in the aux file.
205 (Issue #22 https://github.com/nlct/bib2gls/issues/22)
206
207 v3.1 (2022-11-05):
208
209 * If new versions of glossaries.sty, mfirstuc.sty and glossaries-extra.sty
210 are detected, \bibglsuppercase and \bibglslowercase will now
211 have \glsuppercase and \glslowercase in their definition,
212 instead of \MakeTextUppercase and \MakeTextLowercase
213
214 * skip empty elements in src
215
216 * added resource option merge-ranges
217
218 * added support for \ifglsfieldvoid
219
220 * bug fix: secondary sort type not included in group label
221
222 * TeX parser library (texparserlib.jar) now has limited support
223 for \NewDocumentCommand, \RenewDocumentCommand,
224 \ProvideDocumentCommand and \DeclareDocumentCommand.
225
226 v3.0 (2022-10-14):
227
228 * support for \glsxtr@select@entry and \glsxtr@select@entry@nameref
229 (new to glossaries-extra-bib2gls v1.49)
230
231 * support for bibglsaux and \glsxtrsetbibglsaux
232 (new to glossaries-extra.sty v1.49)
233
234 * if mfirstuc v2.08+, glossaries v4.50+ and glossaries-extra
235 v1.49+ detected, default mfirstuc protection settings will
236 switch to --no-mfirstuc-protection --no-mfirstuc-math-protection
237
238 * bug fix: case changing options aren't recognising commands
239 identified with \glsxtrnewgls
240
241 * added support for \glsxtridentifyglsfamily (glossaries-extra
242 v1.49+)
243
244 * new switch --record-count-rule (or -r) which may be used to
245 determine whether or not certain types of records (such as
246 ignored records) should be included in the record count.
247
248 * new switch --replace-quotes
249
250 * issue #15: loc-prefix and type leads to undefined \bibglslocprefix with multiple glossaries
251 https://github.com/nlct/bib2gls/issues/15
252
253 This has led to new resource options:
254
255 - loc-prefix-def
256 - loc-suffix-def
257
258 * added support for sub-groups (requires glossaries-extra v1.49+):
259
260 - group-level
261
262 * new merge small groups option:
263
264 - merge-small-groups
265
266 * new option to save root label:
267
268 - save-root-ancestor
269
270 * new option to split primary locations into counter groups:
271
272 - primary-loc-counters (synonym: principal-loc-counters)
273
274 * new options to skip break-at via pattern matching:
275
276 - break-at-match
277 - break-at-not-match
278 - break-at-match-op
279 - dual-break-at-match
280 - dual-break-at-not-match
281 - dual-break-at-match-op
282 - secondary-break-at-match
283 - secondary-break-at-not-match
284 - secondary-break-at-match-op
285
286 * new options to prune "see" and "seealso" fields:
287
288 - prune-xr
289 - prune-see-op
290 - prune-see-match
291 - prune-seealso-op
292 - prune-seealso-match
293 - prune-iterations
294
295 * new save-locations values:
296
297 - save-locations=see
298 - save-locations=see not also
299 - save-locations=alias only
300
301 * bug fix: nameref records not merging for wrglossary counter
302
303 v2.9 (2021-11-22):
304
305 * Support for \multiglossaryentry (new to glossaries-extra v1.48)
306 This has led to new resource options:
307
308 - compound-dependent
309 - compound-add-hierarchy
310 - compound-has-records
311 - compound-adjust-name
312 - compound-write-defs
313 - compound-options-global
314 - compound-main-type
315 - compound-other-type
316 - compound-type-override
317
318 * added -q and --quiet as synonyms for --silent
319
320 * issue #14: bib2gls breaks hypergroup styles
321 https://github.com/nlct/bib2gls/issues/14
322
323 v2.8 (2021-11-05):
324
325 * Support for new features of mfirstuc v2.07:
326
327 - sentence case (firstuc) and title case now recognise \MFUskippunc.
328 (This should be used to skip leading punctuation.)
329
330 - title case now recognises \MFUwordbreak.
331
332 * new dual field 'dualdescription'
333
334 * new selection option 'selected before'
335
336 * new resource options:
337
338 - save-from-alias
339 - save-from-see
340 - save-from-seealso
341 - save-crossref-tail
342 - save-definition-index
343 - save-use-index
344 - format-integer-fields
345 - format-decimal-fields
346 - secondary-match-action
347 - secondary-match-op
348 - secondary-match
349 - secondary-not-match
350 - encapsulate-sort
351 - prefix-only-existing
352 - save-principal-locations (synonym for save-primary-locations)
353 - principal-location-formats (synonym for primary-location-formats)
354
355 * issue #10: explicit ranges with identical start and end should
356 collapse to a normal location
357 https://github.com/nlct/bib2gls/issues/10
358
359 This has led to new switches:
360
361 --collapse-same-location-range (default)
362 --no-collapse-same-location-range
363
364 * issue #12 Primary locations need to be retained not merged (save-primary-locations=remove)
365 https://github.com/nlct/bib2gls/issues/12
366
367 This has led to new switches:
368
369 --retain-formats
370 --no-retain-formats
371
372 * bug fix: @entry missing required name/description results in "null"
373 saved in the field value. This has been changed to an empty
374 string (but the warning about the missing field remains).
375
376 * bug fix: selection=all doesn't show see and seealso lists in
377 locations https://github.com/nlct/bib2gls/issues/9
378
379 * bug fix: integer sort method should cast to int
380 https://github.com/nlct/bib2gls/issues/11
381
382 * bug fix: indexplural default name incorrect when parent field set
383 https://github.com/nlct/bib2gls/issues/13
384
385 v2.7 (2020-07-11):
386
387 * save-original-entrytype option now allows the name of a field
388 as the value (making it consistent with the save-original-id
389 option).
390
391 * save-original-id option now has a check to disallow special
392 internal fields (instead of silently ignoring the setting).
393
394 * replicate-fields option will now allow unknown fields (but not
395 special internal fields) in the targets and will save them using
396 \GlsXtrSetField.
397
398 * new options:
399
400 save-original-id-action
401 save-original-entrytype-action
402 hex-unicode-fields
403
404 * Bug fix: Added check for null in getSortFallbackContents
405 (to avoid NullPointerException)
406
407 v2.6 (2020-07-09):
408
409 * Fixed bug where getSortFallbackValue returns string "null"
410 instead of actual null.
411
412 v2.5 (2020-05-30):
413
414 * --version switch now also shows version details for bundled
415 texparserlib.jar
416
417 * Bug fix (texparserlib.jar): corrected \else part of conditionals
418
419 v2.4 (2020-05-27):
420
421 * Bug fix (issue in TeX parser library used by bib2gls)
422 https://github.com/nlct/texparser/issues/3
423
424 v2.3 (2020-03-23):
425
426 * New sort methods: recordcount and recordcount-reverse
427 (both require --record-count).
428
429 * Resource option 'selection' now also allows the values
430 'deps but not recorded' and 'ancestors but not recorded'
431
432 * New resource options:
433
434 custom-sort-fallbacks
435 field-concat-sep
436
437 * The sort fallback resource options custom-sort-fallbacks,
438 entry-sort-fallback, symbol-sort-fallback,
439 abbreviation-sort-fallback and bibtexentry-sort-fallback
440 now allow 'id' or 'original id' as values or values that are
441 field concatenations.
442
443 * New command line switches:
444
445 --provide-glossaries
446 --no-provide-glossaries
447
448 v2.2 (2020-03-16):
449
450 * Bug fix (texparserlib.jar):
451
452 - "Files located in local texmf path are not determined
453 correctly" issue #3
454 https://github.com/nlct/bib2gls/issues/3
455
456 v2.1 (2020-02-28):
457
458 * Only trigger error exit code for bib parser exceptions
459 (just warn for interpreter and aux parser exceptions).
460
461 * Bug fix (texparserlib.jar):
462
463 - "Fails to parse \@writefile{lot}{\egroup }" issue #2
464 https://github.com/nlct/texparser/issues/2
465
466 v2.0 (2020-02-12):
467
468 * New command line options:
469
470 --trim-only-fields
471 --trim-except-fields
472
473 * New resource option:
474
475 interpret-fields-action
476 prefix-fields
477 append-prefix-field
478 append-prefix-field-cs
479 append-prefix-field-exceptions
480 append-prefix-field-cs-exceptions
481 append-prefix-field-nbsp-match
482 save-sibling-count
483
484 * New values for 'identical-sort-action' option: 'def' and 'use'
485
486 * New value for 'selection' option: 'recorded and deps and see not also'
487
488 * New internal fields: dualprefix, dualprefixplural,
489 dualprefixfirst, dualprefixfirstplural, siblingcount,
490 siblinglist
491
492 * Dual prefix mappings now added if the prefix field is defined
493 (provided by glosssaries-prefix.sty).
494
495 * Interpreter now supports \nobreakspace and it obeys
496 --break-space and --no-break-space in the same way as ~
497
498 * Added support for nonumberlist
499
500 * Bug fixes:
501
502 - corrected interpret-fields
503 - corrected selection={recorded and deps and see}
504 - corrected plural for entries where the name is inherited from
505 the parent
506
507
508 * convertgls2bib:
509
510 - new command line options:
511
512 --ignore-type
513 --no-ignore-type
514 --split-on-type (-p)
515 --no-split-on-type
516 --ignore-category
517 --no-ignore-category
518 --split-on-category (-c)
519 --no-split-on-category
520 --ignore-fields (-f)
521 --overwrite
522 --no-overwrite
523 --preamble-only (-p)
524 --no-preamble-only
525 --index-conversion (-i)
526 --no-index-conversion
527 --absorb-see
528 --no-absorb-see
529
530 - added check for see=[\alsoname] in addition to
531 see=[\seealsoname]
532
533 v1.9 (2019-04-09):
534
535 * manual:
536
537 - added section "Logical Divisions: type vs group vs parent"
538
539 * new resource option:
540
541 compact-ranges
542 progenitor-type
543 adopted-parent-field
544 unknown-entry-alias
545 save-original-entrytype
546 field-case-change
547 no-case-change-cs
548 encapsulate-fields
549 encapsulate-fields*
550 interpret-fields
551 replicate-missing-field-action
552 entry-sort-fallback
553
554 * new entry types:
555
556 @progenitor
557 @spawnindex
558 @spawnindexplural
559 @spawnentry
560 @spawnsymbol
561 @spawnnumber
562 @spawnabbreviation
563 @spawnacronym
564
565 * New command line options:
566
567 --warn-non-bib-fields
568 --no-warn-non-bib-fields
569 --warn-unknown-entry-types
570 --no-warn-unknown-entry-types
571
572 * The `type` option (and similar options that assign the `type`
573 field) now accepts the special setting "same as parent".
574
575 * The `group` option no longer requires the --group switch.
576
577 * The `match` and `not-match` options now accept `original entrytype`.
578
579 v1.8 (2018-11-30):
580
581 * new resource options:
582
583 save-primary-locations
584 primary-location-formats
585 long-case-change
586 dual-long-case-change
587 word-boundaries
588 sort-label-list
589 dependency-fields
590
591 * added support for the new glossaries-extra package option
592 record=nameref (introduced to glossaries-extra v1.37).
593
594 * normal locations are now written to the location field as
595 \glsnoidxdisplayloc{<prefix>}{<counter>}{<format>}{<location>}
596 instead of explicitly using
597 \setentrycounter[<prefix>]{<counter>}\<format>{<location>}
598 This matches the way the record is added to the loclist field
599 and makes it easier to adjust the record formatting.
600
601 * bib2gls now always parses the .log file even if the interpreter
602 setting is off. (It still needs to know version details and
603 whether hyperlinks and Unicode are supported by the document.)
604
605 * Underscores now allowed in bib labels.
606
607 * Hooks added to pick up label prefixes if needed:
608
609 \bibglsprimaryprefixlabel
610 \bibglsdualprefixlabel
611 \bibglstertiaryprefixlabel
612 \bibglsexternalprefixlabel
613
614 * bug fix: corrected default sort=doc
615
616 * bug fix: corrected letternumber-upperlower and
617 letternumber-lowerupper sort methods.
618
619 * bug fix: corrected invalid datetime pattern that threw
620 InvalidArgumentException
621
622 * bug fix: https://github.com/nlct/bib2gls/issues/3
623 Files located in local texmf path are not determined correctly
624 on Windows.
625 (actual bug was in texparserlib.jar rather than bib2gls.jar)
626
627 * \@glsnavhypertarget will now fallback on original definition
628 (which requires an extra LaTeX call) if the type is unknown.
629
630 * Renamed example file sample-languages.tex to
631 sample-markuplanguages.tex
632
633 v1.7 (2018-08-18):
634
635 * added support for multiple supplementary sources
636 (requires at least glossaries-extra v1.36)
637
638 v1.6 (2018-07-07):
639
640 * corrected some of the latin<n> to Java encoding names
641
642 * added check for \@input in .aux file
643
644 v1.5 (2018-05-09):
645
646 * added introductory guide (bib2gls-begin.pdf)
647
648 * rearranged some of the resource option sections in
649 the main user manual (bib2gls.pdf)
650
651 * new .glstex helper command:
652
653 \bibglssetlastgrouptitle
654
655 * added @indexplural and associated .glstex helper command
656 \bibglsnewindexplural
657
658 * added resource options:
659
660 - sort-replace
661 - dual-sort-replace
662 - secondary-sort-replace
663
664 * save-child-count now also creates the childlist internal field.
665
666 * bug fixes:
667
668 - corrected encoding setting (bib2gls and convertgls2bib)
669 - corrected \ (backslash space) eol causing unwanted extra eol
670 - corrected sort fallback
671 - labelify-replace now recognises \$ in the replacement part as a
672 reference to a captured group
673 - improved error handling for invalid entry IDs
674 - save-child-count was partially switching on flatten-lonely
675 - corrected name-case-change for @index
676
677 v1.4 (2018-04-09):
678
679 * added switches:
680
681 --list-known-packages
682 --custom-packages
683 --cite-as-record
684 --no-cite-as-record
685 --merge-wrglossary-records
686 --no-merge-wrglossary-records
687
688 * added resource options:
689
690 - missing-parents
691 - missing-parent-category
692 - bibtexentry-sort-fallback
693 - save-index-counter
694
695 * added extra keyword "same as original entry"
696 to category and type assignments.
697
698 * added new entry types:
699
700 - @bibtexentry
701 - @contributor
702
703 v1.3 (2018-03-05):
704
705 * bug fix: check for quoted path elements (spaces in file names)
706
707 * bug fix: corrected category={same as base}
708
709 * bug fix: corrected dual selection
710
711 * New switch --ignore-packages (-k)
712
713 v1.2 (2018-02-25):
714
715 * New resource options:
716
717 - group-formation
718 - secondary-group-formation
719 - dual-group-formation
720 - labelify
721 - labelify-list
722 - labelify-replace
723
724 * New command line switches:
725
726 - --force-cross-resource-refs (-x)
727 - --no-force-cross-resource-refs
728 - --support-unicode-script
729 - --no-support-unicode-script
730
731 * Bug fix: replicate-fields now parsed correctly
732
733 * Bug fix: corrected hierarchical sorting
734
735 * Bug fix: fixed sort=none
736
737 v1.1 (2017-11-25):
738
739 * New resource options:
740
741 - counter
742 - dual-counter
743 - name-case-change
744 - description-case-change
745 - not-match
746 - identical-sort-action
747 - dual-identical-sort-action
748 - secondary-identical-sort-action
749 - sort-suffix
750 - sort-suffix-marker
751 - date-sort-format
752 - date-sort-locale
753 - dual-date-sort-format
754 - dual-date-sort-locale
755 - secondary-date-sort-format
756 - secondary-date-sort-locale
757 - entry-type-aliases
758 - tertiary-prefix
759 - tertiary-type
760 - tertiary-category
761 - combine-dual-locations
762 - abbreviation-sort-fallback
763 - abbreviation-name-fallback
764 - symbol-sort-fallback
765 - match-action
766 - save-loclist
767 - action
768 - copy-action-group-field
769 - field-aliases
770 - replicate-fields
771 - post-description-dot
772 - strip-trailing-nopost
773 - write-preamble
774 - bibtex-contributor-fields
775 - contributor-order
776 - check-end-punctuation
777 - sort-number-pad
778 - dual-sort-number-pad
779 - secondary-sort-number-pad
780 - sort-pad-plus
781 - dual-sort-pad-plus
782 - secondary-sort-pad-plus
783 - sort-pad-minus
784 - dual-sort-pad-minus
785 - secondary-sort-pad-minus
786 - cs-label-prefix
787 - record-label-prefix
788 - save-original-id
789 - interpret-label-fields
790 - strip-missing-parents
791 - limit
792 - copy-alias-to-see
793 - replicate-override
794 - date-time-fields
795 - date-fields
796 - time-fields
797 - date-time-field-format
798 - date-field-format
799 - time-field-format
800 - dual-date-time-field-format
801 - dual-date-field-format
802 - dual-time-field-format
803 - date-time-field-locale
804 - date-field-locale
805 - time-field-locale
806 - dual-date-time-field-locale
807 - dual-date-field-locale
808 - dual-time-field-locale
809 - alias
810 - primary-dual-dependency
811 - duplicate-label-suffix
812 - missing-sort-fallback
813 - dual-missing-sort-fallback
814 - secondary-missing-sort-fallback
815
816 * Added 'same as base' as a keyword value of 'category',
817 'type', 'dual-category', 'dual-type', and
818 'supplemental-category' resource options.
819
820 * New entry types: @dualindexentry, @dualindexsymbol,
821 @dualindexnumber, @dualindexabbreviation,
822 @tertiaryindexabbreviationentry
823
824 * Case-changing options now also accept the values
825 firstuc and firstuc-cs
826
827 * New sort options: letter-upperlower, letter-upperlower-reverse,
828 letter-lowerupper, letter-lowerupper-reverse,
829 letternumber-case, letternumber-case-reverse,
830 letternumber-nocase, letternumber-nocase-reverse,
831 letternumber-lowerupper, letternumber-lowerupper-reverse,
832 letternumber-upperlower, letternumber-upperlower-reverse,
833 numeric, numeric-reverse, currency, currency-reverse,
834 percent, percent-reverse, numberformat, numberformat-reverse,
835 date, date-reverse, time, time-reverse,
836 datetime, datetime-reverse (and associated resource options).
837
838 * fixed bug in hierarchical entries with label prefixes.
839
840 * fixed bugs in secondary sorting.
841
842 * new switches: --packages (-p), --expand-fields,
843 --no-expand-fields, --record-count (-c), --no-record-count,
844 --record-count-unit (-n), --no-record-count-unit,
845 --no-break-space, --break-space
846
847 * fixed fallback if kpsewhich fails.
848
849 * texparserlib: added extra core maths commands.
850
851 * convertgls2bib: new switches --ignore-sort and --no-ignore-sort.
852
853 v1.0 (2017-09-09):
854
855 * initial release