Skip to content

Commit

Permalink
add example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
therealmarv committed Nov 19, 2016
1 parent 9f08e55 commit 0fe4188
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,21 @@ pip install -r requirements.txt
./converter.py --help
```

### Example

```
$ ./converter.py --equation "x^2" --iformat asciimath --oformat mathml
<math xmlns="http://www.w3.org/1998/Math/MathML" alttext="x squared">
<mstyle displaystyle="true">
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
</mstyle>
</math>
```

### Background information

* `xsl_yarosh` by [Vasil Yaroshevich](http://www.raleigh.ru/MathML/mmltex/). Contains XSLT 1 transformation from MathML to LaTeX
Expand Down

0 comments on commit 0fe4188

Please sign in to comment.