Skip to content

Latest commit

 

History

History
69 lines (49 loc) · 1.6 KB

README.md

File metadata and controls

69 lines (49 loc) · 1.6 KB

ppict-slideshow-template

A simple #lang slideshow program that uses the ppict library.

(The ppict library is a handy way to make normal picts.)

How to Install

  1. Set your PATH environment variable so you can use raco and other Racket command line functions.
  2. either look for from-template in the DrRacket menu File|Package Manager, or run the raco command:
raco pkg install from-template
  1. run this raco command:
raco new ppict-slideshow-template <destination-dir>
# if you omit `<destination-dir>`, the default is `./ppict-slideshow-template`
  1. install the newly-cloned package:
# optional: change the package name in 'info.rkt'
cd <destination-dir>
raco pkg install

How to Use

To make a new slide, start by editing the code at the bottom of the file and then run this command to generate a picture:

make pict

To preview the slideshow, run the following command. (If you are using the same terminal window to edit the show, add an & to the end.)

make preview

To run the show:

make show

To create a PDF copy, run this command and hit "Enter" when a dialog box appears on your screen:

make pdf

Note

The .ss file extension is a pre-Racket way to make a PLT Scheme file. I think it stands for "Scheme script." Because a Slideshow program is similar to a Racket program but not really the same, I like using .ss for "slide show" code.

The PLT Scheme website may say more about the .ss extension: https://www.plt-scheme.org