From d3690056a5704f6cc296bb82140f5acced2e09de Mon Sep 17 00:00:00 2001 From: hrs Date: Sun, 3 Mar 2013 20:43:52 +0000 Subject: Fix footer of infolines outer theme when no \institute is defined. Pointed out by: avg --- print/latex-beamer/Makefile | 8 ++------ .../files/patch-themes-outer-beamerouterthemeinfolines.sty | 11 +++++++++++ 2 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 print/latex-beamer/files/patch-themes-outer-beamerouterthemeinfolines.sty (limited to 'print') diff --git a/print/latex-beamer/Makefile b/print/latex-beamer/Makefile index b7e4bcaa8e05..84f97eee3348 100644 --- a/print/latex-beamer/Makefile +++ b/print/latex-beamer/Makefile @@ -1,14 +1,10 @@ -# New ports collection makefile for: latex-beamer -# Date created: 24 Jan 2004 -# Whom: hrs@FreeBSD.org -# # $FreeBSD$ PORTNAME= latex-beamer PORTVERSION= 3.07 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= print -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/version%20${PORTVERSION} +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Version%20${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= A LaTeX class to create a beamer presentation diff --git a/print/latex-beamer/files/patch-themes-outer-beamerouterthemeinfolines.sty b/print/latex-beamer/files/patch-themes-outer-beamerouterthemeinfolines.sty new file mode 100644 index 000000000000..4c95cad47ffa --- /dev/null +++ b/print/latex-beamer/files/patch-themes-outer-beamerouterthemeinfolines.sty @@ -0,0 +1,11 @@ +--- themes/outer/beamerouterthemeinfolines.sty.orig 2013-03-04 05:35:07.000000000 +0900 ++++ themes/outer/beamerouterthemeinfolines.sty 2013-03-04 05:37:16.000000000 +0900 +@@ -24,7 +24,7 @@ + \leavevmode% + \hbox{% + \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% +- \usebeamerfont{author in head/foot}\insertshortauthor~~(\insertshortinstitute) ++ \usebeamerfont{author in head/foot}\insertshortauthor\expandafter\beamer@ifempty\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)} + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}% + \usebeamerfont{title in head/foot}\insertshorttitle -- cgit