On Apr 10, 2006, at 1:24 PM, Dr. Drang wrote:
TeXdown looks interesting, but it has two characteristics that I want to avoid:
- It creates HTML only.
- It uses uses image files for the equations, which do not scale.
MultiMarkdown eliminates the first by allowing an XSLT transformation to LaTeX (MultiMarkdown.pl doesn't do this, but the MultiMarkdown system does). My additions to MultiMarkdown create <math> tags that can be processed in one of two ways:
- Into LaTeX through the XSL files.
- Into reasonably good-looking web pages through [jsMath][1].
I agree that the output of jsMath is amazing, and I like it better than the inserted image. Getting all the javascript bits in the right place is the only catch I guess.
To stay with the Multimarkdown philosophy of converting to xhtml and then using style sheets to go to other formats it seems that a script in the same vein as TeXdown would be pretty simple. 1. Detect that we are doing math either through $$ or `% or whatever mechanism. 2. wrap the math in a <math> tag 3. Write xsl transformations. For html + jsMath: insert all the <script> tags at the beginning of the template and Just keep the <math> tag around the math for LaTeX: you just get rid of the <math> tag and insert the math with $ around it. for direct to pdf, I don't think the current solution of htmldoc works. for rtf I have no idea....
Brad
-- Dr. Drang
On Apr 10, 2006, at 9:52 AM, Mark Eli Kalderon wrote:
Thanks, Dr. Drang. Look forward to your blog entry. BTW have you seen TeXdown http://wwwth.mppmu.mpg.de/members/jgrosse/texdown/ TeXdown-Readme.html ? It is a markdown preprocessor that adds just that functionality.
All the best, Mark
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate