summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-08-24 21:18:53 +0000
committerKarl Berry <karl@freefriends.org>2014-08-24 21:18:53 +0000
commit9913fb8461243c1606b55dabd26ad4871aac1929 (patch)
tree1655970e12b0c09e3d0a8ea939925543b1a5f5ec
parenta90a70397dcc0fe65403afb486646af6f48d5669 (diff)
udesoftec (24aug14)
git-svn-id: svn://tug.org/texlive/trunk@35033 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst2
-rw-r--r--Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.pdfbin566401 -> 564407 bytes
-rw-r--r--Master/texmf-dist/source/latex/udesoftec/CHANGELOG15
-rw-r--r--Master/texmf-dist/source/latex/udesoftec/README2
-rw-r--r--Master/texmf-dist/source/latex/udesoftec/VERSION2
-rw-r--r--Master/texmf-dist/source/latex/udesoftec/udesoftec-doc-examplebib.bib4
-rw-r--r--Master/texmf-dist/source/latex/udesoftec/udesoftec-doc.tex39
-rw-r--r--Master/texmf-dist/tex/latex/udesoftec/udesoftec-bst.sty15
-rw-r--r--Master/texmf-dist/tex/latex/udesoftec/udesoftec-extra.sty15
-rw-r--r--Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls62
10 files changed, 89 insertions, 67 deletions
diff --git a/Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst b/Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst
index 058289986fe..49be40dd105 100644
--- a/Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst
+++ b/Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst
@@ -1,7 +1,7 @@
% !Mode:: "TeX:UTF-8"
%% udesoftec.bst
%% Copyright 2014 J. Peter M. Schuler
-%% 2014/05/19 v1.4.0 udesoftec
+%% 2014/08/23 v1.4.4 udesoftec
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
diff --git a/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.pdf b/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.pdf
index 948ef1ec7c6..beea54a574a 100644
--- a/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.pdf
+++ b/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/udesoftec/CHANGELOG b/Master/texmf-dist/source/latex/udesoftec/CHANGELOG
index 03793fe577a..f7bb699082e 100644
--- a/Master/texmf-dist/source/latex/udesoftec/CHANGELOG
+++ b/Master/texmf-dist/source/latex/udesoftec/CHANGELOG
@@ -1,6 +1,17 @@
+2014/08/23 v1.4.4
+* [udesoftec-extra.sty] removed detokenize from DOI in bibtex (due to Citavi adding tokens to bibtex exports).
+* [udesoftec-bst.sty] corrected spacing between edition ordinal and label
+
+2014/07/16 v1.4.3 (unreleased)
+* [udesoftec.cls] corrected auto-detection of list-of-acronyms, because sometimes a blank page was created if acronyms where defined but none was used.
+* [udesoftec.cls] added udesoftec version to default output of version on titlepage for easier reference by students
+* [udesoftec-bst.sty] added option for page prefix of in-text-citations (e.g. to switch easily between German 'S.' and English 'p')
+* [udesoftec-extra.sty] added page prefix for in-text-citations '\bblp' - doesn't use 'pp' for multiple pages.
+* [udesoftec-extra.sty] removed detokenize from DOI in bibtex (due to Citavi adding tokens to bibtex exports).
+
2014/06/22 v1.4.2
-* [doc] created an rss feed for udesoftec updates and added it to documentation
-* [udesoftec] added auto-detection to list-of-* to just generate them if needed. So the omit-*-Options are in most cases unnecessary, but will still work in order to override the detection.
+* [udesoftec-doc.pdf] created an rss feed for udesoftec updates and added it to documentation
+* [udesoftec.cls] added auto-detection to list-of-* to just generate them if needed. So the omit-*-Options are in most cases unnecessary, but will still work in order to override the detection.
2014/05/27 v1.4.1
* minor improvements to documentation
diff --git a/Master/texmf-dist/source/latex/udesoftec/README b/Master/texmf-dist/source/latex/udesoftec/README
index 7bd382d424a..b00f85a08ff 100644
--- a/Master/texmf-dist/source/latex/udesoftec/README
+++ b/Master/texmf-dist/source/latex/udesoftec/README
@@ -2,7 +2,7 @@ udesoftec documentclass and bibstyle
Maintainer: J. Peter M. Schuler
Copyright: 2013-2014 J. Peter M. Schuler
-Version: 2014/06/22 v1.4.2 udesoftec
+Version: 2014/08/16 v1.4.4 udesoftec
License: lppl
Topic: dissertation
diff --git a/Master/texmf-dist/source/latex/udesoftec/VERSION b/Master/texmf-dist/source/latex/udesoftec/VERSION
index 9f909e6d0b6..db321ec17b3 100644
--- a/Master/texmf-dist/source/latex/udesoftec/VERSION
+++ b/Master/texmf-dist/source/latex/udesoftec/VERSION
@@ -1 +1 @@
-2014/06/22 v1.4.2 udesoftec \ No newline at end of file
+2014/08/23 v1.4.4 udesoftec \ No newline at end of file
diff --git a/Master/texmf-dist/source/latex/udesoftec/udesoftec-doc-examplebib.bib b/Master/texmf-dist/source/latex/udesoftec/udesoftec-doc-examplebib.bib
index f8c998dfa55..78df49dcb77 100644
--- a/Master/texmf-dist/source/latex/udesoftec/udesoftec-doc-examplebib.bib
+++ b/Master/texmf-dist/source/latex/udesoftec/udesoftec-doc-examplebib.bib
@@ -22,7 +22,7 @@
booktitle = {Web Engineering},
year = {2006},
address = {Berlin/Heidelberg},
- doi = {10.1007/3-540-28218-1_5}
+ doi = {10.1007/3-540-28218-1\textunderscore 5}
}
@incollection{Mendes.et.al.2006b,
@@ -36,7 +36,7 @@
booktitle = {Web Engineering},
year = {2006},
address = {Berlin/Heidelberg},
- doi = {10.1007/3-540-28218-1_1}
+ doi = {10.1007/3-540-28218-1\textunderscore 1}
}
diff --git a/Master/texmf-dist/source/latex/udesoftec/udesoftec-doc.tex b/Master/texmf-dist/source/latex/udesoftec/udesoftec-doc.tex
index df7dbb831c2..fe55d8485c6 100644
--- a/Master/texmf-dist/source/latex/udesoftec/udesoftec-doc.tex
+++ b/Master/texmf-dist/source/latex/udesoftec/udesoftec-doc.tex
@@ -1,8 +1,8 @@
% !Mode:: "TeX:UTF-8"
%% udesoftec-doc.tex
%% Copyright 2013-2014 J. Peter M. Schuler
-%% 2014/06/22 v1.4.2 udesoftec
-\documentclass[omit-sd]{udesoftec}
+%% 2014/08/23 v1.4.4 udesoftec
+\documentclass[omit-sd,omit-lol,en]{udesoftec}
\usepackage{udesoftec-extra}
\usetikzlibrary{shadows}
@@ -33,7 +33,7 @@
\labelPreTopic{}
\institution{Universität Duisburg-Essen}
\semester{}
-\date{Version: \input{VERSION.}}
+%%\date{Version: \input{VERSION.}}
\authorbox{
\begin{tabularx}{.7\linewidth}{ll}
Maintainer:&J. Peter M. Schuler\\
@@ -41,6 +41,7 @@
\\
\end{tabularx}
}
+\date{\udesoftecversion}
\abstract{
This LaTeX package provides a documentclass for use in written theses at the University of Duisburg-Essen, Research Group for Business Informatics and Software Engineering. It is based on pdflatex and bibtex using KOMA-Script and natbib and many other popular packages. The current documentation is only available in german. However the \hyperref[sec:classoptions]{class options in section \ref*{sec:classoptions}} and \hyperref[sec:variables]{configuration variables for the titlepage in section \ref*{sec:variables}} should be quite understandable and the \hyperref[sec:paketlist]{package listing in the appendix} shows where to look for further information. A \hyperref[sec:exampleproject]{MWE and a download of an example project is also available in section \ref*{sec:exampleproject}.}
@@ -76,8 +77,6 @@ Dieses Template stellt eine professionelle Lösung für die Nutzung von \LaTeX{}
\item es werden direkt und ausschließlich PDF-Dokumente generiert und kein DVI oder PS als Ergebnis.
\item durchgehende UTF-8-Nutzung (trotz \LaTeX{} statt XeLaTeX)
\item eingebettete Grafiken liegen ausschließlich im PDF-Format vor
- \item alle temporär generierten Dateien liegen so gut es geht in einem Unterordner, um die Übersichtlichkeit zu erhöhen
- \item es wird keine Acrobat-Lösung für die PDFs benutzt, da diese für den Anwendungsfall \LaTeX{} nicht geeignet ist
\end{itemize}
\section{Beispiel-Projekt}\label{sec:exampleproject}
@@ -92,18 +91,6 @@ Grundsätzlich sind kaum Einstellungen und Konfigurationen notwendig. Lediglich
Ein Beispielprojekt mit echten Inhalten findet sich unter\newline \url{http://udue.de/udesoftecexample}
-\section{Software-Empfehlungen}
-Diese Dokumentation gibt Hinweise für eine \LaTeX{}-Konfiguration unter Windows mit
-\begin{itemize}
- \item MikTeX >= 2.9
- \item TeXnicCenter >= 2.0.2
- \item SumatraPDF >= 2.4
- \item Citavi >= 4.1
-\end{itemize}
-Unter anderen Systemumgebungen funktioniert dieses Template natürlich genauso, hier müssen Sie lediglich die zusätzlichen Compile-Aufrufe für das Paket "`glossaries"' selbst konfigurieren.
-
-Eine vollständige Konfigurationsanleitung für diese Software findet sich in \autoref{sec:software}.
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagebreak\section{Klassenparameter und Konstanten}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -336,6 +323,9 @@ Beschreibungslisten können auch mit festem Umbruch gesetzt werden:
Über \lstinlinelatex!\todo{<Text>}! und \lstinlinelatex!\inlinetodo{<Text>}! gibt es die Möglichkeit TODOs zu verwalten. \inlinetodo{TODO: Diese können innerhalb des Textes stehen wie hier.} Aber Sie können auch am Rand stehen und auf eine bestimmte Stelle im Text\todo{TODO: Absatz überarbeiten} zeigen. Am Ende des Dokuments wird eine Gesamtliste angefügt, sofern ein TODO existiter und das Dokument nicht mit der Option \lstinlinelatex!final! oder \lstinlinelatex!omit-todos! kompiliert wird.
\chapter{FAQ}
+\section{Der Hinweis mit der Templateversion auf dem Deckblatt soll verschwinden}
+Vor der Abgabe sollte mit dem Kommando \lstinlinelatex!\date{}! das Datum des Dokuments entfernt werden. Dadurch wird auch der Hinweis auf die Templateversion entfernt. Während der Bearbeitung können beide Hinweise aber beim Feedback hilfreich sein.
+
\section{Bei kursiver Schrift ist das "`a"' komisch}
Das ist korrekt. Bei kursiver Schrift wird bspw. in MS Word oftmals einfach der normale Font schräg gestellt. In professionellen Systemen werden extra \emph{Schriftschnitte} erstellt. Die in dieser Vorlage benutzte Schriftart ist \sfdefault{} (screenlayout) sowie \rmdefault{} (printlayout). Hierbei existiert ein solcher Schriftschnitt. Da das kleine "`a"' in "`schräg"' aber sehr merkwürdig aussehen würden, sind Sie leicht anders entworfen. Bei anderen Schriften kann dies bspw. auch das \&-Zeichen betreffen.
\parExample[unterschiedliche Schriftschnitte]{
@@ -372,9 +362,9 @@ vgl. \autoref{sec:classinstall} nutzen.
%%%%%%%%%%%%%%%%%%%%%%%% APPENDIX %%%%%%%%%%%%%%%%%%%%%%%
\appendix% \addcontentsline{toc}{chapter}{Anhang}
\def\chapterAuthor{ }
-\chapter{Appendix}
+\chapter{Anhang}
\section{Installation und Konfiguration der Software}\label{sec:software}
-Grundsätzlich wird immer empfohlen Updates für die Software-Pakete einzuspielen. Sollte sich die Ausgabe verändern, bspw. weil udesoftec neue Features erhält finden Sie in \autoref{sec:updateinstructions} und im \hyperref[sec:changelog]{ChangeLog} entsprechende Hinweise wie das Dokument anzupassen ist. Es steht ein \href{http://pipes.yahoo.com/jpmschuler/udesoftec?_render=rss}{RSS-Feed} zur Verfügung, der auf neue Versionen hinweist.
+Grundsätzlich wird immer empfohlen Updates für die Software-Pakete einzuspielen. Sollte sich die Ausgabe verändern, bspw. weil udesoftec neue Features erhält, finden Sie in \autoref{sec:updateinstructions} und im \hyperref[sec:changelog]{ChangeLog} entsprechende Hinweise wie das Dokument anzupassen ist. Es steht ein \href{http://pipes.yahoo.com/jpmschuler/udesoftec?_render=rss}{RSS-Feed} zur Verfügung, der auf neue Versionen hinweist.
\subsection{LaTeX-Umgebung: MikTeX (Windows), BasicTeX (OSX)}\label{sec:classinstall}
Unter Windows wird ausdrücklich \href{http://miktex.org}{MikTeX} empfohlen, da dieses selbständig und On-Demand fehlende Dinge nachinstalliert.
@@ -385,11 +375,20 @@ Unter MacOS kann beispielsweise ein minimales \TeX{}-Live-System wie \href{http:
emphstyle=\color{DocumentDark1}]
sudo tlmgr update --self
sudo tlmgr update --all
-sudo tlmgr install udesoftec nag chngcntr hyphenat libertine mweights fontaxes footmisc placeins enumitem todonotes wallpaper marginnote mdframed needspace csquotes glossaries xfor datatool substr
+sudo tlmgr install udesoftec nag chngcntr hyphenat libertine mweights fontaxes footmisc placeins enumitem todonotes wallpaper marginnote mdframed needspace csquotes glossaries xfor datatool substr xstring
\end{lstlisting}
Sollte es zu Problemen kommen, sollten die Fehlermeldungen und die \hyperref[sec:paketlist]{Liste der Pakete im Anhang} genügend Informationen bieten.
+Diese Dokumentation gibt im Folgenden Hinweise für eine \LaTeX{}-Konfiguration unter Windows mit
+\begin{itemize}
+ \item MikTeX >= 2.9
+ \item TeXnicCenter >= 2.0.2
+ \item SumatraPDF >= 2.4
+ \item Citavi >= 4.1
+\end{itemize}
+Unter anderen Systemumgebungen funktioniert dieses Template natürlich genauso, hier müssen Sie lediglich die zusätzlichen Compile-Aufrufe für das Paket "`glossaries"' selbst konfigurieren.
+
\subsection{Citavi}
Citavi erlaubt nur noch manuelle \BibTeX-Exporte, die \href{http://support.citavi.de/forum/viewtopic.php?f=156&t=7295&p=24152}{Funktion für automatischen Export ist entfernt worden}. Der Export funktioniert einfach über das Datei Menü (\href{http://www.citavi.com/sub/manual4/de/exporting_to_bibtex.html}{Anleitung zum \BibTeX-Export in der Citavi-Hilfe}).
diff --git a/Master/texmf-dist/tex/latex/udesoftec/udesoftec-bst.sty b/Master/texmf-dist/tex/latex/udesoftec/udesoftec-bst.sty
index 29c80817079..c94d65365ec 100644
--- a/Master/texmf-dist/tex/latex/udesoftec/udesoftec-bst.sty
+++ b/Master/texmf-dist/tex/latex/udesoftec/udesoftec-bst.sty
@@ -1,7 +1,7 @@
% !Mode:: "TeX:UTF-8"
%% udesoftec-bst.sty
%% Copyright 2013-2014 J. Peter M. Schuler
-%% 2014/06/22 v1.4.2 udesoftec
+%% 2014/08/23 v1.4.4 udesoftec
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -32,7 +32,7 @@
% and
% http://mirrors.ctan.org/macros/latex/contrib/udesoftec/udesoftec-doc.pdf
\NeedsTeXFormat{LaTeX2e}%
-\ProvidesPackage{udesoftec-bst}[2014/05/27 v1.4.1 udesoftec-bst.sty udesoftec bibstyle configuration]%
+\ProvidesPackage{udesoftec-bst}[2014/08/23 v1.4.4 udesoftec-bst.sty udesoftec bibstyle configuration]%
%%%%%%%%%%%%%%%%%%%%%%%%%
\newif\ifdocumentIsFinal
\documentIsFinalfalse
@@ -49,11 +49,13 @@
\usepackage[elide]{natbib}
\bibliographystyle{udesoftec}
-\providecommand{\bibstyle@udesoftec}{\bibpunct{(}{)}{;}{a}{}{}{}}
+\providecommand{\bibstyle@udesoftec}{\bibpunct[,~\bblInTextPagePrefix{}]{(}{)}{;}{a}{}{}{}}
\providecommand{\doi}[1]{\href{http://dx.doi.org/#1}{doi:\detokenize{#1}}} %use real doi links with doi:<num> as label
\providecommand{\bblisbn}[1]{\small{ISBN:\mbox{#1}}}
\providecommand{\bblissn}[1]{\small{ISSN:\mbox{#1}}}
\providecommand{\bbland}{\& }
+\providecaptionname{ngerman}{\bbland}{und }%
+\providecaptionname{english}{\bbland}{and }%
\providecommand{\bblAuthorYearSep}{ } % possible to add \newline
\providecommand{\bblAuthorTitleSep}{: } % possible to add \newline
\providecommand{\bblAuthorTitleSepInEd}{: }
@@ -63,8 +65,8 @@
\providecaptionname{english}{\bbled}{~(Ed.)}%
\providecaptionname{ngerman}{\bbleds}{~(Hrsg.)}%
\providecaptionname{english}{\bbleds}{~(Eds.)}%
-\providecaptionname{ngerman}{\bbledn}{~Aufl.}%
-\providecaptionname{english}{\bbledn}{~edn}%
+\providecaptionname{ngerman}{\bbledn}{Aufl.}%
+\providecaptionname{english}{\bbledn}{edn}%
\providecaptionname{ngerman}{\bbletal}{et~al.}%
\providecaptionname{english}{\bbletal}{et~al.}%
\providecaptionname{ngerman}{\bblpp}{S.~}%
@@ -83,6 +85,7 @@
\providecaptionname{english}{\bbllastaccesswas}{Last checked: }%
\renewcommand{\bibfont}{\raggedright}
+\providecommand{\bblInTextPagePrefix}[1]{}
\providecommand{\bblurldate}[1]{ (\bbllastaccesswas #1)}
\providecommand{\bblVolumeOfSeries}[2]{ (#2~#1)}
\providecommand{\bblSeries}[1]{ (#1)}
@@ -102,7 +105,7 @@
}
\fi
\providecommand{\bblyear}[1]{\ifnumber{#1}{#1}{\bblnoyear}}
-\providecommand{\bbledGenerateEdition}[1]{\ifnumber{#1}{\bbledOrdinal{#1}~\bbledn}{#1}}
+\providecommand{\bbledGenerateEdition}[1]{\ifnumber{#1}{\bbledOrdinal{#1}\bbledn}{#1}}
\providecommand{\englishordinal}[1]{\ifcase #1\or 1\textsuperscript{st}\or 2\textsuperscript{nd}\or 3\textsuperscript{rd}\else #1\textsuperscript{th}\fi}
\providecommand{\germanordinal}[1]{#1.}
diff --git a/Master/texmf-dist/tex/latex/udesoftec/udesoftec-extra.sty b/Master/texmf-dist/tex/latex/udesoftec/udesoftec-extra.sty
index e44d598c28c..47bb69c534f 100644
--- a/Master/texmf-dist/tex/latex/udesoftec/udesoftec-extra.sty
+++ b/Master/texmf-dist/tex/latex/udesoftec/udesoftec-extra.sty
@@ -1,7 +1,7 @@
% !Mode:: "TeX:UTF-8"
%% udesoftec-extra.sty
%% Copyright 2013-2014 J. Peter M. Schuler
-%% 2014/05/27 v1.4.1 udesoftec
+%% 2014/08/23 v1.4.4 udesoftec
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -32,11 +32,22 @@
% and
% http://mirrors.ctan.org/macros/latex/contrib/udesoftec/udesoftec-doc.pdf
\NeedsTeXFormat{LaTeX2e}%
-\ProvidesPackage{udesoftec-extra}[2014/06/22 v1.4.2 udesoftec-extra.sty additions which are currently optional and may break former behaviour]%
+\ProvidesPackage{udesoftec-extra}[2014/08/16 v1.4.4 udesoftec-extra.sty additions which are currently optional and may break former behaviour]%
%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatletter
+\renewcommand{\doi}[1]{\href{http://dx.doi.org/#1}{doi:{#1}}}
+
+\renewcommand{\bblInTextPagePrefix}[1]{\bblp}
+\providecommand{\bblMultiCiteSeparator}{; }
+\providecommand{\citemulti}[1]{%
+\citetext{%
+\bibpunct[,~\bblInTextPagePrefix{}]{}{}{;}{a}{}{}{}%
+#1%
+\bibstyle@udesoftec%
+}}
+
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput% \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls b/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls
index f887d20c281..4417f2f2f98 100644
--- a/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls
+++ b/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls
@@ -1,7 +1,7 @@
% !Mode:: "TeX:UTF-8"
%% udesoftec.cls
%% Copyright 2013-2014 J. Peter M. Schuler
-%% 2014/06/22 v1.4.2 udesoftec
+%% 2014/08/23 v1.4.4 udesoftec
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -32,7 +32,7 @@
% and
% http://mirrors.ctan.org/macros/latex/contrib/udesoftec/udesoftec-doc.pdf
\NeedsTeXFormat{LaTeX2e}%
-\ProvidesClass{udesoftec}[2014/06/22 v1.4.2 udesoftec.cls Thesis class and bibstyle for UDE SOFTEC]%
+\ProvidesClass{udesoftec}[2014/08/23 v1.4.4 udesoftec.cls Thesis class and bibstyle for UDE SOFTEC]%
%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%
@@ -60,8 +60,9 @@
% source: http://www.ctan.org/pkg/fixltx2e
\usepackage{fixltx2e}
%%%%%%%%%%%%%%%%%%%%%%
-
-
+\usepackage{xstring}
+\edef\udesoftecversionstring{\csname ver@udesoftec.cls\endcsname}
+\StrLeft{\udesoftecversionstring}{27}[\udesoftecversion]
\usepackage{libertine}
@@ -242,7 +243,8 @@
\semester{Wintersemester 2011/2012, 8. Fachsemester \academicfield}
\entitle{Englischer Titel der Arbeit}
\confidentialitySource{Name der Firma, die auf die Vertraulichkeitserkl\"arung besteht}
-\date{Version: \today}
+\date{Dokumentversion: \today \linebreak Templateversion:
+\udesoftecversion}
\authorbox{
\begin{tabularx}{.7\linewidth}{ll}
@@ -311,6 +313,7 @@
% there should always be an additional German cc in English theses
\newcommand{\confidentialityclause}{%
\iflanguage{english}{%
+ \cleardoublepage
\chapter*{\labelconfidentialityclausetitle} % English heading
\udesoftec@defaultconfidentialityclauseen % English text
\selectlanguage{ngerman} % prepare German
@@ -318,6 +321,7 @@
\udesoftec@defaultconfidentialityclause % German text
\selectlanguage{english} % switching back to English
}{
+ \cleardoublepage
\chapter*{\labelconfidentialityclausetitle}
\udesoftec@defaultconfidentialityclause
}
@@ -334,8 +338,8 @@
\def\udesoftec@defaultstatutorydeclarationenprefix{The statutory declaration needs to be in German, so the following excerpt is in German:}
\newcommand{\statutorydeclaration}{
-
\iflanguage{english}{
+ \cleardoublepage
\chapter*{\labelstatutorydeclarationheading}
\udesoftec@defaultstatutorydeclarationenprefix
\selectlanguage{ngerman}
@@ -343,6 +347,7 @@
\udesoftec@defaultstatutorydeclaration
\selectlanguage{english}
}{
+ \cleardoublepage
\chapter*{\labelstatutorydeclarationheading}
\udesoftec@defaultstatutorydeclaration
@@ -1136,12 +1141,11 @@ bookmarks=true,bookmarksopen=true,bookmarksopenlevel=1,bookmarksnumbered=true]{h
\deftranslation[to=ngerman]{Acronyms}{Abkürzungsverzeichnis}
\deftranslation[to=ngerman]{Glossary}{Glossar}
\makeglossaries
-
-
+\AtEndDocument{\ifdefined\udesoftec@usedlistofitems@acronyms\label{udesoftec:needsloa}\fi}%
\newcommand{\printacronyms}{%
-\printglossary[type=\acronymtype,style=myAcronymStyle]%
+\@ifundefined{r@udesoftec:needsloa}{}{\printglossary[type=\acronymtype,style=myAcronymStyle]}%
}
-\newcommand{\acr}[1]{\gls{#1}}
+\newcommand{\acr}[1]{\gls{#1}\gdef\udesoftec@usedlistofitems@acronyms{}}
\newglossarystyle{myAcronymStyle}{%
% put the glossary in the itemize environment:
@@ -1167,24 +1171,23 @@ bookmarks=true,bookmarksopen=true,bookmarksopenlevel=1,bookmarksnumbered=true]{h
\usepackage{udesoftec-bst}
\usepackage[listings]{scrhack}
-
% make list of x conditional due to their usage
% http://tex.stackexchange.com/questions/33193/how-to-determine-whether-a-list-of-figures-is-empty
\AtEndEnvironment{figure}{\gdef\udesoftec@usedlistofitems@figure{}}%
\AtEndDocument{\ifdefined\udesoftec@usedlistofitems@figure\label{udesoftec:needslof}\fi}%
\let\defaultlistoffigures\listoffigures
-\renewcommand{\listoffigures}{\@ifundefined{r@udesoftec:needslof}{}{\defaultlistoffigures}}%
+\renewcommand{\listoffigures}{\@ifundefined{r@udesoftec:needslof}{}{\cleardoublepage\defaultlistoffigures}}%
\AtEndEnvironment{lstlisting}{\gdef\udesoftec@usedlistofitems@listing{}}%
\AtEndEnvironment{lstlisting-latex}{\gdef\udesoftec@usedlistofitems@listing{}}%
\AtEndDocument{\ifdefined\udesoftec@usedlistofitems@listing\label{udesoftec:needslol}\fi}%
\let\defaultlstlistoflistings\lstlistoflistings
-\renewcommand{\lstlistoflistings}{\@ifundefined{r@udesoftec:needslol}{}{\defaultlstlistoflistings}}%
+\renewcommand{\lstlistoflistings}{\@ifundefined{r@udesoftec:needslol}{}{\cleardoublepage\defaultlstlistoflistings}}%
\AtEndEnvironment{table}{\gdef\udesoftec@usedlistofitems@table{}}%\AtBeginDocument{\ifdefined\udesoftec@usedlistofitems@table\label{udesoftec:needslot}\fi}%
\AtEndDocument{\ifdefined\udesoftec@usedlistofitems@table\label{udesoftec:needslot}\fi}%
\let\defaultlistoftables\listoftables
-\renewcommand{\listoftables}{\@ifundefined{r@udesoftec:needslot}{}{\defaultlistoftables}}%
+\renewcommand{\listoftables}{\@ifundefined{r@udesoftec:needslot}{}{\cleardoublepage\defaultlistoftables}}%
@@ -1194,24 +1197,19 @@ bookmarks=true,bookmarksopen=true,bookmarksopenlevel=1,bookmarksnumbered=true]{h
\pagenumbering{alph} % title page is "a" - internal trick to prevent two pages with same name
\hypertarget{titlepage}{}\pdfbookmark[-1]{\@title}{titlepage} %
%
- \maketitle % Komplett automatisch generiert anhand von Metadaten
- \cleardoublepage%
+ \maketitle%
\pagenumbering{Roman} % I,II,III,IV... - all pre-content pages are roman upper
-
- \ifdocumentOmitCC\else\cleardoublepage\confidentialityclause\fi%
- \ifdocumentOmitA\else\cleardoublepage\printabstract\fi%
- \ifdocumentOmitTOC\else\cleardoublepage
- \hypertarget{tocpage}{}
- \pdfbookmark{\contentsname}{topage}
- \tableofcontents
- \fi
- \ifdocumentOmitLOF\else\cleardoublepage\listoffigures\fi
- \ifdocumentOmitLOT\else\cleardoublepage\listoftables\fi
- \ifdocumentOmitLOL\else\cleardoublepage\lstlistoflistings\fi
- \ifdocumentOmitLOA\else\cleardoublepage\printacronyms\fi
-
- \newlength{\imagewidth}
- \setlength\imagewidth\linewidth
+ \ifdocumentOmitCC\else\confidentialityclause\fi%
+ \ifdocumentOmitA\else\printabstract\fi%
+ \ifdocumentOmitTOC\else%
+ \cleardoublepage\hypertarget{tocpage}{}\pdfbookmark{\contentsname}{topage}%
+ \tableofcontents%
+ \fi%
+ \ifdocumentOmitLOF\else\listoffigures\fi%
+ \ifdocumentOmitLOT\else\listoftables\fi%
+ \ifdocumentOmitLOL\else\lstlistoflistings\fi%
+ \ifdocumentOmitLOA\else\printacronyms\fi%
+ \newlength{\imagewidth}\setlength\imagewidth\linewidth%
\mainmatter
}
@@ -1224,4 +1222,4 @@ bookmarks=true,bookmarksopen=true,bookmarksopenlevel=1,bookmarksnumbered=true]{h
\fi
\ifdocumentOmitSD\else\statutorydeclaration\fi
-} \ No newline at end of file
+}