Wonderful... Thanks.
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Latest posts made by Vijay
-
Customizable HTML template + Mathjax
Hi Ole,
Great work again.
There was a customizable HTML preview template in the earlier version. I write latex equations in my markdown files and then use Mathjax to render them as discussed in this earlier post.
Has the customizable HTML template moved to a new location? I could not find it.
-
RE: First Look at Editorial 1.1
@Ole, Wonderful work...! Thanks a lot.
@sidewinder, @MartinPacker, @stephenll
I can confirm that mathjax is working beautifully.
Choose a custom template in the Editor>Markdown section, and add a link to the mathjax cdn as described here. This, ofcourse, requires a wifi connection.
I got it to work offline as well. I downloaded the mathjax files into my dropbox folder, and trimmed them by removing all the unnecessary files as described here. I only want SVG output and hence followed trimming IV. This time, put
<script type="text/javascript" src="MathJaxFolderName/MathJax.js?config=TeX-AMS-MML_SVG"> </script>
in the template header. And it works!
The offline method assumes that all the markdown files will be in the top-level dropbox directory. It would be nice if one could put in the absolute path to the mathjax folder. One could then have markdown files in subdirectories too. I have not figured out how to do this.
-
RE: First Look at Editorial 1.1
@Ole, I had tried earlier with an existing workflow and had problems with editorial parsing the text before mathjax got hold of it. With a customisable HTML preview template, it might work (hope it does). I will try it out and post back.
Thanks for the wonderful work....eagerly awaiting the update....!
-
RE: First Look at Editorial 1.1
@Ole, Will there be support for equations (via Mathjax)...?
-
RE: First Look at Editorial 1.1
I tried to have a local MathJax folder in my dropbox. And it works after adding the mathjax <script>...</script> element in the markdown file with the link pointing to the local Mathjax folder.
However, markdown seems to be parsing before mathjax gets control. Though a lot of the equations get parsed by mathjax, anything with a superscript is parsed by the markdown parser. Hence some of the equations look ugly.
There might be other elements (in addition to superscript) where parsing fails.
It should be possible to take care of this and also include a <script>...</script> to the local mathjax folder in the template used to render the HTML preview.
Hoping this will appear in version 1.1 (which we are awaiting eagerly)
-
RE: Converting Markdown to RTF/Docx
Since you mentioned pandoc specifically, look at
http://wcm1.web.rice.edu/pandoc-on-ios.html
for an online based method for document conversion.
-
RE: First Look at Editorial 1.1
This is a wonderful and immensely useful app. I have a suggestion/request for the next version.
Could you support displaying equations via Mathjax in the HTML preview? I am aware that there is a workflow for this. But this workflow depends on the Mathjax CDN and hence will not work offline. It should not be difficult to have the minimal Mathjax files right within the app. Since the WebKit browser used in the HTML preview supports SVG output from Mathjax (and SVG output is also faster), the memory requirements to have the Mathjax folders right within Editorial will also be very minimal if SVG output alone is configured.