Search this site


Metadata

Articles

Projects

Presentations

XML Presenter now supports printable slides

I haven't updated the codebase available from the xmlpresenter project page in a while, but development still continues on it as I do more presentations.

Today's update was to add printability to the slides. This is done by using the media="print" part of the <link> tag.

<link rel="stylesheet" type="text/css" media="screen,projection" href="presenter.css"/>

<link rel="stylesheet" type="text/css" media="print" href="printview.css"/>
When you print, a different css will be applied than 'presenter.css' - very cool.

Specific changes are:

  • all slides are shown
  • slide titles use a smaller font, and lack borders
  • slides with no titles are not printed
Useful, I suppose, if you want to print out your slides in "outline" form.

Check out the Unix Basics slides and look at it with "print preview" - Unix Basics slides

Note to self, use autoindent instead of cindent.

I use cindent in vim. cindent is very useful. However, it breaks a lot of the time, especially when not in C-style languages (perl, etc). It indents "how I want" 90% of the time, the other 10% it does it incorrectly or when I don't want it to so.

If I can find time tomorrow, I'd like to write a few magic-indentation keybindings so I can easily do certain kinds of indentation the way I want, and only when I want. Most of the time, autoindent is all I need anyway.

I'll post any scripts I come up with here when they're done.