Commits (10)
......@@ -33,16 +33,25 @@ clean::
mrproper:: clean
@rm -f $(PACKAGE_TGT) $(DOC_PDF) $(patsubst %.tex,%.pdfpc,$(wildcard $(DOC_DIR)/*.tex))
$(PACKAGE_TGT): $(wildcard $(PACKAGE_DIR)/*.ins) $(PACKAGE_SRC)
@mkdir -p $(CACHE_DIR)
$(PACKAGE_TGT): $(wildcard $(PACKAGE_DIR)/*.ins) $(PACKAGE_SRC) $(CACHE_DIR)
@cd $(PACKAGE_DIR) && latex -output-directory=$(CACHE_DIR) $(notdir $<)
@cp $(addprefix $(CACHE_DIR)/,$(PACKAGE_STY)) $(LOCAL_DIR)/
%.pdf: %.tex $(wildcard *.bib) $(PACKAGE_TGT)
@mkdir -p $(CACHE_DIR)
$(CACHE_DIR):; @mkdir -p $(CACHE_DIR)
%_handout.pdf: %.tex $(wildcard *.bib) $(PACKAGE_TGT) $(CACHE_DIR)
@cd $(dir $< ) && $(COMPILE_TEX) -jobname=$*_handout $(notdir $<)
@cp $(CACHE_DIR)/$(notdir $@) $@
@test ! -f $@pc -a -f $(CACHE_DIR)/$(notdir $@)pc && ( /bin/echo "[file]"; /bin/echo "$@"; /bin/echo "[font_size]"; /bin/echo "$(PDFPC_SIZE)"; cat $(CACHE_DIR)/$(notdir $@)pc | sed 's/\\\\/\n/g' | sed 's/\\par/\n\n/g' ) > $@pc || echo "ignoring PDFPC file" && exit 0
%.pdf: %.tex $(wildcard *.bib) $(PACKAGE_TGT) $(CACHE_DIR)
@cd $(dir $< ) && $(COMPILE_TEX) $(notdir $<)
@cp $(CACHE_DIR)/$(notdir $@) $@
@test ! -f $@pc -a -f $(CACHE_DIR)/$(notdir $@)pc && ( /bin/echo -e "[file]\n$@\n[font_size]\n$(PDFPC_SIZE)" ; cat $(CACHE_DIR)/$(notdir $@)pc | sed 's/\\\\/\n/g' | sed 's/\\par/\n\n/g' ) > $@pc || echo "ignoring PDFPC file" && exit 0
@test ! -f $@pc -a -f $(CACHE_DIR)/$(notdir $@)pc && ( /bin/echo "[file]"; /bin/echo "$@"; /bin/echo "[font_size]"; /bin/echo "$(PDFPC_SIZE)"; cat $(CACHE_DIR)/$(notdir $@)pc | sed 's/\\\\/\n/g' | sed 's/\\par/\n\n/g' ) > $@pc || echo "ignoring PDFPC file" && exit 0
preview-%: %.tex $(wildcard *.bib) $(PACKAGE_TGT) $(CACHE_DIR)
@cd $(dir $< ) && $(COMPILE_TEX) $(notdir $<) -pvc -interaction=nonstopmode -view=pdf
pdfpc-%: %.pdf
@pdfpc -p -C $<
......@@ -50,3 +59,5 @@ pdfpc-%: %.pdf
evince-%: %.pdf
@evince $<
FORCE:
......@@ -92,6 +92,10 @@
\definecolor{nBlue}{RGB}{144,167,198}
\definecolor{nLightBlue}{RGB}{221,229,240}
\definecolor{nDarkCyan}{RGB}{0,177,235}
\definecolor{nCyan}{RGB}{180,214,245}
\definecolor{nLightCyan}{RGB}{234,243,252}
\definecolor{nDarkYellow}{RGB}{201,147,19}
\definecolor{nYellow}{RGB}{217,198,137}
\definecolor{nLightYellow}{RGB}{243,238,223}
......@@ -110,6 +114,7 @@
\colorlet{i4red}{nDarkRed}
\colorlet{i4green}{nDarkGreen}
\colorlet{i4blue}{nDarkBlue}
\colorlet{i4cyan}{nDarkCyan}
\colorlet{i4yellow}{nDarkYellow}
\colorlet{i4grey}{nDarkGrey}
\definecolor{darkred}{rgb}{0.8,0,0}
......
......@@ -119,6 +119,10 @@
\ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
\vfill
\begin{minipage}[b][0.25\paperheight][t]{\textwidth}
% The lower part of the title page background contains a white area which
% covers this whole minipage. Thus switch the text color back to normal
\neo@colors@light%
\usebeamercolor[fg]{normal text}%
\ifx\inserttitlegraphic\@empty\else\usebeamertemplate*{title graphic}\fi
\end{minipage}
\end{minipage}
......@@ -506,7 +510,7 @@
\setbeamertemplate{footnote}{%
\parindent 0em\noindent%
\raggedright
\usebeamercolor{footnote}\hbox to 0.8em{\hfil\insertfootnotemark}\insertfootnotetext\par%
\usebeamercolor{footnote}\hbox to 0.8em{\hfil\insertfootnotemark}\hangindent=0.8em\insertfootnotetext\par%
}
% \end{macrocode}
%
......@@ -551,14 +555,14 @@
% Optional arguments to Beamer's frames are implemented using
% |\define@key| from the |keyval| package, which will execute code when the
% defined option is called. For the |standout| option, we begin a group,
% change the colors and fonts, and set a \centering alignment.
% change the colors and fonts, use a plain slide, and set a \centering alignment.
%
% \begin{macrocode}
\providebool{neo@standout}
\define@key{beamerframe}{standout}[true]{%
\booltrue{neo@standout}
\begingroup
\setkeys{beamerframe}{c}
\setkeys{beamerframe}{c,plain}
\ifbeamercolorempty[bg]{palette primary}{
\setbeamercolor{background canvas}{
use=palette primary,
......
......@@ -135,11 +135,13 @@
\defbeamertemplate{frame footer}{custom}[1]{ #1 }
% \end{macrocode}
%
% Add strut to ensure that frame numbers don't jump
% \begin{macrocode}
\newcommand{\neo@framenumberingstrut}{\vphantom{0123456789}}
\defbeamertemplate{frame numbering}{none}{}
\defbeamertemplate{frame numbering}{counter}{\insertframenumber}
\defbeamertemplate{frame numbering}{counter}{\neo@framenumberingstrut\insertframenumber}
\defbeamertemplate{frame numbering}{fraction}{
\insertframenumber/\inserttotalframenumber
\neo@framenumberingstrut\insertframenumber/\inserttotalframenumber
}
% \end{macrocode}
% \end{macro}
......