In a previous question, I pointed out that the mini slides (thumbnails) inserted into Beamer notes pages cause replication of labels and broken hyperref links as a result (see comment 2 under Percusse's answer).
I discovered that if I went to beamerouterthemedefault.sty
and, under the line \defbeamertemplate*{note page}{default}
commented out the lines
\hfill\insertslideintonotes{0.25}\hskip-\Gm@rmargin\hskip0pt%
\vskip-0.25\paperheight%
\nointerlineskip
this removes the problem since the mini slide is no longer inserted. I now need to share my LaTeX code with my supervisor, so I am wondering if an approach similar to that employed in an answer to another question of mine can be used to "patch" these lines to be commented at compile time so that I don't have to instruct others to manually comment out those lines. In that question, it is shown how to use xpatch
to modify a Beamer component.
So, my main question is how to make this patch.
My follow-up or bonus questions is, is there a better way to address this issue with the mini slides in the first place? Off the top of my head, here are a few thoughts:
This seems like a bug in Beamer, and an easy one to fix. Can't the mini slides have their labels stripped out before they're inserted? The mini slides are really only a visual aid, so there doesn't need to be a way to reference stuff in them.
As an improvement on #1, if the labels could be automatically renamed by Beamer or Latex as the mini slides are inserted, that would be even better.
If either of #1 or 2 could be done with a patch that would be great, but it would be even better if this could be rolled into Beamer as bug fix. What's involved in doing so, or how would this normally happen?
Thanks.