I received some feedback on the ‘Presenting Code’ post from
Presenting Code … An Update
I got lots of feedback on the “Presenting Code” post. In addition to
Cédric Beust’s initial comments, the
following people had something to say on the topic:
John Wilger asked on Twitter why I didn’t use
“file:” (rather than “http:” and a local web server). Unfortunately,
Keynote will not do a web view from a “file:” style URL.
Luke Kanies reports that he does something
similar. He uses Vim (rather than Ruby + the Syntax gem) to generate
the highlighted HTML. He also adds:
In general, this method works out great, but the one thing I
would say is that you should always uncheck “automatic update”.
Otherwise, you’ll find that it tries to update 10 seconds before your
presentation starts and your web server isn’t available.
Ok, that’s good advice. BTW, I would be very interested in a script
(AppleScript or Ruby+OSA) that would iterate over the pages in a
Keynote presentation and refresh all the WebViews. Any takers?