plurimath 0.8.9 → 0.8.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/plurimath/math/function/log.rb +6 -1
- data/lib/plurimath/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 896215930a897878dac674f1be1092b3c6e8f330e20ffe218421b01e0aa98cbc
|
4
|
+
data.tar.gz: ad8d176647c84540c11f8ed736e5e816ec88cf65d029b605cf280e326ea7c91a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2414d5501af2bd824d56e0557132ec650eb3bddfa44180e6d2561ae11f976d2c0edffc90bc00d9d442e41b31d5c2c900c9f5e16fad770b2717810ea79f2470aa
|
7
|
+
data.tar.gz: 124779151cac821ea29ed9d3cd12f61bd41efb1273e9912cb92377e7ee4d4854ca91906838c8cedd540f76fc8a5c9b17256651bd933bffe582ee026cc6609c8b
|
@@ -52,12 +52,17 @@ module Plurimath
|
|
52
52
|
first_value = ox_element("mi")
|
53
53
|
first_value << "log" unless hide_function_name
|
54
54
|
if parameter_one || parameter_two
|
55
|
+
tag_name = if parameter_two && parameter_one
|
56
|
+
"subsup"
|
57
|
+
else
|
58
|
+
parameter_one ? "sub" : "sup"
|
59
|
+
end
|
55
60
|
new_arr = [
|
56
61
|
first_value,
|
57
62
|
validate_mathml_fields(parameter_one),
|
58
63
|
validate_mathml_fields(parameter_two),
|
59
64
|
]
|
60
|
-
Utility.update_nodes(ox_element("
|
65
|
+
Utility.update_nodes(ox_element("m#{tag_name}"), new_arr)
|
61
66
|
else
|
62
67
|
first_value
|
63
68
|
end
|
data/lib/plurimath/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plurimath
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: twitter_cldr
|