Commits (9)
image: docker:stable
before_script:
- apk add --update --no-cache curl && rm -rf /var/cache/apk/*
build_demo:
script:
- "curl -X POST -F token=dfdc8811b291493d39a7fb7929641e -F ref=master https://gitlab.cs.fau.de/api/v4/projects/2380/trigger/pipeline"
......@@ -13,7 +13,7 @@ DOC_PDF = $(patsubst %.tex,%.pdf,$(wildcard $(DOC_DIR)/*.tex))
LATEXMK_GEN ?= -xelatex
COMPILE_TEX = latexmk $(LATEXMK_GEN) -output-directory=$(CACHE_DIR)
COMPILE_TEX = latexmk $(LATEXMK_GEN) -output-directory=$(CACHE_DIR) --synctex=1
export TEXINPUTS:=$(LOCAL_DIR):$(FONTS_DIR):$(shell pwd):$(PACKAGE_DIR):${TEXINPUTS}
......@@ -42,12 +42,14 @@ $(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 $@) $@
@cp $(CACHE_DIR)/$(notdir $*_handout.synctex.gz) $*_handout.synctex.gz
@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 $@) $@
@cp $(CACHE_DIR)/$(notdir $*.synctex.gz) $*.synctex.gz
@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)
......
......@@ -151,7 +151,12 @@
\titlepage
\else
{
\usebackgroundtemplate{\includegraphics[width=\paperwidth]{images/titlepage-#1}}
\def\backgroundimg{images/titlepage-#1}
\ifdimcomp{\beamer@paperwidth}{=}{16.00cm}{\ifdimcomp{\beamer@paperheight}{=}{9.00cm}{%
% 16:9
\def\backgroundimg{images/titlepage-#1-highres-169}
}{}}{}
\usebackgroundtemplate{\includegraphics[width=\paperwidth]{\backgroundimg}}
\frame[plain,noframenumbering]{
\neo@colors@dark
\setbeamercolor{title separator}{
......
......@@ -236,7 +236,7 @@
\usebeamerfont{page number in head/foot}%
\usebeamertemplate*{frame footer}
\hfill%
\usebeamertemplate*{frame numbering}
\parbox{.1\framewidth}{\hfill\usebeamertemplate*{frame numbering}}
\end{beamercolorbox}%
}
\defbeamertemplate{footline}{standout}{%
......@@ -244,7 +244,7 @@
\usebeamerfont{page number in head/foot}%
\usebeamertemplate*{frame footer}
\hfill%
\usebeamertemplate*{frame numbering}
\parbox{.1\framewidth}{\hfill\usebeamertemplate*{frame numbering}}
\end{beamercolorbox}%
}
% \end{macrocode}
......
No preview for this file type