5 Running Slideshow
Running a module that imports slideshow (either directly or transitively) runs a slide presentation. The Slideshow application also runs a presentation, and by default runs with restricted filesystem and network access. (Running Slideshow with no command-line arguments starts a Racket-oriented tutorial.)
5.1 Presentation Key Bindings
When slide is called then first time and a window appears, you can control the presentation using these key bindings:
Alt-q, Meta-q, or Cmd-q | end slide show |
Esc | if confirmed, end show |
Right/Down arrow, Space, f, n, or click | next slide |
Left/Up arrow, Backspace, Delete, or b | previous slide |
g | last slide |
1 | first slide |
s | next slide with a different title/name |
a | previous slide starting different title/name |
Alt-g, Cmd-g, or Meta-g | select a slide |
Alt-p, Cmd-p, or Meta-p | show/hide slide number |
Alt-c, Cmd-c, or Meta-c | show/hide commentary |
Alt-d, Cmd-d, or Meta-d | show/hide preview |
Alt-m, Cmd-m, or Meta-m | show/hide mouse cursor |
Alt-l, Cmd-l, or Meta-l | show/hide ``spotlight'' |
Shift with arrow | move window 1 pixel |
Alt, Meta, or Cmd with arrow | move window 10 pixels |
5.2 Command Line
Whether running the Slideshow executable or a module that imports slideshow, command-line arguments affect the initial configuration and adjust the presentation interface. Run slideshow --help for information on all flags, but here are a few of the most useful:
-x or --export: Exports the slide presentation "‹name›.rhm" as PDF. The output file is named "‹name›.pdf", but a different name can be specified with -o. This flag implies condensed mode like -c or --condense.
-p or --print: Exports by printing, normally involving interactive platform-specific print dialogs.
-D or --pdf: Exports to PDF (without print dialogs).
-o ‹file›: Exports to ‹file› when exporting via -p, --print, -D, or --pdf.
-c or --condense: Enables condensed mode, which skips slides with content that has the #'nonarchival property. See nonarchival.
Note that --widescreen and --fullscreen have no effect, because a slide call’s ~aspect argument defaults to #'widecsreen.
5.3 Startup Configuration
| import: slideshow/config | package: rhombus-slideshow-lib |
The slideshow/config module is imported by slideshow and slideshow/content, so it is transitively imported by a module that uses any of those. When the slideshow/config module is instantiated, it sets current_para_width and adjusts the size of current_font.
To configure defaults differently for your slides, create your own "config.rhm" module that first imports slideshow/config and then adjusts parameters further. As long as your slides consistently import "config.rhm" before other modules, the adjustments in "config.rhm" will take effect consistently.