texlive[69635] trunk: bib2gls (29jan24)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 30 22:07:32 CET 2024


Revision: 69635
          https://tug.org/svn/texlive?view=revision&revision=69635
Author:   karl
Date:     2024-01-30 22:07:31 +0100 (Tue, 30 Jan 2024)
Log Message:
-----------
bib2gls (29jan24)

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
    trunk/Master/texmf-dist/doc/man/man1/bib2gls.1
    trunk/Master/texmf-dist/doc/man/man1/bib2gls.man1.pdf
    trunk/Master/texmf-dist/doc/man/man1/convertgls2bib.man1.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/CHANGES
    trunk/Master/texmf-dist/doc/support/bib2gls/README.md
    trunk/Master/texmf-dist/doc/support/bib2gls/bib2gls-begin.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/bib2gls.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-authors.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-bacteria.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-chemical.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-citations.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-constants.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-hierarchical.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-markuplanguages.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-maths.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-media.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-msymbols.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-multi1.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-multi2.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-nested.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-people.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-textsymbols.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-textsymbols2.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-units1.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-units2.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-units3.pdf
    trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-usergroups.pdf
    trunk/Master/texmf-dist/scripts/bib2gls/bib2gls.jar
    trunk/Master/texmf-dist/scripts/bib2gls/convertgls2bib.jar
    trunk/Master/texmf-dist/scripts/bib2gls/resources/bib2gls-en.xml
    trunk/Master/texmf-dist/scripts/bib2gls/texparserlib.jar
    trunk/Master/texmf-dist/source/support/bib2gls/src/bib2gls-src.zip
    trunk/Master/texmf-dist/source/support/bib2gls/src/bib2gls.bib
    trunk/Master/texmf-dist/source/support/bib2gls/src/bib2gls.pod
    trunk/Master/texmf-dist/source/support/bib2gls/src/bib2gls.tex
    trunk/Master/texmf-dist/source/support/bib2gls/src/gls2bib-src.zip
    trunk/Master/texmf-dist/source/support/bib2gls/src/texparser-src.zip

Modified: trunk/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl	2024-01-30 02:38:45 UTC (rev 69634)
+++ trunk/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl	2024-01-30 21:07:31 UTC (rev 69635)
@@ -1,5 +1,5 @@
 #!/usr/bin/env perl
-# $Id: tlmgr.pl 69413 2024-01-13 22:43:25Z karl $
+# $Id: tlmgr.pl 69534 2024-01-22 17:55:49Z karl $
 # Copyright 2008-2024 Norbert Preining
 # This file is licensed under the GNU General Public License version 2
 # or any later version.
@@ -8,8 +8,8 @@
 
 use strict; use warnings;
 
-my $svnrev = '$Revision: 69413 $';
-my $datrev = '$Date: 2024-01-13 23:43:25 +0100 (Sat, 13 Jan 2024) $';
+my $svnrev = '$Revision: 69534 $';
+my $datrev = '$Date: 2024-01-22 18:55:49 +0100 (Mon, 22 Jan 2024) $';
 my $tlmgrrevision;
 my $tlmgrversion;
 my $prg;
@@ -622,7 +622,9 @@
     tldie("$prg: Try --help if you need it.\n");
   }
 
-  #
+  # nice to have the version if debugging.
+  debug("tlmgr version $tlmgrversion\n");
+
   # the main tree we will be working on
   $::maintree = $Master;
   if ($opts{"usermode"}) {
@@ -634,6 +636,7 @@
       chomp($::maintree = `kpsewhich -var-value TEXMFHOME`);
     }
   }
+  debug("maintree=$::maintree\n");
 
   # besides doing normal logging if -logfile is specified, we try to log
   # package related actions (install, remove, update) to
@@ -10297,7 +10300,7 @@
 distribution (L<https://tug.org/texlive>) and both are licensed under the
 GNU General Public License Version 2 or later.
 
-$Id: tlmgr.pl 69413 2024-01-13 22:43:25Z karl $
+$Id: tlmgr.pl 69534 2024-01-22 17:55:49Z karl $
 =cut
 
 # test HTML version: pod2html --cachedir=/tmp tlmgr.pl >/tmp/tlmgr.html

Modified: trunk/Master/texmf-dist/doc/man/man1/bib2gls.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/bib2gls.1	2024-01-30 02:38:45 UTC (rev 69634)
+++ trunk/Master/texmf-dist/doc/man/man1/bib2gls.1	2024-01-30 21:07:31 UTC (rev 69635)
@@ -55,7 +55,7 @@
 .\" ========================================================================
 .\"
 .IX Title "BIB2GLS 1"
-.TH BIB2GLS 1 2023-08-24 "perl v5.36.1" bib2gls
+.TH BIB2GLS 1 2024-01-30 "perl v5.36.3" bib2gls
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
@@ -94,6 +94,10 @@
 Instruct the TeX parser library to attempt to parse the 
 packages listed in \fIlist\fR. This is intended for simple custom
 packages that don't contain complex code.
+.IP "\fB\-\-date\-in\-header\fR (or \fB\-D\fR)" 4
+.IX Item "--date-in-header (or -D)"
+The header comment at the start of the \fI.glstex\fR file will include
+the file modification date.
 .IP "\fB\-\-debug\fR [\fIn\fR]" 4
 .IX Item "--debug [n]"
 Switch on the debug mode at the given setting \fIn\fR, which
@@ -258,6 +262,10 @@
 .IX Item "--no-collapse-same-location-range"
 Don't collapse an explicit range that has a duplicate start and end
 location into a normal record.
+.IP \fB\-\-no\-date\-in\-header\fR 4
+.IX Item "--no-date-in-header"
+The header comment at the start of the \fI.glstex\fR file will not include
+the file modification date (default).
 .IP "\fB\-\-no\-debug\fR (or \fB\-\-nodebug\fR)" 4
 .IX Item "--no-debug (or --nodebug)"
 Switch off debug mode. (Equivalent to \fB\-\-debug\fR \fB0\fR)

Modified: trunk/Master/texmf-dist/doc/man/man1/bib2gls.man1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/man/man1/convertgls2bib.man1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/CHANGES
===================================================================
--- trunk/Master/texmf-dist/doc/support/bib2gls/CHANGES	2024-01-30 02:38:45 UTC (rev 69634)
+++ trunk/Master/texmf-dist/doc/support/bib2gls/CHANGES	2024-01-30 21:07:31 UTC (rev 69635)
@@ -1,3 +1,14 @@
+v3.9 (2024-01-30)
+
+  * bib2gls
+
+   - new command line switch: --[no-]date-in-header
+
+   - allow \u<hex> in assign-fields
+
+   - bug fix: NullPointerException if entry referenced before
+     bibData initialised
+
 v3.8 (2023-10-13)
 
   * bib2gls

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/support/bib2gls/README.md	2024-01-30 02:38:45 UTC (rev 69634)
+++ trunk/Master/texmf-dist/doc/support/bib2gls/README.md	2024-01-30 21:07:31 UTC (rev 69635)
@@ -9,7 +9,7 @@
 
 # Licence
 
-Copyright (C) 2017-2023 Nicola L. C. Talbot (dickimaw-books.com)
+Copyright (C) 2017-2024 Nicola L. C. Talbot (dickimaw-books.com)
 
 License GPLv3+: GNU GPL version 3 or later
 http://gnu.org/licenses/gpl.html

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/bib2gls-begin.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/bib2gls.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-authors.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-bacteria.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-chemical.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-citations.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-constants.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-hierarchical.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-markuplanguages.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-maths.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-media.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-msymbols.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-multi1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-multi2.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-nested.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-people.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-textsymbols.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-textsymbols2.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-units1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-units2.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-units3.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/bib2gls/examples/sample-usergroups.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/scripts/bib2gls/bib2gls.jar
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/scripts/bib2gls/convertgls2bib.jar
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/scripts/bib2gls/resources/bib2gls-en.xml
===================================================================
--- trunk/Master/texmf-dist/scripts/bib2gls/resources/bib2gls-en.xml	2024-01-30 02:38:45 UTC (rev 69634)
+++ trunk/Master/texmf-dist/scripts/bib2gls/resources/bib2gls-en.xml	2024-01-30 21:07:31 UTC (rev 69635)
@@ -84,6 +84,7 @@
 <entry key="syntax.trim.except.fields">{0} <list>	Trim leading and trailing spaces from all fields except those listed. (Cumulative.)</entry>
 <entry key="syntax.expand.fields">{0}	Allow field expansion to occur when LaTeX inputs the glstex file.</entry>
 <entry key="syntax.provide.glossaries">{0}	Define any unknown glossaries with \provideignoredglossary*.</entry>
+<entry key="syntax.date_in_header">{0}	Include date in header comment.</entry>
 
 <!-- These are messages used by the TeX Parser Library -->
 <entry key="message.reading">Reading {0}</entry>
@@ -273,6 +274,7 @@
 <entry key="message.etc"> ETC... </entry>
 
 <entry key="comment.header">% This file was created by {0} v{1} on {2}.</entry>
+<entry key="comment.header.no_date">% This file was created by {0} v{1}.</entry>
 <entry key="comment.no_edit">% DO NOT edit this file. Any changes made will be lost next time {0} is run.</entry>
 <entry key="comment.source_list">% This file was generated from data obtained from the following files:</entry>
 <entry key="comment.list.and">{0,choice,2# and |2>, and }</entry>
@@ -390,6 +392,7 @@
 <entry key="warning.blockers.unknown.token">Unknown token in blocker list: {0}</entry>
 <entry key="warning.mappings.cant.parse">Can''t parse mapping list: {0}</entry>
 <entry key="warning.mismatched.sty">Mismatching versions of packages {0} ({1}) and {2} ({3}). Please upgrade {2}</entry>
+<entry key="warning.get.entry.no.data">Entry ''{0}'' referenced before data initialised.</entry>
 
 <entry key="error.title">Error: {0}</entry>
 <entry key="error.no_log">File {0} not found. Remember to run LaTeX before {1}.

Modified: trunk/Master/texmf-dist/scripts/bib2gls/texparserlib.jar
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/support/bib2gls/src/bib2gls-src.zip
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/support/bib2gls/src/bib2gls.bib
===================================================================
--- trunk/Master/texmf-dist/source/support/bib2gls/src/bib2gls.bib	2024-01-30 02:38:45 UTC (rev 69634)
+++ trunk/Master/texmf-dist/source/support/bib2gls/src/bib2gls.bib	2024-01-30 21:07:31 UTC (rev 69635)
@@ -10586,6 +10586,21 @@
   parent={commandlineoptions}
 }
 
+ at switch{switch.no-date-in-header,
+  name={\longargfmt{no\dhyphen date\dhyphen in\dhyphen header}},
+  user1={},
+  category={switch},
+  parent={commandlineoptions}
+}
+
+ at switch{switch.date-in-header,
+  name={\longargfmt{date\dhyphen in\dhyphen header}},
+  symbol={\shortargfmt{D}},
+  user1={},
+  category={switch},
+  parent={commandlineoptions}
+}
+
 @switch{switch.no-expand-fields,
   name={\longargfmt{no\dhyphen expand\dhyphen fields}},
   user1={},
@@ -15268,7 +15283,7 @@
 @glscommand{glshex,
   name={\csfmt{glshex}},
   user1={},
-  description={expands to \cs{cs.string}\cs{u}},
+  description={expands to \cs{cs.string}\cs{uhex}},
   topics={charcommands,collationsubrules},
   note={\styfmt{glossaries-extra} v1.21+ (moved to
 \styfmt{glossaries-extra-bib2gls} in v1.27)},
@@ -15349,7 +15364,7 @@
 @glscommand{GlsXtrResourceInitEscSequences,
   name={\csfmt{Gls\-Xtr\-Resource\-Init\-Esc\-Sequences}},
   user1={},
-  description={locally redefines \idx{quark} commands, such as \cs{u} and
+  description={locally redefines \idx{quark} commands, such as \cs{uhex} and
   \gls{NULL}, that shouldn't expand in
   resource options as they have special meanings for some options.
   May be added to the definition of \gls{glsxtrresourceinit} if

Modified: trunk/Master/texmf-dist/source/support/bib2gls/src/bib2gls.pod
===================================================================
--- trunk/Master/texmf-dist/source/support/bib2gls/src/bib2gls.pod	2024-01-30 02:38:45 UTC (rev 69634)
+++ trunk/Master/texmf-dist/source/support/bib2gls/src/bib2gls.pod	2024-01-30 21:07:31 UTC (rev 69635)
@@ -40,6 +40,11 @@
 packages listed in I<list>. This is intended for simple custom
 packages that don't contain complex code.
 
+=item B<--date-in-header> (or B<-D>)
+
+The header comment at the start of the F<.glstex> file will include
+the file modification date.
+
 =item B<--debug> [I<n>]
 
 Switch on the debug mode at the given setting I<n>, which
@@ -242,6 +247,11 @@
 Don't collapse an explicit range that has a duplicate start and end
 location into a normal record.
 
+=item B<--no-date-in-header>
+
+The header comment at the start of the F<.glstex> file will not include
+the file modification date (default).
+
 =item B<--no-debug> (or B<--nodebug>)
 
 Switch off debug mode. (Equivalent to B<--debug> B<0>)

Modified: trunk/Master/texmf-dist/source/support/bib2gls/src/bib2gls.tex
===================================================================
--- trunk/Master/texmf-dist/source/support/bib2gls/src/bib2gls.tex	2024-01-30 02:38:45 UTC (rev 69634)
+++ trunk/Master/texmf-dist/source/support/bib2gls/src/bib2gls.tex	2024-01-30 21:07:31 UTC (rev 69635)
@@ -3708,6 +3708,20 @@
 \longarg{default-encoding} just to set the default for \bibgls.
 See \sectionref{sec:defencoding}.
 
+\argsection{date-in-header}
+
+The comment header block at the start of the \iext{glstex} files
+will include the file modification date in the first line (after the
+version information). This setting can interfere with
+the document build process or version control if you are testing for
+file differences rather than file modification dates when only the
+timestamp changes.
+
+\argsection{no-date-in-header}
+
+The comment header block at the start of the \iext{glstex} files
+won't include the file modification date (default).
+
 \section{Interpreter Options}
 
 \argsection{break-space}
@@ -11429,6 +11443,8 @@
 of the field for the entry under consideration and doesn't use the
 more complex \meta{field-ref} syntax used in \meta{element-list},
 which is described in \sectionref{sec:optstringconcat}.
+You can, however, use the \cs{uhex} quark on either side of the
+\keyval\ element to indicate a Unicode character.
 
 The \oargm{override} following the equal sign is optional and may be
 used to counteract the \csopt{assign-override} setting for the given
@@ -11704,7 +11720,7 @@
       \oarg{ entrytype \idx{follow} original \idx{equalscmp} \qtdelim{person} },
   \field{text} = \fieldfmt{forename} \idx{concat-plus} \qtdelim{ } \idx{concat-plus} \fieldfmt{surname}
       \oarg{ entrytype \idx{follow} original \idx{equalscmp} \qtdelim{person} },
-  \field{first} = \gls{FIRSTUC} \marg{ parent \qt{follow} \field{text} } \idx{concat-plus} \qtdelim{ } \idx{concat-plus} \fieldfmt{name}
+  \field{first} = \gls{FIRSTUC} \marg{ parent \idx{follow} \field{text} } \idx{concat-plus} \qtdelim{ } \idx{concat-plus} \fieldfmt{name}
       \oarg{ entrytype \idx{follow} original \idx{equalscmp} \qtdelim{monarch} },
   \field{text} = \fieldfmt{name}
       \oarg{ entrytype \idx{follow} original \idx{equalscmp} \qtdelim{monarch} }

Modified: trunk/Master/texmf-dist/source/support/bib2gls/src/gls2bib-src.zip
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/support/bib2gls/src/texparser-src.zip
===================================================================
(Binary files differ)



More information about the tex-live-commits mailing list.