Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I did a search and looked through the "related questions" section before asking this question.

One of the wonderful things about StackExchange is its "typewriter" like live-preview below the text-edit box. Now, I am a bigtime Tiddlywiki user and as other users might know, combining TW with Bob McElrath's jsmath plugin allows you to use TW as a latex notebook. The only thing that could make this situation better (heavenly, in fact) is if there was a plugin for TW which generated live-preview a la StackExchange. If not, does anyone know if this feature is available in some other Wiki platform?

share|improve this question
1  
You say "a latex notebook". Can you really use full LaTeX format? Or do you actually mean that it renders LaTeX-like maths code? –  Andrew Stacey Nov 23 '11 at 22:17
    
@AndrewStacey AFAIK its only the math part for now. Eventually I'm sure someone will manage to integrate Latex and TW. –  space_cadet Apr 15 '12 at 11:50
add comment

3 Answers

up vote 7 down vote accepted

I am using Guy Rutenberg's LaTeX for TiddlyWiki plugin in conjunction with Eric Shulman's PreviewPlugin (as mentioned previously by Brandon C).

To get these two plug-ins to work together correctly you just need to add one line to the PreviewPlugin code. After installation, and you've confirmed that both plugins are installed and working, edit the PreviewPlugin tiddler and locate the following line in the code (it's at line 60)...

wikify(value.replace(/\r/g,),p);

AFTER that line add this line...

MathJax.Hub.Queue(["Typeset", MathJax.Hub]);

Save the tiddler, save the wiki, and reload. It should now be working. Jump around and shout "Woot!"

share|improve this answer
    
Brilliant! Haven't looked at SE lately so just saw your answer. "Woot" –  space_cadet Apr 15 '12 at 11:47
add comment

There is a live preview plugin for TiddlyWiki http://www.tiddlytools.com/#PreviewPlugin that can be used stand alone in order to provide a nice preview window for TiddlyWiki edits.

Seems to work with JsMath, but I haven't done enough editing with any Tex formulas with it to know if it's 100% bug free.

To install the preview edit your EditorTemplate Tiddler and add the div which contains the preview macro. Check out http://www.tiddlytools.com/#PreviewPluginInfo for instructions.

share|improve this answer
    
Thanks for the PreviewPlugin tip! –  space_cadet Apr 15 '12 at 11:47
add comment

Mediawiki (Wikipedia): http://www.mediawiki.org/wiki/Manual:Enable_TeX

dokuwiki: http://www.dokuwiki.org/plugin:latex

though these two plugins appear to render tex equasions, not a live preview like here on TSX.

share|improve this answer
    
TW already has that capability via the jsmath plugin. I mentioned this in the question. –  space_cadet Jan 4 '11 at 20:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.