diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 9 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 15 | ||||
-rw-r--r-- | support/latexindent/LatexIndent/Replacement.pm | 2 | ||||
-rw-r--r-- | support/latexindent/LatexIndent/Version.pm | 4 | ||||
-rw-r--r-- | support/latexindent/README | 2 | ||||
-rw-r--r-- | support/latexindent/bin/linux/latexindent | bin | 6173556 -> 6173561 bytes | |||
-rw-r--r-- | support/latexindent/bin/macos/latexindent | bin | 6402792 -> 6402796 bytes | |||
-rw-r--r-- | support/latexindent/defaultSettings.yaml | 2 | ||||
-rw-r--r-- | support/latexindent/documentation/latexindent-yaml-schema.json | 2 | ||||
-rw-r--r-- | support/latexindent/documentation/latexindent.pdf | bin | 1280662 -> 1280496 bytes | |||
-rwxr-xr-x | support/latexindent/latexindent.pl | 2 |
11 files changed, 29 insertions, 9 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index 8371f083c7..319d184bf6 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,3 +1,12 @@ +2024-01-16 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-4ht.tex (unicode-math-hooks.4ht): added support for various + Unicode prime and back-prime symbols. + + * tex4ht-4ht.tex (hyperref.4ht): fixed support for the `]` + characters in URLs in the \href command. + https://tex.stackexchange.com/a/707193/2891 + 2024-01-15 Michal Hoftich <michal.h21@gmail.com> * tex4ht-4ht.tex (tcolorbox.4ht): don't use \RecallEndP in diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index 9372b02b23..113c21f337 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1442 2024-01-15 22:00:31Z karl $ +% $Id: tex4ht-4ht.tex 1444 2024-01-16 16:58:10Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2024 TeX Users Group @@ -4374,6 +4374,14 @@ document. \DeclareDocumentCommand \setmathfont { O{} m O{} }{} \DeclareDocumentCommand \unimathsetup {m} {} \catcode`\:=11\makeatletter +% declare prime and backprime Unicode symbols. they shouldn't be used with +% explicit superscripts +\DeclareDocumentCommand\dprime{}{\sp{\ht:special{t4ht@+\string&{35}x2033;}x}} +\DeclareDocumentCommand\trprime{}{\sp{\ht:special{t4ht@+\string&{35}x2034;}x}} +\DeclareDocumentCommand\qprime{}{\sp{\ht:special{t4ht@+\string&{35}x2057;}x}} +\DeclareDocumentCommand\backprime{}{\sp{\ht:special{t4ht@+\string&{35}x2035;}x}} +\DeclareDocumentCommand\backdprime{}{\sp{\ht:special{t4ht@+\string&{35}x2036;}x}} +\DeclareDocumentCommand\backtrprime{}{\sp{\ht:special{t4ht@+\string&{35}x2037;}x}} \endinput >>> \AddFile{9}{unicode-math-hooks} @@ -5547,7 +5555,10 @@ be removed safely. \let\HyRef@currentHtag\empty \Hy@colorlink{\@urlcolor}#1\Hy@endcolorlink \else - \Link[#2]{}{}\Hy@colorlink{\@urlcolor}#1\Hy@endcolorlink\EndLink + % we use this trick to hide possible ] characters in the URL + % https://tex.stackexchange.com/a/707193/2891 + \def\:currentlink{#2} + \Link[\noexpand\:currentlink]{}{}\Hy@colorlink{\@urlcolor}#1\Hy@endcolorlink\EndLink \global\let\hyper:normalise|=\:UnDef \fi \endgroup } diff --git a/support/latexindent/LatexIndent/Replacement.pm b/support/latexindent/LatexIndent/Replacement.pm index c1df5db131..a261c4dc03 100644 --- a/support/latexindent/LatexIndent/Replacement.pm +++ b/support/latexindent/LatexIndent/Replacement.pm @@ -71,7 +71,7 @@ sub make_replacements { # my $this = quotemeta( ${$_}{this} ); my $that = ( defined ${$_}{that} ) ? qq{${$_}{that}} : q(); - ${$self}{body} = join( $that, split( $this, ${$self}{body} ) ); + ${$self}{body} = join( $that, split( /$this/, ${$self}{body}, -1 ) ); } else { # diff --git a/support/latexindent/LatexIndent/Version.pm b/support/latexindent/LatexIndent/Version.pm index d5ea0dd260..f56a438ec0 100644 --- a/support/latexindent/LatexIndent/Version.pm +++ b/support/latexindent/LatexIndent/Version.pm @@ -20,6 +20,6 @@ use warnings; use Exporter qw/import/; our @EXPORT_OK = qw/$versionNumber $versionDate/; -our $versionNumber = '3.23.5'; -our $versionDate = '2024-01-01'; +our $versionNumber = '3.23.6'; +our $versionDate = '2024-01-17'; 1 diff --git a/support/latexindent/README b/support/latexindent/README index 019150fcab..9a21dd77ce 100644 --- a/support/latexindent/README +++ b/support/latexindent/README @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - latexindent.pl, version 3.23.5, 2024-01-01 + latexindent.pl, version 3.23.6, 2024-01-17 PERL script to indent code within environments, and align delimited environments in .tex files. diff --git a/support/latexindent/bin/linux/latexindent b/support/latexindent/bin/linux/latexindent Binary files differindex 2c335323a2..831e122a92 100644 --- a/support/latexindent/bin/linux/latexindent +++ b/support/latexindent/bin/linux/latexindent diff --git a/support/latexindent/bin/macos/latexindent b/support/latexindent/bin/macos/latexindent Binary files differindex 0470b4bdd2..ad7ab51add 100644 --- a/support/latexindent/bin/macos/latexindent +++ b/support/latexindent/bin/macos/latexindent diff --git a/support/latexindent/defaultSettings.yaml b/support/latexindent/defaultSettings.yaml index 1943c272da..a00474e143 100644 --- a/support/latexindent/defaultSettings.yaml +++ b/support/latexindent/defaultSettings.yaml @@ -1,5 +1,5 @@ # -# latexindent.pl, version 3.23.5, 2024-01-01 +# latexindent.pl, version 3.23.6, 2024-01-17 # # defaultSettings.yaml, the default settings for latexindent.pl # diff --git a/support/latexindent/documentation/latexindent-yaml-schema.json b/support/latexindent/documentation/latexindent-yaml-schema.json index 43739e7af6..0bb03ddc43 100644 --- a/support/latexindent/documentation/latexindent-yaml-schema.json +++ b/support/latexindent/documentation/latexindent-yaml-schema.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/schema", "$id": "latexindent-yaml-schema.json", "title": "latexindent.pl YAML schema", - "description": "latexindent.pl YAML schema helper, V3.23.5 2024-01-01", + "description": "latexindent.pl YAML schema helper, V3.23.6 2024-01-17", "type": "object", "properties": { "fileExtensionPreference": { diff --git a/support/latexindent/documentation/latexindent.pdf b/support/latexindent/documentation/latexindent.pdf Binary files differindex e698d5923f..fe0fa82176 100644 --- a/support/latexindent/documentation/latexindent.pdf +++ b/support/latexindent/documentation/latexindent.pdf diff --git a/support/latexindent/latexindent.pl b/support/latexindent/latexindent.pl index a8e82f2bd9..e5c034dd77 100755 --- a/support/latexindent/latexindent.pl +++ b/support/latexindent/latexindent.pl @@ -1,6 +1,6 @@ #!/usr/bin/env perl # -# latexindent.pl, version 3.23.5, 2024-01-01 +# latexindent.pl, version 3.23.6, 2024-01-17 # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by |