summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hu-berlin-bundle/hu-berlin-bundle.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/hu-berlin-bundle/hu-berlin-bundle.dtx')
-rw-r--r--macros/latex/contrib/hu-berlin-bundle/hu-berlin-bundle.dtx64
1 files changed, 35 insertions, 29 deletions
diff --git a/macros/latex/contrib/hu-berlin-bundle/hu-berlin-bundle.dtx b/macros/latex/contrib/hu-berlin-bundle/hu-berlin-bundle.dtx
index 4b064957d1..497c7fedbf 100644
--- a/macros/latex/contrib/hu-berlin-bundle/hu-berlin-bundle.dtx
+++ b/macros/latex/contrib/hu-berlin-bundle/hu-berlin-bundle.dtx
@@ -1,6 +1,6 @@
% \iffalse
%<*internal|cls|sty>
-\def\Version{2019/12/19 v1.0.4}
+\def\Version{2020/04/28 v1.0.5}
%</internal|cls|sty>
%<*internal>
\iffalse
@@ -304,6 +304,12 @@ All notable changes to this project will be documented in the [README.md](https:
This project **does not** adhere to [Semantic Versioning](http://semver.org/).
The markdown syntax is inspired by the conventions proposed by [keepachangelog.com](http://keepachangelog.com/).
+### v1.0.5 (2020-04-28)
+* (general) Changed logo format to `.pdf`
+* (letter) Changed `\ifkomavarempty` to `\ifkomavarempty`, fixes
+ [github-issue nr. 1](https://github.com/LukasCBossert/hu-berlin-bundle/issues/1)
+
+
### v1.0.4 (2019-12-19)
* Added `hu-berlin-base.sty` as a package which contains all relevant code for documents and documentclasses of the bundle.
@@ -388,8 +394,8 @@ You can easily pick up the basic file structure from \cref{hu-berlin:bundle-stru
.2 hu-berlin-letter-example-markdown.md \DTcomment{example markdown file }.
.2 hu-berlin-letter-template.latex \DTcomment{template for conversion}.
.2 \huberlinFolder img\DTcomment{folder for images}.
-.3 texografie-logo.png\DTcomment{logo of maintainer}.
-.3 hu-berlin-logo.jpg\DTcomment{logo of HU}.
+.3 texografie-logo.pdf\DTcomment{logo of maintainer}.
+.3 hu-berlin-logo.pdf\DTcomment{logo of HU}.
.2 makefile\DTcomment{makefile to generate all required files}.
.2 README.md\DTcomment{README file with information on installation}.
}
@@ -581,7 +587,7 @@ Philosophische Fakultät
% \end{macrocode}
% Now following the reference information
% \begin{macrocode}
-\setkomavar{myref}{}
+\setkomavar{myref}{}
% \end{macrocode}
% \begin{macrocode}
\setkomavar{yourref}{}
@@ -963,13 +969,13 @@ Thank you very much for your letter.
% \end{macrocode}
% Now anything else regarding the institute.
% \begin{macrocode}
-\ifkomavarempty{institute.additional}
+\Ifkomavarempty{institute.additional}
{}
{\usekomavar{institute.additional}\\[1\baselineskip]}
% \end{macrocode}
% What follows is the head of institute and its position name.
% \begin{macrocode}
-\ifkomavarempty{institute.head}
+\Ifkomavarempty{institute.head}
{}
{{\usekomafont{institute.head}%
\usekomavar{institute.head}}\\%
@@ -988,39 +994,39 @@ Thank you very much for your letter.
% \end{macrocode}
% and the sender of the letter.
% \begin{macrocode}
-\ifkomavarempty{fromname}
+\Ifkomavarempty{fromname}
{}
{\textbf{\usekomavar*{fromname}}\\
\usekomavar{fromname}\par}
% \end{macrocode}
% And the reference of correspondence.
% \begin{macrocode}
-\ifkomavarempty{myref}
+\Ifkomavarempty{myref}
{}
{\textbf{\usekomavar*{myref}}\\
\usekomavar{myref}\par}
% \end{macrocode}
% To complete this template we provide the possibility to name further reference fields.
% \begin{macrocode}
-\ifkomavarempty{yourref}
+\Ifkomavarempty{yourref}
{}
{\textbf{\usekomavar*{yourref}}\\
\usekomavar{yourref}\par}
% \end{macrocode}
% \begin{macrocode}
-\ifkomavarempty{yourmail}
+\Ifkomavarempty{yourmail}
{}
{\textbf{\usekomavar*{yourmail}}\\
\usekomavar{yourmail}\par}
% \end{macrocode}
% \begin{macrocode}
-\ifkomavarempty{customer}
+\Ifkomavarempty{customer}
{}
{\textbf{\usekomavar*{customer}}\\
\usekomavar{customer}\par}
% \end{macrocode}
% \begin{macrocode}
-\ifkomavarempty{invoice}
+\Ifkomavarempty{invoice}
{}
{\textbf{\usekomavar*{invoice}}\\
\usekomavar{invoice}\par}
@@ -1028,45 +1034,45 @@ Thank you very much for your letter.
% \begin{macrocode}
\textbf{\usekomavar*{fromaddress}}\\
\usekomavar{fromaddress}
- \ifkomavarempty{fromphone}
+ \Ifkomavarempty{fromphone}
{\par}
{\\\usekomavar*{fromphone}\usekomavar{fromphone}
- \ifkomavarempty{fromfax}
+ \Ifkomavarempty{fromfax}
{\par}
{\\}}
- \ifkomavarempty{fromfax}
+ \Ifkomavarempty{fromfax}
{}
{\usekomavar*{fromfax}\usekomavar{fromfax}\par}
% \end{macrocode}
% Next, emails and url:
% \begin{macrocode}
-\ifkomavarempty{institute.head.mail}
+\Ifkomavarempty{institute.head.mail}
{}
{\usekomavar{institute.head.mail}
- \ifkomavarempty{fromemail}
- {\ifkomavarempty{fromurl}
+ \Ifkomavarempty{fromemail}
+ {\Ifkomavarempty{fromurl}
{\par}
{\\}}
{\\}}
% \end{macrocode}
%
% \begin{macrocode}
-\ifkomavarempty{fromemail}
+\Ifkomavarempty{fromemail}
{}
{\usekomavar{fromemail}
- \ifkomavarempty{fromurl}
+ \Ifkomavarempty{fromurl}
{\par}
{\\}}
% \end{macrocode}
%
% \begin{macrocode}
-\ifkomavarempty{fromurl}
+\Ifkomavarempty{fromurl}
{}
{\usekomavar{fromurl}\par}
% \end{macrocode}
% Now the actual location of the sender
% \begin{macrocode}
-\ifkomavarempty{local}
+\Ifkomavarempty{local}
{}
{\textbf{\usekomavar*{local}}\\
\usekomavar{local}\par}
@@ -1077,27 +1083,27 @@ Thank you very much for your letter.
% \end{macrocode}
% Inform your addressee about the connection possibilities.
% \begin{macrocode}
-\ifkomavarempty{connections}
+\Ifkomavarempty{connections}
{}
{\textbf{\usekomavar*{connections}}\\
\usekomavar{connections}\par}
% \end{macrocode}
% \begin{macrocode}
-\ifkomavarempty{officehours}
+\Ifkomavarempty{officehours}
{}
{\textbf{\usekomavar*{officehours}}\\
\usekomavar{officehours}\par}
% \end{macrocode}
% If there is a barrier free entrance, tell it.
% \begin{macrocode}
-\ifkomavarempty{accessibility}
+\Ifkomavarempty{accessibility}
{}
{\textbf{\usekomavar*{accessibility}}\\
\usekomavar{accessibility}\par}
% \end{macrocode}
% And last the bank connection
% \begin{macrocode}
-\ifkomavarempty{bank}
+\Ifkomavarempty{bank}
{}
{\textbf{\usekomavar*{bank}}\\
\usekomavar{bank}\\
@@ -1274,7 +1280,7 @@ $endif$
\begin{document}
\begin{letter}{%
$for(addressee)$
-$addressee$$sep$\par
+$addressee$$sep$\\
$endfor$
}
$for(include-before)$
@@ -1478,7 +1484,7 @@ $for(include-after)$$include-after$$endfor$
of writing.}
\null\vfill
{\usekomafont{subtitle}{\@date \hfill
- \includegraphics[width=4cm]{texografie}\\}}%
+ \includegraphics[width=4cm]{img/texografie-logo.pdf}\\}}%
\par
\vskip 0em
\restoregeometry
@@ -1644,7 +1650,7 @@ $for(include-after)$$include-after$$endfor$
%---- newcommands
\newcommand{\TeXografie}{Lukas C. Bossert
- (www.TeXografie.de)}
+ (www.texografie.de)}
\newcommand\huberlin{\huberlintitle\xspace}