2014-06-23 00:18:28 +02:00
|
|
|
sent
|
|
|
|
====
|
|
|
|
|
2014-06-23 00:53:45 +02:00
|
|
|
A simple plaintext presentation tool.
|
|
|
|
|
|
|
|
sent does not need latex, libreoffice or any other fancy file format, it uses
|
2014-06-29 23:48:49 +02:00
|
|
|
plaintext files and png images. Every line represents a slide in the
|
|
|
|
presentation. This may limit the use, but for presentations using the [Takahashi
|
2014-06-23 11:54:02 +02:00
|
|
|
method](https://en.wikipedia.org/wiki/Takahashi_method) this is very nice and
|
|
|
|
allows you to write down the presentation for a quick lightning talk within a
|
|
|
|
few minutes.
|
2014-06-23 00:53:45 +02:00
|
|
|
|
|
|
|
The presentation is displayed in a simple X11 window colored black on white for
|
|
|
|
maximum contrast even if the sun shines directly onto the projected image. The
|
|
|
|
content of each slide is automatically scaled to fit the window so you don't
|
|
|
|
have to worry about alignment. Instead you can really concentrate on the
|
|
|
|
content.
|
|
|
|
|
2014-06-23 11:31:17 +02:00
|
|
|
Demo
|
|
|
|
----
|
|
|
|
|
|
|
|
To get a little demo, just type
|
|
|
|
|
|
|
|
make && ./sent example
|
|
|
|
|
2014-06-23 21:41:38 +02:00
|
|
|
You can navigate with the arrow keys and quit with `q`. If you get
|
|
|
|
|
|
|
|
sent: could not find a scalable font matching -*-dejavu sans condensed-bold-r-*-*-0-0-*-*-*-0-*-*
|
|
|
|
|
|
|
|
you should add the dejavu fonts dir (customize path to fit your distribution)
|
|
|
|
with:
|
|
|
|
|
|
|
|
xset fp+ /usr/share/fonts/dejavu
|
2014-06-23 11:31:17 +02:00
|
|
|
|
2014-06-23 11:57:19 +02:00
|
|
|
Configuration
|
|
|
|
-------------
|
|
|
|
|
|
|
|
Edit config.h to fit your needs. The font has to be in the X servers font path,
|
|
|
|
see `man xset` for how to add it.
|
|
|
|
|
2014-06-23 00:53:45 +02:00
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
|
|
|
sent [-f FONTSTRING] FILE1 [FILE2 ...]
|
|
|
|
|
2014-06-29 23:48:49 +02:00
|
|
|
If one FILE equals `-`, stdin will be read. Use png images by prepending a `@`
|
2015-01-19 18:39:04 +01:00
|
|
|
before the filename. Lines starting with `#` will be ignored. A presentation
|
|
|
|
file could look like this:
|
2014-06-23 00:53:45 +02:00
|
|
|
|
|
|
|
sent
|
|
|
|
why?
|
2014-06-29 23:48:49 +02:00
|
|
|
@nyan.png
|
2014-06-23 00:53:45 +02:00
|
|
|
easy to use
|
2014-06-29 23:48:49 +02:00
|
|
|
depends on Xlib, libpng
|
2014-06-23 00:53:45 +02:00
|
|
|
no bloat
|
|
|
|
how?
|
|
|
|
sent FILENAME
|
2014-06-23 14:30:46 +02:00
|
|
|
one slide per line
|
2015-01-19 18:39:04 +01:00
|
|
|
# This is a comment and will not be part of the presentation
|
|
|
|
# The next line starts with a whitespace, it will not produce an image slide
|
|
|
|
@FILE.png
|
2014-06-23 00:53:45 +02:00
|
|
|
thanks / questions?
|
|
|
|
|
|
|
|
future features
|
|
|
|
---------------
|
|
|
|
|
2015-03-03 19:40:07 +01:00
|
|
|
* utf8 support (via Xft)
|
2014-06-23 00:53:45 +02:00
|
|
|
* multiple lines per slide?
|
2015-03-03 19:40:07 +01:00
|
|
|
* light colored background and table of contents
|
|
|
|
* second window for speakers laptop (progress, time, notes?)
|
2014-06-23 00:53:45 +02:00
|
|
|
* markdown?
|