TrilbyWhite / Slider

PDF presentation tool
GNU General Public License v3.0
54 stars 12 forks source link

Support interleaved slides and notes #18

Closed agdphd closed 10 years ago

agdphd commented 10 years ago

When using the Beamer [notes=show] option, a single PDF is produced which alternates display and note slides. It would be great if Slider could support such files!

agdphd commented 10 years ago

In case anyone else is looking for the same thing, here's a shell script I knocked together as a workaround: https://gist.github.com/againerdewar/7762253

TrilbyWhite commented 10 years ago

Thanks for the suggestion - I'll have to consider the best way to do that.

Honestly the dayjob is going to be very busy for a while, and I just took on a big challenge with one of my other open-source free-time projects, so it may be a few months until I get to look closely at that.

But my first thought was something very similar to your work-around script.

agdphd commented 10 years ago

I totally understand, of course, and the workaround seems to do the job just fine. Thanks for this awesome bit of software!

TrilbyWhite commented 10 years ago

This request has had me thinking about how slider does a few things. This paired with what I've learned working on my other project inspired an idea that would make this very easy to do - and it will have many other benefits including solving some nagging memory management issues in slider.

It will, however, require a rewrite from the ground up. But this will be a good next project after development of alopex (other project) reaches a good resting point. Perhaps late winter / early spring 2014 is a good goal for a full refurbishing of slider.

TrilbyWhite commented 10 years ago

I've just made the first push for the new version code. There have been many changes which have yet to be documented, but this feature has been added to the new version.

Set the Interleaved option in the config file to true to use this. This option will be overridden if two pdfs are provided on the command line (the first is assumed to be the presentation and the second the notes). But if this option is true and one pdf is provided, the odd numbered pages will be used for the presentation while the even are used as notes.

agdphd commented 10 years ago

Awesome! So far, this is working perfectly for me. Thanks so much! One interesting hiccup, which probably doesn't make it to the level of "bug": on my Debian system, the keysym that comes in for PgUp is "Prior", not "Prev". This results in strange behavior with the default configuration, since PgDn works just fine but PgUp fails silently.

TrilbyWhite commented 10 years ago

Oops, that was a typo. It is "Prior" here as well. That'll be pushed with the next update(s). But it is easy to change locally, and it sounds like you managed to figure out the binding without documentation. The key recognized by Xlib is indeed "Prior" but the slider command (at least for now) is "prev".

TrilbyWhite commented 10 years ago

As part of some "issue" housekeeping, I'm going to close this as I believe it is resolved. If I am mistaken please feel free to reopen or open a new bug report.