Closed
Description
This is a regression, the document used to work with Metanorma-IETF.
Document:
Relevant snippet:
WHIRLPOOL is a hash function that operates on messages less than stem:[2^{256}]
bits in length, and produces a hash value of 512 bits <<WHIRLPOOL>>.
Error:
[plurimath] Error: Failed to parse the following formula with type `asciimath`.
[plurimath] Please first manually validate the formula.
[plurimath] If this is a bug, please report the formula at our issue tracker at:
[plurimath] https://github.com/plurimath/plurimath/issues
---- FORMULA BEGIN ----
<math xmlns="http://www.w3.org/1998/Math/MathML"> <mstyle displaystyle="false"> <msup> <mn>2</mn> <mn>256</mn> </msup> </mstyle> </math><asciimath>2^{256}</asciimath>
---- FORMULA END ----
~/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/plurimath-0.8.17/lib/plurimath/math.rb:70:in `parse_error!'
~/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/plurimath-0.8.17/lib/plurimath/math/formula.rb:326:in `parse_error!'
~/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/plurimath-0.8.17/lib/plurimath/math/formula.rb:48:in `rescue in to_asciimath'
~/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/plurimath-0.8.17/lib/plurimath/math/formula.rb:44:in `to_asciimath'
~/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/metanorma-ietf-3.4.0/lib/isodoc/ietf/inline.rb:62:in `stem_parse'
~/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/isodoc-2.12.3/lib/isodoc/function/to_word_html.rb:191:in `parse'
~/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/metanorma-ietf-3.4.0/lib/isodoc/ietf/blocks.rb:17:in `block (2 levels) in para_parse'
~/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/nokogiri-1.17.0-arm64-darwin/lib/nokogiri/xml/node_set.rb:237:in `block in each'
~/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/nokogiri-1.17.0-arm64-darwin/lib/nokogiri/xml/node_set.rb:236:in `upto'
~/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/nokogiri-1.17.0-arm64-darwin/lib/nokogiri/xml/node_set.rb:236:in `each'
~/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/metanorma-ietf-3.4.0/lib/isodoc/ietf/blocks.rb:17:in `block in para_parse'
~/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/nokogiri-1.17.0-arm64-darwin/lib/nokogiri/xml/builder.rb:433:in `insert'
~/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/nokogiri-1.17.0-arm64-darwin/lib/nokogiri/xml/builder.rb:415:in `method_missing'
~/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/metanorma-ietf-3.4.0/lib/isodoc/ietf/blocks.rb:12:in `para_parse'
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done
Activity