summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-01 22:46:56 +0000
committerKarl Berry <karl@freefriends.org>2018-12-01 22:46:56 +0000
commit6a8c1f1989f77d1cbfb63c938b9a9ad0093803ce (patch)
treebfc9a3cce2dd23070a3f8a93a598b639c0db8d0c /Master/texmf-dist/scripts
parent222983be38ba4303d38271934e2d248bae9d1e18 (diff)
bib2gls (1dec18)
git-svn-id: svn://tug.org/texlive/trunk@49293 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-xMaster/texmf-dist/scripts/bib2gls/bib2gls.jarbin210435 -> 243566 bytes
-rwxr-xr-xMaster/texmf-dist/scripts/bib2gls/bib2gls.sh24
-rwxr-xr-xMaster/texmf-dist/scripts/bib2gls/convertgls2bib.jarbin26335 -> 26335 bytes
-rw-r--r--Master/texmf-dist/scripts/bib2gls/resources/bib2gls-en.xml16
-rwxr-xr-xMaster/texmf-dist/scripts/bib2gls/texparserlib.jarbin940530 -> 951449 bytes
5 files changed, 33 insertions, 7 deletions
diff --git a/Master/texmf-dist/scripts/bib2gls/bib2gls.jar b/Master/texmf-dist/scripts/bib2gls/bib2gls.jar
index 5d3db439d82..2141ce3e14c 100755
--- a/Master/texmf-dist/scripts/bib2gls/bib2gls.jar
+++ b/Master/texmf-dist/scripts/bib2gls/bib2gls.jar
Binary files differ
diff --git a/Master/texmf-dist/scripts/bib2gls/bib2gls.sh b/Master/texmf-dist/scripts/bib2gls/bib2gls.sh
index 124091e7f3b..2e720ffb545 100755
--- a/Master/texmf-dist/scripts/bib2gls/bib2gls.sh
+++ b/Master/texmf-dist/scripts/bib2gls/bib2gls.sh
@@ -1,12 +1,22 @@
#!/bin/sh
+# Adapted from tlcockpit.sh to ensure the script works with cygwin
-kernel=`uname -s`
-if test "${kernel#*CYGWIN}" != "$kernel"
-then
- jarpath=`cygpath -w $(kpsewhich --progname=bib2gls --format=texmfscripts bib2gls.jar)`
-else
- jarpath=`kpsewhich --progname=bib2gls --format=texmfscripts bib2gls.jar`
+scriptname=`basename "$0" .sh`
+jar="$scriptname.jar"
+jarpath=`kpsewhich --progname="$scriptname" --format=texmfscripts "$jar"`
+
+kernel=`uname -s 2>/dev/null`
+if echo "$kernel" | grep CYGWIN >/dev/null; then
+ CYGWIN_ROOT=`cygpath -w /`
+ export CYGWIN_ROOT
+ jarpath=`cygpath -w "$jarpath"`
fi
-java -Djava.locale.providers=CLDR,JRE,SPI -jar "$jarpath" "$@"
+# User may have globally set their locale provider preference in
+# $JAVA_TOOL_OPTIONS so don't override it.
+if [ -z "$JAVA_TOOL_OPTIONS" ]; then
+ exec java -Djava.locale.providers=CLDR,JRE,SPI -jar "$jarpath" "$@"
+else
+ exec java -jar "$jarpath" "$@"
+fi
diff --git a/Master/texmf-dist/scripts/bib2gls/convertgls2bib.jar b/Master/texmf-dist/scripts/bib2gls/convertgls2bib.jar
index 4fb33e1a006..a5b5e1dfe19 100755
--- a/Master/texmf-dist/scripts/bib2gls/convertgls2bib.jar
+++ b/Master/texmf-dist/scripts/bib2gls/convertgls2bib.jar
Binary files differ
diff --git a/Master/texmf-dist/scripts/bib2gls/resources/bib2gls-en.xml b/Master/texmf-dist/scripts/bib2gls/resources/bib2gls-en.xml
index 9e77be67c94..223c3e6b891 100644
--- a/Master/texmf-dist/scripts/bib2gls/resources/bib2gls-en.xml
+++ b/Master/texmf-dist/scripts/bib2gls/resources/bib2gls-en.xml
@@ -50,6 +50,12 @@ See the manual for further details.</entry>
Don''t force cross-resource referencing mode on
(default).</entry>
+<entry key="syntax.merge.nameref.on">{0} &lt;rule&gt;
+ Rule for merging locations with record=nameref
+ (requires glossaries-extra version 1.37+).
+ &lt;rule&gt; may be one of: ''hcounter'', ''href'', ''title''
+ or ''location''.</entry>
+
<entry key="syntax.support.unicode.script">{0}
Text superscripts or subscripts will use Unicode
superscript or subscript characters if possible
@@ -156,6 +162,7 @@ See the manual for further details.</entry>
<entry key="message.crossref.found">Entry {0}: found cross-reference ({1}): {2}</entry>
<entry key="message.crossref.by">Entry {0} cross-referenced by {1}</entry>
<entry key="message.checking.crossrefs">Checking cross-references for: {0}</entry>
+<entry key="message.custom.dep.found">Entry {0}: found custom ''{1}'' dependency ({2}): {3}</entry>
<entry key="message.field.not.set">Field {0} not set.</entry>
<entry key="message.dual.dep">Dual found: {0} (primary {1})</entry>
<entry key="message.added.alias.dep">Adding alias {0} as dependency for {1}</entry>
@@ -181,6 +188,7 @@ See the manual for further details.</entry>
<entry key="message.sort.numeric.locale">Numeric sort locale: {0}</entry>
<entry key="message.sort.numeric.format">Numeric sort format: {0}</entry>
<entry key="message.no.sort.required">No sorting required.</entry>
+<entry key="message.sort.labels">Label list sort method ''{0}'' on {1,choice,1#field|1&lt;fields}: {2}</entry>
<entry key="message.label.prefix">Label prefix: {0}</entry>
<entry key="message.dual.label.prefix">Dual label prefix: {0}</entry>
<entry key="message.tertiary.label.prefix">Tertiary label prefix: {0}</entry>
@@ -247,6 +255,7 @@ Defaulting to: {0}.
<entry key="message.detected.charset">Detected encoding: {0}</entry>
<entry key="message.default.charset">Default encoding: {0}</entry>
<entry key="message.null">not set</entry>
+<entry key="message.detected.fontenc">Detected font encoding: {0}</entry>
<entry key="message.missing.id">id missing</entry>
<entry key="message.default.locale">Default document locale: {0} {1}</entry>
<entry key="message.adding.record">Adding record {0} to entry {1}''s record list.</entry>
@@ -268,7 +277,9 @@ Defaulting to: {0}.
<entry key="message.missing.sort.fallback">Entry ''{0}'' missing sort field ''{1}''. Falling back on field ''{2}''.</entry>
<entry key="message.list.known.packages.auto">Automatic support for: </entry>
<entry key="message.list.known.packages.extra">Support available for: </entry>
+<entry key="message.list.known.packages.info">Support may be quite limited in some cases.</entry>
<entry key="message.created.missing.parent">Created missing parent ''{0}'' for entry ''{1}''</entry>
+<entry key="message.found_entry_in_resource">Found entry ''{0}'' in resource set: {1}</entry>
<entry key="tag.page">Page</entry>
<entry key="tag.pages">Pages</entry>
@@ -291,6 +302,8 @@ Defaulting to: {0}.
<entry key="warning.title">Warning: {0}</entry>
<entry key="warning.substituting">Substituting {0} with {1}</entry>
<entry key="warning.removing">Removing {0}</entry>
+<entry key="warning.cant.parse.file">Can''t parse {0}
+{1}</entry>
<entry key="warning.ignoring.unknown.entry.type">Ignoring unknown entry type: {0}</entry>
<entry key="warning.ignoring.unknown.encoding">Ignoring unknown encoding: {0}</entry>
<entry key="warning.ignoring.unknown.field">Ignoring unknown field: {0}</entry>
@@ -306,6 +319,7 @@ Falling back on ID.</entry>
<entry key="warning.cant.parse.datetime.pattern">Can''t parse {0} value ''{1}'' (pattern: ''{2}'')</entry>
<entry key="warning.deprecated.type">Entry type ''{0}'' deprecated. Use ''{1}'' instead.</entry>
<entry key="warning.deprecated.option">Option ''{0}'' deprecated. Use ''{1}'' instead.</entry>
+<entry key="warning.deprecated.cs">Command ''{0}'' deprecated. Use ''{1}'' instead.</entry>
<entry key="warning.missing.field">Entry ''{0}'' missing required field: {1}</entry>
<entry key="warning.potential.nested.link">Entry ''{0}'' has potentially nested link text in field: {1}
Consider using \glsps'{'{3}'}' or \glspt'{'{3}'}' instead of {2}'{'{3}'}'</entry>
@@ -358,6 +372,8 @@ Aliased entries must be in the same resource set as their target entries with op
<entry key="warning.invalid.locale">Unrecognised locale: {0}. Using {1} instead.</entry>
<entry key="warning.interpreter.needed.fallback">Interpreter needed to obtain fallback contents for field {0} (entry {1})</entry>
<entry key="warning.multi_supp_unsupported">Multiple supplemental locations not supported with glossaries-extra {1}. Restricting selection to just {0}. Update to at least glossaries-extra version {2} to support multiple supplementary sources.</entry>
+<entry key="warning.unknown_entry">Unknown entry: {0}</entry>
+<entry key="warning.unknown_entry_in_current_resource">Unknown entry ''{0}'' in current resource set: {1}</entry>
<entry key="error.title">Error: {0}</entry>
<entry key="error.alias.map.forbidden">The 'alias' field can't be mapped.</entry>
diff --git a/Master/texmf-dist/scripts/bib2gls/texparserlib.jar b/Master/texmf-dist/scripts/bib2gls/texparserlib.jar
index ee969c62616..89c1d8fbf70 100755
--- a/Master/texmf-dist/scripts/bib2gls/texparserlib.jar
+++ b/Master/texmf-dist/scripts/bib2gls/texparserlib.jar
Binary files differ