diff options
Diffstat (limited to 'support')
26 files changed, 67 insertions, 16 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index 731d18e098..0a560ca3b6 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,3 +1,13 @@ +2023-09-04 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-mathml.tex (mathml.4ht): fixed spacing in \limsup, + \liminf and few other two word operators. + https://github.com/michal-h21/make4ht/issues/133 + +2023-09-03 Karl Berry <karl@freefriends.org> + + * tex4ht-mkht.tex: ChangeLog. + 2023-08-31 Michal Hoftich <michal.h21@gmail.com> * tex4ht-html4.tex (html4.4ht): calculate padding for individual diff --git a/support/TeX4ht/source/tex4ht-mathml.tex b/support/TeX4ht/source/tex4ht-mathml.tex index 1af96d34db..a8cc0ec955 100644 --- a/support/TeX4ht/source/tex4ht-mathml.tex +++ b/support/TeX4ht/source/tex4ht-mathml.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-mathml.tex 1356 2023-08-13 18:48:02Z michal_h21 $$ +% $Id: tex4ht-mathml.tex 1365 2023-09-04 14:49:39Z michal_h21 $$ % compile 3 times: latex tex4ht-mathltx % or xhlatex tex4ht-mathltx "html,3,sections+" % @@ -2454,21 +2454,31 @@ reduced.) The original definitions for the following macros contain small spaces -\verb+\,+ in the names, and the spaces imply improper mathml outcome -of the form \verb+<mo>...<mspace.../>...</mo>+. +\verb+\,+ in the names, we need to use explicit tags to support them +correctly. + +See \Link{https://github.com/michal-h21/make4ht/issues/133}{}this report\EndLink +for more details. \<configure mathml amsopn\><<< -\def\:tempc{\qopname\relax m{lim inf}} +\def\:tempc{\qopname\relax m{\:limspaces{lim}{inf}}} \HLet\liminf=\:tempc -\def\:tempc{\qopname\relax m{lim sup}} +\def\:tempc{\qopname\relax m{\:limspaces{lim}{sup}}} \HLet\limsup=\:tempc -\def\:tempc{\qopname\relax m{proj lim}} +\def\:tempc{\qopname\relax m{\:limspaces{proj}{lim}}} \HLet\projlim=\:tempc -\def\:tempc{\qopname\relax m{inj lim}} +\def\:tempc{\qopname\relax m{\:limspaces{inj}{lim}}} \HLet\injlim=\:tempc >>> +\<configure mathml amsopn\><<< +\Configure{qopname} + {\Configure{mathop}{*} + {<\a:mathml mrow \mml:class="qopname">} + {</\a:mathml mrow><mo> &\#x2061;<!--FUNCTION APPLICATION--> </mo>} + {}} +>>> @@ -2489,13 +2499,6 @@ this in the texbook.) >>> -\<configure mathml amsopn\><<< -\Configure{qopname} - {\Configure{mathop}{*} - {<\a:mathml mi \mml:class="qopname">} - {</\a:mathml mi><mo> &\#x2061;<!--FUNCTION APPLICATION--> </mo>} - {}} ->>> The following CSS caused too large whitespace around functions %\Css{mi.qopname + mo{margin-left:0.3em}} @@ -3477,8 +3480,8 @@ but not \verb=$\mathop{div} (\mathbf{F})$= \expandafter\HLet\csname #1\endcsname\:tempc } \:tempb{lim} -\:tempb{limsup} -\:tempb{liminf} +% \:tempb{limsup} +% \:tempb{liminf} \:tempb{max} \:tempb{min} \:tempb{sup} @@ -3486,6 +3489,18 @@ but not \verb=$\mathop{div} (\mathbf{F})$= \:tempb{det} \:tempb{Pr} \:tempb{gcd} + + +>>> + +We need a special configuration for these two word operators, in order to get a good spacing. + +\<configure mathml latex\><<< +\def\:limspaces#1#2{\HCode{<\a:mathml mi>#1</\a:mathml mi><\a:mathml mspace class="thinspace" width="0.17em"></\a:mathml mspace><\a:mathml mi>#2</\a:mathml mi><\a:mathml mspace class="thinspace" width="0.17em"></\a:mathml mspace>}} +\def\:tempa{\mathop{\:limspaces{lim}{sup}}\limits} +\HLet\limsup\:tempa +\def\:tempa{\mathop{\:limspaces{lim}{inf}}\limits} +\HLet\liminf\:tempa >>> %%%%%%%%%%%%%%% diff --git a/support/bib2gls/CHANGES b/support/bib2gls/CHANGES index 14997dee5f..5861cea936 100644 --- a/support/bib2gls/CHANGES +++ b/support/bib2gls/CHANGES @@ -1,3 +1,17 @@ +v3.6 (2023-09-04) + + * bib2gls + + - added check for self-referencing alias + + - added check for encoding in aux file not matching requested or + default TeX encoding + + - allow process to retry if encoding error occurs in aux file + + - bug fix: --default-encoding option not picked up in all + instances where the default is required + v3.5 (2023-08-24) * bib2gls diff --git a/support/bib2gls/bib2gls-begin.pdf b/support/bib2gls/bib2gls-begin.pdf Binary files differindex 6af4ccbb2e..6631bac689 100644 --- a/support/bib2gls/bib2gls-begin.pdf +++ b/support/bib2gls/bib2gls-begin.pdf diff --git a/support/bib2gls/bib2gls-en.xml b/support/bib2gls/bib2gls-en.xml index 7a9aea98ec..f3c57ac250 100644 --- a/support/bib2gls/bib2gls-en.xml +++ b/support/bib2gls/bib2gls-en.xml @@ -173,6 +173,9 @@ file is in or in a location that can be found by kpsewhich.</entry> <entry key="message.log.file">Transcript written to {0}.</entry> <entry key="message.written">{0} written to {1}.</entry> <entry key="message.written.total">{0} written in total.</entry> +<entry key="message.reparsing_aux">Reparsing {0} with encoding {1}.</entry> +<entry key="message.found">Found: {0}</entry> +<entry key="message.lost_records">Records may be lost.</entry> <entry key="message.0.entry">No entries</entry> <entry key="message.1.entry">1 entry</entry> @@ -225,6 +228,7 @@ Defaulting to: {0}. <entry key="message.missing.id">id missing</entry> <entry key="message.default.locale">Default document locale: {0} {1}</entry> <entry key="message.detected.sty">Detected package {0} {1}</entry> +<entry key="message.detected.sty_no_version">Detected package {0}</entry> <entry key="message.adding.record">Adding record {0} to entry {1}''s record list.</entry> <entry key="message.adding.primary.record">Adding primary record {0} to entry {1}''s record list.</entry> <entry key="message.adding.supplemental.record">Adding supplemental record {0} to entry {1}''s record list.</entry> @@ -232,6 +236,7 @@ Defaulting to: {0}. <entry key="message.adding.counter.primary.record">Adding primary record {0} to entry {1}''s {2} record list.</entry> <entry key="message.copying.record">Copying record {0} from entry {1} to entry {2}.</entry> <entry key="message.copying.primary.record">Copying primary record {0} from entry {1} to entry {2}.</entry> +<entry key="message.copying.self_record">Attempt to copy record to self for entry {2} ignored.</entry> <entry key="message.ignored.record">Ignoring record {0}.</entry> <entry key="message.empty.location.ignored">Converting empty location to ignored record (label: ''{0}'', counter: ''{1}'', encap: ''{2}'')</entry> @@ -387,12 +392,19 @@ Aliased entries must be in the same resource set as their target entries with op <entry key="warning.mismatched.sty">Mismatching versions of packages {0} ({1}) and {2} ({3}). Please upgrade {2}</entry> <entry key="error.title">Error: {0}</entry> +<entry key="error.no_log">File {0} not found. Remember to run LaTeX before {1}. +Will try to proceed without it.</entry> <entry key="error.alias.map.forbidden">The 'alias' field can't be mapped.</entry> +<entry key="error.self_alias.forbidden">The ''alias'' field can''t reference its own entry (ID: {0}).</entry> <entry key="error.no.sty.version">Unable to read version date for package {0}</entry> <entry key="error.sty.too.old">Package {0} version {1} is too old. Minimum version {2} required.</entry> +<entry key="error.no_sty.version">No information about the {0} package was found in {1}. +Check your document has loaded {0}.sty and rerun LaTeX.</entry> +<entry key="error.unknown.charset">Unknown charset: {0}</entry> <entry key="error.unknown.tex.charset">Unknown TeX charset: {0} Defaulting to {1}. Use {2} to set another encoding.</entry> +<entry key="error.aux.charset.mismatch">The aux file charset was set to {0} but this conflicts with the information found in the aux file that indicates encoding {1}.</entry> <entry key="error.missing.aux.cs.require_cs">Missing \{0} in aux file. (Have you used \{1}?)</entry> <entry key="error.missing.aux.cs.require_cs_or">Missing \{0} in aux file. (Have you used \{1} or \{2}?)</entry> <entry key="error.missing.records">No records found in aux file. diff --git a/support/bib2gls/bib2gls.pdf b/support/bib2gls/bib2gls.pdf Binary files differindex 264d02977f..57f29d9864 100644 --- a/support/bib2gls/bib2gls.pdf +++ b/support/bib2gls/bib2gls.pdf diff --git a/support/bib2gls/examples/sample-authors.pdf b/support/bib2gls/examples/sample-authors.pdf Binary files differindex cf248eb070..aac7ae96c6 100644 --- a/support/bib2gls/examples/sample-authors.pdf +++ b/support/bib2gls/examples/sample-authors.pdf diff --git a/support/bib2gls/examples/sample-bacteria.pdf b/support/bib2gls/examples/sample-bacteria.pdf Binary files differindex 50e8174154..87109a9203 100644 --- a/support/bib2gls/examples/sample-bacteria.pdf +++ b/support/bib2gls/examples/sample-bacteria.pdf diff --git a/support/bib2gls/examples/sample-chemical.pdf b/support/bib2gls/examples/sample-chemical.pdf Binary files differindex 465f705f0b..19781cf658 100644 --- a/support/bib2gls/examples/sample-chemical.pdf +++ b/support/bib2gls/examples/sample-chemical.pdf diff --git a/support/bib2gls/examples/sample-citations.pdf b/support/bib2gls/examples/sample-citations.pdf Binary files differindex 653b81f29d..a9700cf476 100644 --- a/support/bib2gls/examples/sample-citations.pdf +++ b/support/bib2gls/examples/sample-citations.pdf diff --git a/support/bib2gls/examples/sample-constants.pdf b/support/bib2gls/examples/sample-constants.pdf Binary files differindex a71a83dd82..830201f1e3 100644 --- a/support/bib2gls/examples/sample-constants.pdf +++ b/support/bib2gls/examples/sample-constants.pdf diff --git a/support/bib2gls/examples/sample-hierarchical.pdf b/support/bib2gls/examples/sample-hierarchical.pdf Binary files differindex a91e86effd..e907c25cd5 100644 --- a/support/bib2gls/examples/sample-hierarchical.pdf +++ b/support/bib2gls/examples/sample-hierarchical.pdf diff --git a/support/bib2gls/examples/sample-markuplanguages.pdf b/support/bib2gls/examples/sample-markuplanguages.pdf Binary files differindex 32b1c34d79..c6b6e66461 100644 --- a/support/bib2gls/examples/sample-markuplanguages.pdf +++ b/support/bib2gls/examples/sample-markuplanguages.pdf diff --git a/support/bib2gls/examples/sample-maths.pdf b/support/bib2gls/examples/sample-maths.pdf Binary files differindex 87edbafef1..3815d7e650 100644 --- a/support/bib2gls/examples/sample-maths.pdf +++ b/support/bib2gls/examples/sample-maths.pdf diff --git a/support/bib2gls/examples/sample-media.pdf b/support/bib2gls/examples/sample-media.pdf Binary files differindex 6c21c9ea15..951ec4627f 100644 --- a/support/bib2gls/examples/sample-media.pdf +++ b/support/bib2gls/examples/sample-media.pdf diff --git a/support/bib2gls/examples/sample-msymbols.pdf b/support/bib2gls/examples/sample-msymbols.pdf Binary files differindex a57dac116c..0c0ab8c572 100644 --- a/support/bib2gls/examples/sample-msymbols.pdf +++ b/support/bib2gls/examples/sample-msymbols.pdf diff --git a/support/bib2gls/examples/sample-multi1.pdf b/support/bib2gls/examples/sample-multi1.pdf Binary files differindex 743481f107..6024a79668 100644 --- a/support/bib2gls/examples/sample-multi1.pdf +++ b/support/bib2gls/examples/sample-multi1.pdf diff --git a/support/bib2gls/examples/sample-multi2.pdf b/support/bib2gls/examples/sample-multi2.pdf Binary files differindex 60e568beb2..7a39d39ab7 100644 --- a/support/bib2gls/examples/sample-multi2.pdf +++ b/support/bib2gls/examples/sample-multi2.pdf diff --git a/support/bib2gls/examples/sample-nested.pdf b/support/bib2gls/examples/sample-nested.pdf Binary files differindex 2159fcdbde..edb15a82f9 100644 --- a/support/bib2gls/examples/sample-nested.pdf +++ b/support/bib2gls/examples/sample-nested.pdf diff --git a/support/bib2gls/examples/sample-people.pdf b/support/bib2gls/examples/sample-people.pdf Binary files differindex 57830f119c..074e92d4d1 100644 --- a/support/bib2gls/examples/sample-people.pdf +++ b/support/bib2gls/examples/sample-people.pdf diff --git a/support/bib2gls/examples/sample-textsymbols.pdf b/support/bib2gls/examples/sample-textsymbols.pdf Binary files differindex 946f766255..0e9771cbac 100644 --- a/support/bib2gls/examples/sample-textsymbols.pdf +++ b/support/bib2gls/examples/sample-textsymbols.pdf diff --git a/support/bib2gls/examples/sample-textsymbols2.pdf b/support/bib2gls/examples/sample-textsymbols2.pdf Binary files differindex d912c9b563..2a356a1df2 100644 --- a/support/bib2gls/examples/sample-textsymbols2.pdf +++ b/support/bib2gls/examples/sample-textsymbols2.pdf diff --git a/support/bib2gls/examples/sample-units1.pdf b/support/bib2gls/examples/sample-units1.pdf Binary files differindex b5e3c8b0bc..b923ba0bb3 100644 --- a/support/bib2gls/examples/sample-units1.pdf +++ b/support/bib2gls/examples/sample-units1.pdf diff --git a/support/bib2gls/examples/sample-units2.pdf b/support/bib2gls/examples/sample-units2.pdf Binary files differindex 22650ed5fc..419822dcb0 100644 --- a/support/bib2gls/examples/sample-units2.pdf +++ b/support/bib2gls/examples/sample-units2.pdf diff --git a/support/bib2gls/examples/sample-units3.pdf b/support/bib2gls/examples/sample-units3.pdf Binary files differindex a17537f587..e84e739c1c 100644 --- a/support/bib2gls/examples/sample-units3.pdf +++ b/support/bib2gls/examples/sample-units3.pdf diff --git a/support/bib2gls/examples/sample-usergroups.pdf b/support/bib2gls/examples/sample-usergroups.pdf Binary files differindex 42ab0d5a46..bb10dfce6e 100644 --- a/support/bib2gls/examples/sample-usergroups.pdf +++ b/support/bib2gls/examples/sample-usergroups.pdf |