diff --git a/Makefile b/Makefile index e563fcd..daba562 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,8 @@ sty: $(NAME).dtx all: logo $(NAME) example clean @exit 0 logo: tau-logo-*.eps - find . -name 'tau-logo-*.eps' -exec epstopdf {} \; + find . -name 'tau-logo-*.eps' -exec \ + epstopdf --gsopt=-dCompatibilityLevel=1.5 {} \; $(NAME): $(NAME).dtx pdflatex --shell-escape $(NAME).dtx makeindex -s gglo.ist -o $(NAME).gls $(NAME).glo diff --git a/README.md b/README.md index b32f9b1..2605dc7 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ This creates the files `beamerthemetuni.sty` and `beamercolorthemetuni.sty`. Next generate pdf versions of the graphics by running ```bash -find . -name ’*.eps’ -exec epstopdf {} \; +find . -name ’*.eps’ -exec epstopdf --gsopt=-dCompatibilityLevel=1.5 {} \; ``` In order for TeX to find the package, it needs to be on the `texmf` tree. By default, TeX looks for files in three different locations: diff --git a/beamerthemetuni.dtx b/beamerthemetuni.dtx index af0002c..5adf533 100644 --- a/beamerthemetuni.dtx +++ b/beamerthemetuni.dtx @@ -23,7 +23,7 @@ % ------------------------------------------------------------------------ \fi % \iffalse %<*driver|package> -\def\tuniversion{2019/02/10 v1.0} +\def\tuniversion{2019/07/29 v1.1} % %<*internal> \def\nameofplainTeX{plain} @@ -177,9 +177,13 @@ and beamercolorthemetuni.sty. % \end{quote} % This creates the files |beamerthemetuni.sty| and |beamercolorthemetuni.sty|. % +% \changes{v1.1}{2019/07/29}{Specify PDF compatibility level 1.5 in install +% intructions} +% % Next generate |pdf| versions of the graphics by running % \begin{quote} -% |find . -name '*.eps' -exec epstopdf {} \;| +% |find . -name '*.eps' -exec \| \\ +% | epstopdf --gsopt=-dCompatibilityLevel=1.5 {} \;| % \end{quote} % % In order for \TeX\ to find the package, it needs to be on the |texmf| tree. @@ -551,6 +555,18 @@ and beamercolorthemetuni.sty. % \end{macro} % \end{macro} % +% \changes{v1.1}{2019/07/29}{Ignore line breaks when generating PDF strings} +% +% Defining a two row field used by \textsf{hyperref}, e.g. the author field, +% results in a warning. The following tells \textsf{hyperref} to ignore +% line breaks. +% +% \begin{macrocode} +\pdfstringdefDisableCommands{% + \def\\{}% +} +% \end{macrocode} +% % \subsubsection{Use with \textsf{biblatex}} % % Make \textsf{beamer} play nice with \textsf{biblatex}. Require