Skip to content

Commit

Permalink
Fix token and compatibility warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tvalimaki committed Jul 29, 2019
1 parent ec36c14 commit 2369b45
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
20 changes: 18 additions & 2 deletions beamerthemetuni.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
% ------------------------------------------------------------------------ \fi
% \iffalse
%<*driver|package>
\def\tuniversion{2019/02/10 v1.0}
\def\tuniversion{2019/07/29 v1.1}
%</driver|package>
%<*internal>
\def\nameofplainTeX{plain}
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2369b45

Please sign in to comment.