Skip Menu |

This queue is for tickets about the Text-ASCIIMathML CPAN distribution.

Report information
The Basics
Id: 103989
Status: new
Priority: 0/
Queue: Text-ASCIIMathML

People
Owner: Nobody in particular
Requestors: DALEEVANS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Documentation error for usage of "displaystyle" (patch attached)
The documentation uses incorrect arguments for "displaystyle". --- a/lib/Text/ASCIIMathML.pm +++ b/lib/Text/ASCIIMathML.pm @@ -16,11 +16,11 @@ Text::ASCIIMathML - Perl extension for parsing ASCIIMathML text into MathML $ASCIIMathML = "int_0^1 e^x dx"; $mathML = $parser->TextToMathML($ASCIIMathML); $mathML = $parser->TextToMathML($ASCIIMathML, [title=>$ASCIIMathML]); - $mathML = $parser->TextToMathML($ASCIIMathML, undef, [displaystyle=>1]); + $mathML = $parser->TextToMathML($ASCIIMathML, undef, [displaystyle=>"true"]); $mathMLTree = $parser->TextToMathMLTree($ASCIIMathML); $mathMLTree = $parser->TextToMathMLTree($ASCIIMathML, [title=>$ASCIIMathML]); - $mathMLTree = $parser->TextToMathMLTree($ASCIIMathML,undef,[displaystyle=>1]); + $mathMLTree = $parser->TextToMathMLTree($ASCIIMathML,undef,[displaystyle=>"true"]); $mathML = $mathMLTree->text(); $latex = $mathMLTree->latex();