slides

command module
v0.0.0-...-f541042 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2022 License: CC0-1.0 Imports: 10 Imported by: 0

README

Slides

slides is a simple program to create postscript slides from simple text files. slides is written in Go, and requires a Go compiler (and no more) to be built using the default build mechanism.

Send patches, ideas, questions or insults to my public inbox.

Slides Format

Each slide is described by a series of consequtive, non-empty, lines. Lines starting with # are comments, and will be ignored, while lines with // are escaped lines, which will be printed verbatim. Each line is displayed as such, and will not be reflowed.

Comments are either just text or "command comments", designated with an extra + after the #. These can be used to set fonts or text sizes. All commands are listed and explained in this introductory article to slides.

Usage

slides either reads it's file from standard input, or the first command line argument, if given. A postscript definition of all slides is then printed to the standard output.

Asuming my-talk.sl contains the contents of a presentation, which one would like to convert to a PostScript file, one can run

$ slides my-talk.sl > my-talk.ps

or if one wants a PDF version of the same slides, then

$ slides my-talk.sl | ps2pdf - my-talk.pdf

to generate these. This of course requires the ps2pdf programm to be installed, from the GhostScript package.

slides is published under CC0. See LICENSE for more details

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL