Skip to content

Commit d765028

Browse files
author
Øyvind Kolås
committed
pinpoint: improve documentation
Also claim the extension .pin for pinpoint presentations.
1 parent 8ba5784 commit d765028

File tree

6 files changed

+151
-148
lines changed

6 files changed

+151
-148
lines changed

pinpoint/bowls.jpg

282 KB
Loading

pinpoint/introduction.pin

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
#!/usr/bin/env pinpoint
2+
[font=Sans 50px]
3+
[bg.jpg]
4+
5+
- The bits above this point are defaults for every slide in the presentation
6+
Welcome to pinpoint
7+
8+
- [bowls.jpg] lines starting with - are slide seperators. This is where you can override the defaults with with per-slide properties
9+
A tool for making excellent presentations
10+
11+
-
12+
It has a simple text source
13+
14+
- [font=monospace 18px] [shading-opacity=1.0]
15+
The current presentation thus far:
16+
#!/usr/bin/env pinpoint
17+
[font=Droid Sans 50px]
18+
[bg.jpg]
19+
20+
- The bits above this point are defaults for every slide in the presentation
21+
Welcome to pinpoint
22+
23+
- [bowls.jpg] lines starting with - are slide seperators..
24+
A tool for making excellent presentations
25+
26+
-
27+
28+
It has a simple text source
29+
30+
- [font=monospace 18px] [shading-opacity=1.0]
31+
32+
The current presentation thus far:
33+
- [text-align=center]
34+
You start by writing down the core concepts that you will be talking about. Then sort and format
35+
them as a pinpoint presentation in a text editor of your choice.
36+
37+
If this was a presentation given as a demonstration of pinpoint you would now be trying to read
38+
this slide as well as pay attention to what is said. Less than ideal.
39+
40+
Pinpoint reloads the presentation when it changes on disk, very useful when you're tuning things
41+
so keep both pinpoint and your text editor open. And remember, the less text you have, the happier
42+
your audience will be ;-)
43+
44+
45+
- You can add '\n' before and after the slide text to keep the file tidy and slides seperated
46+
Let's use some of the more
47+
esoteric features of pinpoint
48+
49+
- [bowls.jpg] [text-align=center]
50+
\- [filename.jpg]
51+
set a custom background for an individual slide
52+
53+
- [bunny.ogg] [fill]
54+
You can put <b>anything</b> in the background
55+
56+
- [linus.jpg] [fill] [bottom-left]
57+
But, slides with cat pictures are best
58+
59+
-[top-right] [text-align=right]
60+
position text in the
61+
[top-right]
62+
63+
- [right]
64+
[right]
65+
66+
- [bottom-right]
67+
[bottom-right]
68+
69+
- [bottom]
70+
[bottom]
71+
72+
- [bottom-left]
73+
[bottom-left]
74+
75+
- [left]
76+
[left]
77+
78+
- [top-left]
79+
[top-left]
80+
81+
- [top]
82+
[top]
83+
84+
- [center] [text-align=center]
85+
and even in the
86+
[center]
87+
(which is the default)
88+
89+
- [font=Monospace 100px][white][text-color=black][shading-opacity=0.0][bottom]
90+
Make text big!
91+
[font=Monospace 100px]
92+
[white][text-color=black]
93+
[shading-opacity=0.0][bottom]
94+
95+
-
96+
<s>use</s> <b>pango</b> <i
97+
><span foreground='#f24'>m<u
98+
>ar</u>k<sup>up</sup></span></i> for style
99+
100+
- [no-markup]
101+
[no-markup]
102+
<s>don't use</s> <b>pango</b> <i
103+
><span foreground='#f24'>m<u
104+
>ar</u>k<sup>up</sup></span></i>
105+
106+
- [transition=page-curl-both][bowls.jpg]
107+
need bullets?
108+
❥ use the power of unicode
109+
• ✽ ✩ ✔ ☃ ◦
110+
111+
- [transition=text-slide-up]
112+
$ pinpoint presentation.txt -o output.pdf
113+
Export to PDF. Handy.
114+
115+
- [fill]
116+
[fill]
117+
Fill the slide with your background
118+
(the default is [fit])
119+
120+
- [transition=swing]
121+
Keybindings:
122+
123+
- [transition=sheet]
124+
right, down or space - next slide
125+
126+
- [transition=slide-left]
127+
left or up - previous slide
128+
129+
- [transition=slide-up]
130+
F11 - toggle fullscreen
131+
132+
- [transition=text-slide-down]
133+
Escape - quit pinpoint
134+
135+
- [transition=slide-in-left] [command=killall xeyes ; xeyes] [fill]
136+
Enter - Run command
137+
Tab - Edit command
138+
[command=killall xeyes ; xeyes]
139+
140+
N.B. run pinpoint with the -m option
141+
and hidden or auto-hiding panels, to
142+
allow window management in fullscreen.
143+
144+
- [linus.jpg] [fill] [bottom-right]
145+
That's pretty much everything.
146+
Told you it was simple.
147+
148+
- [black] [font=Sans 100px] [transition=spin-text]
149+
FIN

pinpoint/linus.jpg

239 KB
Loading

pinpoint/pp-clutter.c

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ key_pressed (ClutterActor *actor,
532532
{
533533
case CLUTTER_Left:
534534
case CLUTTER_Up:
535-
if (pp_slidep && pp_slidep->prev)
535+
if (pp_slidep && pp_slidep->prev)
536536
{
537537
leave_slide (renderer, TRUE);
538538
pp_slidep = pp_slidep->prev;
@@ -551,15 +551,8 @@ key_pressed (ClutterActor *actor,
551551
case CLUTTER_Right:
552552
case CLUTTER_space:
553553
case CLUTTER_Next:
554-
if (pp_slidep && pp_slidep->next)
555-
{
556-
leave_slide (renderer, FALSE);
557-
pp_slidep = pp_slidep->next;
558-
show_slide (renderer, FALSE);
559-
}
560-
break;
561554
case CLUTTER_Down:
562-
if (pp_slidep && pp_slidep->next)
555+
if (pp_slidep && pp_slidep->next)
563556
{
564557
leave_slide (renderer, FALSE);
565558
pp_slidep = pp_slidep->next;

pinpoint/sample.txt

Lines changed: 0 additions & 139 deletions
This file was deleted.

pinpoint/wth.jpg

-106 KB
Binary file not shown.

0 commit comments

Comments
 (0)