LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

slideshow

run Racket Slideshow presentations from the command line

TLDR

Open the tutorial / file picker (no arguments)
$ slideshow
copy
Present a .rkt slide program
$ slideshow [path/to/talk.rkt]
copy
Keep the window title bar (windowed, resizable)
$ slideshow --keep-titlebar [path/to/talk.rkt]
copy
Set window width and height in pixels
$ slideshow -s [1024] [768] [path/to/talk.rkt]
copy
Export a PDF
$ slideshow -D -o [talk.pdf] [path/to/talk.rkt]
copy

SYNOPSIS

slideshow [options] [file.rkt]

DESCRIPTION

slideshow is the command-line runner for Racket's Slideshow library: presentations written as programs (`#lang slideshow`) rather than a WYSIWYG deck. Slides are picts assembled in Racket; running the file opens a viewer. With no file, Slideshow offers the built-in tutorial and a way to load a `.rkt` talk.Typical workflow: write slides in a `.rkt` file, preview with slideshow talk.rkt, export with --pdf when you need a handout. Fullscreen vs widescreen aspect is configured in the Slideshow language, not only on the CLI.

PARAMETERS

-s, --size width height

Presentation window size in pixels.
--keep-titlebar
Show a title bar and resize border instead of a borderless/fullscreen-style window.
-D, --pdf
Render slides to PDF (use with -o).
-o file
Output path for PDF export.

INSTALL

sudo apt install racket
copy
sudo dnf install racket
copy
sudo pacman -S racket
copy
sudo zypper install racket
copy
brew install racket
copy
nix profile install nixpkgs#racket
copy

CAVEATS

Requires a Racket install with the slideshow package (`slideshow-lib`). This is not a generic image slideshow (that is often feh, mpv, or a desktop app). PDF export needs a writable -o path.

HISTORY

Slideshow was created by Matthew Flatt and Robert Bruce Findler as a functional alternative to PowerPoint/Beamer. Distributed with Racket.

SEE ALSO

racket(1), raco(1)

RESOURCES

Copied to clipboard
Kai