-
Notifications
You must be signed in to change notification settings - Fork 0
/
scpp.1
112 lines (112 loc) · 2.3 KB
/
scpp.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
.TH SCPP 1
.SH NAME
scpp \- Simple C powerpoint
.SH SYNOPSIS
.R scpp
.RB [ \-fvh ]
.RB [ \-s
.IR SLIDE ]
.I FILE
.SH DESCRIPTION
.B scpp
is a simple text presentation program written in C, that uses a markdown-like syntax
.PP
.SH OPTIONS
.TP
.BI \-s " slide"
opens presentation at the indicated slide. If the number is higher than the total amount,
then it begans at the last one;
if the number is negative, then it begans at the slide from backwards, for instance
.BR \-s " \-1"
opens the presentation at the last slide. If the negative one is too low, it starts at the first.
.TP
.BI \-f
opens presentation at the last slide, synonim for \-s \-1
.TP
.B \-v
prints version information to stdout, then exits.
.TP
.B \-h
prints simple help information to stderr, then exits.
.SH USAGE
The program uses only the keyboard and has vim-like commands.
.TP
.BR h " | " p " | " backspace
Go to previous slide
.TP
.BR l " | " n " | " space " | " enter
Go to next slide
.TP
.B H
Go to previous slide group (see
.I WRITING A PRESENTATION
for info)
.TP
.B L
Go to next slide group
.TP
.BR g
Go to first slide
.TP
.BR G
Go to last slide
.TP
.BR q " | " Q
Quits the program
.P
It also reads the command:
.TP
.IB "num " KEY
Has the same effect as pressing
.B KEY
.I num
times. With
.B g
or
.B G
it goes to the
.I num
slide.
.SH WRITTING A PRESENTATION
On the first slide is recommended to use:
.TP
.BR \-\-title: " ..."
To set the title, this is printed centered bold and is used in the statusbar.
If no title is set, it uses the filename
.TP
.BR \-\-subtitle: " ..."
This is printed centered in italics.
.TP
.BR \-\-author: " ..."
.TP
.BR \-\-date: " ..."
This ones are just printed centered.
.P
This ones are general:
.TP
.BR \-\-bcenter: " ..."
Prints bold centered text
.TP
.BR \-\-icenter: " ..."
Prints italic centered text
.TP
.BR \-\-center: " ..."
Prints normal centered text
.P
It also reads markdown typsetting:
.P
.nf
.
# Slide title
## Slide subtitle
Normal text, but *this one is in italics* and __this one in boldface__.
You can scape characters with \\\\, as \\* and \\_.
.
.fi
.P
It is important to know that the slide title and subtitle must use the first two lines of a slide.
.P
Finally you can split a slide into multiple parts of the same
.I group
with just \'\-\-\'
or create a new one entirely with \'\-\-newpage\', which also creates a new group.