diff options
author | Karl Berry <karl@freefriends.org> | 2015-08-27 22:01:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-08-27 22:01:18 +0000 |
commit | ed0cc62be17e1bf2b0a072cf59cc8d49e9c02e4a (patch) | |
tree | 671dae83494385edff1a356d5480dd284b52d0bc | |
parent | 1ca9cdc1c2ff5779e68ab7a3d5506856046d35f5 (diff) |
udesoftec (27aug15)
git-svn-id: svn://tug.org/texlive/trunk@38219 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst | 372 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.pdf | bin | 488656 -> 489620 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/udesoftec/CHANGELOG | 22 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/udesoftec/README | 16 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/udesoftec/VERSION | 1 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/udesoftec/udesoftec-doc.tex | 347 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/udesoftec/udesoftec-bibcommon.sty | 255 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/udesoftec/udesoftec-biblatex.sty | 576 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/udesoftec/udesoftec-bst.sty | 146 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/udesoftec/udesoftec-extra.sty | 20 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls | 709 |
11 files changed, 1537 insertions, 927 deletions
diff --git a/Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst b/Master/texmf-dist/bibtex/bst/udesoftec/udesoftec.bst index fa258f8b2f7..46073ef4e42 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-2015 J. Peter M. Schuler -%% 2015/08/20 v1.4.8 udesoftec +%% 2015/08/27 v1.5.1 udesoftec % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -26,10 +26,6 @@ % * doi is shown everywhere available, if no doi is available fallback to ISBN and ISSN. ISBN and ISSN are not shown if doi is present. % * edition field should be number without anything else, if so content gets ordinal and suffix, else plain content is displayed -FUNCTION {bblnameformat} {"{vv~}{ll}{ jj}{, f{}}"} % von Matera, M; Rizzo, F; Carughi, GT -%FUNCTION {bblnameformat} {"{vv }{ll}{ jj}{, f.}"} % von Matera, M.; Rizzo, F.; Carughi, G. T. -%FUNCTION {bblnameformat} {"{vv }{ll}{ jj}{, ff}"} % von Matera, Maristella; Rizzo, Francesca; Carughi, Giovanni Toffetti - ENTRY { address author @@ -77,6 +73,23 @@ FUNCTION {init.state.consts} STRINGS { s t } +FUNCTION {output.justdo} +{ 's := + output.state mid.sentence = + { " " * write$ } + { " " * write$ } +if$ + s +} + +FUNCTION {output.justdobutcheck} +{ 't := + duplicate$ empty$ + { pop$ "empty " t * " in " * cite$ * warning$ } + 'output.justdo + if$ +} + FUNCTION {output.nonnull} { 's := output.state mid.sentence = @@ -91,12 +104,12 @@ FUNCTION {output.nonnull} 'write$ { output.state before.bibitemtitle = - {"\bblAuthorTitleSep" * write$ } + {"\bblAuthorTitleSep{}" * write$ } { output.state before.bibitemtitle = 'write$ { output.state before.year = - {"\bblAuthorYearSep" * write$ } + {"\bblAuthorYearSep{}" * write$ } {add.period$ " " * write$ } if$ } @@ -155,7 +168,7 @@ FUNCTION {output.check} } FUNCTION {fin.entry} -{ add.period$ +{ %add.period$ write$ newline$ } @@ -251,6 +264,9 @@ FUNCTION {emphasize} if$ } +FUNCTION {bblnameformat} {"{vv~}{ll}{~jj}"} % von Matera, M; Rizzo, F; Carughi, GT +FUNCTION {bblnameformat2} {"{f{}}"} % von Matera, M; Rizzo, F; Carughi, GT + INTEGERS { nameptr namesleft numnames } FUNCTION {format.names} { 's := @@ -258,17 +274,17 @@ FUNCTION {format.names} s num.names$ 'numnames := numnames 'namesleft := { namesleft #0 > } - { s nameptr bblnameformat format.name$ 't := + { s nameptr bblnameformat format.name$ "\bblFirstnameSep{}" * s nameptr bblnameformat2 format.name$ * 't := nameptr #1 > { namesleft #1 > - { "; " * t * } + { "\bblAuthorsSep{}" * t * } { numnames #2 > { "" * } 'skip$ if$ t "others" = { "" * } - { "; " * t * } + { "\bblAuthorsSep{}" * t * } if$ } if$ @@ -287,21 +303,9 @@ FUNCTION {format.cities} s num.names$ 'numnames := numnames 'namesleft := { namesleft #0 > } - { s nameptr "{vv~}{ff} {ll}{ jj}" format.name$ 't := + { s nameptr "{ll}" format.name$ 't := nameptr #1 > - { namesleft #1 > - { ", " * t * } - { numnames #2 > - { "" * } - 'skip$ - if$ - t "others" = - { "" * } - { ", " * t * } - if$ - } - if$ - } + { "XXXXX" } 't if$ nameptr #1 + 'nameptr := @@ -313,11 +317,7 @@ FUNCTION {format.cities} FUNCTION {format.address} { address empty$ { "" } - { address num.names$ #1 > - { address format.cities } - { address } - if$ - } + { "\bblAddress{" address * "}" * } if$ } @@ -430,7 +430,7 @@ FUNCTION {format.urldate} FUNCTION {format.doi} { doi empty$ { "" } - { new.block "\doi{" doi * "}" * } + { new.block "\bbldoi{" doi * "}" * } if$ } @@ -572,10 +572,21 @@ FUNCTION {format.date} FUNCTION {format.year} { - "\bblFontYearInList{" format.date * "}" * + "\bblFontYearInList{\bblYear{" format.date * "}}" * before.year 'output.state := } +FUNCTION {format.yearpublished} +{ + "\bblpublishdate{" format.date * "}" * + before.year 'output.state := +} + +FUNCTION {format.standardpublished} +{ + "\bblstandardpublishdate{" format.date * "}" * +} + FUNCTION {format.btitle} { "\bblFontBookTitle{" title * "}" * @@ -742,7 +753,7 @@ FUNCTION {format.in.ed.booktitle} { "" } { editor empty$ { "\bblin " booktitle format.inEdBookTitle * } - { "\bblin " format.editors * "\bblAuthorTitleSepInEd " * booktitle format.inEdBookTitle * } + { "\bblin " format.editors * "\bblAuthorTitleSepInEd{}" * booktitle format.inEdBookTitle * } if$ } if$ @@ -778,99 +789,25 @@ FUNCTION {format.tr.number} if$ } -%FUNCTION {format.article.crossref} -%{ key empty$ - %{ journal empty$ - %{ "need key or journal for " cite$ * " to crossref " * crossref * - %warning$ - %"" - %} - %{ "\bblin " journal * "" * } - %if$ - %} - %{ "\bblin " } - %if$ - %" \citet{" * crossref * "}" * -%} -% -%FUNCTION {format.book.crossref} -%{ volume empty$ - %{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$ - %"\bblin " - %} - %{ "Volume" volume tie.or.space.connect - %" \bblof " * - %} - %if$ - %editor empty$ - %editor field.or.null author field.or.null = - %or - %{ key empty$ - %{ series empty$ - %{ "need editor, key, or series for " cite$ * " to crossref " * - %crossref * warning$ - %"" * - %} - %{ "\emph{" * series * "}" * } - %if$ - %} - %'skip$ - %if$ - %} - %'skip$ - %if$ - %" \citet{" * crossref * "}" * -%} -% -%FUNCTION {format.incoll.inproc.crossref} -%{ editor empty$ - %editor field.or.null author field.or.null = - %or - %{ key empty$ - %{ booktitle empty$ - %{ "need editor, key, or booktitle for " cite$ * " to crossref " * - %crossref * warning$ - %"" - %} - %{ " \bblin \emph{" booktitle * "}" * } - %if$ - %} - %{ " \bblin " } - %if$ - %} - %{ " \bblin " } - %if$ - %" \citet{" * crossref * "}" * -%} - FUNCTION {article} { output.bibitem format.authors "author" output.check author format.key output format.year output.nonnull - format.title "title" output.check + format.title "title" output.check new.block - %crossref missing$ - %{ - journal format.journaltitle "journal" output.check - eid empty$ - { format.vol.num.pages output } - { format.vol.num.eid output } - if$ - %} - %{ format.article.crossref output.nonnull - %eid empty$ - %{ format.pages output } - %{ format.eid output } - %if$ - %} - %if$ + journal format.journaltitle "journal" output.check + eid empty$ + { format.vol.num.pages output.justdo } + { format.vol.num.eid output.justdo } + if$ format.doi empty$ {format.issn output} {} if$ format.doi output format.url output + format.urldate output.justdo new.block note output fin.entry @@ -883,18 +820,14 @@ FUNCTION {book} editor format.key output } { format.authors output.nonnull - %crossref missing$ - %{ + "author and editor" editor either.or.check - %} - %'skip$ - %if$ + } if$ format.year output.nonnull format.btitle "title" output.check - % crossref missing$ - %{ + format.bvolume output new.block format.number.series output @@ -902,18 +835,14 @@ FUNCTION {book} format.edition output publisher "publisher" output.check format.address output - %} - %{ new.block - %format.book.crossref output.nonnull - %} - %if$ - + format.doi empty$ {format.isbn output} {} if$ format.doi output format.url output + format.urldate output.justdo new.block note output fin.entry @@ -927,13 +856,14 @@ FUNCTION {booklet} format.title "title" output.check howpublished address new.block.checkb howpublished output - address output + format.address output format.doi empty$ {format.isbn output} {} if$ format.doi output format.url output + format.urldate output.justdo new.block note output fin.entry @@ -946,31 +876,20 @@ FUNCTION {inbook} editor format.key output } { format.authors output.nonnull - %crossref missing$ - %{ - "author and editor" editor either.or.check - %} - %'skip$ - %if$ + "author and editor" editor either.or.check } if$ format.year output.nonnull format.btitle "title" output.check - %crossref missing$ - %{ + format.bvolume output format.chapter.pages "chapter and pages" output.check new.block format.number.series output new.sentence publisher "publisher" output.check - address output - %} - %{ format.chapter.pages "chapter and pages" output.check - %new.block - %format.book.crossref output.nonnull - %} - %if$ + format.address output + format.edition output format.doi empty$ {format.isbn output} @@ -978,6 +897,7 @@ FUNCTION {inbook} if$ format.doi output format.url output + format.urldate output.justdo new.block note output fin.entry @@ -990,28 +910,23 @@ FUNCTION {incollection} format.year output.nonnull format.title "title" output.check new.block -% crossref missing$ - % { + format.in.ed.booktitle "booktitle" output.check format.bvolume output format.number.series output format.chapter.pages output new.sentence - publisher "publisher" output.check - address output format.edition output - format.date "year" output.check - %} - %{ format.incoll.inproc.crossref output.nonnull - %format.chapter.pages output - %} - %if$ + publisher "publisher" output.check + format.address output + format.doi empty$ {format.isbn output} {} if$ format.doi output format.url output + format.urldate output.justdo new.block note output fin.entry @@ -1024,35 +939,32 @@ FUNCTION {inproceedings} format.year output.nonnull format.title "title" output.check new.block - % crossref missing$ - % { + format.in.ed.booktitle "booktitle" output.check format.bvolume output format.number.series output - format.pages output + new.sentence address empty$ { organization publisher new.sentence.checkb organization output publisher output - format.date "year" output.check + } - { address output.nonnull - new.sentence + { organization output publisher output + format.address output.nonnull } if$ - % } - % { format.incoll.inproc.crossref output.nonnull - % format.pages output - % } - % if$ + format.pages output + format.doi empty$ {format.isbn output} {} if$ format.doi output format.url output + format.urldate output.justdo new.block note output fin.entry @@ -1068,10 +980,11 @@ FUNCTION {manual} format.btitle "title" output.check organization address new.block.checkb organization output - address output + format.address output format.edition output format.date output format.url output + format.urldate output.justdo new.block note output fin.entry @@ -1086,8 +999,9 @@ FUNCTION {mastersthesis} new.block "Master's thesis" format.thesis.type output.nonnull school "school" output.check - address output + format.address output format.url output + format.urldate output.justdo new.block note output fin.entry @@ -1105,7 +1019,7 @@ FUNCTION {misc} format.date output format.issn output format.url output - format.urldate output + format.urldate output.justdo new.block note output fin.entry @@ -1116,14 +1030,32 @@ FUNCTION {techstandard} { output.bibitem format.standard output format.title "title" output.check + new.sentence + organization output + publisher output + format.address output + new.sentence + format.standardpublished output new.block - format.year output.nonnull - format.doi empty$ - {format.isbn output} - {} + + doi empty$ + { + format.isbn empty$ + {} + { + new.sentence + format.isbn output + } + if$ + } + { + new.sentence + format.doi output + } if$ - format.doi output format.url output + format.urldate output + new.block note output fin.entry @@ -1138,8 +1070,9 @@ format.year output.nonnull new.block "PhD thesis" format.thesis.type output.nonnull school "school" output.check - address output + format.address output format.url output + format.urldate output.justdo new.block note output fin.entry @@ -1153,16 +1086,17 @@ FUNCTION {proceedings} format.btitle "title" output.check format.bvolume output format.number.series output - address output new.sentence organization output publisher output + format.address output format.doi empty$ {format.isbn output} {} if$ format.doi output format.url output + format.urldate output.justdo new.block note output fin.entry @@ -1177,9 +1111,10 @@ FUNCTION {techreport} new.block format.tr.number output.nonnull institution "institution" output.check - address output + format.address output format.date "year" output.check format.url output + format.urldate output.justdo new.block note output fin.entry @@ -1195,80 +1130,13 @@ FUNCTION {unpublished} note "note" output.check format.date output format.url output + format.urldate output.justdo fin.entry } FUNCTION {default.type} { misc } -MACRO {jan} {"January"} - -MACRO {feb} {"February"} - -MACRO {mar} {"March"} - -MACRO {apr} {"April"} - -MACRO {may} {"May"} - -MACRO {jun} {"June"} - -MACRO {jul} {"July"} - -MACRO {aug} {"August"} - -MACRO {sep} {"September"} - -MACRO {oct} {"October"} - -MACRO {nov} {"November"} - -MACRO {dec} {"December"} - - - -MACRO {acmcs} {"ACM Computing Surveys"} - -MACRO {acta} {"Acta Informatica"} - -MACRO {cacm} {"Communications of the ACM"} - -MACRO {ibmjrd} {"IBM Journal of Research and Development"} - -MACRO {ibmsj} {"IBM Systems Journal"} - -MACRO {ieeese} {"IEEE Transactions on Software Engineering"} - -MACRO {ieeetc} {"IEEE Transactions on Computers"} - -MACRO {ieeetcad} - {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"} - -MACRO {ipl} {"Information Processing Letters"} - -MACRO {jacm} {"Journal of the ACM"} - -MACRO {jcss} {"Journal of Computer and System Sciences"} - -MACRO {scp} {"Science of Computer Programming"} - -MACRO {sicomp} {"SIAM Journal on Computing"} - -MACRO {tocs} {"ACM Transactions on Computer Systems"} - -MACRO {tods} {"ACM Transactions on Database Systems"} - -MACRO {tog} {"ACM Transactions on Graphics"} - -MACRO {toms} {"ACM Transactions on Mathematical Software"} - -MACRO {toois} {"ACM Transactions on Office Information Systems"} - -MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} - -MACRO {tcs} {"Theoretical Computer Science"} - - READ FUNCTION {sortify} @@ -1342,13 +1210,13 @@ FUNCTION {author.key.organization.label} 'key if$ } - { author format.lab.names } + { author format.lab.names format.authorStyleInText } if$ } FUNCTION {author.techstandard.label} { standard empty$ - { type " " * number * "-" * edition * "(" * } - { standard "(" * } + { ' type " " * number * "-" * edition * "(" * } + { standard format.authorStyleInText "(" * } if$ } @@ -1363,7 +1231,7 @@ FUNCTION {editor.key.organization.label} 'key if$ } - { editor format.lab.names } + { editor format.lab.names format.authorStyleInText } if$ } @@ -1610,16 +1478,6 @@ FUNCTION {begin.bib} if$ "\begin{thebibliography}{" number.label int.to.str$ * "}" * write$ newline$ - %"\providecommand{\natexlab}[1]{#1}" - %write$ newline$ - %"\providecommand{\url}[1]{\texttt{#1}}" - %write$ newline$ - %"\expandafter\ifx\csname urlstyle\endcsname\relax" - %write$ newline$ - %" \providecommand{\doi}[1]{doi: #1}\else" - %write$ newline$ - %" \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi" - %write$ newline$ } EXECUTE {begin.bib} diff --git a/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.pdf b/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.pdf Binary files differindex 8e9b1e80789..dfbafd469ec 100644 --- a/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.pdf +++ b/Master/texmf-dist/doc/latex/udesoftec/udesoftec-doc.pdf diff --git a/Master/texmf-dist/source/latex/udesoftec/CHANGELOG b/Master/texmf-dist/source/latex/udesoftec/CHANGELOG index 3cf35c51b50..cc53142a3a5 100644 --- a/Master/texmf-dist/source/latex/udesoftec/CHANGELOG +++ b/Master/texmf-dist/source/latex/udesoftec/CHANGELOG @@ -1,12 +1,28 @@ The version number of all files is changed for every release. Please refer to the details below in order to see which files were changed. -2015/08/20 v1.4.8 udesoftec +2015/08/27 v1.5.1 +* Improving interop between BibTeX and BibLaTeX styles +* [udesoftec-biblatex.sty] adapting formating to remove major bugs +* [udesoftec.cls] switching class mapping of "en" to "british" instead of "english" for better date representation + +2015/08/25 v1.5.0 (unreleased) +* Big code sprint and bugfixing! +* [udesoftec.bst] fixed order of elements in biblography +* [udesoftec.cls] major cleanup and reordering of cls file +* [udesoftec-bst.sty] fixed wrong font size after first ISBN/ISSN in bibliography +* NEW [udesoftec-biblatex.sty] adding basic support in the architecture of the class for biblatex. Currently the citations are barely how they should look like and the package is highly experimental. +* NEW [udesoftec-bibcommon.sty] provide basic support for bibtex/bst and biber/bbx/biblatex to use the same commands for design of citations and bibliography, will be included automatically by udesoftec-bst and udesoftec-biblatex +* [udesoftec-bibcommon.sty] provide support for reformating the dates in bibliography for urldate or techstandards. Dates should have the format "yyyy-mm-dd" or "dd.mm.yyyy". A bit of robustness is coded in, due to different exports having different date formats. In case you run into errors, feel free to report your date format. +* [udesoftec-bibcommon.sty] changed punctuation for more fit towards Springer Basic +* [udesoftec-bibcommon.sty] fixed some citations not having \textsc set + +2015/08/20 v1.4.8 * [udesoftec.bst] fixing regression introduced in 1.4.7 with some cite commands preventing year from being placed in text -2015/08/19 v1.4.7 udesoftec +2015/08/19 v1.4.7 * [udesoftec-doc] fixed documentation for package depencies due to used packages being updated * [udesoftec.cls] removed deprecated fixltx2e -* [udesoftec.bst] added new doctype @techstandard for better interop with Citavi and standards, refer do documentation for further details +* [udesoftec.bst] added new doctype @techstandard for better interop with Citavi and standards, refer to documentation for further details * [udesoftec.bst] fixed a problem with Citavi BibTeX exports having a {\textunderscore } in doi * [udesoftec.cls] added new command \citemulti{} diff --git a/Master/texmf-dist/source/latex/udesoftec/README b/Master/texmf-dist/source/latex/udesoftec/README index 0f31c063837..5b5452432ae 100644 --- a/Master/texmf-dist/source/latex/udesoftec/README +++ b/Master/texmf-dist/source/latex/udesoftec/README @@ -1,8 +1,9 @@ udesoftec documentclass and bibstyle Maintainer: J. Peter M. Schuler +E-Mail: j.peter.m.schuler at uni dash due dot de Copyright: 2013-2015 J. Peter M. Schuler -Version: 2015/08/20 v1.4.8 udesoftec +Version: 1.5.1 2015/08/27 License: lppl Topic: dissertation @@ -10,10 +11,14 @@ Description: LaTeX template (full documentclass) for written theses at the University of Duisburg-Essen, Research Group for Business Informatics and Software Engineering. - - It is based on pdflatex and bibtex using UTF-8 encoded files. It is thorougly - tested on Windows/MikTeX and OSX/BasicTeX, works as well under sharelatex.com - and thus should be plattform independent. + + BibTeX bibliography style is quite similar to Springer Basic, just some + usability improvements (e.g. urldates are added in brackets in order to + prevent dots after the url). Labels localized to English and German. + + It is based on pdflatex and bibtex using UTF-8 encoded files. It is + thorougly tested on Windows/MikTeX and OSX/BasicTeX, works as well under + sharelatex.com and thus should be plattform independent. For more information see the instructions in udesoftec-doc.pdf - complete instructions are available in German, a short abstract in English gives @@ -31,6 +36,7 @@ Manual Installation: e.g.: texmf/tex/latex/udesoftec/udesoftec.cls texmf/tex/latex/udesoftec/udesoftec-bst.sty + texmf/tex/latex/udesoftec/udesoftec-biblatex.sty texmf/tex/latex/udesoftec/udesoftec-extra.sty texmf/tex/latex/udesoftec/udesoftec-cover-uba.pdf texmf/tex/latex/udesoftec/udesoftec-cover-ude-de.pdf diff --git a/Master/texmf-dist/source/latex/udesoftec/VERSION b/Master/texmf-dist/source/latex/udesoftec/VERSION deleted file mode 100644 index 8302483c615..00000000000 --- a/Master/texmf-dist/source/latex/udesoftec/VERSION +++ /dev/null @@ -1 +0,0 @@ -2015/08/20 v1.4.8 diff --git a/Master/texmf-dist/source/latex/udesoftec/udesoftec-doc.tex b/Master/texmf-dist/source/latex/udesoftec/udesoftec-doc.tex index 62ba6391071..8bc2e21956c 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-2015 J. Peter M. Schuler -%% 2015/08/20 v1.4.8 udesoftec -\documentclass[omit-sd,omit-lol]{udesoftec} +%% Copyright 2015 J. Peter M. Schuler +%% 2015/08/27 v1.5.1 udesoftec +\documentclass[de,omit-sd,omit-lol]{udesoftec} \usepackage{udesoftec-extra} \usetikzlibrary{shadows} @@ -22,7 +22,6 @@ \newcommand{\BibTeX}{BibTeX} - \typeofdoc{Dokumentation zu} \title{udesoftec} @@ -32,50 +31,62 @@ \city{Essen} \labelPreTopic{} \institution{Universität Duisburg-Essen} -\semester{} -%%\date{Version: \input{VERSION.}} +\semester{} \authorbox{ \begin{tabularx}{.7\linewidth}{ll} Maintainer:&J. Peter M. Schuler\\ - &j.peter.m.schuler@uni-due.de\\ - \\ + &j.peter.m.schuler@uni-due.de\\ + \\ \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}.} -} -\abstractEn{ - Install with MikTeX or if using TeX Live (e.g. BasicTeX) with \lstinline!tlmgr! using the command mentioned in section \ref{sec:classinstall}. - - An alternative, in case you run into problems: just install the documentclass and bibstyle from ctan. Afterwards - download the appropiate cover from \url{http://mirror.ctan.org/macros/latex/contrib/udesoftec} and place it next to - your document's \lstinline!main.tex!.} +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 paket list in the \hyperref[sec:classinstall]{tlmgr +command} 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}.} + +If you just intend to use the BibTeX style without the documentclass simply +using package udesoftec-bst should be sufficient. +If you just intend to use the BibLaTeX style without the documentclass simply +using package udesoftec-biblatex should be sufficient.} +\abstractEn{ Install with MikTeX or if using TeX Live (e.g. BasicTeX) with +\lstinline!tlmgr! using the command mentioned in section \ref{sec:classinstall}. + + An alternative, in case you run into problems: just install the documentclass and bibstyle from ctan. Afterwards + download the appropiate cover from \url{http://mirror.ctan.org/macros/latex/contrib/udesoftec} and place it next to + your document's \lstinline!main.tex!.} \renewcommand{\udesoftecoverride}{ \renewcaptionname{ngerman}{\labelabstracttitle}{English summary for this document} - \renewcaptionname{english}{\labelabstracttitle}{Installation} -} + %\renewcaptionname{english}{\labelabstracttitle}{Installation} + \renewcaptionname{british}{\labelabstracttitle}{Installation} +} %%%%%%%%%%%%%%%%%%%%%%%% DOCUMENT %%%%%%%%%%%%%%%%%%%%%%%% -\begin{document} -%%%%%%%%%%%%%%%%%%%%%%%%%%% METADATA %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\begin{document} \newacronym[description={User Interface, \entode{Benutzeroberfläche}}]{ui}{UI}{User Interface} \newacronym[description={Business-to-Customer, \entode{Unternehmen-zu-Kunde}, beschreibt den Zielmarkt für Transaktionen}]{b2c}{B2C}{Business-to-Customer} \newglossaryentry{Pattern}{name=Pattern, description={TODO:Pattern Definition}} \newglossaryentry{Pattern-Kategorie}{name=Pattern-Kategorie, description={Die Einteilung eines \gls{Pattern} in einem Pattern-Katalog}} -%%%%%%%%%%%%%%%%%%%%%%%% CONTENT %%%%%%%%%%%%%%%%%%%%%%% \chapter{Einführung} \section{Grundidee} Dieses Template stellt eine professionelle Lösung für die Nutzung von \LaTeX{} bereit, die an einigen Stellen von den Quick'and'Dirty und den Plattformübergreifenden Lösungen aus gutem Grund abweicht. Dementsprechend wird über das Template hinaus eine eher spezifische Konfiguration der \LaTeX{}-Umgebung empfohlen. Ein paar Beispiele dafür: \begin{itemize} - \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 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 \end{itemize} \section{Beispiel-Projekt}\label{sec:exampleproject} @@ -91,44 +102,47 @@ Ein Beispielprojekt mit echten Inhalten findet sich unter\newline \url{http://ud %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\pagebreak\section{Klassenparameter und Konstanten} +\pagebreak% looks nicer +\section{Klassenparameter und Konstanten} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \subsection{Optionen der Klasse}\label{sec:classoptions} \begin{description}[leftmargin=2.75cm,style=sameline] - \item[proposal]{Bspw. für ein Exposé. Setzt alle omit-* Optionen.} - \item[final]{Deaktiviert einige Funktionen (bspw. TODOs) und beschleunigt einige Ausgaben.} - \item[en]{Wechselt die primäre Dokumentsprache von Deutsch auf Englisch. Ändert einzelne Überschriften und andere sprachabhängige Labels.} - \item[printlayout]{Wechselt auf doppelseitiges Druck-Layout ("`Buchlayout"') und Serien-Schrift. Nützlich, wenn die Arbeit ausgedruckt wird und beidseitiger Druck möglich ist. Kapitel beginnen auf rechten Seiten, dadurch werden Leerseiten eingefügt.} - \item[confidential]{Erstellt einen Sperrvermerk, vgl. \autoref{sec:sperrvermerk}.} - \item[long-a]{Für deutsche Dokumente: Wenn die beiden Abstracts so lang sind, dass sie nicht auf eine Seite passen, fängt der englische auf einer neuen Seite an.} - \item[omit-a]{Abstract entfernen.} - \item[omit-lot]{Tabellenverzeichnis entfernen.} - \item[omit-lof]{Abbildungsverzeichnis entfernen.} - \item[omit-loa]{Abkürzungsverzeichnis entfernen.} - \item[omit-sd]{Eidesstattliche Versicherung entfernen.} - \item[omit-toc]{Inhaltsverzeichnis entfernen.} - \item[omit-todos]{TODO-Liste am Ende des Dokuments entfernen.} - \item[vawiessen]{Passt das Deckblatt an die Vorgaben von VAWi-Essen an.} - \item[vawibamberg]{Passt das Deckblatt an die Vorgaben von VAWi-Bamberg an.} + \item[biber]{Benutzung von BibLaTeX und biber statt BibTeX} + \item[proposal]{Bspw. für ein Exposé. Setzt alle omit-* Optionen.} + \item[final]{Deaktiviert einige Funktionen (bspw. TODOs) und beschleunigt einige Ausgaben.} + \item[en]{Wechselt die primäre Dokumentsprache von Deutsch auf Englisch. Ändert einzelne Überschriften und andere sprachabhängige Labels.} + \item[printlayout]{Wechselt auf doppelseitiges Druck-Layout ("`Buchlayout"') und Serien-Schrift. Nützlich, wenn die Arbeit ausgedruckt wird und beidseitiger Druck möglich ist. Kapitel beginnen auf rechten Seiten, dadurch werden Leerseiten eingefügt.} + \item[confidential]{Erstellt einen Sperrvermerk, vgl. \autoref{sec:sperrvermerk}.} + \item[long-a]{Für deutsche Dokumente: Wenn die beiden Abstracts so lang sind, dass sie nicht auf eine Seite passen, fängt der englische auf einer neuen Seite an.} + \item[omit-a]{Abstract entfernen.} + \item[omit-lot]{Tabellenverzeichnis entfernen.} + \item[omit-lof]{Abbildungsverzeichnis entfernen.} + \item[omit-loa]{Abkürzungsverzeichnis entfernen.} + \item[omit-sd]{Eidesstattliche Versicherung entfernen.} + \item[omit-toc]{Inhaltsverzeichnis entfernen.} + \item[omit-todos]{TODO-Liste am Ende des Dokuments entfernen.} + \item[vawiessen]{Passt das Deckblatt an die Vorgaben von VAWi-Essen an.} + \item[vawibamberg]{Passt das Deckblatt an die Vorgaben von VAWi-Bamberg an.} \end{description} +\pagebreak% looks nicer \subsection{Anpassen des Deckblatts}\label{sec:variables} Neben den Paket-Optionen \lstinlinelatex!vawiessen! und \lstinlinelatex!vawibamberg! können die folgenden Kommandos vor dem \lstinlinelatex!\begin{document}! genutzt werden: \begin{multicols}{4} \begin{itemize} - \item \lstinlinelatex!\city! \item \lstinlinelatex!\typeofdoc! \item \lstinlinelatex!\academicfield! + \item \lstinlinelatex!\authorbox! \item \lstinlinelatex!\institution! \item \lstinlinelatex!\semester! - \item \lstinlinelatex!\confidentialitySource! - \item \lstinlinelatex!\authorbox! \item \lstinlinelatex!\entitle! + \item \lstinlinelatex!\city! + \item \lstinlinelatex!\confidSource! \end{itemize} \end{multicols} - - + + Darüber hinaus gibt es natürlich noch die Standard-Kommandos: \begin{multicols}{3} \begin{itemize} @@ -153,18 +167,22 @@ Die Nutzung ist wie bei den Standard-LaTeX-Kommandos üblich: \\ Betreuer: &Dipl.-Wirt.-Inf Some Body\\ \\ - \end{tabularx} + \end{tabularx} }\end{lstlistinglatex} \subsection{Sperrvermerke}\label{sec:sperrvermerk} -Durch die Klassenoption \lstinlinelatex!confidential! wird der Sperrvermerk aktiviert und durch die Neudefinition des Firmennamens über den Befehl \lstinlinelatex!\confidentialitySource!, kann Sie entsprechend angepasst werden: +Durch die Klassenoption \lstinlinelatex!confidential! wird der Sperrvermerk aktiviert und durch die Neudefinition des Firmennamens über den Befehl \lstinlinelatex!\confidSource!, kann Sie entsprechend angepasst werden: \begin{lstlistinglatex}[label=lst-confidentialitySource,caption=Sperrvermerke aktivieren] \documentclass[confidential]{udesoftec} - \confidentialitySource{Name der Firma} + \confidSource{Name der Firma} \end{lstlistinglatex} + + + \chapter{Nutzung der Formatvorlage und übliche Kommandos} + \section{Beispiele für Zitationen} Die häufigsten Zitationsarten sind hier vermerkt, eine komplette Liste der Möglichkeiten findet sich bspw. im \href{http://merkel.zoneo.net/Latex/natbib.php}{Natbib Cheat Sheet} @@ -241,7 +259,7 @@ Dies kann man im Rahmen des BibTeX-Exports von Citavi einstellen: \item Titel:IEEE Recommended Practice for Software Design Descriptions \item Normtyp:IEEE Std \item Nummer:1016 -\item Ausgabedatum:1998-09- 23 +\item Ausgabedatum:1998-09-23 \item Freitext 1: IEEE Std 1016-1998 \end{enumerate} \item Dann den Export aufrufen: Menu Datei => Exportieren => Exportieren... @@ -263,6 +281,7 @@ geregelt.} \begin{lstlistinglatex}[label=lst:citestd,caption={Quellenangabe für \citeauthor{IEEEStd-1016:1998} \citetext{S. 16} \end{lstlistinglatex} + \section{Abbildungen} Abbildungen werden ausschließlich als PDF eingefügt. Dadurch sind Sie einfacher wartbar und die Chance, dass beim Erstellen eine Vektorgrafik produziert wird steigt gegenüber anderen Vorgehensweisen. Jedes Programm kann grundsätzlich PDF exportieren (selbst MS Powerpoint) und ein PDF-Drucker wie \href{http://www.dopdf.com/de/}{doPDF} versorgt die restlichen Programme. @@ -271,11 +290,11 @@ Im Gegensatz zur anderen Textprogrammen ist folgendes wichtig zu wissen: Die Pos \parExample[Abbildungen einfügen]{Dabei unterteilt \citeauthor{Nielsen.1993} die Akzeptanz in verschiedene Bereiche (vgl. \autoref{fig:Nielsen_1993_Acceptability}).} %%%%%%%%%%%%%%%%%%% FIGURE %%%%%%%%%%%%%%%%%%%%%% \begin{figure} - \centering{ - \includegraphics[width=.95\linewidth,keepaspectratio=true]{udesoftec-doc-exampleimage} - \caption[System Akzeptanz nach \citeauthor{Nielsen.1993}]{System Akzeptanz nach \citet[25]{Nielsen.1993}}% - \label{fig:Nielsen_1993_Acceptability}% - }% + \centering{ + \includegraphics[width=.95\linewidth,keepaspectratio=true]{udesoftec-doc-exampleimage} + \caption[System Akzeptanz nach \citeauthor{Nielsen.1993}]{System Akzeptanz nach \citet[25]{Nielsen.1993}}% + \label{fig:Nielsen_1993_Acceptability}% + }% \end{figure}% %%%%%%%%%%%%%%%%%%% FIGURE %%%%%%%%%%%%%%%%%%%%%% @@ -295,6 +314,7 @@ Dabei unterteilt \citeauthor{Nielsen.1993} die Akzeptanz in verschiedene Bereich + \section{Abkürzungen} Über das folgende Kommando können Abkürzungen angelegt werden: \begin{lstlisting}[language={[LaTeX]TeX},morekeywords={\newacronym}] @@ -309,19 +329,22 @@ Als Wert für \lstinline!<intern>! hat sich die Kleinschreibung der Abkürzung b \acr{<intern>} oder \acrshort{<intern>} \end{lstlisting} Bspw.: Abkürzungen wie \acr{b2c} können eingeführt und danach kurz als \acr{b2c} genutzt werden, oder wie bei \acrshort{ui} trotz erstmaliger Verwendung kurzgeschrieben werden. + + + \section{Aufzählungen} \subsection{Aufzählungslisten unnummeriert} Beschreibungslisten können auch mit festem Einschub gesetzt werden: \parExample[Aufzählungslisten unummeriert]{ \begin{itemize} - \item{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.} - \item{Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.} + \item{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.} + \item{Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.} \end{itemize} } \begin{lstlistinglatex}[label=lst:itemize,caption={Aufzählungslisten unummeriert}] \begin{itemize}[leftmargin=3.5cm] - \item{Lorem ipsum dolor...} - \item{Stet clita kasd...} + \item{Lorem ipsum dolor...} + \item{Stet clita kasd...} \end{itemize} \end{lstlistinglatex} @@ -329,13 +352,13 @@ Beschreibungslisten können auch mit festem Einschub gesetzt werden: Nummerierte Aufzählungslisten sind auch möglich. \parExample[Aufzählungslisten nummeriert]{ \begin{enumerate} - \item{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.} - \item{Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.} + \item{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.} + \item{Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.} \end{enumerate}} \begin{lstlistinglatex}[label=lst:enumerate,caption={Aufzählungslisten nummeriert}] \begin{enumerate} - \item{Lorem ipsum dolor...} - \item{Stet clita kasd...} + \item{Lorem ipsum dolor...} + \item{Stet clita kasd...} \end{enumerate} \end{lstlistinglatex} Für eine Anpassung der Form (beispielsweise aufzählen mit Buchstaben, Text vor den Zahlen etc.) sei auf die \lstinline!\label!-Option verwiesen, die bspw. unter \url{http://de.wikibooks.org/wiki/LaTeX-Wörterbuch:_enumitem} erklärt ists. @@ -344,13 +367,13 @@ Für eine Anpassung der Form (beispielsweise aufzählen mit Buchstaben, Text vor Beschreibungslisten können auch mit festem Einschub gesetzt werden: \parExample[Merkmal-Aufzählungen mit festem Einschub]{ \begin{description}[leftmargin=2.5cm,style=sameline] - \item[Merkmal]{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.} - \item[Element]{Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.} + \item[Merkmal]{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.} + \item[Element]{Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.} \end{description}} \begin{lstlistinglatex}[label=lst:desc-sameline,caption={Merkmal-Aufzählungen mit festem Einschub}] \begin{description}[leftmargin=2.5cm,style=sameline] - \item[Merkmal]{Lorem ipsum dolor...} - \item[Element]{Stet clita kasd...} + \item[Merkmal]{Lorem ipsum dolor...} + \item[Element]{Stet clita kasd...} \end{description} \end{lstlistinglatex} @@ -358,21 +381,28 @@ Beschreibungslisten können auch mit festem Einschub gesetzt werden: Beschreibungslisten können auch mit festem Umbruch gesetzt werden: \parExample[Merkmal-Aufzählungen mit Umbruch]{ \begin{description}[style=nextline] - \item[Merkmal]{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.} - \item[Element]{Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.} + \item[Merkmal]{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.} + \item[Element]{Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.} \end{description}} \begin{lstlistinglatex}[label=lst:desc-nextline,caption={Merkmal-Aufzählungen mit Umbruch}] \begin{description}[style=nextline] - \item[Merkmal]{Lorem ipsum dolor...} - \item[Element]{Stet clita kasd...} + \item[Merkmal]{Lorem ipsum dolor...} + \item[Element]{Stet clita kasd...} \end{description} \end{lstlistinglatex} - \section{TODOs} Ü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 existitert und das Dokument nicht mit der Option \lstinlinelatex!final! oder \lstinlinelatex!omit-todos! kompiliert wird. + + + \chapter{FAQ} +\section{BibTeX Fehler: Paragraph ended before \ldots parsedate was complete.} +Irgendwo gibt es in der .bib-Datei ein Fehlerhaftes Datum (urldate). Das Datum +sollte im Format dd.mm.yyyy oder yyyy-mm-dd vorliegen (oder weder \enquote{.} +noch \enquote{-} im String haben). + \section{Der Hinweis mit der Template-Version 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. @@ -384,7 +414,7 @@ Screenlayout normal:& \textsf{Schriften \& anderes}\\ Screenlayout kursiv:& \textsf{\emph{Schriften \& anderes}}\\ Printlayout normal:& \textrm{Schriften \& anderes}\\ Printlayout kursiv:& \textrm{\emph{Schriften \& anderes}}\\ -\end{tabularx} +\end{tabularx} } \section{Im Literaturverzeichnis steht manchmal "`Auflage"' statt "`Aufl."'} @@ -416,9 +446,12 @@ vgl. \autoref{sec:updateinstructions} \section{LaTeX Error: File '****.sty' not found.} Wahrscheinlich wird in einer neueren Version der Klasse ein zusätzliches Paket genutzt, das noch nicht installiert ist. Das sollte vor allem nicht-MikTeX-(Windows)-Konfigurationen betreffen. Hierfür einfach das aktualisierte Kommando unter vgl. \autoref{sec:classinstall} nutzen. - %%%%%%%%%%%%%%%%%%%%%%%% APPENDIX %%%%%%%%%%%%%%%%%%%%%%% \appendix% \addcontentsline{toc}{chapter}{Anhang} + + + + \def\chapterAuthor{ } \chapter{Anhang} \section{Installation und Konfiguration der Software}\label{sec:software} @@ -427,31 +460,33 @@ Grundsätzlich wird immer empfohlen Updates für die Software-Pakete einzuspiele \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. -Unter MacOS kann beispielsweise ein minimales \TeX{}-Live-System wie \href{http://tug.org/mactex/morepackages.html}{BasicTeX} genutzt werden. Die notwendigen Pakete lassen sich wie folgt installieren: +Unter MacOS kann beispielsweise ein minimales \TeX{}-Live-System wie +\href{http://tug.org/mactex/morepackages.html}{BasicTeX} genutzt werden. Die +notwendigen Pakete lassen sich wie folgt installieren (mehrere tlmgr install +Kommandos für einfacheres Copy-and-Paste): \begin{lstlisting}[label=lst:tlmgr,caption={Paket-Installation der Documentclass und ihrer Abhängigkeiten},language=bash,breaklines=true,morekeywords={sudo},emph={tlmgr,install,update,--self,--all}, keywordstyle=\color{DocumentDark4}, 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 glossaries-german glossaries-english xfor datatool substr xstring tracklang +sudo tlmgr install udesoftec nag chngcntr hyphenat libertine mweights fontaxes footmisc placeins +sudo tlmgr install enumitem todonotes wallpaper marginnote mdframed needspace csquotes glossaries +sudo tlmgr install glossaries-german glossaries-english xfor datatool substr xstring tracklang biblatex +sudo tlmgr install logreq regexpatch datetime2 datetime2-german datetime2-english \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 >= 5.1 + \item MikTeX >= 2.9 + \item TeXnicCenter >= 2.0.2 + \item SumatraPDF >= 2.4 + \item Citavi >= 5.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}). - + \subsection{Sumatra PDF} \href{http://blog.kowalczyk.info/software/sumatrapdf/download-free-pdf-viewer-de.html}{SumatraPDF} herunterladen (Portable Version genügt, am besten direkt neben die TeXnixCenter.exe legen). @@ -464,47 +499,47 @@ Im TeXnicCenter unter Ausgabeprofile (Ausgabe -> Ausgabeprofile definieren) das \item alle temporären Dateien in einem Unterordner .tmp/ erstellt. \item Der Glossar und das Abkürzungsverzeichnis werden aktiviert \item Die Vorwärtssuche und die Rückwärtssuche im PDF ermöglicht.~\par - \begin{itemize} - \item Vorwärtssuche: das PDF öffnet sich an der Textstelle an der man im TeXnicCenter den Cursor hatte - \item Rückwärtssuche: Doppelklick im PDF öffnet die Textstelle im TeXnicCenter - \end{itemize} + \begin{itemize} + \item Vorwärtssuche: das PDF öffnet sich an der Textstelle an der man im TeXnicCenter den Cursor hatte + \item Rückwärtssuche: Doppelklick im PDF öffnet die Textstelle im TeXnicCenter + \end{itemize} \end{enumerate} \unnumberedsection{Ordner für temporäre Dateien nutzen} Im Ausgabeprofil im Karteireiter (La)TeX:~\par - \begin{itemize} - \item Argumente für Compiler: - \par\lstinline!-src-specials -synctex=1 -aux-directory .tmp -output-format ! - \par\lstinline!pdf -interaction=nonstopmode %Wm! - \item Argumente für BibTex: \lstinline!"\%dm/.tmp/%tm"! - \item Argumente für MakeIndex: \lstinline!".tmp/%tm.tex"! - \end{itemize} + \begin{itemize} + \item Argumente für Compiler: + \par\lstinline!-src-specials -synctex=1 -aux-directory .tmp -output-format ! + \par\lstinline!pdf -interaction=nonstopmode %Wm! + \item Argumente für BibTex: \lstinline!"\%dm/.tmp/%tm"! + \item Argumente für MakeIndex: \lstinline!".tmp/%tm.tex"! + \end{itemize} \unnumberedsection{Abkürzungen und Glossare einbeziehen} Im Ausgabeprofil im Karteireiter Nachbearbeitung einen neuen Postprozessoren anlegen: "`Acronyms"': - \begin{itemize} - \item Anwendung: \lstinline!C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\makeindex.exe! - \item Argumente: \lstinline!-s .tmp\%tm.ist -t .tmp\%tm.alg -o .tmp\%tm.acr .tmp\%tm.acn! - \end{itemize} + \begin{itemize} + \item Anwendung: \lstinline!C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\makeindex.exe! + \item Argumente: \lstinline!-s .tmp\%tm.ist -t .tmp\%tm.alg -o .tmp\%tm.acr .tmp\%tm.acn! + \end{itemize} Im Ausgabeprofil im Karteireiter Nachbearbeitung einen neuen Postprozessoren anlegen: "`Glossaries"': - \begin{itemize} - \item Anwendung: \lstinline!C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\makeindex.exe! - \item Argumente: \lstinline!-s .tmp\%tm.ist -t .tmp\%tm.glg -o .tmp\%tm.gls .tmp\%tm.glo! - \end{itemize} - + \begin{itemize} + \item Anwendung: \lstinline!C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\makeindex.exe! + \item Argumente: \lstinline!-s .tmp\%tm.ist -t .tmp\%tm.glg -o .tmp\%tm.gls .tmp\%tm.glo! + \end{itemize} + \unnumberedsection{Sumatra PDF mit Vorwärts- und Rückwärtssuche} Im Ausgabeprofil im Karteireiter Viewer:~\par - \begin{itemize} - \item Pfad der Anwendung: - \par\lstinline!<Pfad zu Sumatra>\SumatraPDF.exe -inverse-search! + \begin{itemize} + \item Pfad der Anwendung: + \par\lstinline!<Pfad zu Sumatra>\SumatraPDF.exe -inverse-search! \par\lstinline!"\"<Pfad zu TeXnicCenter>\TeXnicCenter.exe\"! \par\lstinline!/ddecmd \"[goto('%f','%l')]\""! - \item Projektausgabe betrachten:~\par [X] Kommandozeile, Kommando: \lstinline!"%bm.pdf"! - \item Suche in Ausgabe:~\par [X] DDE-Kommando, Server: \lstinline!SUMATRA!, Thema: \lstinline!control! \par - Kommando: \lstinline![ForwardSearch("\%bm.pdf","\%Wc",\%l,0,0,1)]! - - \item Vor Compilierung Ausgabe schließen:~ [X] nicht schließen - - \end{itemize} + \item Projektausgabe betrachten:~\par [X] Kommandozeile, Kommando: \lstinline!"%bm.pdf"! + \item Suche in Ausgabe:~\par [X] DDE-Kommando, Server: \lstinline!SUMATRA!, Thema: \lstinline!control! \par + Kommando: \lstinline![ForwardSearch("\%bm.pdf","\%Wc",\%l,0,0,1)]! + + \item Vor Compilierung Ausgabe schließen:~ [X] nicht schließen + + \end{itemize} Nun das \hyperref[sec:exampleproject]{Beispielprojekt oder das Minimal Working Example} öffnen und einmal rendern lassen, dadurch sollten alle benötigten Pakete automatisch installiert werden. @@ -512,29 +547,34 @@ Im TeXnicCenter mit \keystroke{Strg}+\keystroke{Alt}+\keystroke{R} die "`Erstell \unnumberedsection{Zusätzliche Dateiendungen für das Aufräumen angeben} - Im TeXnicCenter unter Optionen und Aufräumen neue Dateiendungen hinzufügen (Aktion: löschen):~\par - \begin{multicols}{3} - \begin{itemize} - \item \lstinline!*.synctex.gz! - \item \lstinline!*.acn! - \item \lstinline!*.acr! - \item \lstinline!*.alg! - \item \lstinline!*.glg! - \item \lstinline!*.glo! - \item \lstinline!*.gls! - \item \lstinline!*.ist! - \item \lstinline!*.pdfsync! - \end{itemize} - \end{multicols} + Im TeXnicCenter unter Optionen und Aufräumen neue Dateiendungen hinzufügen (Aktion: löschen):~\par + \begin{multicols}{3} + \begin{itemize} + \item \lstinline!*.synctex.gz! + \item \lstinline!*.acn! + \item \lstinline!*.acr! + \item \lstinline!*.alg! + \item \lstinline!*.glg! + \item \lstinline!*.glo! + \item \lstinline!*.gls! + \item \lstinline!*.ist! + \item \lstinline!*.pdfsync! + \end{itemize} + \end{multicols} Zusätzlich für alle "`löschen"'-Aktionen "` Unterverzeichnisse einbeziehen auswählen. - - - \section{Update Instructions}\label{sec:updateinstructions} This documentclass is as downwards compatible as possible. Any change in the version number according the third digit (e.g. from 1.2.1 to 1.2.8) creates no compile or display errors. Some changes however cannot be catched, so that in case of major version changes some LaTeX errors and warnings may occure. The following list shows some changes to the document one should do in order to remove the errors and warnings. +\subsection{Update to 1.5.0} +\begin{enumerate} + \item You might get compile errors with broken urldate in bib files. + \item You might get compile errors if you have conditional language + statements or use other packages as language switched from ``english'' to + ``british'' +\end{enumerate} + \subsection{Update to 1.4.0} Removed many packages and removed some deprecated commands. Might raise problems with custom loaded packages or if e.g. \ctanlink{verbatim}-commands were used instead of \ctanlink{lstlisting}-commands. @@ -544,59 +584,20 @@ Added abstract as default, so fill values \lstinlinelatex!\abstract! and perhabs \subsection{Update to 1.3.0} \begin{description}[style=nextline] \item[Change in document configuration sets main page to default values]{All configuration labels like \lstinlinelatex!\def \institution{Name}! are not working anymore and need to be replaced with real commands like \lstinlinelatex!\institution{Name}!. } - \item[Error: Undefied control sequence - Package enumitem]{Happens while using \lstinlinelatex!\begin{description}[\breaklabel]!. \newline{} Due to a new package the option is now \lstinlinelatex!style=nextline!, so use\newline{} \lstinlinelatex!\begin{description}[style=nextline]! instead. + \item[Error: Undefied control sequence - Package enumitem]{Happens while using \lstinlinelatex!\begin{description}[\breaklabel]!. \newline{} Due to a new package the option is now \lstinlinelatex!style=nextline!, so use\newline{} \lstinlinelatex!\begin{description}[style=nextline]! instead. Happens while using \lstinlinelatex!\begin{description}[\setleftmargin{1.5cm}]]!.\newline{} Due to a new package the option is now \lstinlinelatex!leftmargin=1.5cm!, so use\newline{} \lstinlinelatex!\begin{description}[leftmargin=1.5cm,style=sameline]! instead. } - + \end{description} \subsection{Update to 1.2.1} \lstinlinelatex!\printacronyms! not necessary any more - the documentclass takes care of this. - -\section{List of used packages}\label{sec:paketlist} -The base documentclass is \emph{scrbook}, which is part of \ctanlink{koma-script}. Other used packages (with link to CTAN to access documentation): -\begin{multicols}{4} -\begin{itemize}[labelindent=0px,itemindent=0em,leftmargin=1em] -\item \ctanlink{babel} -\item \ctanlink{chngcntr} -\item \ctanlink{enumitem} -\item \ctanlink{fixltx2e} -\item \ctanlink{fontenc} -\item \ctanlink{footmisc} -\item \ctanlink{geometry} -\item \ctanlink{glossaries} -\item \ctanlink{graphicx} -\item \ctanlink{hypcap} -\item \ctanlink{hyperref} -\item \ctanlink{hyphenat} -\item \ctanlink{inputend} -\item \ctanlink{libertine} -\item \ctanlink{listings} -\item \ctanlink{marginnote} -\item \ctanlink{mdframed} -\item \ctanlink{microtype} -\item \ctanlink{multicol} -\item \ctanlink{natbib} -\item \ctanlink{placeins} -\item \ctanlink{ragged2e} -\item \ctanlink{scrhack} -\item \ctanlink{scrpage2} -\item \ctanlink{tabularx} -\item \ctanlink{tikz} -\item \ctanlink{todonotes} -\item \ctanlink{wallpaper} -\item \ctanlink{xcolor} -\end{itemize} -\end{multicols} - - \clearpage\section{Changelog}\label{sec:changelog} An \href{http://pipes.yahoo.com/jpmschuler/udesoftec?_render=rss}{RSS feed} is available to annouce new versions of udesoftec. \begingroup \lstinputlisting[backgroundcolor={},frame=none,nolol,breaklines=true]{CHANGELOG.txt} \endgroup - \bibliography{udesoftec-doc-examplebib} % output Literature and use this file as bibtext catalogue -\end{document} +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/udesoftec/udesoftec-bibcommon.sty b/Master/texmf-dist/tex/latex/udesoftec/udesoftec-bibcommon.sty new file mode 100644 index 00000000000..5ac62b38c57 --- /dev/null +++ b/Master/texmf-dist/tex/latex/udesoftec/udesoftec-bibcommon.sty @@ -0,0 +1,255 @@ +% !Mode:: "TeX:UTF-8" +%% udesoftec-biblatex.sty +%% Copyright 2015 J. Peter M. Schuler +%% 2015/08/27 v1.5.1 udesoftec +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `author-maintained'. +% +% The current maintainer of this work is J. Peter M. Schuler +% j.peter.m.schuler@uni-due.de +% +% This work consists of the files +% * udesoftec.cls +% * udesoftec.bst +% * udesoftec-bibcommon.sty +% * udesoftec-biblatex.sty +% * udesoftec-bst.sty +% * udesoftec-extra.sty +% +% As this work is based on years of mostly undocumented improvement, +% it includes parts, for which sources can't be identified anymore. Public postings +% in the LaTeX community were used as an input and if source is known, it is +% mentioned below. If anybody identifies parts of his/her own code, +% feel free to contact the maintainer in order to get listed. +% +% Special thanks to all contributors and for the help of the tex-live team, +% e.g. Axel K.; Norbert P.; Petra R.; Rainer S.; Reinhard K.; Robin F. +% +% For further information refer to: +% http://mirrors.ctan.org/macros/latex/contrib/udesoftec/README +% and +% http://mirrors.ctan.org/macros/latex/contrib/udesoftec/udesoftec-doc.pdf + +\NeedsTeXFormat{LaTeX2e}% +\ProvidesPackage{udesoftec-bibcommon}[2015/08/27 v1.5.1 udesoftec-bibcommon.sty udesoftec bibstyle configuration commons]% + + +\newif\ifprimaryDocumentLanguageGerman +\DeclareOption{de} {\primaryDocumentLanguageGermantrue} +\DeclareOption{en} {\primaryDocumentLanguageGermanfalse} + +\newif\ifdocumentIsFinal +\documentIsFinalfalse +\DeclareOption{final} {\documentIsFinaltrue} + +\DeclareOption*{\PackageWarning{udesoftec-bibcommon}{Unknown option \CurrentOption}} + +\ProcessOptions\relax +%%%%%%%%%%%%%%%%%%%%%%%% +\providecaptionname{ngerman}{\bbland}{und }% +\providecaptionname{english}{\bbland}{and }% +\providecaptionname{british}{\bbland}{and }% +\providecaptionname{ngerman}{\bblheading}{Bibliografie}% +\providecaptionname{english}{\bblheading}{Bibliography}% +\providecaptionname{british}{\bblheading}{Bibliography}% +\providecaptionname{ngerman}{\bblin}{In: }% +\providecaptionname{english}{\bblin}{In: }% +\providecaptionname{british}{\bblin}{In: }% +\providecaptionname{ngerman}{\bbled}{~(Hrsg.)}% +\providecaptionname{english}{\bbled}{~(Ed.)}% +\providecaptionname{british}{\bbled}{~(Ed.)}% +\providecaptionname{ngerman}{\bblEdPrefix}{}% +\providecaptionname{english}{\bblEdPrefix}{}% +\providecaptionname{british}{\bblEdPrefix}{}% +\providecaptionname{ngerman}{\bbleds}{~(Hrsg.)}% +\providecaptionname{english}{\bbleds}{~(Eds.)}% +\providecaptionname{british}{\bbleds}{~(Eds.)}% +\providecaptionname{ngerman}{\bbledn}{Aufl.}% +\providecaptionname{english}{\bbledn}{edn}% +\providecaptionname{british}{\bbledn}{edn}% +\providecaptionname{ngerman}{\bbletal}{et~al.}% +\providecaptionname{english}{\bbletal}{et~al.}% +\providecaptionname{british}{\bbletal}{et~al.}% +\providecaptionname{ngerman}{\bblpp}{S.~}% +\providecaptionname{english}{\bblpp}{pp.}% +\providecaptionname{british}{\bblpp}{pp.}% +\providecaptionname{ngerman}{\bblp}{S.~}% +\providecaptionname{english}{\bblp}{p.~}% +\providecaptionname{british}{\bblp}{p.~}% +\providecaptionname{ngerman}{\bblvol}{Nr.}% +\providecaptionname{english}{\bblvol}{No}% +\providecaptionname{british}{\bblvol}{No}% +\providecaptionname{ngerman}{\bblof}{von}% +\providecaptionname{english}{\bblof}{of}% +\providecaptionname{british}{\bblof}{of}% +\providecaptionname{ngerman}{\bblnoyear}{oJ}% +\providecaptionname{english}{\bblnoyear}{n.d.}% +\providecaptionname{british}{\bblnoyear}{n.d.}% +\providecaptionname{ngerman}{\bblnoyearlong}{ohne Jahresangabe}% +\providecaptionname{english}{\bblnoyearlong}{no date}% +\providecaptionname{british}{\bblnoyearlong}{no date}% +\providecaptionname{ngerman}{\bbllastaccesswas}{Abruf am}% +\providecaptionname{english}{\bbllastaccesswas}{Accessed}% +\providecaptionname{british}{\bbllastaccesswas}{Accessed}% +\providecaptionname{ngerman}{\bblpublishedon}{Veröffentlicht am}% +\providecaptionname{english}{\bblpublishedon}{Published on}% +\providecaptionname{british}{\bblpublishedon}{Published on}% +\providecaptionname{ngerman}{\bblstandardpublishedon}{Version vom}% +\providecaptionname{english}{\bblstandardpublishedon}{Version dated}% +\providecaptionname{british}{\bblstandardpublishedon}{Version dated}% + + + + +% normal space stretches in order to cope with align justify +% in case of initials we don't want this to allow the eyes to assign the initial +% to the surname. Else one is always irritated. +\providecommand{\bblSmallSpace}{\nobreak\hspace{.25em}} +\providecommand{\bblisbn}[1]{ISBN:\mbox{#1}} +\providecommand{\bblissn}[1]{ISSN:\mbox{#1}} +\providecommand{\bbland}{\& } +\providecommand{\bblAuthorYearSep}{ } % possible to add \newline +\providecommand{\bblAuthorTitleSep}{ } % possible to add \newline +\providecommand{\bblAuthorTitleSepInEd}{ } +\providecommand{\bblFirstnameSep}{\bblSmallSpace} +\providecommand{\bblNamePrefixSep}{\bblSmallSpace} +\providecommand{\bblAuthorsSepInText}{\bbland} +\providecommand{\bblAuthorsSep}{, } +\providecommand{\bblstdseptypenum}{ } +\providecommand{\bblstdsepnumed}{-} +\providecommand{\bblnostandardrepeat}{} +\providecommand{\bblInTextPagePrefix}[1]{} +\providecommand{\bblstandardpublishdate}[1]{\bblstandardpublishedon\space\bblParseDate{#1}} +\providecommand{\bblpublishdate}[1]{\bblpublishedon\space\bblParseDate{#1}} +\providecommand{\bblurldate}[1]{(\bbllastaccesswas\space\bblParseDate{#1})} +\providecommand{\bblVolumeOfSeries}[2]{ (#2~#1)} +\providecommand{\bblSeries}[1]{ (#1)} +\providecommand{\bblYear}[1]{(#1)} +\providecommand{\bblFontAuthorInText}[1]{\nohyphens{\textsc{#1}}} +\providecommand{\bblFontAuthorInList}[1]{\textbf{#1}} +\providecommand{\bblFontYearInList}[1]{\textbf{#1}} +\providecommand{\bblFontBookTitle}[1]{\emph{#1}} +\providecommand{\bblFontInBookTitle}[1]{#1} +\providecommand{\bblFontJournalTitle}[1]{#1} +\providecommand{\bblFontTitle}[1]{#1} + + +\ifdocumentIsFinal + \providecommand{\bblWarning}[2]{} %for production +\else + \providecommand{\bblWarning}[2]{ + \message{LaTeX Warning: Error with citation of #2 -- #1 }% + \textbf{\emph{BibError: #2 -- #1}}% + } +\fi +\providecommand{\bblyear}[1]{\ifnumber{#1}{#1}{\bblnoyear}} +\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.} +\providecommand{\bbledOrdinal}[1]{ + \iflanguage{british}{% + \englishordinal{#1} + }{% + \germanordinal{#1} + } +} + + +% http://tex.stackexchange.com/questions/262103/interpret-tex-commands-and-remove-curly-braces-from-href-content/262133#262133 +\providecommand{\bbldoi}[1]{% + \def\tmpdoi{#1}% + \xpatchcmd*\tmpdoi{\textunderscore }{X}{}{}% + \xpatchcmd*\tmpdoi{\_ }{Y}{}{}% + \xpatchcmd*\tmpdoi{\textunderscore}{Z}{}{}% + \xpatchcmd*\tmpdoi{\_}{A}{}{}% + \xpatchcmd*\tmpdoi{{_}}{B}{}{}% + \xpatchcmd*\tmpdoi{{}}{}{}{}% + \xpatchcmd*\tmpdoi{\}}{}{}{}% + \xpatchcmd*\tmpdoi{\{}{}{}{}% + \def\tmpdoitext{\detokenize\expandafter{\tmpdoi}}% + \href{http://dx.doi.org/\tmpdoi}{doi:\tmpdoitext}% +}% + +\RequirePackage{xstring} +\RequirePackage{babel} +\usepackage[useregional=text]{datetime2} +\DTMsetstyle{ddmmyyyy} +% http://tex.stackexchange.com/questions/225919/how-to-split-input-string-in-a-latex-command +% \def\bblParseDate #1-#2-#3\endparse{% +% \DTMDisplaydate{#1}{#2}{#3}{-1}% +% } +\def\bblParseDateWithDots #1.#2.#3 #4\endBblDateparse{% + \DTMdate{#3-#2-#1}% +} +\providecommand{\bblParseDate}[1]{% +\IfSubStr{#1}{-}{\DTMdate{#1}}{% +\bblParseDateWithDots #1 x\endBblDateparse% +}% +} + +% only show first city +\def\bblParseAddressWithAnd #1 and #2\endBblAddressparse{% + \bblAddress{#1}% +} +\def\bblParseAddressWithComma #1,#2\endBblAddressparse{% + \bblAddress{#1}% +} +\def\bblParseAddressWithSemiColon #1;#2\endBblAddressparse{% + \bblAddress{#1}% +} +\providecommand{\bblAddress}[1]{% +\IfSubStr{#1}{ and }% + {\bblParseAddressWithAnd #1 and x\endBblAddressparse}% + {\IfSubStr{#1}{,}% + {\bblParseAddressWithComma #1,x\endBblAddressparse}% + {\IfSubStr{#1}{;}% + {\bblParseAddressWithSemiColon #1;x\endBblAddressparse}% + {#1}% + }% + }% +} + + +\providecommand{\citemulti}[1]{% +\citetext{% +\bibstyle@udesoftecmulticite% +#1% +\bibstyle@udesoftec% +}} + + +\providecommand{\inquotequote}[1]{\enquote{#1}} + +\providecommand{\intextquote}[3][]{% + \message{LaTeX Warning: \noexpand\intextquote is deprecated, use \noexpand\citequote on input line \the\inputlineno }% + \citequote[#1]{#2}{#3}% +} +\providecommand{\inlinequote}[3][]{% + \message{LaTeX Warning: \noexpand\intextquote is deprecated, use \noexpand\citequote on input line \the\inputlineno }% + \citequote[#1]{#2}{#3}% +} +\providecommand{\citequote}[3][]{\enquote{#3} \cite[#1]{#2}} +\providecommand{\citequotehidden}[3][]{\cite[#1]{#2}} +\providecommand{\citetquotehidden}[3][]{\citet[#1]{#2}} +\providecommand{\citetquotepar}[3][]{ + \begin{quote} + #3\par + \hfill\cite[#1]{#2} + \end{quote} +} + +% from biblatex +\protected\def\bblisdot{% +\ifpunct \ifterm \nopunct \isdot \adddot \addperiod \addcomma +\appto\nocorrlist{\isdot\adddot\addperiod\addcomma}} + +\endinput%
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/udesoftec/udesoftec-biblatex.sty b/Master/texmf-dist/tex/latex/udesoftec/udesoftec-biblatex.sty new file mode 100644 index 00000000000..27301a49ce9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/udesoftec/udesoftec-biblatex.sty @@ -0,0 +1,576 @@ +% !Mode:: "TeX:UTF-8" +%% udesoftec-biblatex.sty +%% Copyright 2015 J. Peter M. Schuler +%% 2015/08/27 v1.5.1 udesoftec +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `author-maintained'. +% +% The current maintainer of this work is J. Peter M. Schuler +% j.peter.m.schuler@uni-due.de +% +% This work consists of the files +% * udesoftec.cls +% * udesoftec.bst +% * udesoftec-bibcommon.sty +% * udesoftec-biblatex.sty +% * udesoftec-bst.sty +% * udesoftec-extra.sty +% +% As this work is based on years of mostly undocumented improvement, +% it includes parts, for which sources can't be identified anymore. Public postings +% in the LaTeX community were used as an input and if source is known, it is +% mentioned below. If anybody identifies parts of his/her own code, +% feel free to contact the maintainer in order to get listed. +% +% Special thanks to all contributors and for the help of the tex-live team, +% e.g. Axel K.; Norbert P.; Petra R.; Rainer S.; Reinhard K.; Robin F. +% +% For further information refer to: +% http://mirrors.ctan.org/macros/latex/contrib/udesoftec/README +% and +% http://mirrors.ctan.org/macros/latex/contrib/udesoftec/udesoftec-doc.pdf + +\NeedsTeXFormat{LaTeX2e}% +\ProvidesPackage{udesoftec-biblatex}[2015/08/27 v1.5.1 udesoftec-biblatex.sty udesoftec bibstyle configuration for biblatex]% + +% +% \newif\ifprimaryDocumentLanguageGerman +% \DeclareOption{de} {\primaryDocumentLanguageGermantrue} +% \DeclareOption{en} {\primaryDocumentLanguageGermanfalse} + +\newif\ifdocumentIsFinal +\documentIsFinalfalse +\DeclareOption{final} {\documentIsFinaltrue} + +\DeclareOption*{\PackageWarning{udesoftec-biblatex}{Unknown option \CurrentOption}} + +\ProcessOptions\relax +%%%%%%%%%%%%%%%%%%%%%%%% + +\RequirePackage{udesoftec-bibcommon} +\RequirePackage{csquotes} +\RequirePackage{regexpatch} + +\usepackage[ + backend=biber, + style=authoryear, + natbib=true, %full cite command fallback + dashed=false, + %sortcites=true, + sorting=nyt, + maxcitenames=2, + maxalphanames=2, + firstinits=true, + terseinits=true, + uniquename=init, + uniquelist=false, + urldate=long, + maxbibnames=99]{biblatex} +\ExecuteBibliographyOptions{labeldate,sorting=nyt,pagetracker} + +\setlength{\bibhang} {2em} %hanging indentation for list of references +\setlength{\bibitemsep} {.25em} +\setlength{\bibnamesep} {.25em} +\setlength{\bibinitsep} {.25em} +% Change order to last name then first name abbreviate without a full stop at the end. This should be at the end! + + +%@Jörg You could use the starred version \DeclareFieldFormat* to clear +% type-specific formats. But IMO it's more consistent to format @incollection titles like @article titles. I've edited my example accordingly. +% +\DeclareFieldFormat*{title}{\bblFontTitle{#1}} +\renewcommand*{\mkbibacro}[1]{#1} +\DeclareFieldFormat{isbn}{\mkbibacro{ISBN}\addcolon{}#1} +\DeclareFieldFormat{isrn}{\mkbibacro{ISRN}\addcolon{}#1} +\DeclareFieldFormat{issn}{\mkbibacro{ISSN}\addcolon{}#1} +\DeclareFieldFormat{doi}{\bbldoi{#1}} + + +\renewcommand*{\mkbibnameprefix}[1]{\bblFontAuthorInText{#1}} +\renewcommand*{\mkbibnamelast}[1]{\bblFontAuthorInText{#1}} + +\renewcommand*{\labelnamepunct}{\bblAuthorTitleSep} +\renewcommand*{\revsdnamedelim}{\bblAuthorsSep} +\renewcommand*{\multinamedelim}{\bblAuthorsSep} +\renewcommand*{\finalnamedelim}{ \bblFontAuthorInText{\bblAuthorsSepInText}} + +\renewcommand*{\multilistdelim}{\bblAuthorsSep} +\renewcommand*{\finallistdelim}{\bblAuthorsSep} + +\renewcommand*{\andothersdelim}{\space} +\renewcommand*{\nameyeardelim}{\space} + + +\renewcommand*{\finentrypunct}{} + + +\DeclareFieldFormat{booktitle}{\bblFontInBookTitle{#1}\isdot} +\DeclareFieldFormat{journaltitle}{\bblFontJournalTitle{#1}\isdot} +\DeclareFieldFormat{issuetitle}{\bblFontInBookTitle{#1}\isdot} +\DeclareFieldFormat{maintitle}{\bblFontInBookTitle{#1}\isdot} + +\AtBeginBibliography{% +% \renewcommand*{\revsdnamedelim}{CCCCCCCCCCCC} + \renewcommand*{\finalnamedelim}{\bblAuthorsSep} + \renewcommand*{\mkbibnameprefix}[1]{#1} + \renewcommand*{\mkbibnamefirst}[1]{#1} + \renewcommand*{\mkbibnamelast}[1]{#1} + \renewcommand*{\mkbibnameaffix}[1]{#1} + \renewcommand*{\multinamedelim}{\bblAuthorsSep} + \renewcommand*{\finalnamedelim}{\bblAuthorsSep}% +} + + +\renewbibmacro*{name:last-first}[5]{% + \usebibmacro{name:delim}{#1}% + \ifblank{#3}{}{\bibnamedelimd\mkbibnameprefix{#3}\isdot}% + \mkbibnamelast{#1}\isdot% + \ifblank{#4}{}{\bibnamedelimd\mkbibnameaffix{#4}\isdot}% + \ifblank{#2}{}{\bibnamedelimd\mkbibnamefirst{#2}}% +} +\DeclareNameFormat{last-first}{% + \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}% +} + +\DeclareNameFormat{default}{% + \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}% +} + +\DeclareNameAlias{sortname}{last-first} %alle Autoren in der Biblografie gleich + + +\DefineBibliographyStrings{ngerman}{% + andothers = {\bblFontAuthorInText{\bbletal}}, % we don't use et al in bbl + editor = {\bbled},% + editors = {\bbleds},% + urlseen = {\bbllastaccesswas}% +} + +\DefineBibliographyStrings{english}{% + andothers = {\bblFontAuthorInText{\bbletal}}, % we don't use et al in bbl + editor = {\bbled},% + editors = {\bbleds},% + urlseen = {\bbllastaccesswas}% +% page = {{Seite}{S\adddot}}, +% pages = {{Seiten}{S\adddot}}, +} + +\DefineBibliographyStrings{british}{% + andothers = {\bblFontAuthorInText{\bbletal}}, % we don't use et al in bbl + editor = {\bbled},% + editors = {\bbleds},% + urlseen = {\bbllastaccesswas}% +% page = {{Seite}{S\adddot}}, +% pages = {{Seiten}{S\adddot}}, +} + + + +\AtEveryBibitem{\clearlist{language}} +\AtEveryBibitem{\clearfield{pagetotal}} + + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +\newbibmacro*{byeditor+suffix}{% + \ifnameundef{editor} + {} + {%\usebibmacro{byeditor+othersstrg}% + %\setunit{\addspace}% + \printnames[byeditor]{editor}% + \clearname{editor}% + \usebibmacro{editorstrg}% + \newunit}% + \usebibmacro{byeditorx}% + \usebibmacro{bytranslator+others}% + } + +% \DeclareSourcemap{ +% \maps[datatype = bibtex]{ +% \map{%% 2. Abbreviate an entry such as Adam J[ohn] Smith to Smith, Adam J. +% \step[fieldsource = doi, +% match = \regexp{\[[\_]]+\]}, +% replace = .] +% } +% } +% } +% + + % suppress URL and ISBN if doi present +\settoggle{bbx:isbn}{false} %deactivate normal isbn output +\renewbibmacro*{doi+eprint+url}{% + \iffieldundef{doi} + { + \printfield{isbn} + \printfield{issn} + \usebibmacro{url+urldate} + } + { + \printfield{doi} + \newunit\newblock + \iftoggle{bbx:eprint} + {\usebibmacro{eprint}} + {}% + } + } + + + + + + + +\providebibmacro*{date+extrayear}{} + +\def\bbx@opt@mergedate@true{\bbx@opt@mergedate@compact} + +% merge date/issue with date label +\def\bbx@opt@mergedate@maximum{% + \renewbibmacro*{date+extrayear}{% + \iffieldundef{\thefield{datelabelsource}year} + {} + {\printtext[parens]{% + \printfield{issue}% + \setunit*{\addspace}% + \iffieldsequal{year}{\thefield{datelabelsource}year} + {\printdateextralabel}% + {\printfield{labelyear}% + \printfield{extrayear}}}}}% + \renewbibmacro*{date}{}% + \renewbibmacro*{issue+date}{}} + +% merge date with date label +\def\bbx@opt@mergedate@compact{% + \renewbibmacro*{date+extrayear}{% + \iffieldundef{\thefield{datelabelsource}year} + {} + {\printtext[parens]{% + \iffieldsequal{year}{\thefield{datelabelsource}year} + {\printdateextralabel}% + {\printfield{labelyear}% + \printfield{extrayear}}}}}% + \renewbibmacro*{date}{}% + \renewbibmacro*{issue+date}{% + \iffieldundef{issue} + {} + {\printtext[parens]{\printfield{issue}}}% + \newunit}} + +% merge year-only date with date label +\def\bbx@opt@mergedate@basic{% + \renewbibmacro*{date+extrayear}{% + \iffieldundef{\thefield{datelabelsource}year} + {} + {\printtext[parens]{% + \printfield{\thefield{datelabelsource}year}% + \printfield{extrayear}}}}% + \renewbibmacro*{date}{% + \iffieldundef{month} + {} + {\printdate}}% + \renewbibmacro*{issue+date}{% + \ifboolexpr{ + test {\iffieldundef{issue}} + and + test {\iffieldundef{month}} + } + {} + {\printtext[parens]{% + \printfield{issue}% + \setunit*{\addspace}% + \printdate}}% + \newunit}} + +% merge year-only date with year-only date label +\def\bbx@opt@mergedate@minimum{% + \renewbibmacro*{date+extrayear}{% + \iffieldundef{\thefield{datelabelsource}year} + {} + {\printtext[parens]{% + \printfield{\thefield{datelabelsource}year}% + \printfield{extrayear}}}}% + \renewbibmacro*{date}{% + \ifboolexpr{ + test {\iffieldundef{month}} + and + test {\iffieldundef{extrayear}} + } + {} + {\printdate}}% + \renewbibmacro*{issue+date}{% + \ifboolexpr{ + test {\iffieldundef{issue}} + and + test {\iffieldundef{month}} + and + test {\iffieldundef{extrayear}} + } + {} + {\printtext[parens]{% + \printfield{issue}% + \setunit*{\addspace}% + \printdate}}% + \newunit}} + +% don't merge date/issue with date label +\def\bbx@opt@mergedate@false{% + \renewbibmacro*{date+extrayear}{% + \iffieldundef{\thefield{datelabelsource}year} + {} + {\printtext[parens]{% + \printfield{\thefield{datelabelsource}year}% + \printfield{extrayear}}}}% + \renewbibmacro*{date}{\printdate}% + \renewbibmacro*{issue+date}{% + \printtext[parens]{% + \printfield{issue}% + \setunit*{\addspace}% + \printdate}% + \newunit}} + +% n.b. the default datelabel=year overrides merging of months and days +\ExecuteBibliographyOptions{labeldate,sorting=nyt,pagetracker} +\renewbibmacro*{author}{% + \ifboolexpr{ + test \ifuseauthor + and + not test {\ifnameundef{author}} + } + {\bblFontAuthorInList{\usebibmacro{bbx:dashcheck} + {\bibnamedash} + {\usebibmacro{bbx:savehash}% + \printnames{author}% + \iffieldundef{authortype} + {\setunit{\addspace}} + {\setunit{\addcomma\space}}}% + \iffieldundef{authortype} + {} + {\usebibmacro{authorstrg}% + \setunit{\addspace}}}}% + {\global\undef\bbx@lasthash + \usebibmacro{labeltitle}% + \setunit*{\addspace}}% +\bblFontYearInList{\usebibmacro{date+extrayear}}} + +\renewbibmacro*{editor}{% + \usebibmacro{bbx:editor}{editorstrg}} +\renewbibmacro*{editor+others}{% + \usebibmacro{bbx:editor}{editor+othersstrg}} + + +%remove punctuation before (eds) and make bold +\renewbibmacro*{bbx:editor}[1]{% + \ifboolexpr{ + test \ifuseeditor + and + not test {\ifnameundef{editor}} + } + {\bblFontAuthorInList{\usebibmacro{bbx:dashcheck} + {\bibnamedash} + {\printnames{editor}% + \setunit{\bblEdPrefix}% + \usebibmacro{bbx:savehash}}% + \usebibmacro{#1}% + \clearname{editor}% + \setunit{\addspace}}}% + {\global\undef\bbx@lasthash + \usebibmacro{labeltitle}% + \setunit*{\addspace}}% +\bblFontYearInList{\usebibmacro{date+extrayear}}} + % erst publisher, dann location + \renewbibmacro*{publisher+location+date}{% + \printlist{publisher}% + \setunit*{\addcomma\space}% + \printlist[][1-1]{location}%nur erste Location + \setunit*{\addcomma\space}% + \usebibmacro{date}% + \newunit} + +% location ohne schnickscnack +\DeclareListFormat{location}{#1} +%Todo: Bundesland/Land entfernen + + +\renewbibmacro*{event+venue+date}{% + \printfield{eventtitle}% + \iffieldundef{eventtitleaddon}% + {}% + {% + \newunit% + \printfield{eventtitleaddon}% + } + \ifboolexpr{ + test {\iffieldundef{venue}} + and + test {\iffieldundef{eventyear}} + } + {} + {\setunit*{\addspace}% + \printtext[parens]{% + \printfield{venue}% + \setunit*{\addcomma\space}% + \printeventdate}}% + \newunit} + + + +% remove double editors from proceedings + +\DeclareBibliographyDriver{proceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{editor+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{maintitle+title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{event+venue+date}% + \newunit\newblock + \iffieldundef{maintitle} + {\printfield{volume}% + \printfield{part}} + {}% + \newunit + \printfield{volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \printlist{organization}% + \newunit + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + + + + + + + + +\DeclareBibliographyDriver{inproceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{in:}% + \usebibmacro{byeditor+suffix}% + \usebibmacro{maintitle+booktitle}% + \newunit\newblock + \usebibmacro{event+venue+date}% + \newunit\newblock + \newunit\newblock + \iffieldundef{maintitle} + {\printfield{volume}% + \printfield{part}} + {}% + \newunit + \printfield{volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \newunit\newblock + \printfield{note}% + \newunit\newblock +% \printlist{organization}% +% \newunit + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + +%%%%%%%%%%%% +% link whole cite including name +% http://tex.stackexchange.com/questions/15951/hyperlink-name-with-biblatex-authoryear-biblatex-1-4b +%%%%%%%%%%%% +\DeclareFieldFormat{citehyperref}{% + \DeclareFieldAlias{bibhyperref}{noformat}% Avoid nested links + \bibhyperref{#1}} + +\DeclareFieldFormat{textcitehyperref}{% + \DeclareFieldAlias{bibhyperref}{noformat}% Avoid nested links + \bibhyperref{% + #1% + \ifbool{cbx:parens} + {\bibcloseparen\global\boolfalse{cbx:parens}} + {}}} + +\savebibmacro{cite} +\savebibmacro{textcite} + +\renewbibmacro*{cite}{% + \printtext[citehyperref]{% + \restorebibmacro{cite}% + \usebibmacro{cite}}} + +\renewbibmacro*{textcite}{% + \ifboolexpr{ + ( not test {\iffieldundef{prenote}} and + test {\ifnumequal{\value{citecount}}{1}} ) + or + ( not test {\iffieldundef{postnote}} and + test {\ifnumequal{\value{citecount}}{\value{citetotal}}} ) + } + {\DeclareFieldAlias{textcitehyperref}{noformat}} + {}% + \printtext[textcitehyperref]{% + \restorebibmacro{textcite}% + \usebibmacro{textcite}}} + +\AtEveryCitekey{% +\clearfield{shorthand}% +} +%%%%%%%%%%%%%%%%%%%%%%%%% +\endinput%
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/udesoftec/udesoftec-bst.sty b/Master/texmf-dist/tex/latex/udesoftec/udesoftec-bst.sty index 2a0a0623434..79dab6aea42 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-2015 J. Peter M. Schuler -%% 2015/08/20 v1.4.8 udesoftec +%% Copyright 2015 J. Peter M. Schuler +%% 2015/08/27 v1.5.1 udesoftec % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -11,12 +11,18 @@ % and version 1.3 or later is part of all distributions of LaTeX % version 2005/12/01 or later. % -% This work has the LPPL maintenance status `maintained'. +% This work has the LPPL maintenance status `author-maintained'. % -% The current Maintainer of this work is J. Peter M. Schuler +% The current maintainer of this work is J. Peter M. Schuler % j.peter.m.schuler@uni-due.de % -% This work consists of the files udesoftec.cls and udesoftec.bst. +% This work consists of the files +% * udesoftec.cls +% * udesoftec.bst +% * udesoftec-bibcommon.sty +% * udesoftec-biblatex.sty +% * udesoftec-bst.sty +% * udesoftec-extra.sty % % As this work is based on years of mostly undocumented improvement, % it includes parts, for which sources can't be identified anymore. Public postings @@ -25,21 +31,30 @@ % feel free to contact the maintainer in order to get listed. % % Special thanks to all contributors and for the help of the tex-live team, -% e.g. Axel K.; Norbert P.; Rainer S.; Reinhard K.; Robin F. +% e.g. Axel K.; Norbert P.; Petra R.; Rainer S.; Reinhard K.; Robin F. % % For further information refer to: % http://mirrors.ctan.org/macros/latex/contrib/udesoftec/README % and % http://mirrors.ctan.org/macros/latex/contrib/udesoftec/udesoftec-doc.pdf + \NeedsTeXFormat{LaTeX2e}% -\ProvidesPackage{udesoftec-bst}[2015/08/20 v1.4.8 udesoftec-bst.sty udesoftec -bibstyle configuration]% -%%%%%%%%%%%%%%%%%%%%%%%%% +\ProvidesPackage{udesoftec-bst}[2015/08/27 v1.5.1 udesoftec-bst.sty udesoftec bibstyle configuration for bibtex]% + + +\newif\ifprimaryDocumentLanguageGerman +\DeclareOption{de} {\primaryDocumentLanguageGermantrue} +\DeclareOption{en} {\primaryDocumentLanguageGermanfalse} + \newif\ifdocumentIsFinal \documentIsFinalfalse -\DeclareOption{final} {\documentIsFinaltrue} +\DeclareOption{final} {\documentIsFinaltrue} + +\DeclareOption*{\PackageWarning{udesoftec-bst}{Unknown option \CurrentOption}} + \ProcessOptions\relax -%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%% +\RequirePackage{udesoftec-bibcommon} \RequirePackage{hyperref} % support doi-links \RequirePackage{hyphenat} % prevent author names and quotations from hyphenating \RequirePackage{scrbase} % support for providecaptionname @@ -53,113 +68,12 @@ bibstyle configuration]% \providecommand{\bibstyle@udesoftec}{\bibpunct[,~\bblInTextPagePrefix{}]{(}{)}{;}{a}{}{}{}} \providecommand{\bibstyle@udesoftecmulticite}{\bibpunct[,~\bblInTextPagePrefix{}]{}{}{;}{a}{}{}{}} -%http://tex.stackexchange.com/questions/262103/interpret-tex-commands-and-remove-curly-braces-from-href-content/262133#262133 -\providecommand{\doi}[1]{% - \def\tmpdoi{#1}% - \xpatchcmd*\tmpdoi{{\textunderscore }}{_}{}{}% - \href{http://dx.doi.org/\tmpdoi}{doi:#1}% -}% -\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}{: } -\providecommand{\bblstdseptypenum}{ } -\providecommand{\bblstdsepnumed}{-} -\providecommand{\bblnostandardrepeat}{} -\providecaptionname{ngerman}{\bblin}{In: }% -\providecaptionname{english}{\bblin}{In: }% -\providecaptionname{ngerman}{\bbled}{~(Hrsg.)}% -\providecaptionname{english}{\bbled}{~(Ed.)}% -\providecaptionname{ngerman}{\bbleds}{~(Hrsg.)}% -\providecaptionname{english}{\bbleds}{~(Eds.)}% -\providecaptionname{ngerman}{\bbledn}{Aufl.}% -\providecaptionname{english}{\bbledn}{edn}% -\providecaptionname{ngerman}{\bbletal}{et~al.}% -\providecaptionname{english}{\bbletal}{et~al.}% -\providecaptionname{ngerman}{\bblpp}{S.~}% -\providecaptionname{english}{\bblpp}{pp.}% -\providecaptionname{ngerman}{\bblp}{S.~}% -\providecaptionname{english}{\bblp}{p.~}% -\providecaptionname{ngerman}{\bblvol}{Nr.}% -\providecaptionname{english}{\bblvol}{No}% -\providecaptionname{ngerman}{\bblof}{von}% -\providecaptionname{english}{\bblof}{of}% -\providecaptionname{ngerman}{\bblnoyear}{o.J.}% -\providecaptionname{english}{\bblnoyear}{n.d.}% -\providecaptionname{ngerman}{\bblnoyearlong}{ohne Jahresangabe}% -\providecaptionname{english}{\bblnoyearlong}{no date}% -\providecaptionname{ngerman}{\bbllastaccesswas}{Zuletzt geprüft: }% -\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)} -\providecommand{\bblFontAuthorInText}[1]{\nohyphens{\textsc{#1}}} -\providecommand{\bblFontAuthorInList}[1]{\textbf{#1}} -\providecommand{\bblFontYearInList}[1]{\textbf{(#1)}} -\providecommand{\bblFontBookTitle}[1]{\emph{#1}} -\providecommand{\bblFontInBookTitle}[1]{#1} -\providecommand{\bblFontJournalTitle}[1]{#1} +%%%%%%%%%%%%%%%%%%%%%%%%% -\ifdocumentIsFinal - \providecommand{\bblWarning}[2]{} %for production -\else - \providecommand{\bblWarning}[2]{ - \message{LaTeX Warning: Error with citation of #2 -- #1 }% - \textbf{\emph{BibError: #2 -- #1}}% - } -\fi -\providecommand{\bblyear}[1]{\ifnumber{#1}{#1}{\bblnoyear}} -\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.} -\providecommand{\bbledOrdinal}[1]{ - \iflanguage{english}{% - \englishordinal{#1} - }{% - \germanordinal{#1} - } -} +\providecommand{\addbibresource}[1]{} \setlength{\bibhang} {2em} %hanging indentation for list of references -\setlength{\bibsep} {.5em} %vertical sep between bibitems in list of references -%\renewcommand{\bibfont}{\small} -%\renewcommand{\bibfont}{\sc} - - -\providecommand{\citemulti}[1]{% -\citetext{% -\bibstyle@udesoftecmulticite% -#1% -\bibstyle@udesoftec% -}} +\setlength{\itemsep} {.25em} - -\providecommand{\inquotequote}[1]{\enquote{#1}} - -\providecommand{\intextquote}[3][]{% - \message{LaTeX Warning: \noexpand\intextquote is deprecated, use \noexpand\citequote on input line \the\inputlineno }% - \citequote[#1]{#2}{#3}% -} -\providecommand{\inlinequote}[3][]{% - \message{LaTeX Warning: \noexpand\intextquote is deprecated, use \noexpand\citequote on input line \the\inputlineno }% - \citequote[#1]{#2}{#3}% -} -\providecommand{\citequote}[3][]{\enquote{#3} \cite[#1]{#2}} -\providecommand{\citequotehidden}[3][]{\cite[#1]{#2}} -\providecommand{\citetquotehidden}[3][]{\citet[#1]{#2}} -\providecommand{\citetquotepar}[3][]{ - \begin{quote} - #3\par - \hfill\cite[#1]{#2} - \end{quote} -} -%%%%%%%%%%%%%%%%%%%%%%%%% -\endinput% +\endinput%
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/udesoftec/udesoftec-extra.sty b/Master/texmf-dist/tex/latex/udesoftec/udesoftec-extra.sty index 74f28263ffb..4fd49b05262 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-2015 J. Peter M. Schuler -%% 2015/08/20 v1.4.8 udesoftec +%% 2015/08/27 v1.5.1 udesoftec % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -11,12 +11,18 @@ % and version 1.3 or later is part of all distributions of LaTeX % version 2005/12/01 or later. % -% This work has the LPPL maintenance status `maintained'. +% This work has the LPPL maintenance status `author-maintained'. % -% The current Maintainer of this work is J. Peter M. Schuler +% The current maintainer of this work is J. Peter M. Schuler % j.peter.m.schuler@uni-due.de % -% This work consists of the files udesoftec.cls and udesoftec.bst. +% This work consists of the files +% * udesoftec.cls +% * udesoftec.bst +% * udesoftec-bibcommon.sty +% * udesoftec-biblatex.sty +% * udesoftec-bst.sty +% * udesoftec-extra.sty % % As this work is based on years of mostly undocumented improvement, % it includes parts, for which sources can't be identified anymore. Public postings @@ -25,15 +31,15 @@ % feel free to contact the maintainer in order to get listed. % % Special thanks to all contributors and for the help of the tex-live team, -% e.g. Axel K.; Norbert P.; Rainer S.; Reinhard K.; Robin F. +% e.g. Axel K.; Norbert P.; Petra R.; Rainer S.; Reinhard K.; Robin F. % % For further information refer to: % http://mirrors.ctan.org/macros/latex/contrib/udesoftec/README % and % http://mirrors.ctan.org/macros/latex/contrib/udesoftec/udesoftec-doc.pdf + \NeedsTeXFormat{LaTeX2e}% -\ProvidesPackage{udesoftec-extra}[2015/08/20 v1.4.8 udesoftec-extra.sty -additions which are currently optional and may break former behaviour]% +\ProvidesPackage{udesoftec-extra}[2015/08/27 v1.5.1 udesoftec-extra.sty additions which are currently optional and may break former behaviour]% %%%%%%%%%%%%%%%%%%%%%%%%% \makeatletter diff --git a/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls b/Master/texmf-dist/tex/latex/udesoftec/udesoftec.cls index 49b7e7f5ec8..9c1c64c0afa 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-2015 J. Peter M. Schuler -%% 2015/08/20 v1.4.8 udesoftec +%% 2015/08/27 v1.5.1 udesoftec % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -19,6 +19,8 @@ % This work consists of the files % * udesoftec.cls % * udesoftec.bst +% * udesoftec-bibcommon.sty +% * udesoftec-biblatex.sty % * udesoftec-bst.sty % * udesoftec-extra.sty % @@ -35,13 +37,9 @@ % http://mirrors.ctan.org/macros/latex/contrib/udesoftec/README % and % http://mirrors.ctan.org/macros/latex/contrib/udesoftec/udesoftec-doc.pdf + \NeedsTeXFormat{LaTeX2e}% -\ProvidesClass{udesoftec}[2015/08/20 v1.4.8 udesoftec.cls Thesis class and -bibstyle for UDE SOFTEC]% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% +\ProvidesClass{udesoftec}[2015/08/27 v1.5.1 udesoftec.cls Thesis class and bibstyle for UDE SOFTEC]% % class is based on KOMA-script http://www.ctan.org/pkg/koma-script \LoadClass{scrbook} \KOMAoptions{ @@ -53,30 +51,45 @@ bibstyle for UDE SOFTEC]% listof=totoc, headlines=1.5 % the size of the header in lines (1.5 because of pagemark and sepline); 1.25 is default; 1 would be appropriate if only text and no sepline) } -%\usepackage{udesoftec-cmd} %%%% nag %%%%%%%%%%%%% % purpose: identifies deprecated code and suggests better pckgs % source: http://www.ctan.org/pkg/nag \RequirePackage[l2tabu, orthodox]{nag} %%%%%%%%%%%%%%%%%%%%%% - + + + %%%%%%%%%%%%%%%%%%%%%% \usepackage{xstring} \edef\udesoftecversionstring{\csname ver@udesoftec.cls\endcsname} \StrLeft{\udesoftecversionstring}{27}[\udesoftecversion] - -\usepackage{libertine} - \pdfminorversion=6 \newif\ifdebugThisClass \debugThisClassfalse \newcommand{\classdebug}[1]{\ifdebugThisClass\ClassWarning{udesoftec}{#1}\fi} -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% +\newcommand{\ignoreHbadness}[1]{% + \let\originalHbadness\hbadness% + \hbadness 100000% + #1 + \hbadness \originalHbadness% +} + +\newcommand{\chapterWithoutPageBreak}[1]{% + \let\oldcleardoublepage\cleardoublepage% + \let\oldclearpage\clearpage% + \let\clearpage\relax% + \let\cleardoublepage\relax% + \let\backupskip\chapterheadstartvskip% + \renewcommand\chapterheadstartvskip{\vspace*{-\topskip}\vspace*{30pt}}% + \par\chapter*{#1}% + \let\cleardoublepage\oldcleardoublepage% + \let\clearpage\oldclearpage% + \let\chapterheadstartvskip\backupskip% +} +\newcommand{\udesoftecoverride}{} + %%% all template conditions \newif\ifdocumentIsFinal \newif\ifdocumentIsProposal @@ -97,21 +110,29 @@ bibstyle for UDE SOFTEC]% \newif\ifdocumentOmitLOL \newif\ifdocumentOmitLOF \newif\ifdocumentOmitLOA +\newif\ifdocumentOmitPageBreaks +\newif\ifdocumentOmitTitle \newif\ifdocumentOmitTOC \newif\ifdocumentOmitTodos \newif\ifdocumentOmitA \newif\ifdocumentOmitAen \newif\ifdocumentHasShortA \newif\ifdocumentUsedTodos +\newif\ifdocumentUsedTodos + +\newif\iffallBackToBibtex %%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%% -%%% all default values and the options +%%% all default values and the options +\fallBackToBibtextrue \documentIsFinalfalse \documentIsProposalfalse \documentOmitLOTfalse +\documentOmitTitlefalse +\documentOmitPageBreaksfalse \documentOmitSDfalse \documentOmitLOFfalse \documentOmitLOAfalse @@ -138,6 +159,17 @@ bibstyle for UDE SOFTEC]% %%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%% % Document options +\DeclareOption{mwe}{ + \documentOmitLOTtrue + \documentOmitSDtrue + \documentOmitLOFtrue + \documentOmitLOAtrue + \documentOmitTOCtrue + \documentOmitAtrue + \documentOmitTodostrue + \documentOmitTitletrue + \documentOmitPageBreakstrue +} \DeclareOption{draft} {\documentIsFinalfalse} \DeclareOption{final} {\documentIsFinaltrue} \DeclareOption{proposal}{ @@ -150,6 +182,7 @@ bibstyle for UDE SOFTEC]% \documentOmitAtrue \documentOmitTodosfalse } + \ifdocumentIsFinal \ifdocumentIsProposal \documentOmitTodostrue @@ -162,6 +195,8 @@ bibstyle for UDE SOFTEC]% \fi \else% \fi% +\DeclareOption{bibtex} {\fallBackToBibtextrue} +\DeclareOption{biber} {\fallBackToBibtexfalse} \DeclareOption{de} {\primaryDocumentLanguageGermantrue} \DeclareOption{en} {\primaryDocumentLanguageGermanfalse} \DeclareOption{omit-lot} {\documentOmitLOTtrue} @@ -201,16 +236,6 @@ bibstyle for UDE SOFTEC]% %%%%%%%%%%%%%%%%%%%%%% %Process all document options \ProcessOptions\relax - -\ifprimaryDocumentLanguageGerman - \def\udesoftec@documentLanguage{english,ngerman} % all used languages, primary LAST -\else - \def\udesoftec@documentLanguage{ngerman,english} -\fi -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% % document title page and configuration commands \newcommand{\city}[1]{\def\udesoftec@city{#1}} \newcommand{\typeofdoc}[1]{\def\udesoftec@typeofdoc{#1}} @@ -220,18 +245,13 @@ bibstyle for UDE SOFTEC]% \newcommand{\institution}[1]{\def\udesoftec@institution{#1}} \newcommand{\semester}[1]{\def\udesoftec@semester{#1}} \newcommand{\entitle}[1]{\def\udesoftec@entitle{#1}} -\newcommand{\confidentialitySource}[1]{\def\udesoftec@confidentialitySource{#1}} +\newcommand{\confidentialitySource}[1]{\def\udesoftec@confidentialitySource{#1}} +\newcommand{\confidSource}[1]{\def\udesoftec@confidentialitySource{#1}} \newcommand{\authorbox}[1]{\def\udesoftec@authorbox{#1}} \newcommand{\abstract}[1]{\def\udesoftec@abstract{#1}} -\newcommand{\abstractEn}[1]{\def\udesoftec@abstracten{#1}} +\newcommand{\abstractEn}[1]{\def\udesoftec@abstracten{#1}} -\def \udesoftec@templatePageMarkPrefix {} % might be something like "S. " -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -% default configuration for title page and configuration \title{Komplexer Titel einer Abschlussarbeit f\"ur ein Dokument} \author{Max Mustermann} @@ -241,7 +261,7 @@ bibstyle for UDE SOFTEC]% \labelRespectConfidentiality{(Sperrvermerk beachten)} \academicfield{Wirtschaftsinformatik} \institution{Vorgelegt der Fakult\"at f\"ur Wirtschaftswissenschaften\par der Universit\"at Duisburg-Essen} -\semester{Wintersemester 2011/2012, 8. Fachsemester \academicfield} +\semester{Wintersemester 2015/2016, 8. Fachsemester \academicfield} \entitle{Englischer Titel der Arbeit} \confidentialitySource{Name der Firma, die auf die Vertraulichkeitserkl\"arung besteht} \date{Dokumentversion: \today \linebreak Templateversion: @@ -260,100 +280,6 @@ bibstyle for UDE SOFTEC]% \\ \end{tabularx} } -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -% Abstract -\newcaptionname{ngerman}{\labelabstracttitle}{Kurzfassung} -\newcaptionname{english}{\labelabstracttitle}{Abstract} -\def\udesoftec@defaultabstractde{Jede wissenschaftliche Arbeit sollte eine Kurzfassung am Anfang aufweisen. Diese Kurzfassung sollte etwa eine halbe Seite lang sein.} -\def\udesoftec@defaultabstractdeen{As all theses have an English title, there should be an English abstract as well.\par Folglich sollten auch deutsche Arbeiten einen englischen Abstract haben. Falls die Abstracts zu lang werden, gibt es im Handbuch eine Hilfestellung.} -\def\udesoftec@defaultabstracten{Every thesis should have an abstract at the beginning. This abstract should be about have an page long. Of course an English thesis doesn't need an German abstract, as it doesn't even have a German title.} -\abstract{\udesoftec@defaultabstractde} -\abstractEn{\udesoftec@defaultabstractdeen} - - -\newcommand{\printabstract}{% - \chapter*{\labelabstracttitle}% - \label{sec:abstract} - \pdfbookmark[0]{\labelabstracttitle}{sec:abstract}% - \udesoftec@abstract - - \iflanguage{ngerman}{% - % German theses should have German and English abstract - \ifdocumentOmitAen - % no second abstract here - \else - \selectlanguage{english} - \ifdocumentHasShortA% - \chapterWithoutPageBreak{\labelabstracttitle} - \label{sec:abstracten} - \else - \chapter*{\labelabstracttitle} - \label{sec:abstracten} - \fi - \udesoftec@abstracten - \selectlanguage{ngerman} - \fi - }{} -} - - - -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -% confidentiality clause -\newcaptionname{ngerman}{\labelconfidentialityclausetitle}{Sperrvermerk} -\newcaptionname{english}{\labelconfidentialityclausetitle}{Confidentially Clause} -\def\udesoftec@defaultconfidentialityclause{Die vorliegende \udesoftec@typeofdoc ~enth\"alt vertrauliche Informationen der \emph{\udesoftec@confidentialitySource}, die der Geheimhaltung unterliegen. Ver\"offentlichungen oder Vervielf\"altigungen der \udesoftec@typeofdoc ~-- auch nur auszugsweise -- sind ohne ausdr\"uckliche Genehmigung der \emph{\udesoftec@confidentialitySource} nicht gestattet. Die \udesoftec@typeofdoc ~ist nur den Mitarbeitern des betreuenden Lehrstuhls sowie den Mitgliedern des Pr\"ufungsausschusses zug\"anglich zu machen.\par{} Dieser Sperrvermerk gilt f\"ur die n\"achsten 2 Jahre. Die sich aus diesem Sperrvermerk ergebenden Einschr\"ankungen entfallen nach Ablauf dieses Zeitraums.\par{}} -\def\udesoftec@defaultconfidentialityclauseen{This \udesoftec@typeofdoc ~contains confidential data of \emph{\udesoftec@confidentialitySource}. Any publication or duplication of this \udesoftec@typeofdoc ~-- even in part -- is prohibited, excluding cases with explicit permission by \emph{\udesoftec@confidentialitySource}. The \udesoftec@typeofdoc ~is to be made accessible only to the staff of the research group supervising it and the board of examiners.\par{} This confidentially clause is valid for the next 2 years. Any limitations resulting from this confidentially clause do not apply after this period.\par{}} - -% 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 - \chapterWithoutPageBreak{\labelconfidentialityclausetitle} % German heading - \udesoftec@defaultconfidentialityclause % German text - \selectlanguage{english} % switching back to English - }{ - \cleardoublepage - \chapter*{\labelconfidentialityclausetitle} - \udesoftec@defaultconfidentialityclause - } -} - -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -% Statutory declaration -\newcaptionname{ngerman}{\labelstatutorydeclarationheading}{Eidesstattliche Versicherung} -\newcaptionname{english}{\labelstatutorydeclarationheading}{Statutory Declaration} -\def\udesoftec@defaultstatutorydeclaration{Ich versichere an Eides statt durch meine Unterschrift, dass ich die vorstehende Arbeit selbst\"andig und ohne fremde Hilfe angefertigt und alle Stellen, die ich w\"ortlich oder ann\"ahrend w\"ortlich aus Ver\"offentlichungen entnommen habe, als solche kenntlich gemacht habe, mich auch keiner anderen als der angegebenen Literatur oder sonstiger Hilfsmittel bedient habe. Die Arbeit hat in dieser oder \"ahnlicher Form noch keiner anderen Pr\"ufungsbeh\"orde vorgelegen.\par{} \vspace*{40pt}\parbox{4cm}{\udesoftec@city, \today\hrule\strut \footnotesize Ort, Datum} \hfill\parbox{7cm}{\textcolor{white}{Hier wurde im Original unterschrieben}\hrule\strut \footnotesize Unterschrift} \hfill} -\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} - \chapterWithoutPageBreak{\labelstatutorydeclarationheading} - \udesoftec@defaultstatutorydeclaration - \selectlanguage{english} - }{ - \cleardoublepage - \chapter*{\labelstatutorydeclarationheading} - \udesoftec@defaultstatutorydeclaration - - } -} \ifprimaryDocumentLanguageGerman \else @@ -382,39 +308,47 @@ bibstyle for UDE SOFTEC]% \end{tabularx} } \fi +\usepackage{libertine} +%% special set font before fontenc! +\fontfamily{LinuxLibertineT-TLF} +\usepackage[T1]{fontenc} +\iftemplateUseSansSerifFont + \renewcommand*{\familydefault}{\sfdefault} +\else + \renewcommand*\familydefault{\rmdefault} +\fi +\setkomafont{descriptionlabel}{\normalfont\bfseries} +\setkomafont{dictumtext}{\normalfont\normalcolor\small} +\setkomafont{disposition}{\normalfont\normalcolor\bfseries} +\setkomafont{caption}{\normalfont\normalcolor\scriptsize} +%%%% microtype %%%%%% +% purpose: character protrusion (also known as margin kerning) and font expansion +% purpose-de: optischen Randausgleich verwenden. Beispiele siehe Paket-Doku% source: http://www.ctan.org/pkg/microtype +\usepackage{microtype} %%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -% title page background -% default + \ifprimaryDocumentLanguageGerman - \def\udesoftec@templateTitlePageBackground{udesoftec-cover-ude-de} + \def\udesoftec@documentLanguage{british,ngerman} % + % all used languages, primary LAST \else - \def\udesoftec@templateTitlePageBackground{udesoftec-cover-ude-en} -\fi -% VAWi-Bamberg special (no matter what language) -\iftemplateVawiBamberg - \def\udesoftec@templateTitlePageBackground{udesoftec-cover-uba} + \def\udesoftec@documentLanguage{ngerman,british} \fi -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%% -% VAWi special -\iftemplateVawiEssen - \institution{Im Virtuellen Weiterbildungsstudiengang Wirtschaftsinformatik\par der Universit\"at Duisburg-Essen} - \labelPreTopic{} -\fi -\iftemplateVawiBamberg - \institution{Im Virtuellen Weiterbildungsstudiengang Wirtschaftsinformatik} - \labelPreTopic{} -\fi +\def \udesoftec@templatePageMarkPrefix {} % might be something like "S. " + + +%%%% l18n %%%%%%%%%%%%% +% purpose: localization and utf-8 config +% babel has primary language last +\usepackage[\udesoftec@documentLanguage]{babel} +\usepackage[utf8]{inputenc} +\usepackage{hyphenat} % helps with \nohyphens command, which allows to remove hypens from quotes. +%%%%%%%%%%%%%%%%%%%%%% + %%%% xcolor %%%%%%%%%% % purpose: define some color names \usepackage[svgnames]{xcolor} @@ -509,52 +443,95 @@ bibstyle for UDE SOFTEC]% \colorlet{LinkAnchor}{black} % not used \fi +\providecaptionname{ngerman}{\labelabstracttitle}{Kurzfassung} +\providecaptionname{british}{\labelabstracttitle}{Abstract} +\def\udesoftec@defaultabstractde{Jede wissenschaftliche Arbeit sollte eine Kurzfassung am Anfang aufweisen. Diese Kurzfassung sollte etwa eine halbe Seite lang sein.} +\def\udesoftec@defaultabstractdeen{As all theses have an English title, there should be an English abstract as well.\par Folglich sollten auch deutsche Arbeiten einen englischen Abstract haben. Falls die Abstracts zu lang werden, gibt es im Handbuch eine Hilfestellung.} +\def\udesoftec@defaultabstracten{Every thesis should have an abstract at the beginning. This abstract should be about have an page long. Of course an English thesis doesn't need an German abstract, as it doesn't even have a German title.} +\ifprimaryDocumentLanguageGerman + \abstract{\udesoftec@defaultabstractde} + \abstractEn{\udesoftec@defaultabstractdeen} +\else + \abstract{\udesoftec@defaultabstracten} + \abstractEn{} +\fi +\newcommand{\printabstract}{% + \chapter*{\labelabstracttitle}% + \label{sec:abstract} + \pdfbookmark[0]{\labelabstracttitle}{sec:abstract}% + \udesoftec@abstract + + \iflanguage{ngerman}{% + % German theses should have German and English abstract + \ifdocumentOmitAen + % no second abstract here + \else + \selectlanguage{british} + \ifdocumentHasShortA% + \chapterWithoutPageBreak{\labelabstracttitle} + \label{sec:abstracten} + \else + \chapter*{\labelabstracttitle} + \label{sec:abstracten} + \fi + \udesoftec@abstracten + \selectlanguage{ngerman} + \fi + }{} +} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\newcaptionname{ngerman}{\labelconfidentialityclausetitle}{Sperrvermerk} +\newcaptionname{british}{\labelconfidentialityclausetitle}{Confidentially Clause} +\def\udesoftec@defaultconfidentialityclause{Die vorliegende \udesoftec@typeofdoc ~enth\"alt vertrauliche Informationen der \emph{\udesoftec@confidentialitySource}, die der Geheimhaltung unterliegen. Ver\"offentlichungen oder Vervielf\"altigungen der \udesoftec@typeofdoc ~-- auch nur auszugsweise -- sind ohne ausdr\"uckliche Genehmigung der \emph{\udesoftec@confidentialitySource} nicht gestattet. Die \udesoftec@typeofdoc ~ist nur den Mitarbeitern des betreuenden Lehrstuhls sowie den Mitgliedern des Pr\"ufungsausschusses zug\"anglich zu machen.\par{} Dieser Sperrvermerk gilt f\"ur die n\"achsten 2 Jahre. Die sich aus diesem Sperrvermerk ergebenden Einschr\"ankungen entfallen nach Ablauf dieses Zeitraums.\par{}} +\def\udesoftec@defaultconfidentialityclauseen{This \udesoftec@typeofdoc ~contains confidential data of \emph{\udesoftec@confidentialitySource}. Any publication or duplication of this \udesoftec@typeofdoc ~-- even in part -- is prohibited, excluding cases with explicit permission by \emph{\udesoftec@confidentialitySource}. The \udesoftec@typeofdoc ~is to be made accessible only to the staff of the research group supervising it and the board of examiners.\par{} This confidentially clause is valid for the next 2 years. Any limitations resulting from this confidentially clause do not apply after this period.\par{}} + +% there should always be an additional German cc in English theses +\newcommand{\confidentialityclause}{% + \iflanguage{british}{% + \cleardoublepage + \chapter*{\labelconfidentialityclausetitle} % English heading + \udesoftec@defaultconfidentialityclauseen % English text + \selectlanguage{ngerman} % prepare German + \chapterWithoutPageBreak{\labelconfidentialityclausetitle} % German heading + \udesoftec@defaultconfidentialityclause % German text + \selectlanguage{british} % switching back to English + }{ + \cleardoublepage + \chapter*{\labelconfidentialityclausetitle} + \udesoftec@defaultconfidentialityclause + } +} + +\newcaptionname{ngerman}{\labelstatutorydeclarationheading}{Eidesstattliche Versicherung} +\newcaptionname{british}{\labelstatutorydeclarationheading}{Statutory Declaration} +\def\udesoftec@defaultstatutorydeclaration{Ich versichere an Eides statt durch meine Unterschrift, dass ich die vorstehende Arbeit selbst\"andig und ohne fremde Hilfe angefertigt und alle Stellen, die ich w\"ortlich oder ann\"ahrend w\"ortlich aus Ver\"offentlichungen entnommen habe, als solche kenntlich gemacht habe, mich auch keiner anderen als der angegebenen Literatur oder sonstiger Hilfsmittel bedient habe. Die Arbeit hat in dieser oder \"ahnlicher Form noch keiner anderen Pr\"ufungsbeh\"orde vorgelegen.\par{} \vspace*{40pt}\parbox{4cm}{\udesoftec@city, \today\hrule\strut \footnotesize Ort, Datum} \hfill\parbox{7cm}{\textcolor{white}{Hier wurde im Original unterschrieben}\hrule\strut \footnotesize Unterschrift} \hfill} +\def\udesoftec@defaultstatutorydeclarationenprefix{The statutory declaration needs to be in German, so the following excerpt is in German:} +\newcommand{\statutorydeclaration}{ + \iflanguage{british}{ + \cleardoublepage + \chapter*{\labelstatutorydeclarationheading} + \udesoftec@defaultstatutorydeclarationenprefix + \selectlanguage{ngerman} + \chapterWithoutPageBreak{\labelstatutorydeclarationheading} + \udesoftec@defaultstatutorydeclaration + \selectlanguage{british} + }{ + \cleardoublepage + \chapter*{\labelstatutorydeclarationheading} + \udesoftec@defaultstatutorydeclaration + + } +} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % http://www.golatex.de/nummerierung-der-fussnoten-durchgehend-im-gesamten-dokument-t2042.html % change counters for figures, footnotes, etc \usepackage{chngcntr} \counterwithout{footnote}{chapter} % count footnotes for whole document, not per chapter -%%%% l18n %%%%%%%%%%%%% -% purpose: localization and utf-8 config -% babel has primary language last -\usepackage[\udesoftec@documentLanguage]{babel} -\usepackage[utf8]{inputenc} -\usepackage{hyphenat} % helps with \nohyphens command, which allows to remove hypens from quotes. -%%%%%%%%%%%%%%%%%%%%%% - -%%%% helvet %%%%%%%%%% -% purpose: use helvetica -%% special set font before fontenc! -\fontfamily{LinuxLibertineT-TLF} -\usepackage[T1]{fontenc} - -\iftemplateUseSansSerifFont - \renewcommand*{\familydefault}{\sfdefault} -\else - \renewcommand*\familydefault{\rmdefault} -\fi -\setkomafont{descriptionlabel}{\normalfont\bfseries} -\setkomafont{dictumtext}{\normalfont\normalcolor\small} -\setkomafont{disposition}{\normalfont\normalcolor\bfseries} -\setkomafont{caption}{\normalfont\normalcolor\scriptsize} -%%%%%%%%%%%%%%%%%%%%%% - - - -%%%% microtype %%%%%% -% purpose: character protrusion (also known as margin kerning) and font expansion -% purpose-de: optischen Randausgleich verwenden. Beispiele siehe Paket-Doku% source: http://www.ctan.org/pkg/microtype -\usepackage{microtype} -%%%%%%%%%%%%%%%%%%%%%% - %%%% graphicx %%%%%%%% % purpose: allows better graphics import @@ -591,9 +568,142 @@ bibstyle for UDE SOFTEC]% \usepackage{enumitem} -%\def \breaklabel{\ClassWarning{udesoftec}{\\breaklabel deprecated use "style=newline"}} +\usepackage{multicol} +%%%%%%%%%%%%%%%%%%%%%% +% title page background +% default +\ifprimaryDocumentLanguageGerman + \def\udesoftec@templateTitlePageBackground{udesoftec-cover-ude-de} +\else + \def\udesoftec@templateTitlePageBackground{udesoftec-cover-ude-en} +\fi +% VAWi-Bamberg special (no matter what language) +\iftemplateVawiBamberg + \def\udesoftec@templateTitlePageBackground{udesoftec-cover-uba} +\fi +%%%%%%%%%%%%%%%%%%%%%% +% VAWi special +\iftemplateVawiEssen + \institution{Im Virtuellen Weiterbildungsstudiengang Wirtschaftsinformatik\par der Universit\"at Duisburg-Essen} + \labelPreTopic{} +\fi +\iftemplateVawiBamberg + \institution{Im Virtuellen Weiterbildungsstudiengang Wirtschaftsinformatik} + \labelPreTopic{} +\fi + + +\ifdocumentOmitTitle + \renewcommand{\maketitle}{} +\else + \usepackage{wallpaper} + \newcommand{\udesoftecmaketitle} { + \newgeometry{bottom=1cm, inner=0cm,outer=0cm,top=4cm} + \begin{titlepage} + \begin{center} + \ThisCenterWallPaper{1}{\udesoftec@templateTitlePageBackground} + \vspace*{30pt} + \begin{minipage}[30em]{.7\linewidth} + \begin{center} + \Large\udesoftec@typeofdoc\par + \normalsize\udesoftec@labelPreTopic\par + \vspace*{20pt} + {\color{documentTitle}\Huge\textbf{\@title}\par} + \vspace*{20pt} + {\color{documentTitle}\huge\textbf{\@subtitle}\par} + \vspace*{20pt} + {\color{documentTitle}\large\textbf{\udesoftec@entitle}\par} + \vspace*{50pt} + \large\udesoftec@institution + \end{center} + \end{minipage} + \vfill + \begin{minipage}{.7\linewidth} + \begin{center} + \ifdocumentOmitCC + \else + \udesoftec@labelRespectConfidentiality\par + \fi + \vspace*{20pt}\Large\@date + \end{center} + \vspace*{30pt} + \end{minipage} + \udesoftec@authorbox\par + \begin{minipage}{.7\linewidth} + \begin{center} + \vspace*{40pt} + \large\udesoftec@semester\par + \end{center} + \end{minipage}% + \end{center}% + \end{titlepage}% + \restoregeometry + } + + \newcommand{\udesoftecvawibambergmaketitle}{ + \newgeometry{bottom=1cm, left=2cm,right=1cm,top=4cm} + \begin{titlepage} + \begin{center} + \ThisCenterWallPaper{1}{\udesoftec@templateTitlePageBackground} + \vspace*{0pt} + \begin{minipage}[30em]{.7\linewidth} + \begin{center} + {\color{documentTitle}\Huge\textbf{\@title}\par} + \vspace*{20pt} + {\color{documentTitle}\huge\textbf{\@subtitle}\par} + \vspace*{20pt} + {\color{documentTitle}\large\textbf{\udesoftec@entitle}\par} + \vspace*{50pt} + \hrule + \vspace*{20pt} + \Large\textbf{\udesoftec@typeofdoc}\par + \large\udesoftec@institution\par + \vspace*{20pt} + \hrule + \vspace*{20pt} + \end{center} + \end{minipage} + \vfill + \begin{minipage}{.7\linewidth} + \begin{center} + \ifdocumentOmitCC + \else + \udesoftec@labelRespectConfidentiality\par + \fi + \vspace*{15pt}\Large\@date + \end{center} + \vspace*{20pt} + \end{minipage} + \udesoftec@authorbox\par + \begin{minipage}{.7\linewidth} + \begin{center} + \vspace{20pt} + \large\udesoftec@semester\par + \vspace{20pt} + \end{center}% + \end{minipage}% + \end{center}% + \end{titlepage}% + \restoregeometry + } + + \renewcommand{\maketitle}{\udesoftecmaketitle} + \iftemplateVawiBamberg + \renewcommand{\maketitle}{\udesoftecvawibambergmaketitle} + \fi + \let\oldmaketitle\maketitle + \renewcommand{\maketitle}{ + \let\oldhbadness\hbadness + \let\oldvbadness\vbadness + \hbadness=10000 + \vbadness=10000 + \oldmaketitle + \let\hbadness\oldhbadness + \let\vbadness\oldvbadness + } +\fi %%%% chapterdesign %%% \addtokomafont{chapter}{\color{chapter}} \addtokomafont{sectioning}{\color{section}} @@ -605,6 +715,9 @@ bibstyle for UDE SOFTEC]% % Chapter-Numbering for 4 levels, i.e. PART B Chapter 5.7.3.1; in order to have unnumbered headings use \paragraph{} \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % purpose: have some nice chapter headings (big number, lines and so on) % we need type1cm and cm-super for the bigger fonts - else there would be warnings @@ -635,7 +748,12 @@ bibstyle for UDE SOFTEC]% \endgroup } %%%%%%%%%%%%%%%%%%%%%% - +\ifdocumentOmitPageBreaks + \let\chapterformat\defaultchapterformat + \let\cleardoublepage\clearpage% + \let\clearpage\par% + \let\appendix\par% +\fi \renewcommand{\headfont}{\normalfont\small\color{HeadmarkText}} % header text should be small \renewcommand{\pnumfont}{\normalfont\small\color{PagemarkText}} % pagenumber is in header and should be small too @@ -726,115 +844,12 @@ bibstyle for UDE SOFTEC]% \renewcommand*\chapterheadstartvskip{} - -\usepackage{wallpaper} -\newcommand{\udesoftecmaketitle} { - \newgeometry{bottom=1cm, inner=0cm,outer=0cm,top=4cm} - \begin{titlepage} - \begin{center} - \ThisCenterWallPaper{1}{\udesoftec@templateTitlePageBackground} - \vspace*{30pt} - \begin{minipage}[30em]{.7\linewidth} - \begin{center} - \Large\udesoftec@typeofdoc\par - \normalsize\udesoftec@labelPreTopic\par - \vspace*{20pt} - {\color{documentTitle}\Huge\textbf{\@title}\par} - \vspace*{20pt} - {\color{documentTitle}\huge\textbf{\@subtitle}\par} - \vspace*{20pt} - {\color{documentTitle}\large\textbf{\udesoftec@entitle}\par} - \vspace*{50pt} - \large\udesoftec@institution - \end{center} - \end{minipage} - \vfill - \begin{minipage}{.7\linewidth} - \begin{center} - \ifdocumentOmitCC - \else - \udesoftec@labelRespectConfidentiality\par - \fi - \vspace*{20pt}\Large\@date - \end{center} - \vspace*{30pt} - \end{minipage} - \udesoftec@authorbox\par - \begin{minipage}{.7\linewidth} - \begin{center} - \vspace*{40pt} - \large\udesoftec@semester\par - \end{center} - \end{minipage}% - \end{center}% - \end{titlepage}% - \restoregeometry -} - -\newcommand{\udesoftecvawibambergmaketitle}{ - \newgeometry{bottom=1cm, left=2cm,right=1cm,top=4cm} - \begin{titlepage} - \begin{center} - \ThisCenterWallPaper{1}{\udesoftec@templateTitlePageBackground} - \vspace*{0pt} - \begin{minipage}[30em]{.7\linewidth} - \begin{center} - {\color{documentTitle}\Huge\textbf{\@title}\par} - \vspace*{20pt} - {\color{documentTitle}\huge\textbf{\@subtitle}\par} - \vspace*{20pt} - {\color{documentTitle}\large\textbf{\udesoftec@entitle}\par} - \vspace*{50pt} - \hrule - \vspace*{20pt} - \Large\textbf{\udesoftec@typeofdoc}\par - \large\udesoftec@institution\par - \vspace*{20pt} - \hrule - \vspace*{20pt} - \end{center} - \end{minipage} - \vfill - \begin{minipage}{.7\linewidth} - \begin{center} - \ifdocumentOmitCC - \else - \udesoftec@labelRespectConfidentiality\par - \fi - \vspace*{15pt}\Large\@date - \end{center} - \vspace*{20pt} - \end{minipage} - \udesoftec@authorbox\par - \begin{minipage}{.7\linewidth} - \begin{center} - \vspace{20pt} - \large\udesoftec@semester\par - \vspace{20pt} - \end{center}% - \end{minipage}% - \end{center}% - \end{titlepage}% - \restoregeometry +\iffallBackToBibtex +\else +\AtEndDocument{% + \appendix% } - -\renewcommand{\maketitle}{\udesoftecmaketitle} -\iftemplateVawiBamberg - \renewcommand{\maketitle}{\udesoftecvawibambergmaketitle} \fi -\let\oldmaketitle\maketitle -\renewcommand{\maketitle}{ - \let\oldhbadness\hbadness - \let\oldvbadness\vbadness - \hbadness=10000 - \vbadness=10000 - \oldmaketitle - \let\hbadness\oldhbadness - \let\vbadness\oldvbadness -} - - -% !Mode:: "TeX:UTF-8" % special: don't change marginpar, else it will create overfuls with package todonotes \usepackage{marginnote} \ifx\marginfont\undefined @@ -853,38 +868,6 @@ bibstyle for UDE SOFTEC]% \message{LaTeX Warning: \noexpand\marginline is deprecated, use \noexpand\marginnote on input line \the\inputlineno } \marginnote[#1]{#2} } - -\newcommand{\chapterWithoutPageBreak}[1]{% - \let\oldcleardoublepage\cleardoublepage% - \let\oldclearpage\clearpage% - \let\clearpage\relax% - \let\cleardoublepage\relax% - \let\backupskip\chapterheadstartvskip% - \renewcommand\chapterheadstartvskip{\vspace*{-\topskip}\vspace*{10pt}}% - \par\chapter*{#1}% - \let\cleardoublepage\oldcleardoublepage% - \let\clearpage\oldclearpage% - \let\chapterheadstartvskip\backupskip% -} - -\newcommand{\ignoreHbadness}[1]{% - \let\originalHbadness\hbadness% - \hbadness 100000% - #1 - \hbadness \originalHbadness% -} - -\newcommand{\figref}[1]{\autoref{fig:#1}} - - - -\newcommand{\eng}[1]{engl.: \emph{\english{#1}}} -\newcommand{\entode}[1]{engl. für \emph{\english{#1}}} -\newcommand{\english}[1]{\foreignlanguage{english}{#1}} - -\newcommand{\good}[1]{\textcolor{Good}{#1}} -\newcommand{\bad}[1]{\textcolor{Bad}{#1}} - %%%%%%%%%%%%%%%% % allow footnotes in minipage % from http://stackoverflow.com/questions/3126082/store-a-text-string-in-latex-and-then-add-other-text-to-it-concatenate @@ -903,8 +886,6 @@ bibstyle for UDE SOFTEC]% %\footnoteNumberInMinipage %\let\executeThisAfterEndOfMinipage aloa }% - - %%%%%%%%%%%%%%%%%%%%%%%%% % have quote boxes with big quotation marks % big quotation marks based on, reduced code and used mdframed @@ -955,8 +936,6 @@ bibstyle for UDE SOFTEC]% \par\hfill\small\cite[#1]{#2}% \end{citequoteparenv}% } - - \newenvironment{exampleBox}[1][]{% \mdfsetup{% frametitle={% @@ -990,9 +969,6 @@ bibstyle for UDE SOFTEC]% \let\footnote\defaultCmdFootnote% } - -%%%%%%%%%%%%%%%% -\usepackage{multicol} \usepackage{listings} \lstset{% frame=single,% @@ -1034,7 +1010,7 @@ commentstyle=\color{DocumentMedium0}, \lstset{ language={[LaTeX]TeX}, breaklines=true, - moretexcs={\citeauthor,\autoref,\includegraphics,\citet,\citetext,\citealp,\inlinetodo,\todo,\entitle,\authorbox,\city,\typeofdoc,\semester,\confidentialitySource,\academicfield,\institution,\abstract,\abstractEn,\printacronyms}, + moretexcs={\citeauthor,\autoref,\includegraphics,\citet,\citetext,\citealp,\inlinetodo,\todo,\entitle,\authorbox,\city,\typeofdoc,\semester,\confidSource,\confidentialitySource,\academicfield,\institution,\abstract,\abstractEn,\printacronyms}, morekeywords={figure,document,itemize,enumerate,description,final,omit-todos,tabularx}, emph={style,leftmargin}, texcsstyle=*\color{DocumentDark1}, @@ -1074,10 +1050,6 @@ language={[LaTeX]TeX}, texcsstyle=*\color{DocumentDark1}, keywordstyle=\color{DocumentDark3}\textbf, ]} - -\providecommand{\ctanlink}[1]{\href{http://www.ctan.org/pkg/#1}{#1}} - - \usepackage[ ngerman, textsize=tiny, @@ -1125,11 +1097,11 @@ colorinlistoftodos \renewcommand{\listoftodos}{ \defaultListoftodos } + + \ifdocumentUsedTodos + \listoftodos + \fi \fi - - - - %%%% hyperref %%%%%%%% %% special: hyperref needs to be loaded last! (exception hycap) %% purpose: make internal and external links working and colored @@ -1153,14 +1125,12 @@ bookmarks=true,bookmarksopen=true,bookmarksopenlevel=1,bookmarksnumbered=true]{h %% purpose: links to figures and tables should link to top of figure and not to top of caption %% (which is below figure, so figure wouldn't show but only caption); no other change necessary \usepackage[all]{hypcap} - - %%%% glossary %%%%%%%%% % for glossary and acronyms; instead of package acronym % special: glossary after hyperref % special:\AtEndDocument{\printglossary} before usepackage to suppress warning of missing printglossary %\usepackage[footnote,printonlyused]{acronym} -\usepackage[acronym,nonumberlist,section=chapter,toc]{glossaries} +\usepackage[acronym,nonumberlist,section=chapter,toc,nowarn]{glossaries} \deftranslation[to=ngerman]{Acronyms}{Abkürzungsverzeichnis} \deftranslation[to=ngerman]{Glossary}{Glossar} \makeglossaries @@ -1181,13 +1151,28 @@ bookmarks=true,bookmarksopen=true,bookmarksopenlevel=1,bookmarksnumbered=true]{h \glossaryentryfield{##2}{##3}{##4}{##5}{##6}}% } -% !Mode:: "TeX:UTF-8" -%%%% todonotes %%%%%%% -% purpose: get (orange) todo comments in text or in margin -% use option "disable" to disable the complete packages (leaving all commands intact, just removing output) -\usepackage{udesoftec-bst} -\usepackage[listings]{scrhack} +\AtEndDocument{% + \printglossary% +} +\newcommand{\figref}[1]{\autoref{fig:#1}} +\newcommand{\eng}[1]{engl.: \emph{\english{#1}}} +\newcommand{\entode}[1]{engl. für \emph{\english{#1}}} +\newcommand{\english}[1]{\foreignlanguage{british}{#1}} +\newcommand{\good}[1]{\textcolor{Good}{#1}} +\newcommand{\bad}[1]{\textcolor{Bad}{#1}} +\providecommand{\ctanlink}[1]{\href{http://www.ctan.org/pkg/#1}{#1}} +\usepackage{udesoftec-bibcommon} +\iffallBackToBibtex + \usepackage{udesoftec-bst} +\else + \usepackage{udesoftec-biblatex} + \AtEndDocument{% + \printbibliography + } +\fi + +\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{}}% @@ -1208,7 +1193,6 @@ bookmarks=true,bookmarksopen=true,bookmarksopenlevel=1,bookmarksnumbered=true]{h \AtEndDocument{\ifdefined\udesoftec@usedlistofitems@acronyms\label{udesoftec:needsloa}\fi}% \newcommand{\udesoftecprintacronyms}{\@ifundefined{r@udesoftec:needsloa}{}{\printacronyms[style=myAcronymStyle]}}% -\newcommand{\udesoftecoverride}{} \AfterEndPreamble{ \udesoftecoverride% \pagenumbering{alph} % title page is "a" - internal trick to prevent two pages with same name @@ -1230,14 +1214,9 @@ bookmarks=true,bookmarksopen=true,bookmarksopenlevel=1,bookmarksnumbered=true]{h \mainmatter } -\AtEndDocument{ - \printglossary - \ifdocumentUsedTodos - \ifdocumentOmitTodos - \else - \listoftodos - \fi - \fi + + +\AtEndDocument{ \ifdocumentOmitSD\else\statutorydeclaration\fi -} +}
\ No newline at end of file |