summaryrefslogtreecommitdiff
path: root/support/bib2gls
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-11-26 03:01:43 +0000
committerNorbert Preining <norbert@preining.info>2022-11-26 03:01:43 +0000
commite847537e7eb9b357896add98741bf14318405fab (patch)
tree0de2a80f1223a606689981b18a53eec857f5f811 /support/bib2gls
parent7f9bf70fd6cdeda88e8e41a4dae6eac9827bb04e (diff)
CTAN sync 202211260301
Diffstat (limited to 'support/bib2gls')
-rw-r--r--support/bib2gls/CHANGES8
-rw-r--r--support/bib2gls/bib2gls-begin.pdfbin718818 -> 718677 bytes
-rw-r--r--support/bib2gls/bib2gls-en.xml1
-rw-r--r--support/bib2gls/bib2gls.19
-rw-r--r--support/bib2gls/bib2gls.pdfbin5135194 -> 5136230 bytes
-rw-r--r--support/bib2gls/examples/sample-authors.pdfbin51554 -> 51554 bytes
-rw-r--r--support/bib2gls/examples/sample-bacteria.pdfbin54221 -> 54221 bytes
-rw-r--r--support/bib2gls/examples/sample-chemical.pdfbin54006 -> 54006 bytes
-rw-r--r--support/bib2gls/examples/sample-citations.pdfbin49745 -> 49745 bytes
-rw-r--r--support/bib2gls/examples/sample-constants.pdfbin97789 -> 97789 bytes
-rw-r--r--support/bib2gls/examples/sample-hierarchical.pdfbin52505 -> 52505 bytes
-rw-r--r--support/bib2gls/examples/sample-markuplanguages.pdfbin61070 -> 61070 bytes
-rw-r--r--support/bib2gls/examples/sample-maths.pdfbin121219 -> 121219 bytes
-rw-r--r--support/bib2gls/examples/sample-media.pdfbin166484 -> 166484 bytes
-rw-r--r--support/bib2gls/examples/sample-msymbols.pdfbin109211 -> 109211 bytes
-rw-r--r--support/bib2gls/examples/sample-multi1.pdfbin255310 -> 255310 bytes
-rw-r--r--support/bib2gls/examples/sample-multi2.pdfbin330706 -> 330706 bytes
-rw-r--r--support/bib2gls/examples/sample-nested.pdfbin52518 -> 52518 bytes
-rw-r--r--support/bib2gls/examples/sample-people.pdfbin50320 -> 50320 bytes
-rw-r--r--support/bib2gls/examples/sample-textsymbols.pdfbin73042 -> 73042 bytes
-rw-r--r--support/bib2gls/examples/sample-textsymbols2.pdfbin70256 -> 70256 bytes
-rw-r--r--support/bib2gls/examples/sample-units1.pdfbin57344 -> 57344 bytes
-rw-r--r--support/bib2gls/examples/sample-units2.pdfbin59076 -> 59076 bytes
-rw-r--r--support/bib2gls/examples/sample-units3.pdfbin44644 -> 44644 bytes
-rw-r--r--support/bib2gls/examples/sample-usergroups.pdfbin23827 -> 23827 bytes
-rw-r--r--support/bib2gls/src/bib2gls.bib14
-rw-r--r--support/bib2gls/src/bib2gls.pod9
-rw-r--r--support/bib2gls/src/bib2gls.tex12
28 files changed, 52 insertions, 1 deletions
diff --git a/support/bib2gls/CHANGES b/support/bib2gls/CHANGES
index a3e2fbcaac..f4c605a222 100644
--- a/support/bib2gls/CHANGES
+++ b/support/bib2gls/CHANGES
@@ -1,3 +1,11 @@
+v3.2 (2022-11-24):
+
+ * Added --[no-]obey-aux-catcode
+
+ The default is --no-obey-aux-catcode, which ignores catcode
+ changing commands found in the aux file.
+ (Issue #22 https://github.com/nlct/bib2gls/issues/22)
+
v3.1 (2022-11-05):
* If new versions of glossaries.sty, mfirstuc.sty and glossaries-extra.sty
diff --git a/support/bib2gls/bib2gls-begin.pdf b/support/bib2gls/bib2gls-begin.pdf
index c825f2b8c0..49c4081c8d 100644
--- a/support/bib2gls/bib2gls-begin.pdf
+++ b/support/bib2gls/bib2gls-begin.pdf
Binary files differ
diff --git a/support/bib2gls/bib2gls-en.xml b/support/bib2gls/bib2gls-en.xml
index 1deb254d84..50abc80670 100644
--- a/support/bib2gls/bib2gls-en.xml
+++ b/support/bib2gls/bib2gls-en.xml
@@ -43,6 +43,7 @@ file is in or in a location that can be found by kpsewhich.</entry>
<entry key="syntax.tex.encoding">{0} &lt;name&gt; Set the character encoding for the output files.</entry>
<entry key="syntax.interpret">{0} Enable interpreter.</entry>
<entry key="syntax.break.space">{0} Interpret tilde character as normal space.</entry>
+<entry key="syntax.obey.aux.catcode">{0} Obey known category code changing commands encountered in the aux file.</entry>
<entry key="syntax.packages">{1}, {0} &lt;list&gt; Instruct interpreter to assume the listed packages have been used in the document. (The packages must be known by the interpreter.)</entry>
<entry key="syntax.ignore.packages">{1}, {0} &lt;list&gt; Don''t check the log file for the listed packages.</entry>
<entry key="syntax.custom.packages">{0} &lt;list&gt; Instruct the interpreter to parse the listed packages.</entry>
diff --git a/support/bib2gls/bib2gls.1 b/support/bib2gls/bib2gls.1
index 448bd6550f..b9c0737f62 100644
--- a/support/bib2gls/bib2gls.1
+++ b/support/bib2gls/bib2gls.1
@@ -133,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "BIB2GLS 1"
-.TH BIB2GLS 1 "2022-10-09" "perl v5.34.1" "bib2gls"
+.TH BIB2GLS 1 "2022-11-24" "perl v5.34.1" "bib2gls"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -210,6 +210,13 @@ Interpret \f(CW\*(C`~\*(C'\fR (tilde) character and \f(CW\*(C`\enobreakspace\*(C
.IP "\fB\-\-no\-break\-space\fR" 4
.IX Item "--no-break-space"
Interpret \f(CW\*(C`~\*(C'\fR (tilde) and \f(CW\*(C`\enobreakspace\*(C'\fR as a non-breaking space (default).
+.IP "\fB\-\-obey\-aux\-catcode\fR" 4
+.IX Item "--obey-aux-catcode"
+Obey known category code changing commands encountered in the aux
+file.
+.IP "\fB\-\-no\-obey\-aux\-catcode\fR" 4
+.IX Item "--no-obey-aux-catcode"
+Ignore category code changing commands encountered in the aux file.
.IP "\fB\-\-cite\-as\-record\fR" 4
.IX Item "--cite-as-record"
Treat \f(CW\*(C`\ecitation\*(C'\fR as an ignored record.
diff --git a/support/bib2gls/bib2gls.pdf b/support/bib2gls/bib2gls.pdf
index e23282b73c..ac6fe779c8 100644
--- a/support/bib2gls/bib2gls.pdf
+++ b/support/bib2gls/bib2gls.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-authors.pdf b/support/bib2gls/examples/sample-authors.pdf
index 5094e02ec7..9d03fab6d6 100644
--- a/support/bib2gls/examples/sample-authors.pdf
+++ b/support/bib2gls/examples/sample-authors.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-bacteria.pdf b/support/bib2gls/examples/sample-bacteria.pdf
index f8bc312fef..56c4305f5c 100644
--- a/support/bib2gls/examples/sample-bacteria.pdf
+++ b/support/bib2gls/examples/sample-bacteria.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-chemical.pdf b/support/bib2gls/examples/sample-chemical.pdf
index 0d303e4783..cd908a360d 100644
--- a/support/bib2gls/examples/sample-chemical.pdf
+++ b/support/bib2gls/examples/sample-chemical.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-citations.pdf b/support/bib2gls/examples/sample-citations.pdf
index 46c9b2e8a9..c43a35719a 100644
--- a/support/bib2gls/examples/sample-citations.pdf
+++ b/support/bib2gls/examples/sample-citations.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-constants.pdf b/support/bib2gls/examples/sample-constants.pdf
index 07c5a9b596..0b69633203 100644
--- a/support/bib2gls/examples/sample-constants.pdf
+++ b/support/bib2gls/examples/sample-constants.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-hierarchical.pdf b/support/bib2gls/examples/sample-hierarchical.pdf
index 9f83fe64da..466ea4f9d4 100644
--- a/support/bib2gls/examples/sample-hierarchical.pdf
+++ b/support/bib2gls/examples/sample-hierarchical.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-markuplanguages.pdf b/support/bib2gls/examples/sample-markuplanguages.pdf
index 959a97cfbf..def5425c19 100644
--- a/support/bib2gls/examples/sample-markuplanguages.pdf
+++ b/support/bib2gls/examples/sample-markuplanguages.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-maths.pdf b/support/bib2gls/examples/sample-maths.pdf
index 327dea9a3e..de2eb3515b 100644
--- a/support/bib2gls/examples/sample-maths.pdf
+++ b/support/bib2gls/examples/sample-maths.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-media.pdf b/support/bib2gls/examples/sample-media.pdf
index 085fba316a..6abb0ecfc0 100644
--- a/support/bib2gls/examples/sample-media.pdf
+++ b/support/bib2gls/examples/sample-media.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-msymbols.pdf b/support/bib2gls/examples/sample-msymbols.pdf
index 1a9fef2971..3db76c0e6d 100644
--- a/support/bib2gls/examples/sample-msymbols.pdf
+++ b/support/bib2gls/examples/sample-msymbols.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-multi1.pdf b/support/bib2gls/examples/sample-multi1.pdf
index 0376963383..8cea7bcde5 100644
--- a/support/bib2gls/examples/sample-multi1.pdf
+++ b/support/bib2gls/examples/sample-multi1.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-multi2.pdf b/support/bib2gls/examples/sample-multi2.pdf
index c356c6c2f9..92a16ca528 100644
--- a/support/bib2gls/examples/sample-multi2.pdf
+++ b/support/bib2gls/examples/sample-multi2.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-nested.pdf b/support/bib2gls/examples/sample-nested.pdf
index 9b59f762b1..952939e39f 100644
--- a/support/bib2gls/examples/sample-nested.pdf
+++ b/support/bib2gls/examples/sample-nested.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-people.pdf b/support/bib2gls/examples/sample-people.pdf
index 8824610553..9e4a223ba1 100644
--- a/support/bib2gls/examples/sample-people.pdf
+++ b/support/bib2gls/examples/sample-people.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-textsymbols.pdf b/support/bib2gls/examples/sample-textsymbols.pdf
index 64aab9e3ac..0663ccc47b 100644
--- a/support/bib2gls/examples/sample-textsymbols.pdf
+++ b/support/bib2gls/examples/sample-textsymbols.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-textsymbols2.pdf b/support/bib2gls/examples/sample-textsymbols2.pdf
index f50f6f721d..07ffce53db 100644
--- a/support/bib2gls/examples/sample-textsymbols2.pdf
+++ b/support/bib2gls/examples/sample-textsymbols2.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-units1.pdf b/support/bib2gls/examples/sample-units1.pdf
index f5c7275af8..9bc41618ee 100644
--- a/support/bib2gls/examples/sample-units1.pdf
+++ b/support/bib2gls/examples/sample-units1.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-units2.pdf b/support/bib2gls/examples/sample-units2.pdf
index 7445d761e6..2ebc649aba 100644
--- a/support/bib2gls/examples/sample-units2.pdf
+++ b/support/bib2gls/examples/sample-units2.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-units3.pdf b/support/bib2gls/examples/sample-units3.pdf
index 2d1e53be63..be092481fc 100644
--- a/support/bib2gls/examples/sample-units3.pdf
+++ b/support/bib2gls/examples/sample-units3.pdf
Binary files differ
diff --git a/support/bib2gls/examples/sample-usergroups.pdf b/support/bib2gls/examples/sample-usergroups.pdf
index 27bcbecd59..d38ce54eb2 100644
--- a/support/bib2gls/examples/sample-usergroups.pdf
+++ b/support/bib2gls/examples/sample-usergroups.pdf
Binary files differ
diff --git a/support/bib2gls/src/bib2gls.bib b/support/bib2gls/src/bib2gls.bib
index 9f2d002928..dde9f5d1fd 100644
--- a/support/bib2gls/src/bib2gls.bib
+++ b/support/bib2gls/src/bib2gls.bib
@@ -10041,6 +10041,20 @@ primary formats, if enabled.},
parent={commandlineoptions}
}
+@switch{switch.obey-aux-catcode,
+ name={\longargfmt{obey\dhyphen aux\dhyphen catcode}},
+ user1={},
+ category={switch},
+ parent={commandlineoptions}
+}
+
+@switch{switch.no-obey-aux-catcode,
+ name={\longargfmt{no\dhyphen obey\dhyphen aux\dhyphen catcode}},
+ user1={},
+ category={switch},
+ parent={commandlineoptions}
+}
+
@switch{switch.cite-as-record,
name={\longargfmt{cite\dhyphen as\dhyphen record}},
user1={},
diff --git a/support/bib2gls/src/bib2gls.pod b/support/bib2gls/src/bib2gls.pod
index e9f821d907..e75573aa2c 100644
--- a/support/bib2gls/src/bib2gls.pod
+++ b/support/bib2gls/src/bib2gls.pod
@@ -89,6 +89,15 @@ Interpret C<~> (tilde) character and C<\nobreakspace> as a normal space.
Interpret C<~> (tilde) and C<\nobreakspace> as a non-breaking space (default).
+=item B<--obey-aux-catcode>
+
+Obey known category code changing commands encountered in the aux
+file.
+
+=item B<--no-obey-aux-catcode>
+
+Ignore category code changing commands encountered in the aux file.
+
=item B<--cite-as-record>
Treat C<\citation> as an ignored record.
diff --git a/support/bib2gls/src/bib2gls.tex b/support/bib2gls/src/bib2gls.tex
index dd56fedc31..679fab16ed 100644
--- a/support/bib2gls/src/bib2gls.tex
+++ b/support/bib2gls/src/bib2gls.tex
@@ -3498,6 +3498,18 @@ this setting. For example, if \csfmt{superiortwo} is defined as
then it will be interpreted as \hex{00B2} (superscript two) even if
this setting is on.
+\argsection{obey-aux-catcode}
+
+By default, the \ext{aux} parser ignores category code changing
+commands. This option will instruct the parser to implement the
+category code, but note that it can only do this for known commands
+that the parser is able to implement.
+
+\argsection{no-obey-aux-catcode}
+
+Instructs the \ext{aux} parser to ignore category code changing
+commands. (Default.)
+
\section{Record Options}
\argsection{cite-as-record}