Aufgrund einer Störung des s3 Storage, könnten in nächster Zeit folgende GitLab Funktionen nicht zur Verfügung stehen: LFS, Container Registry, Job Artifacs, Uploads (Wiki, Bilder, Projekt-Exporte). Wir bitten um Verständnis. Es wird mit Hochdruck an der Behebung des Problems gearbeitet. Weitere Informationen zur Störung des Object Storage finden Sie hier: https://maintenance.itc.rwth-aachen.de/ticket/status/messages/59-object-storage-pilot

Commit 009b8e8e authored by Lukas Janek Körfer's avatar Lukas Janek Körfer
Browse files

Reworked some bibliography drivers and added misc (for brochures etc.)

parent b800b345
......@@ -13,11 +13,14 @@
patent = {Schutzrecht}
}
\DeclareNameFormat[standard]{labelname}{\usebibmacro{institution}}
% Citation style
\DeclareLabelalphaTemplate{
\labelelement{
\field[uppercase,final]{shorthand}
\field[uppercase]{label}
\field[uppercase]{label}
\field[uppercase]{shortauthor}
\field[uppercase,names=1,noalphaothers,strwidth=4]{labelname}
}
\labelelement{
......@@ -60,7 +63,7 @@
\usebibmacro{begentry}%
\iffieldundef{type}{\bibstring{standard}}{\printfield{type}}%
\setunit{\addspace}%
\printfield{label}%
\printlist{institution}%
\setunit{\addspace}%
\printfield{number}%
\addspace%
......@@ -92,7 +95,7 @@
\DeclareBibliographyDriver{online}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\iffieldundef{author}{\printlist{organization}}{\usebibmacro{author}}%
\usebibmacro{author}%
\setunit{\addcolon\addspace}%
\usebibmacro{title}%
\setunit{\adddot\addspace}%
......@@ -102,4 +105,20 @@
\usebibmacro{finentry}%
}
% Misc driver (for brochures etc.)
\DeclareBibliographyDriver{misc}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
\setunit{\addcolon\addspace}%
\usebibmacro{title}%
\setunit{\adddot\addspace}%
\printlist{location}%
\setunit{\addcomma\addspace}%
\printfield{year}%
\setunit{\adddot\addspace}%
\printfield{type}%
\usebibmacro{finentry}%
}
\endinput
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment