Editing CommunityData:Beamer

From CommunityData
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
== Getting basic templates ==


First step is to download the basic templates from [http://projects.mako.cc/source/?p=beamer-mako the git repository]:
First step is to download the basic templates from [http://projects.mako.cc/source/?p=beamer-mako the git repository]:


  git clone git://projects.mako.cc/beamer-mako
  git clone git://projects.mako.cc/beamer-mako
The path of least resistance will be to clone the repository so that is located as a subdirectory of <code>~/tex/</code>.
Next, copy or create symlinks so that the following three files are in your path (e.g., in <code>~/bin/</code> if that's in your path):
* <code>new_beamer_presentation</code>
Once you have done this, you can use the script to create new presentations like:
new_beamer presentation foo-20150920
This will create a new subdirectory called <code>foo-20150920</code> with a file called <code>foo-20150920.tex</code> inside.
== Modify/Customize Templates ==
At the very least, you will need to modify the lines that start with <code>\title</code>, <code>\author</code>, and <code>\institute</code>. Please don't push back changes or patches that include modifications to these lines.
== Building Slides and Presenting ==
The templates assume that you'll be presenting with [https://github.com/pdfpc/pdfpc PDF Presenter Console] which is a pretty full featured presenter console written specifically with Beamer in mind. If you run into any trouble, please [https://github.com/pdfpc/pdfpc download and install the latest version of PDFPC from Github] as the note functionality we use is not in some released version of Debian and Ubuntu who have lagged behind development and been slow to pull in new patches fixing bugs and adding functionality.
To tell if your version of PDFPC will work, you can run <code>pdfpc --help</code> and look to see if it has an option for <code>-n/--notes</code>. If it has this option, you are likely good to go. You can also run <code> pdfpc -v</code> to see which version is installed. Version 4.0 (and perhaps earlier) has support for notes, so if the version is >= 4.0, then it should work.
There are three basic ways to build slides that are supported by the makefile in the repository:
* <code>make pdf</code> — Create a double-wide slide that is appropriate for displaying with PDFPC's "notes" feature. Effectively, the left part will be the slide displayed on the projector and the right part will be the notes displayed on your laptop screen. This will require a new version of PDFPC.
* <code>make notesonly</code> — Generate only the notes (e.g., for printing out speaker notes)
* <code>make slides</code> — Generate only the PDF slides which will be appropriate for presenting with a PDF viewer other than PDFPC.
If you want to switch between building notes, slides, or notes only, you will need to run <code>make clean</code> to "reset" your repository.
When you are ready to present, run the following command from a terminal on the monitor that you want to be the secondary or laptop monitor. The slides should presented on the other monitor:
make pdfpc
This will run a command like this (which you could also do directly):
pdfpc --notes=right presentation.pdf
This show the notes on the monitor to the right (usually the second monitor on most setups). You can obviously switch this to left, top, or bottom as per your arrangement of displays.
== Installing TeX to build the templates on your own computer ==
Dependencies:
* TeX and Beamer — On Debian or Ubuntu, you can install the following packages:
** texlive-latex-base
** latex-beamer
** rubber
** latexmk
** texlive-fonts-extra
* [https://www.gnu.org/software/gawk/gawk gawk] — Package should be <code>gawk</code>
* [https://github.com/pdfpc/pdfpc PDF Presenter Console]
Please note that all contributions to CommunityData are considered to be released under the Attribution-Share Alike 3.0 Unported (see CommunityData:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)