diff options
Diffstat (limited to 'support/TeX4ht')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 11 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-fonts-noncjk.tex | 258 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-ooffice.tex | 22 |
3 files changed, 161 insertions, 130 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index fb58c85cb6..3ebf22b777 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,3 +1,14 @@ +2023-12-20 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-fonts-noncjk.tex ( + ./tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/misc/wasy.htf + ): fixed wrong characters in the Wasy font. + Thanks to Arkady Benediktov + + * tex4ht-ooffice.tex (ooffice-mml.4ht): use code from html-mml.4ht + to prevent spurious <mo> element in equation. It could prevent + displaying of equations. + 2023-12-17 Michal Hoftich <michal.h21@gmail.com> * tex4ht-4ht.tex (enumitem.4ht): prevent errors with redefined diff --git a/support/TeX4ht/source/tex4ht-fonts-noncjk.tex b/support/TeX4ht/source/tex4ht-fonts-noncjk.tex index d9ea432b56..e3acee737d 100644 --- a/support/TeX4ht/source/tex4ht-fonts-noncjk.tex +++ b/support/TeX4ht/source/tex4ht-fonts-noncjk.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-fonts-noncjk.tex 1416 2023-12-05 08:58:07Z michal_h21 $ +% $Id: tex4ht-fonts-noncjk.tex 1427 2023-12-20 22:00:23Z michal_h21 $ % tex tex4ht-fonts-noncjk % or ht tex tex4ht-fonts-noncjk % @@ -50608,134 +50608,134 @@ ifsym 0 124 \<wasy\><<< wasy 0 127 -'∆' '' 0 `<version 0`> -'⊲' '' 1 % wasy.htf `version % -'⊴' '' 2 % Copyright `CopyYear.2002. Eitan M. Gurari % -'⊳' '' 3 `<version 2`> -'⊵' '' 4 `<version 3`> -'∴' '' 5 `<version 4`> -'⌕' '' 6 `<version 5`> -'☎' '' phone 7 `<version 6`> -'✓' '' check mark 8 `<version 7`> -'⇨' '' right white arrow 19 `<version 8`> -'???' '1' bell 10 `<version 9`> -'≤' '' 11 `<version 10`> -'≩' '' 12 `<version 11`> -'≩' '' 13 `<version 12`> -'???' '1' 14 `<version 13`> -'≫' '' 15 `<version 14`> -'◄' '' 16 `<version 15`> -'►' '' 17 `<version 16`> -'ϟ' '' 18 `<version 17`> -'♌' '' 19 `<version 18`> -'???' '1' 20 -'???' '1' 21 -'???' '1' 22 -'♈' '' 23 -'???' '1' 24 -'♀' '' 25 -'♂' '' 26 -'¤' '' 27 -'???' '1' 28 -'∝' '' 29 -'∢' '' 30 -'⌀' '' 31 -'●' '' 32 -'↻' '' 33 -'↺' '' 34 -'◯' '' 35 -'☾' '' 36 -'☽' '' 37 -'♁' '' 38 -'☿' '' 39 -'⧼' '' 40 -'⧽' '' 41 -'???' '1' 42 -'???' '1' 43 -'☺' '' 44 -'☻' '' 45 -'☼' '' 46 -'☹' '' 47 -'℧' '' 48 -'???' '1' 49 -'□' '' 50 -'◇' '' 51 -'⊠' '' 52 -'???' '1' 53 -'✠' '' 54 -'⎔' '' 55 -'???' '1' 56 -'???' '1' 57 -'∼' '' 58 -'↝' '' 59 -'⊏' '' 60 -'⊐' '' 61 -'≲' '' 62 -'≳' '' 63 -'≋' '' 64 -'???' '1' 65 -'???' '1' 66 -'✡' '' 67 -'???' '1' 68 -'???' '1' 69 -'▽' '' 70 -'◖' '' 71 -'◗' '' 72 -'???' '1' 73 -'???' '1' 74 -'▲' '' 75 -'▼' '' 76 -'' '' 77 -'' '' 78 -'' '' 79 -'???' '1' 80 -'???' '1' 81 -'???' '1' 82 -'' '' 83 -'' '' 84 -'???' '1' 85 -'☌' '' 86 -'☍' '' 87 -'♃' '' 88 -'♄' '' 89 -'???' '1' 90 -'???' '1' 91 -'♇' '' 92 -'♉' '' 93 -'♊' '' 94 -'♋' '' 95 -'♍' '' 96 -'♎' '' 97 -'♏' '' 98 -'♐' '' 99 -'???' '1' 100 -'♒' '' 101 -'♓' '' 102 -'¢' '' 103 -'‰' '' 104 -'þ' '' 105 -'Þ' '' 106 -'???' '1' 107 -'ɔ' '' 108 -'???' '1' 109 -'⍐' '' 110 -'⍗' '' 111 -'⍇' '' 112 -'⍈' '' 113 -'∫' '' 114 -'∬' '' 115 -'∭' '' 116 -'∮' '' 117 -'∯' '' 118 -'∫' '' 119 -'∬' '' 120 -'∭' '' 121 -'∮' '' 122 -'∯' '' 123 -'¦' '' 124 -'⍞' '' 125 -'???' '1' 126 -'???' '1' 127 +'△' '' 0 `<version 0`> +'⊲' '' 1 % wasy.htf `version % +'⊴' '' 2 % Copyright `CopyYear.2002. Eitan M. Gurari % +'⊳' '' 3 `<version 2`> +'⊵' '' 4 `<version 3`> +'∴' '' 5 `<version 4`> +'⌕' '' 6 `<version 5`> +'☎' '' 7 `<version 6`> +'✓' '' 8 `<version 7`> +'⇨' '' 9 `<version 8`> +'🔔' '' 10 `<version 9`> +'♪' '' 11 `<version 10`> +'♩' '' 12 `<version 11`> +'𝅗𝅥' '' 13 `<version 12`> +'𝅝' '' 14 `<version 13`> +'♫' '' 15 `<version 14`> +'◄' '' 16 `<version 15`> +'►' '' 17 `<version 16`> +'↯' '' 18 `<version 17`> +'☊' '' 19 `<version 18`> +'☋' '' 20 +'⍉' '' 21 +'⍟' '' 22 +'♈' '' 23 +'⌐' '' 24 +'♀' '' 25 +'♂' '' 26 +'¤' '' 27 +'🕒' '' 28 +'∝' '' 29 +'∢' '' 30 +'⌀' '' 31 +'●' '' 32 +'↻' '' 33 +'↺' '' 34 +'◯' '' 35 +'☾' '' 36 +'☽' '' 37 +'♁' '' 38 +'☿' '' 39 +'⧼' '' 40 +'⧽' '' 41 +'⋏' '' 42 +'⋎' '' 43 +'☺' '' 44 +'☻' '' 45 +'☼' '' 46 +'☹' '' 47 +'℧' '' 48 +'⋈' '' 49 +'□' '' 50 +'◇' '' 51 +'⊠' '' 52 +'⌑' '' 53 +'✠' '' 54 +'⎔' '' 55 +'' '1' 56 +'⬡' '' 57 +'∼' '' 58 +'↝' '' 59 +'⊏' '' 60 +'⊐' '' 61 +'≲' '' 62 +'≳' '' 63 +'≋' '' 64 +'✶' '' 65 +'✶' '' 66 +'✡' '' 67 +'⬠' '' 68 +'★' '' 69 +'▽' '' 70 +'◖' '' 71 +'◗' '' 72 +'' '1' 73 +'' '1' 74 +'▲' '' 75 +'▼' '' 76 +'§' '' 77 +'€' '' 78 +'ʒ' '' 79 +'ɣ' '' 80 +'' '1' 81 +'' '1' 82 +'⌘' '' 83 +'ſ' '' 84 +'ə' '' 85 +'☌' '' 86 +'☍' '' 87 +'♃' '' 88 +'♄' '' 89 +'⛢' '' 90 +'♆' '' 91 +'♇' '' 92 +'♉' '' 93 +'♊' '' 94 +'♋' '' 95 +'♍' '' 96 +'♎' '' 97 +'♏' '' 98 +'♐' '' 99 +'♑' '' 100 +'♒' '' 101 +'♓' '' 102 +'¢' '' 103 +'‰' '' 104 +'þ' '' 105 +'Þ' '' 106 +'ð' '' 107 +'ɔ' '' 108 +'' '1' 109 +'⍐' '' 110 +'⍗' '' 111 +'⍇' '' 112 +'⍈' '' 113 +'∫' '' 114 +'∬' '' 115 +'∭' '' 116 +'∮' '' 117 +'∯' '' 118 +'∫' '' 119 +'∬' '' 120 +'∭' '' 121 +'∮' '' 122 +'∯' '' 123 +'¦' '' 124 +'⍞' '' 125 +'⎕' '' 126 +'⍝' '' 127 wasy 0 127 htfcss: wasyb font-weight: bold; >>> diff --git a/support/TeX4ht/source/tex4ht-ooffice.tex b/support/TeX4ht/source/tex4ht-ooffice.tex index 8db74a7ac6..5952e4534c 100644 --- a/support/TeX4ht/source/tex4ht-ooffice.tex +++ b/support/TeX4ht/source/tex4ht-ooffice.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-ooffice.tex 1405 2023-11-03 10:47:49Z michal_h21 $ +% $Id: tex4ht-ooffice.tex 1426 2023-12-20 10:13:58Z michal_h21 $ % compile 3 times: latex tex4ht-ooffice % htlatex tex4ht-ooffice "xhtml,4,sections+" % @@ -7741,6 +7741,7 @@ It seems that it is a best method how to come with solutions that work in the OD >>> + \<tab-based display equation\><<< \Configure{equation} {\IgnorePar\ifvmode\else \HCode{<!--tex4ht:inline-->}\fi @@ -7876,6 +7877,7 @@ It seems that it is a best method how to come with solutions that work in the OD \<configure ooffice-mml amsmath\><<< +|<alt mathopen for eq|> \:CheckOption{tab-eq}\if:Option |<tab-based ams display equation|> \else @@ -7886,6 +7888,22 @@ It seems that it is a best method how to come with solutions that work in the OD >>> +Current AMSMath uses empty mathopen at the beginning of an equation, +which results in missing markup for subsequent numbers and characters. + +We check for empty parameter, and don't execute configurations when it is empty. + +This is a copy from tex4ht-mathml.tex, because here it is used only in the +htlm-mml.4ht output. + +\<alt mathopen for eq\><<< +\def\eq:mathopen#1{\ifx\relax#1\relax\else\a:mathopen\fi\o:mathopen:{#1}} +>>> + +\<mathopen in equation\><<< +\let\mathopen\eq:mathopen% +>>> + @@ -7896,6 +7914,7 @@ It seems that it is a best method how to come with solutions that work in the OD |<equation start table|>% |<amsmath equation july 2000|>% |<disp math within equation|>% + |<mathopen in equation|>% } {\ifvmode \IgnorePar\fi\EndP |<equation table cells separator|>} {\ifvmode \IgnorePar\fi\EndP |<equation end table|>% @@ -7912,6 +7931,7 @@ It seems that it is a best method how to come with solutions that work in the OD \EndP \HCode{<text:p text:style-name="equ-p-tab"><text:tab/>}% \Tabtrue |<amsmath equation july 2000|>% + |<mathopen in equation|>% \IgnorePar} {\Tabfalse \ifvmode \IgnorePar\fi\EndP \HCode{<text:tab/>}} {\HCode{</text:p>}|<try inline par|>% |