Tom Roche | 10 Apr 2012 21:39
Picon
Favicon

offline export of wikitext to slide-like presentation format?


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
(Continue reading)

Gabriel Wicke | 10 Apr 2012 21:56
Favicon

Re: offline export of wikitext to slide-like presentation format?

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

[1]: http://johnmacfarlane.net/pandoc/
Tom Roche | 23 Apr 2012 16:35
Picon
Favicon

easing use of 'class' with markup? e.g., for Slidy


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
(Continue reading)

Platonides | 25 Apr 2012 23:00
Picon

Re: easing use of 'class' with markup? e.g., for Slidy

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 | 26 Apr 2012 19:54
Picon
Favicon

Re: easing use of 'class' with markup? e.g., for Slidy


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
(Continue reading)

Tom Roche | 12 Apr 2012 21:36
Picon
Favicon

mw-slidy tips/traps?


Tom Roche Tue, 10 Apr 2012 15:39:42 -0400
> I have several long pages on a governmental MediaWiki that [...] 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).

I asked, and they said they would "put this extension through our
security review." Is there anything they should be told about
installing or configuring mw-slidy?

TIA, Tom Roche <Tom_Roche <at> pobox.com>
Tom Roche | 24 Apr 2012 00:16
Picon
Favicon

Re: mw-slidy tips/traps?


Tom Roche Thu, 12 Apr 2012 15:36:35 -0400
> Is there anything [one should know] about installing or configuring

http://www.mediawiki.org/wiki/Extension:Mw-slidy

Our admins installed it, and I've been using it for a few days.
So far mw-slidy 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

and a slightly larger caveat, about which I've made a feature request

http://lists.wikimedia.org/pipermail/wikitext-l/2012-April/000694.html

) which is great! Just add a tag to one's wikitext, et voilĂ ! one can
display one's wiki content as presentation slides.

HTH, Tom Roche <Tom_Roche <at> pobox.com>

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Gmane