i think Kwiki is great (i hade some trouble using rcs and auth, but it runs fine for my need)

but when i hade to write equation, i miss the latex. Moreover i would have a wiki where only few ppl can edit pages, but en1 can add comments so the authenticated user can delete these comments and modify the page.

i realized that Kwiki is too far from that, an so i started write Woha (yes, i feel it mine :)

I timdly state that the code is... mh... very quick'n'dirty (expecially dirty) but i can fix it. Anyway it works quite good for me.

now the question: do all you monks think woha can be usefull to others? if so, i will release the fixed code on GPL

hoping this is somehow usefull and understandable (i know, my english...)

NB: it's written in perl, obvious :)

PS: i get inspired by latexmath2png.pl

update: i set up a test instance of woha here (login: test, pwd: test)

Replies are listed 'Best First'.
Re: a wiki with comments and LaTeX inline?
by chromatic (Archbishop) on Jan 04, 2004 at 01:30 UTC

    Could you write a Kwiki formatter that handles LaTeX? That's a smaller project that might be easier to complete, especially as most of the rest of a Wiki is rather dull to write. :)

Re: a wiki with comments and LaTeX inline?
by diotalevi (Canon) on Jan 04, 2004 at 01:35 UTC
    Oh well, I guess. Its more likely to be useful to other people if you get your work into Kwiki or whatever other wiki you prefer. I assume you'd add in some sort of LaTeX block and then have that linked to some autogenerated image (I also assume you'd cache it). I wouldn't go to the trouble of maintaining that as a separate package. In the worst case just provide a patch set so people can download the original distribution, apply your patch and get your features. That's a pretty common thing for the UseMod people anyway. See PatchedScripts for an example of how this can work.
      i've putted the woha code available for download
      i had no time to make a Kwiki patch, but.

      the formatter works quite good, but (as in Kwiki), all those regex make things difficult to manage. So i started playing with Parse::RecDescent and, for now, it seems better than regex cascade.

      update: i've removed all those regex and used a P::RD grammar.

Re: a wiki with comments and LaTeX inline?
by valdez (Monsignor) on Jan 04, 2004 at 09:45 UTC

    Ciao oha :) noösphere already does what you need:

    Also important is Noosphere's support of TeX, a document authoring platform used almost universally by the professional and academic communities. LaTeX, a macro package for TeX, is a more content-semantically oriented language, and is the variant of TeX directly supported by Noosphere. The LaTeX support alone is enough of a reason for many groups to use Noosphere.
    It may be simpler to start with something like this.

    update: there is a problem with the link I gave but the source seems still available through CVS; search noosphere planetmath on Google and use the cached copy to read how to download code from their public CVS.

    Ciao, Valerio

Re: a wiki with comments and LaTeX inline?
by oha (Friar) on Jan 04, 2004 at 12:28 UTC
    as i feared, i wasn't able to write :)

    i've already finished a RC1 of woha. you can try it here

    i used Kwiki 0.17, and i patched the Formatter module many times, but i had problems in implementing latex and comments

    so -- for my needs -- i started write-down a new wiki.

    Finished it (it's not a release, but works), i thought someone could need something like and i ask about that. (that i wished to do before)

    Unfortunately the link offered by valdez doesn't work, and google find something but some error about proxy on noowiki website (is it?) make me unable to see it.

    Anyway, if anyone uses a wiki, i humbly suggest to take a look to woha pages, i can give you access to play with it if you wish.

    for the patch to another wiki, i can add some generic code to let anyone use latex in dynamic pages, but is only glue between the cgi and latexmath2png.pl. I'll to that asap, however. (i implemented woha to keep each page in a folder, so images and comments are files who lived togheter in that folder: easily manageable)

    anyway thanks for you comment!

    (i was in doubt if update the root node or comment it, do i do it well so?)