From 23056da81dd216ac377e040b70c9b78e01c94186 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 10 Sep 2017 22:10:52 +0000 Subject: bib2gls (10sep17) git-svn-id: svn://tug.org/texlive/trunk@45266 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/bib2gls/bib2gls.jar | Bin 0 -> 112916 bytes Master/texmf-dist/scripts/bib2gls/bib2gls.sh | 12 + .../texmf-dist/scripts/bib2gls/convertgls2bib.jar | Bin 0 -> 21545 bytes .../texmf-dist/scripts/bib2gls/convertgls2bib.sh | 12 + .../scripts/bib2gls/resources/bib2gls-en.xml | 373 +++++++++++++++++++++ Master/texmf-dist/scripts/bib2gls/texparserlib.jar | Bin 0 -> 694875 bytes 6 files changed, 397 insertions(+) create mode 100755 Master/texmf-dist/scripts/bib2gls/bib2gls.jar create mode 100755 Master/texmf-dist/scripts/bib2gls/bib2gls.sh create mode 100755 Master/texmf-dist/scripts/bib2gls/convertgls2bib.jar create mode 100755 Master/texmf-dist/scripts/bib2gls/convertgls2bib.sh create mode 100644 Master/texmf-dist/scripts/bib2gls/resources/bib2gls-en.xml create mode 100755 Master/texmf-dist/scripts/bib2gls/texparserlib.jar (limited to 'Master/texmf-dist/scripts/bib2gls') diff --git a/Master/texmf-dist/scripts/bib2gls/bib2gls.jar b/Master/texmf-dist/scripts/bib2gls/bib2gls.jar new file mode 100755 index 00000000000..5e4610756f9 Binary files /dev/null and b/Master/texmf-dist/scripts/bib2gls/bib2gls.jar differ diff --git a/Master/texmf-dist/scripts/bib2gls/bib2gls.sh b/Master/texmf-dist/scripts/bib2gls/bib2gls.sh new file mode 100755 index 00000000000..5f9d7f71e60 --- /dev/null +++ b/Master/texmf-dist/scripts/bib2gls/bib2gls.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +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` +fi + +java -Djava.locale.providers=CLDR,JRE -jar "$jarpath" "$@" + diff --git a/Master/texmf-dist/scripts/bib2gls/convertgls2bib.jar b/Master/texmf-dist/scripts/bib2gls/convertgls2bib.jar new file mode 100755 index 00000000000..1ccf50f5771 Binary files /dev/null and b/Master/texmf-dist/scripts/bib2gls/convertgls2bib.jar differ diff --git a/Master/texmf-dist/scripts/bib2gls/convertgls2bib.sh b/Master/texmf-dist/scripts/bib2gls/convertgls2bib.sh new file mode 100755 index 00000000000..3e7370b0ca7 --- /dev/null +++ b/Master/texmf-dist/scripts/bib2gls/convertgls2bib.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +kernel=`uname -s` +if test "${kernel#*CYGWIN}" != "$kernel" +then + jarpath=`cygpath -w $(kpsewhich --progname=convertgls2bib --format=texmfscripts convertgls2bib.jar)` +else + jarpath=`kpsewhich --progname=convertgls2bib --format=texmfscripts convertgls2bib.jar` +fi + +java -jar "$jarpath" "$@" + diff --git a/Master/texmf-dist/scripts/bib2gls/resources/bib2gls-en.xml b/Master/texmf-dist/scripts/bib2gls/resources/bib2gls-en.xml new file mode 100644 index 00000000000..c48375fee45 --- /dev/null +++ b/Master/texmf-dist/scripts/bib2gls/resources/bib2gls-en.xml @@ -0,0 +1,373 @@ + + + +English language file for bib2gls + +{0} version {1} ({2}) +License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. + +Usage: {0} [<option>]+ <aux file> +Helper application for the glossaries-extra package. +See the manual for further details. +(Use --help or -h for help.) +Options: +{0} (or {1}) Display version and exit. +{0} (or {1}) Display this help message and exit. +{0} [<n>] Switch on debug mode (optionally with the + given level). +{0} Switch off debug mode. (Default.) +{0} Switch off debug mode. (Default.) + Synonym: {1} +{0} Switch on verbose mode. +{0} Switch off verbose mode. (Default.) + Some messages are displayed. + Synonym: {1} +{0} Only display error messages. +{0} <lang> (or {1} <lang>) + Use language resource file for <lang>. +{0} <file> (or {1} <file>) + Set transcript file name. +{0} <directory> (or {1} <directory>) + Files relative to <directory>. + (This doesn''t change the current working + directory.) +{0} Switch on interpret mode (default). +{0} Switch off interpret mode. + +{0} <fields>|all (or {1} <fields>|all) + Insert an empty group if fields start + with certain problematic commands + to protect against case-changing commands + like \Gls. + + The default is to do this for all fields. + To do this for only a subset of fields, + set <fields> to a comma-separated + list of fields (e.g. 'name,short,long'). + The keyword 'all' indicates all fields. +{0} + Switch off the auto-insertion of an empty + group for all fields. + +{0} + Switch off the auto-insertion of an empty + group for math-shift ($). + +{0} + Switch on the auto-insertion of an empty + group for math-shift ($). + This option will be overriden by + {1} + + +{0} <option> + Check for the shortcut commands when + search for dependencies. + Permitted values of <option>: + ''acronyms'' (or ''acro'') + ''abbreviations'' (or ''abbr'') + ''all'' (or ''true'') + ''none'' (or ''false'') +{0} <list>|"none" + Check each field listed in <list> + for potentially problematic nested link + text. (Default list: name, text, plural, + first, firstplural, short, shortplural, + long, longplural, symbol). + + If "none", disable check. +{0} + Don''t check for potentially problematic + nested link text. (Equivalent to + {1} "none") +{0} <key>=<value>[,<key>=<value>]* (or {1} <key>=<value>[,<key>=<value>]*) + Set location format mappings. +{0} or {1} + Add ''group'' field to entries. +{0} + Don''t add ''group'' field to entries. +{0} + Trim leading and trailing spaces from fields. +{0} + Don''t trim leading and trailing spaces from fields (default). +{0} <name> + Set the character encoding for the output files. + +Reading {0} +Writing {0} +No read access for {0} +No write access for {0} +Running {0} +Processing {0} +Copying {0} -> {1} +Moving {0} -> {1} +Added dependent: {0} +Adding parent: {0} +Selection mode: {0} +Ignoring fields: +Sort mode: {0} +Sort field: {0} +Label prefix: {0} +Dual label prefix: {0} +Dual sort mode: {0} +Dual sort field: {0} +Dual entry mappings: +Dual symbol mappings: +Dual abbreviation mappings: +Dual entry-abbreviation mappings: +Processed returned: {0} + +Transcript written to {0}. +{0} written to {1}. +{0} written in total. + +No entries +1 entry +{0,number} entries + +1 recognised package: +{0,number} recognised packages: + +Checking read access for {0} +Checking write access for {0} +Initialising collation keys (strength={0}, decomposition={1}) +Entry type ''{0}'' has no fallback for field: {1} +Inconsistent location format {0} +with range started by {1} +Merging location {0} +into explicit range {1} +Inserting empty group in front of {0} to protect it from mfirstuc. +Discarding entry {0} +Pattern: {0}. Field: {1}. Value: {2}. Matches: {3}. +Calculating width of name field for entry ''{0}'' +Calculated width of ''{0}'': {1,number} +Parsing code block: +Unable to detect character encoding for TeX file. +Defaulting to: {0}. +(Use {1} if this is incorrect.) +TeX character encoding: {0} +Adding record {0} from aliased entry {1}. +Ignoring record {0}. +Normalising {0} to {1}. +Normalized {0} distinct from {1}. +Can''t normalize {0}. +Collator rules: {0}. +No collation element for: {0}. +Break points: {0}. + +Page +Pages +passim + + +IJ + +Warning: {0} +Substituting {0} with {1} +Removing {0} +Ignoring unknown entry type: {0} +Ignoring unknown encoding: {0} +Can't detect argument for: \{0} +Can't determine sort value for: {0} +(Using sort field ''{1}''.) +Entry ''{0}'' missing required field: {1} +Entry ''{0}'' has potentially nested link text in field: {1} +Consider using \glsps'{'{3}'}' or \glspt'{'{3}'}' instead of {2}'{'{3}'}' +Directory not writable: {0} +Using TEXMFOUTPUT instead: {1} +Entry location conflict for formats: {0} and {1} +Replacing {1} with {2} +Entry location conflict for formats: {0} and {1} +Discarding: {2} +Conflicts with: {3} +Entry location conflict. +Obeying requested mapping {0} -> {1} +Discarding: {2} +Keeping: {3} +Entry location conflict. +Obeying requested mapping {0} -> {1} and {2} -> {3} +Discarding: {4} +Discarding: {5} +Replacement: {6} +Parent ''{0}'' not found for entry {1} +Can''t determine parent name for entry {0} +Field clash: {0} and {1} +Ignoring {1} +Unsupported field: {0} +(Update glossaries-extra.sty to at least version {1}) +Option clash: {0} and {1} +Ignoring {1} +Resource option {0} requires option {1} +Resource option {0} requires application switch {1} +Parent {0} does not occur before entry {1} so removing relationship. +Ignoring pattern for unknown field: {0} +Problematic entry label: {0} +You document doesn''t seem to have used fontspec which +suggests it''s not using XeLaTeX or LuaLaTeX, so you need +to restrict your labels to the Basic Latin set (or +switch TeX engines). +Problematic entry label: {0} +Contains one or more special characters. +Can''t find target {0} for aliased entry {1}. +Aliased entries must be in the same resource set as their target entries with option {2}={3}. +''{0}'' deprecated. Use ''{1}'' instead. + +Error: {0} +The 'alias' field can't be mapped. +Unable to read version date for package {0} +Package {0} version {1} is too old. +Minimum version {2} required. +Unknown TeX charset: {0} +Defaulting to {1}. Use {2} to set another encoding. +Missing \{0} in aux file. (Have you used \{1}?) +Missing \{0} in aux file. (Have you used \{1} or \{2}?) +No records found in aux file. +Have you used the glossaries-extra.sty ''record'' option? +Have you indexed your entries using commands like \gls? +Missing \{0} in aux file (make sure glossaries-extra.sty is at least {1}). +Only one aux file permitted. +Missing aux file. Use --help for help. +File not found: {0} +File not found: {0} +(Did you forget to use the ''src'' key?) +Directory not found: {0} +Not a directory: {0} +Can't open log file: {0} +Invalid ''{0}'' value: {1} +Invalid ''{0}'' value: {1} (number required) +Invalid ''{0}'' value: {1} (can''t be less than {2,number}) +Invalid ''{0}'' value: {1} (allowed values: {2}) +Invalid value for: {0} +Value must be a list of size {2,number} +Invalid ''{0}'' value ''{1}'' (within option ''{2}'') +Invalid key ''{0}'' within option ''{1}'' +Invalid pattern ''{1}'' in {0}='{'{1}'}' (within option ''{2}'') +Missing value for: {0} +Option clash: {0} and {1} +Invalid mapping: {0}={1} +The size of the first list ({2,number}) is not the same as the size of +the second list ({3,number}). +Invalid field ''{0}'' provided by option ''{1}'' +Read access forbidden for file: {0} +Write access forbidden for file: {0} +Write access forbidden for extension: {0} +Unable to open input stream from process: {0} +Cyclical hierarchy for entry: {0} +Duplicate resource: {0} +Nested location range: {0} +Outer range started with: {1} +Unmatched end location range {0} +Inconsistent location format {0} +with range started by {1} +Unmatched start location range {0} +Syntax error parsing @{0}: +{1} + +Syntax error parsing @{0}: +{1} +Error occurred before: {2} + +Syntax error parsing @{0} ({1}): +{2} + +Syntax error parsing @{0} ({1}): +{2} +Error occurred before: {3} + +Invalid syntax in sort rule: +{0} + + + +Overriding default definition of \\newdualentry with custom +definition. (Change \\newcommand to \\providecommand if you want +\\newdualentry[options]'{'label'}{'short'}{'long'}{'description'}' +converted to @dualentryabbreviation.) + + + +Line {0}: {1}. +Line {0}: {1} (error code {2}). +Unknown error +Failed to execute: {0} +{0} failed with exit code {1} +Process interrupted +Syntax error: {0} +Unknown option: {0} +Only one {0} permitted +Only one input file permitted +Filename expected after {0} +File name expected after {0} +Input file required for batch mode +Output directory required for batch mode +Unknown format ''{0}'' +{0} already exists + +Parameter digit 1 to 9 expected. Found ''{0}'' +Missing end group +Paragraph break found before end group +Unexpected end group found +Missing end math +$$ ended with $ +Expected ''{0}'' but not found +Argument expected for ''{0}'' but not found +Argument expected but not found (empty stack) +{0} is only permitted in math mode +{0} is not a recognised accent +Ambiguous use of {0} +Missing closing {0} +Dimension expected +Missing unit +Expected {0} +Undefined command {0} +Undefined active character ''{0}'' +Control sequence expected (found ''{0}'') +Number expected (found ''{0}'') +Unknown register ''{0}'' +Invalid syntax for {0} +Extra {0} +Extra {0}, or forgotten {1} +Double subscript _{0}_ (replaced with _{0}'{}'_) +Double superscript ^{0}^ (replaced with ^{0}'{}'^) +Illegal alignment {0} +Misplaced \omit +Improper alphabetic constant {0} + +No alignment specifiers found +No counter ''{0}'' defined +Only one \begin'{document}' permitted +No \begin'{document}' found +Only one \documentclass permitted +Missing ''{0}'' key +Extra \end'{'{0}'}' found +Unaccessible ''{0}'' +''{0}'' already defined +Illegal character ''{0}'' in array arg +Lonely \item + +Missing value +Expecting ''{0}'' +Expecting ''{0}'' or ''{1}'' +Missing field part +Missing field name +Unbalanced braces +''{0}'' immediately follows entry type +''{0}'' immediately follows field name +Illegal end +Missing +Too many commas in name ''{0}'' +String name ''{0}'' undefined + diff --git a/Master/texmf-dist/scripts/bib2gls/texparserlib.jar b/Master/texmf-dist/scripts/bib2gls/texparserlib.jar new file mode 100755 index 00000000000..70561ba72dc Binary files /dev/null and b/Master/texmf-dist/scripts/bib2gls/texparserlib.jar differ -- cgit v1.2.3