Created
October 3, 2017 07:41
-
-
Save moewew/9805f72a43ca2cc56ee6e4c3819a2354 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{fontspec} | |
\usepackage{polyglossia} | |
\setdefaultlanguage[variant=american]{english} | |
\setotherlanguage[variant=german,spelling=new,babelshorthands=true]{german} | |
\newenvironment{ngerman}{\begin{german}}{\end{german}} | |
\usepackage[notes, natbib, backend=biber, alldates=edtf, idemtracker=context, ibidtracker=context, dateabbrev=false, language=american, autocite=footnote, uniquework=true]{biblatex-chicago} | |
\renewcommand{\citet}[1]{\autocite{#1}} | |
\defaultfontfeatures{Ligatures=TeX,Numbers=OldStyle} | |
\setmainfont{Linux Libertine O} | |
\setsansfont{Linux Biolinum O} | |
\usepackage{filecontents} | |
\begin{filecontents}{\jobname.bib} | |
% Encoding: UTF-8 | |
@Audio{logothetis1970anastaseis, | |
author = {{A}nestis {L}ogothetis}, | |
title = {Άναστάσεις}, | |
year = {1971}, | |
note = {{S}y. 2210}, | |
organization = {{G}. {R}icordi und {C}o. {B}{\"u}hnen- und {M}usikverlag, {G}mb{H}}, | |
location = {{M}{\"u}nchen}, | |
} | |
@Video{logothetis1970anastasisvideo, | |
author = {{A}nestis {L}ogothetis}, | |
editor = {{S}iegfried {B}ehrend}, | |
title = {Άναστάσεις}, | |
year = {1970}, | |
date = {1970-06-24}, | |
organization = {{S}aarl{\"a}ndischer {R}undfunk}, | |
location = {Saarbr{\"u}cken}, | |
url = {https://www.youtube.com/watch?v=yzdC56ByWqU}, | |
urldate = {2017-06-28}, | |
editora = {{C}laudia {B}rodzinska-{B}ehrend}, | |
editoratype = {none}, | |
editortype = {director}, | |
} | |
@Music{logothetis1985anastaseis, | |
author = {{A}nestis {L}ogothetis}, | |
editor = {{S}iegfried {B}ehrend}, | |
title = {Άναστάσεις}, | |
year = {1985}, | |
type = {LP}, | |
editortype = {director}, | |
publisher = {{A}madeo}, | |
series = {{\"O}sterreichische {M}usik der {G}egenwart}, | |
} | |
@Misc{logothetis1970anastasissendung, | |
author = {{A}nestis {L}ogothetis}, | |
editor = {{S}iegfriend {B}ehrend}, | |
title = {Άναστάσεις}, | |
year = {1970}, | |
date = {1970-06-24}, | |
type = {radio broadcast}, | |
location = {{S}aarbr{\"u}cken}, | |
editora = {{C}laudia {P}rodzinska-{B}ehrend}, | |
editoratype = {none}, | |
editorb = {{E}wald {L}iska}, | |
editorbtype = {none}, | |
editortype = {director}, | |
publisher = {{S}aarl{\"a}ndischer {R}undfunk}, | |
series = {{H}{\"o}rspielabend}, | |
} | |
\end{filecontents} | |
\addbibresource{\jobname.bib} | |
\addbibresource{biblatex-examples.bib} | |
\makeatletter | |
\newbibmacro*{cite}{% | |
\ifciteseen% | |
{\ifboolexpr{% | |
test {\iffieldundef{shorthand}}% | |
or | |
( | |
togl {blx@skipbiblist}% | |
and | |
togl {cms@inheritshhand}% | |
and | |
not test {\iffieldundef{crossref}}% | |
) | |
}% | |
{\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}% | |
{\usebibmacro{cite:ibid}% | |
\usebibmacro{cite:save}}% | |
{\ifuniquework | |
{\global\toggletrue{cms@shortnote}% | |
\global\togglefalse{cms@fullnote}% | |
\usebibmacro{cite:short}}% | |
{\global\toggletrue{cms@fullnote}% | |
\global\togglefalse{cms@shortnote}% | |
\usebibmacro{cite:full}}% | |
\usebibmacro{cite:save}}}% | |
{\iftoggle{cms@shorthandibid}% | |
{\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}% | |
{\usebibmacro{cite:ibid}% | |
\usebibmacro{cite:save}}% | |
{\usebibmacro{cite:shorthand}% | |
\usebibmacro{cite:save}% | |
\global\toggletrue{cms@noidem}}}% | |
{\usebibmacro{cite:shorthand}% | |
\usebibmacro{cite:save}% | |
\global\toggletrue{cms@noidem}}}}% | |
{\ifboolexpr{% | |
togl{cms@firstshort}% | |
and | |
not test {\iffieldundef{shorthand}}% | |
}% | |
{\usebibmacro{cite:shorthand}% | |
\usebibmacro{cite:save}% | |
\global\toggletrue{cms@noidem}}% | |
{\ifboolexpr{togl {cms@allshort} and test {\ifuniquework}} | |
{\global\toggletrue{cms@shortnote}% | |
\global\togglefalse{cms@fullnote}% | |
\global\toggletrue{cms@printshhand}% | |
\usebibmacro{cite:short}% | |
\usebibmacro{cite:save}}% | |
{\global\toggletrue{cms@fullnote}% | |
\global\togglefalse{cms@shortnote}% | |
\usebibmacro{cite:full}% | |
\usebibmacro{cite:save}}}}}% | |
\makeatother | |
\begin{document} | |
Lorem\autocite{logothetis1970anastaseis} | |
ipsum\autocite{logothetis1970anastasisvideo} | |
dolor\autocite{logothetis1970anastaseis} | |
amet\autocite{sigfridsson} | |
sit\autocite{logothetis1970anastasissendung} | |
amet\autocite{logothetis1985anastaseis} | |
Lorem\autocite{logothetis1970anastaseis} | |
amet\autocite{sigfridsson} | |
ipsum\autocite{logothetis1970anastasisvideo} | |
dolor\autocite{logothetis1970anastaseis} | |
sit\autocite{logothetis1970anastasissendung} | |
amet\autocite{logothetis1985anastaseis} | |
\printbibliography | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment