| 1 |
# pdfpc |
| 2 |
|
| 3 |
This LaTeX package provides a convenient way to specify notes and to define |
| 4 |
certain meta properties of the presentation when used with [PDF Presenter |
| 5 |
Console (`pdfpc`)](https://pdfpc.github.io), a GPLv3+ licensed multi-monitor PDF |
| 6 |
presentation viewer application available on GitHub. |
| 7 |
|
| 8 |
|
| 9 |
## Dependencies |
| 10 |
|
| 11 |
The `pdfpc` package depends on these other packages: |
| 12 |
[`kvoptions`](https://ctan.org/pkg/kvoptions), |
| 13 |
[`xstring`](https://ctan.org/pkg/xstring), |
| 14 |
[`iftex`](https://ctan.org/pkg/iftex), |
| 15 |
[`hyperxmp`](https://ctan.org/pkg/hyperxmp) |
| 16 |
|
| 17 |
When using LuaTeX, it additionally depends on these packages: |
| 18 |
[`stringenc`](https://ctan.org/pkg/stringenc), |
| 19 |
[`pdftexcmds`](https://ctan.org/pkg/pdftexcmds) |
| 20 |
|
| 21 |
|
| 22 |
## Usage |
| 23 |
|
| 24 |
The [PDF Presenter Console](https://pdfpc.github.io) program accepts a variety |
| 25 |
of configuration options when started from the command line. (See the *pdfpc(1)* |
| 26 |
manual page for details.) |
| 27 |
|
| 28 |
This package allows certain details, such as presentation duration, default |
| 29 |
slide transitions, and speaker notes, to be specified within the metadata of the |
| 30 |
PDF itself, instead of via the command line. These settings are parsed by the |
| 31 |
PDF Presenter Console when the presentation is loaded. |
| 32 |
|
| 33 |
These parameters can be specified as package options, or via the `\pdfpcsetup` command. |
| 34 |
|
| 35 |
The following is a simple LaTeX document demonstrating a few example features: |
| 36 |
|
| 37 |
```latex |
| 38 |
\documentclass{beamer} |
| 39 |
\usepackage[overridenote]{pdfpc} |
| 40 |
% "overridenote" must be specified as a package option |
| 41 |
\pdfpcsetup{ |
| 42 |
% Other settings can be package options, or can go here |
| 43 |
duration=5, |
| 44 |
lastminutes=2, |
| 45 |
} |
| 46 |
|
| 47 |
% The usual Beamer document setup |
| 48 |
\title{\texttt{pdfpc} Example Presentation} |
| 49 |
\author{\texttt{pdfpc} Contributors} |
| 50 |
\institute{GitHub} |
| 51 |
\date{\today} |
| 52 |
|
| 53 |
\begin{document} |
| 54 |
\maketitle |
| 55 |
|
| 56 |
\begin{frame} |
| 57 |
Hello PDFPC World! |
| 58 |
% Because of "overridenote", this uses the pdfpc note command |
| 59 |
\note{This speaker note will be shown by `pdfpc`, but hidden for the audience.} |
| 60 |
\pause |
| 61 |
Notice that the timer starts counting down from 5 minutes, just as we specified in the preamble! |
| 62 |
\end{frame} |
| 63 |
|
| 64 |
\end{document} |
| 65 |
``` |
| 66 |
|
| 67 |
|
| 68 |
## Documentation |
| 69 |
|
| 70 |
Complete |
| 71 |
[documentation](http://mirrors.ctan.org/macros/latex/contrib/pdfpc/pdfpc-doc.pdf) |
| 72 |
for the current version of `pdfpc` is availble on [its CTAN |
| 73 |
page](https://ctan.org/pkg/pdfpc). |