b516f468fa
Sent now uses farbfeld[0] as an intermediate format. A series of filters is specified in config.h that matches file extensions to filter programs. The programs will convert between formats such as png to farbfeld. Internally in sent we do not need to worry on how to parse png or any other format. This also works with jpg and gif and others. The 2ff wrapper will use imagemagick conversion tools. This is temporary as jpg2ff and gif2ff will also be implemented. To make this work, you will have to clone[0] and put png2ff and 2ff in your PATH. [0] http://git.2f30.org/farbfeld/
50 lines
1.1 KiB
Markdown
50 lines
1.1 KiB
Markdown
sent is a simple plaintext presentation tool.
|
|
|
|
sent does not need latex, libreoffice or any other fancy file format, it uses
|
|
plaintext files and png images. Every paragraph represents a slide in the
|
|
presentation.
|
|
|
|
The presentation is displayed in a simple X11 window. The content of each slide
|
|
is automatically scaled to fit the window and centered so you also don't have to
|
|
worry about alignment. Instead you can really concentrate on the content.
|
|
|
|
|
|
Demo
|
|
|
|
To get a little demo, just type
|
|
|
|
make && ./sent example
|
|
|
|
You can navigate with the arrow keys and quit with `q`.
|
|
|
|
|
|
Usage
|
|
|
|
sent FILE1 [FILE2 ...]
|
|
|
|
If one FILE equals `-`, stdin will be read. Produce image slides by prepending a
|
|
`@` in front of the filename as a single paragraph. Lines starting with `#` will
|
|
be ignored. A `\` at the beginning of the line escapes `@` and `#`. A
|
|
presentation file could look like this:
|
|
|
|
sent
|
|
|
|
@nyan.png
|
|
|
|
depends on
|
|
- Xlib
|
|
|
|
sent FILENAME
|
|
one slide per paragraph
|
|
# This is a comment and will not be part of the presentation
|
|
\# This and the next line start with backslashes
|
|
|
|
\@FILE.png
|
|
|
|
thanks / questions?
|
|
|
|
|
|
Development
|
|
|
|
sent is developed at http://tools.suckless.org/sent
|