aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore17
-rw-r--r--appcache.js1
-rw-r--r--index.html1
-rw-r--r--sample/demo.md130
-rw-r--r--sample/demo.pdfbin71612 -> 175697 bytes
5 files changed, 149 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b0cbfc3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,17 @@
1# Pointless Viewer, a web-based Beamer presentation viewer
2# Copyright (C) 2018 Pacien TRAN-GIRARD
3#
4# This program is free software: you can redistribute it and/or modify
5# it under the terms of the GNU Affero General Public License as
6# published by the Free Software Foundation, either version 3 of the
7# License, or (at your option) any later version.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU Affero General Public License for more details.
13#
14# You should have received a copy of the GNU Affero General Public License
15# along with this program. If not, see <https://www.gnu.org/licenses/>.
16
17*.sty
diff --git a/appcache.js b/appcache.js
index 2e71164..e4b9bd5 100644
--- a/appcache.js
+++ b/appcache.js
@@ -27,6 +27,7 @@ class AppCache {
27 "popup.html", 27 "popup.html",
28 "appcache.js", 28 "appcache.js",
29 "favicon.ico", 29 "favicon.ico",
30 "sample/demo.pdf",
30 31
31 "pointless/pdfjs/pdf.js", 32 "pointless/pdfjs/pdf.js",
32 "pointless/pdfjs/pdf.worker.js", 33 "pointless/pdfjs/pdf.worker.js",
diff --git a/index.html b/index.html
index 72ea974..ce02062 100644
--- a/index.html
+++ b/index.html
@@ -74,6 +74,7 @@
74 <li><a href="https://github.com/pacien/pointless-viewer/issues">Bug tracker</a></li> 74 <li><a href="https://github.com/pacien/pointless-viewer/issues">Bug tracker</a></li>
75 <li><a href="https://cgit.pacien.net/public/apps/pointless-viewer/">Source repository</a></li> 75 <li><a href="https://cgit.pacien.net/public/apps/pointless-viewer/">Source repository</a></li>
76 <li><a href="https://mozilla.github.io/pdf.js/">Powered by PDF.js</a></li> 76 <li><a href="https://mozilla.github.io/pdf.js/">Powered by PDF.js</a></li>
77 <li><a href="?file=sample/demo.pdf">Demo</a></li>
77 </ul> 78 </ul>
78 </div> 79 </div>
79 </div> 80 </div>
diff --git a/sample/demo.md b/sample/demo.md
new file mode 100644
index 0000000..bb52a99
--- /dev/null
+++ b/sample/demo.md
@@ -0,0 +1,130 @@
1---
2title: Pointless Viewer demonstration
3author: Pacien TRAN-GIRARD (CC BY-NC-SA)
4date: August 24, 2018
5
6theme: metropolis
7header-includes: |
8 \usepackage{pgfpages}
9 \setbeameroption{show notes on second screen}
10---
11
12# What is Pointless Viewer?
13
14* A Beamer presentation viewer
15
16* that runs in a web browser
17
18* and displays speaker notes alongside the slides
19
20
21::: notes
22* A presentation viewer for Beamer
23
24* that runs in _fairly recent_ web browsers
25
26* and keeps speaker notes in sync with the slides
27:::
28
29
30# Pointless Viewer is web-based
31
32* No installation is required
33
34* It can be used on a provided computer
35
36* It is offline capable
37
38
39::: notes
40* No installation required: just visit the website and load a presentation
41* -> If your presentation room has a desktop computer with a web browser, you can use it! No need to setup your laptop.
42
43
44Offline capability:
45
46* The presentation is rendered locally, it's not sent to the server.
47* The app remains in the browser's cache and can be used offline, so you can bring your laptop and do presentations in places with no Internet connection, or avoid the hassle of asking for the WiFi passphrase
48:::
49
50
51# Slides and speaker notes
52
53* Slides and speaker notes are opened in two separate windows
54
55* One for the speaker's screen, the other to be projected
56
57* Both are kept in sync automatically
58
59
60::: notes
61* Takes a double-width presentation PDF as input, with slides on the left and speaker notes on the right, and splits it into two separate windows.
62
63* One for the speaker's screen, the other to be projected for the audience: simply move those windows around and press the `F11` key to enter fullscreen mode
64
65* Both are kept in sync: use the keyboard arrows or swipe gestures on either one of the windows, the other will follow automatically
66:::
67
68
69# Beamer with notes in \LaTeX
70
71
72```{.latex .numberLines}
73\documentclass{beamer}
74\usepackage{pgfpages}
75\setbeameroption{show notes on second screen}
76
77\begin{document}
78 \begin{frame}{Slide title}
79 Slide content
80 \end{frame}
81 \note{Some notes}
82\end{document}
83```
84
85::: notes
86Here's how to make a Beamer presentation with notes in classic LaTeX.
87
88* `show notes on second screen` is set at line 3
89
90* notes for the sldie are added at line 9
91:::
92
93
94# Beamer with notes in Pandoc Markdown
95
96```{.markdown .numberLines}
97---
98header-includes: |
99 \usepackage{pgfpages}
100 \setbeameroption{show notes on second screen}
101---
102
103# Slide title
104
105Slide content
106
107::: notes
108Some notes
109:::
110```
111
112::: notes
113Here's how to do the same using Markdown and Pandoc.
114
115* the Beamer note option is set in `header-includes`
116
117* notes are added to the slide at line 11-13
118:::
119
120
121
122# {.standout}
123
124This was a demo of Pointless Viewer
125
126::: notes
127* Please submit issues on the bug tracker if you encounter any!
128
129* Code contributions are welcome!
130:::
diff --git a/sample/demo.pdf b/sample/demo.pdf
index f2175d5..cb347c6 100644
--- a/sample/demo.pdf
+++ b/sample/demo.pdf
Binary files differ