Skip to content

Commit

Permalink
Avoid duplication of image files
Browse files Browse the repository at this point in the history
  • Loading branch information
robjhyndman committed Dec 20, 2022
1 parent ad56bc0 commit 21f8d0e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
7 changes: 0 additions & 7 deletions _extensions/letter/_extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,3 @@ contributes:
pdf:
template: monashletter.tex
pdf-engine: pdflatex
format-resources:
- AACSB.png
- AMBA.png
- EQUIS.png
- MBSportrait.jpg
- monash2.png
- sigfile.png
14 changes: 9 additions & 5 deletions _extensions/letter/monashletter.tex
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,10 @@
\makeatletter
\def\ps@monash{%
\begin{textblock}{4}(2,1)
\includegraphics[height=1.5cm]{monash2}
\includegraphics[height=1.5cm]{_extensions/numbats/letter/monash2}
\end{textblock}%
\begin{textblock}{4}(17,1)
\includegraphics[height=1.5cm]{MBSportrait}
\includegraphics[height=1.5cm]{_extensions/numbats/letter/MBSportrait}
\end{textblock}%
\begin{textblock}{10}(1.2,26.4)
{\fontsize{9}{8}\selectfont\sffamily\color[gray]{0.4}%
Expand All @@ -197,9 +197,9 @@
\end{tabular}}
\end{textblock}%
\begin{textblock}{7}(12.7,28.2)\hfill
\includegraphics[height=0.6cm]{AACSB}~~~
\includegraphics[height=0.6cm]{EQUIS}~~~
\includegraphics[height=0.6cm]{AMBA}
\includegraphics[height=0.6cm]{_extensions/numbats/letter/AACSB}~~~
\includegraphics[height=0.6cm]{_extensions/numbats/letter/EQUIS}~~~
\includegraphics[height=0.6cm]{_extensions/numbats/letter/AMBA}
\end{textblock}
\def\thepage{}}

Expand Down Expand Up @@ -228,6 +228,10 @@
% Fix href problems
\def\href#1{}

% Find signature file
% Other images include full path in case user sets graphicspath
\graphicspath{{_extensions/numbats/letter/}}

$for(header-includes)$
$header-includes$
$endfor$
Expand Down

0 comments on commit 21f8d0e

Please sign in to comment.