Add a description and an example for a presentation.

This commit is contained in:
Christoph Lohmann 2014-01-21 09:31:45 +01:00
parent 6595feb811
commit 21c9fbd191
8 changed files with 82 additions and 0 deletions

22
README.md Normal file
View File

@ -0,0 +1,22 @@
# Pointtools
These tools are scripts and ways to present point files. They are pre
formatted text files presented in catpoint(1). In /bin is a script to
easily convert markdown files to point files.
See the examples/hello directory for how to use it in real life:
% cd catpoint
% make
% cp catpoint $HOME/bin
% cp ../bin/* $HOME/bin
% cd ../examples/hello
% cat hello.md | md2point
% catpoint *.txt
There are not many formatting options for now, but its enough for daily
usage. If you need any graph or formatting, use troff(1) and all the
formatting available there.
Have fun!

View File

@ -1,4 +1,7 @@
#!/bin/sh
#
# See LICENSE for license details.
#
mkfilename() {
printf "%.4d-%s" "$1" "$2" | tr '# :.' '_'

View File

@ -1,4 +1,7 @@
#!/bin/sh
#
# See the LICENSE file for license details.
#
name="slides"
[ $# -gt 0 ] && name="$1"

View File

@ -0,0 +1,7 @@
Intro
=======
This is the Hello World introduction to catpoint.

View File

@ -0,0 +1,7 @@
A new slide
=============
Just show something on this new slide.

View File

@ -0,0 +1,12 @@
Some points
=============
o point
o point
o sub point
o sub point
o sub sub point
o sub point

View File

@ -0,0 +1,7 @@
Ende
======
Thanks for using cattools.

21
examples/hello/hello.md Normal file
View File

@ -0,0 +1,21 @@
## Intro
This is the Hello World introduction to catpoint.
## A new slide
Just show something on this new slide.
## Some points
* point
* point
* sub point
* sub point
* sub sub point
* sub point
## Ende
Thanks for using cattools.