dannyedel / dspdfviewer

Dual-Screen PDF Viewer for latex-beamer
http://dspdfviewer.danny-edel.de
GNU General Public License v2.0
217 stars 27 forks source link

Remember the current slide on exit #188

Open Chris00 opened 7 years ago

Chris00 commented 7 years ago

Presentations to students usually stop in the middle of a theme to be continued at the next lecture. It would be nice if dspdfviewer remembered the current slide at the time of exit and reopened the PDF at exactly this slide the next time.

dannyedel commented 7 years ago

This sounds like a good idea for a user's point of view, but there may be some issues with implementing this, mainly the question of where to save the 'resume document X on page Y' information.

Do you have any suggestions or specific requirements for your usecase?

For example, would saving this information "somewhere in the homedir" work for you, or does it need to be saved with the presentation document?

Chris00 commented 7 years ago

On 2016-12-07, Danny Edel wrote:

This sounds like a good idea for a user's point of view, but there may be some issues with implementing this, mainly the question of where to save the 'resume document X on page Y' information.

Do you have any suggestions or specific requirements for your usecase?

For example, would saving this information "somewhere in the homedir" work for you, or does it need to be saved with the presentation document?

I think it is better to leave the document unchanged. A good file/directory to save that information is $HOME/.config/dspdfviewer (associated to, say, a hash of the pdf file, or maybe just its full path).

carnage commented 6 years ago

I'd find this quite useful if I ever need to do a live demo part way through a presentation. That way I can exit dspdfviewer move to the demo and then come back afterwards.

I would also suggest a command line flag to disable/enable resume.