4 ms·
Well, as far as I can tell, the URL is fixed in the latest snapshot: ftp://sh.wide.ad.jp/WIDE/free-ware/mgp-snap/mgp-snap-20150831.tar.gz -- but after a bit of
by e12e 11y ago
Well, as far as I can tell, the URL is fixed in the latest snapshot:
ftp://sh.wide.ad.jp/WIDE/free-ware/mgp-snap/mgp-snap-20150831.tar.gz --
but after a bit of fiddling I couldn't get the configure-script to build
with libungif installed under my home-directory...
Looks like the html "template" is embedded in mgp.c, in the
genhtml-function:
496 static void
497 genhtml(start_page)
498 int start_page;
499 {
There's apparently only one reference to "next page" (page +1):
596 if (page < maxpage) {
597 fprintf(html,
598 "<A HREF=mgp%05d.html>[next>]</A> "
599 "<A HREF=mgp%05d.html>[last>>]</A>\n",
600 page + 1, maxpage);
I guess:
596 if (page < maxpage) {
597 fprintf(html,
598 "<A HREF=mgp%05d.html REL='NEXT'>[next>]</A> "
599 "<A HREF=mgp%05d.html>[last>>]</A>\n",
600 page + 1, maxpage);
might do the trick?
Then one could either add a js-shim to navigate based on rel=next, or
use a client with support for that. Or, use a more modern package for
generating slides. That'd be my first choice. Something like pandoc with
S5:
http://pandoc.org/demo/example9/producing-slide-shows-with-pandoc.html http://pandoc.org/demo/example9/producing-slide-shows-with-p...
http://meyerweb.com/eric/tools/s5/s5-intro.html http://meyerweb.com/eric/tools/s5/s5-intro.html
Or (I don't use Emacs, so no idea if this really works) org-s5:
https://github.com/sigma/org-s5 https://github.com/sigma/org-s5
Then again, I suppose there are no perfect tools...
- kuschku 11y agoA js-shim for navigating with [←] and [→] would be definitely nice, after one added the rel=next. And it would degrade nicely, too.