Skip to content

Commit e90749f

Browse files
committed
bib2gls, with new script datatool2bib (15dec24)
git-svn-id: svn://tug.org/texlive/trunk/Build/source@73132 c570f23f-e606-0410-a88d-b1316a301751
1 parent 9744fd9 commit e90749f

File tree

5 files changed

+23
-9
lines changed

5 files changed

+23
-9
lines changed

texk/texlive/linked_scripts/Makefile.am

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ texmf_other_scripts = \
111111
authorindex/authorindex \
112112
bib2gls/bib2gls.sh \
113113
bib2gls/convertgls2bib.sh \
114+
bib2gls/datatool2bib.sh \
114115
bibcop/bibcop.pl \
115116
bibtexperllibs/ltx2unitxt \
116117
bookshelf/bookshelf-listallfonts \

texk/texlive/linked_scripts/Makefile.in

+5-1
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ texmf_other_scripts = \
331331
authorindex/authorindex \
332332
bib2gls/bib2gls.sh \
333333
bib2gls/convertgls2bib.sh \
334+
bib2gls/datatool2bib.sh \
334335
bibcop/bibcop.pl \
335336
bibtexperllibs/ltx2unitxt \
336337
bookshelf/bookshelf-listallfonts \
@@ -510,7 +511,10 @@ bin_links = \
510511
relpath = $(SHELL) $(top_srcdir)/../../build-aux/relpath
511512
runscript = $(top_srcdir)/$(WIN_WRAPPER)/runscript.exe
512513

513-
# Make a copy of all targets and link names, for distros etc.
514+
# Make a copy of all targets and link names, for distros etc., so they
515+
# don't have to duplicate the special cases for memoize* etc. below. It
516+
# would be cleaner to make the file and then use it in both the install
517+
# and uninstall hooks, but we'll leave that for another time.
514518
linkfile = $(abs_builddir)/scripts-targets.lst
515519

516520
#

texk/texlive/linked_scripts/bib2gls/bib2gls.sh

+1-8
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,4 @@ if echo "$kernel" | grep CYGWIN >/dev/null; then
1212
jarpath=`cygpath -w "$jarpath"`
1313
fi
1414

15-
# User may have globally set their locale provider preference in
16-
# $JAVA_TOOL_OPTIONS so don't override it.
17-
18-
if [ -z "$JAVA_TOOL_OPTIONS" ]; then
19-
exec java -Djava.locale.providers=CLDR,JRE,SPI -jar "$jarpath" "$@"
20-
else
21-
exec java -jar "$jarpath" "$@"
22-
fi
15+
exec java -jar "$jarpath" "$@"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/sh
2+
# Adapted from tlcockpit.sh to ensure the script works with cygwin
3+
4+
scriptname=`basename "$0" .sh`
5+
jar="$scriptname.jar"
6+
jarpath=`kpsewhich --progname="$scriptname" --format=texmfscripts "$jar"`
7+
8+
kernel=`uname -s 2>/dev/null`
9+
if echo "$kernel" | grep CYGWIN >/dev/null; then
10+
CYGWIN_ROOT=`cygpath -w /`
11+
export CYGWIN_ROOT
12+
jarpath=`cygpath -w "$jarpath"`
13+
fi
14+
15+
exec java -jar "$jarpath" "$@"

texk/texlive/linked_scripts/scripts.lst

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ attachfile2/pdfatfi.pl
5252
authorindex/authorindex
5353
bib2gls/bib2gls.sh
5454
bib2gls/convertgls2bib.sh
55+
bib2gls/datatool2bib.sh
5556
bibcop/bibcop.pl
5657
bibtexperllibs/ltx2unitxt
5758
bookshelf/bookshelf-listallfonts

0 commit comments

Comments
 (0)