I am trying to create handouts from a Beamer presentation. I want multiple frames to be on each sheet of printed paper, and I want the frames to have a border, say a border made with a thin line. To save ink, I do not want a shaded background.

I have two problems that need solved. First, how do I create a border for the frames in the handout? The portion of the code below marked Border creates a border, but it also creates a border for frames that do not exist. The portion of the code below marked Prints 8 on 1 allows me to put eight frames one each sheet of paper, but part of the top frames do not print (they're cut off). How can this be fixed without changing printer settings?

\documentclass[10pt,handout,mathserif]{beamer}

\usepackage{amsmath,amssymb,amsfonts,amsthm}
\usepackage{graphics}
\usepackage{color}
\usepackage{framed}
\usepackage{amsthm, array}
\usepackage{yhmath}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{pgfpages} 
%
% Prints 8 on 1
\pgfpagesuselayout{8 on 1}[letterpaper,border shrink=1mm]
%
%
% Border
\pgfpageslogicalpageoptions{1}{border code=\pgfusepath{stroke}}
\pgfpageslogicalpageoptions{2}{border code=\pgfusepath{stroke}}
\pgfpageslogicalpageoptions{3}{border code=\pgfusepath{stroke}}
\pgfpageslogicalpageoptions{4}{border code=\pgfusepath{stroke}}
\pgfpageslogicalpageoptions{5}{border code=\pgfusepath{stroke}}
\pgfpageslogicalpageoptions{6}{border code=\pgfusepath{stroke}}
\pgfpageslogicalpageoptions{7}{border code=\pgfusepath{stroke}}
\pgfpageslogicalpageoptions{8}{border code=\pgfusepath{stroke}}
%
%
\begin{document}

%Stuff goes here.

\end{document}



Question: How well does Python's whitespace dependency interact with source control with regards to merging?
Answer: I've used python with SVN and Mercurial, and have no hassles merging.

It all depends on how the diffing is done - and I suspect that it is character-by-character, which would notice the difference between one level of indent and another.