Is there a tool (or a chain) that would allow one to input wikitext and output either
* something slidelike (ODP or PDF, suitably formatted) * something that easily converts to something slidelike (e.g., TeX beamer, HTML for Slidy)
Why I ask:
I have several long pages on a governmental MediaWiki that I used as rough drafts for a presentation, which (after favorable review) I'd like to turn into "real slides." Unfortunately the admins of that MW are notoriously savage, so my chances of getting something installed on the wiki instance, e.g. the mw-slidy extension
http://www.mediawiki.org/wiki/Extension:Mw-slidy
, are negligible (though I'll ask). Hence I probably need something that converts offline (i.e., not on a MediaWiki); I seek, e.g., a commandline tool such that I can do something like
$ magic < input.mediawiki > output.pdf
One option is Eclipse Mylyn's WikiText module
http://wiki.eclipse.org/Mylyn/Incubator/WikiText
but that seems rather heavyweight for this task, since I'm not currently using Eclipse for anything else. I'd prefer something like Deplate
http://deplate.sourceforge.net/
but that only inputs the markups={rdoc, viki}, which both seem quite remote from (MediaWiki's) wikitext: i.e., creating a wikitext -> {rdoc, viki} converter seems like more work than writing HTML or TeX by hand.
Am I missing something? Care to recommend a candidate app, or Something Completely Different?
Your suggestions are appreciated, Tom Roche Tom_Roche@pobox.com
On 04/10/2012 09:39 PM, Tom Roche wrote:
Is there a tool (or a chain) that would allow one to input wikitext and output either
- something slidelike (ODP or PDF, suitably formatted)
- something that easily converts to something slidelike (e.g., TeX beamer, HTML for Slidy)
I used pandoc [1] in the past with good results on basic wikitext. It supports S5 HTML slide shows, TeX (including beamer), pdf via pdflatex and even docx/ODT. It does not however support all MediaWiki syntax.
Gabriel
This feature request results from my recent experience generating Slidy using
http://www.mediawiki.org/wiki/Extension:Mw-slidy
Can wikitext be improved to provide more user-friendly support for 'class' attributes? What I mean:
Tom Roche Tue, 10 Apr 2012 15:39:42 -0400
I have several long pages on a governmental MediaWiki that I used as rough drafts for a presentation, which (after favorable review) I'd like to turn into "real slides."
I've been able to do this with mw-slidy after convincing the local admins to install it. It basically works as advertised
https://github.com/dov/mw-slidy/blob/master/README.mediawiki
(with one minor exception
https://github.com/dov/mw-slidy/issues/1
) which is great: just add a tag to my wikitext, et voilĂ ! I can display my wiki content as presentation slides.
There is however another problem that doesn't seem to be within its developer's scope, which is friendlier (i.e., easier to write) wikitext support for incremental and outline display in Slidy, as described at
http://www.w3.org/Talks/Tools/Slidy2/#%289%29 http://www.w3.org/Talks/Tools/Slidy2/#%2810%29
(I'll just discuss incrementality here, since Slidy enables outline display via a similar mechanism.) Incrementalizing blocks of text (including associated lists) is friendly/straightforward: e.g., I can take the original wikitext
Constraint: joint minimization of
- boredom
- confusion
Solution:
- I'll go quickly ...
- ... until you stop me, whether for
** question ** complaint
and display it in 2 parts (the first showing after I hit the spacebar once, etc) with the addition of only a little markup:
<div class="incremental"> ''Constraint:'' joint minimization of * boredom * confusion ''Solution:'' * I'll go quickly ... * ... until you stop me, whether for ** question ** complaint </div>
But if I want to incrementalize an entire list, I've gotta write HTML, e.g.,
<ol class="incremental"> <li>discuss <em>problems</em></li> <li>target <em>etiologies</em></li> <li>float generic <em>solutions</em></li> <li>pitch specific <em>implementations</em></li> <li><em>discuss</em> ...</li> </ol>
Which obviously loses one of the ease-of-authoring advantages of wikitext. I'd much prefer to write something like, e.g.,
<div class="incremental"> # discuss ''problems'' # target ''etiologies'' # float generic ''solutions'' # pitch specific ''implementations'' # ''discuss'' ... </div>
(Note that, when I do this now,
- in the slidy, all list items displays at once (which is bad) + display in the wiki is unaffected (which is good)
) Does wikitext currently provide some facility for easy annotation of lists with properties? If not, could this be provided? (And please let me know if there is another mechanism for feature requesting, e.g., trac, bugzilla.)
TIA, Tom Roche Tom_Roche@pobox.com
On 23/04/12 16:35, Tom Roche wrote:
) Does wikitext currently provide some facility for easy annotation of lists with properties? If not, could this be provided? (And please let me know if there is another mechanism for feature requesting, e.g., trac, bugzilla.)
Hello Tom,
I have long liked the idea of allowing html ol/ul with inner wikitext items. In your case that would allow doing:
<ol class="incremental"> # discuss ''problems'' # target ''etiologies'' # float generic ''solutions'' # pitch specific ''implementations'' # ''discuss'' ... </ol>
Note that you can use italic wikitext markup '' inside <li> without issues. HTML markup can be freely combined with wikitext (consider the results undefined if your mixture doesn't make sense).
We have a bugzilla at https://bugzilla.wikimedia.org/ but I don't think it has been reported before.
Tom Roche 23/04/12 16:35
Does wikitext currently provide some facility for easy annotation of lists with properties? If not, could this be provided?
Platonides Wed, 25 Apr 2012 23:00:23 +0200
I have long liked the idea of allowing html ol/ul with inner wikitext items. In your case that would allow doing:
<ol class="incremental"> # discuss ''problems'' # target ''etiologies'' # float generic ''solutions'' # pitch specific ''implementations'' # ''discuss'' ... </ol>
That's much easier to author than what is currently required, even given
you can use italic wikitext markup '' inside <li>
I didn't know that--thanks! Unfortunately, on the above, the 'class="incremental"' is not being respected, at least on the MW that's provided for my group: the list displays all-at-once. So ...
please let me know if there is another mechanism for feature requesting, e.g., trac, bugzilla.)
We have a bugzilla at https://bugzilla.wikimedia.org/ but I don't think it has been reported before.
I did not see anything that seemed similar in a quick scan of
https://bugzilla.wikimedia.org/buglist.cgi?query_format=specific&order=r...
so I created
https://bugzilla.wikimedia.org/show_bug.cgi?id=36278
using bugzilla product=MediaWiki with component=Parser (hope that's correct).
thanks again, Tom Roche Tom_Roche@pobox.com
wikitext-l@lists.wikimedia.org