von joa*k » Mi 14. Feb 2018, 12:50
Ich habe es mit folgendem Beispiel getestet und bekomme immer kein Literaturverzeichnis
\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage{csquotes}
%Einstellungen fürs Literaturverzeichnis
\usepackage[citestyle=authoryear-comp,bibstyle=authortitle,sorting=nyt,dashed=false,url=false,isbn=false,maxcitenames=1,firstinits= true,backend=bibtex]{biblatex}
%\usepackage[citestyle=authoryear-comp,bibstyle=authortitle,sorting=anyt,dashed=false,url=false,isbn=false,maxcitenames=1,firstinits= true,backend=bibtex]{biblatex}
\renewcommand*{\mkbibnamelast}[1]{\textsc{#1}}
% Namensortierung: esrt Nachname, dann Vorname
\DeclareNameAlias{sortname}{last-first}
% Zitat im Text mit eckiger Klammer
\DeclareCiteCommand{\mycite}[\mkbibbrackets]
{\usebibmacro{cite:init}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{}
{\usebibmacro{postnote}}
% Anführungszeichen weg für bestimmte Typen
%\DeclareFieldFormat
% [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
% {title}{#1\isdot}
%Anführungszeichen weg für alle
\DeclareFieldFormat*{title}{#1\isdot}
\newcounter{mymaxcitenames}
\AtBeginDocument{%
\setcounter{mymaxcitenames}{\value{maxnames}}%
}
\renewbibmacro*{begentry}{%
\printtext[brackets]{%
\begingroup
\defcounter{maxnames}{\value{mymaxcitenames}}%
\iffieldundef{shorthand}
{\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}
{\usebibmacro{cite:label}%
\setunit{\addspace}}
{\printnames{labelname}%
\setunit{\nameyeardelim}}%
\usebibmacro{cite:labelyear+extrayear}}
{\usebibmacro{cite:shorthand}}%
\endgroup
}%
\newline
}
\renewbibmacro*{name:andothers}{%
\ifboolexpr{
test {\ifnumequal{\value{listcount}}{\value{liststop}}}
and
test \ifmorenames
}
{\ifnumgreater{\value{liststop}}{1}
{\finalandcomma}
{}%
\andothersdelim\bibstring[\textsc]{andothers}}
{}}
\renewcommand*{\finalnamedelim}{%
\ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
\addspace\bibstring[\textsc]{and}\space}
\renewcommand*{\labelnamepunct}{\addcolon\space}
%%%%%%%%%%%%%%%TEST%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewbibmacro*{journal+issuetitle}{%
\usebibmacro{journal}%
\setunit*{\addcomma\space}%
\iffieldundef{series}
{}
{\newunit
\printfield{series}%
\setunit{\addcomma\space}}%
\printfield{volume}%
\setunit*{\addcomma\space}%
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{issue}%
\setunit{\addcomma\space}%
\usebibmacro{date}%
\newunit}
\DeclareFieldFormat[article]{volume}{\bibstring{jourvol}~#1}
\DeclareFieldFormat[article]{number}{\bibstring{number}~#1}
\DeclareFieldFormat[article]{issue}{\bibstring{issue}~#1}
%%%%%%%%%%%%%%%TEST%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\renewbibmacro*{volume+number+issue}{%
% \printfield{volume}%
% \setunit{\addcomma\space}%<---- was \setunit*{\adddot}%
% \printfield{number}%
% \setunit{\addcomma\space}%
% \printfield{issue}}
%%%%%%%%%%%%%%%TEST%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%NORM
%\DeclareBibliographyAlias{norm}{standard}
\DeclareBibliographyDriver{standard}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\printfield{type}\setunit{\addspace}\newblock\printfield{number}%
\setunit{\addspace}
\printfield{year}%
\newunit\newblock
\usebibmacro{title}%
\usebibmacro{finentry}}
\DeclareFieldFormat[standard]{title}{\mkbibemph{#1}}
%%%%%%%%%%%%%%%%%%%%
\DeclareBibliographyDriver{phdthesis}{%
\usebibmacro{author}%
\newunit
\usebibmacro{title}%
\newunit
\usebibmacro{journaltitle}%
\usebibmacro{institution}%
\usebibmacro{year}%
\usebibmacro{type}%
}
%%%%%%%%%%%%%%%%%%%%
\addbibresource{biblatex-examples.bib}
%Abstand zwischen den Einträgen vergrößern
\setlength{\bibitemsep}{12pt}
\makeatletter
\def\blx@maxline{77}
\makeatother
\begin{document}
Ein bisschen Text \mycite{geer,worman,sigfridsson,aksin}.
\printbibheading[title={Literaturverzeichnis}]
\printbibliography[nottype=standard, nottype=bmw, heading=none]
\makeatletter
\def\blx@maxline{77}
\makeatother
\end{document}
Ich habe es mit folgendem Beispiel getestet und bekomme immer kein Literaturverzeichnis
[code]
\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage{csquotes}
%Einstellungen fürs Literaturverzeichnis
\usepackage[citestyle=authoryear-comp,bibstyle=authortitle,sorting=nyt,dashed=false,url=false,isbn=false,maxcitenames=1,firstinits= true,backend=bibtex]{biblatex}
%\usepackage[citestyle=authoryear-comp,bibstyle=authortitle,sorting=anyt,dashed=false,url=false,isbn=false,maxcitenames=1,firstinits= true,backend=bibtex]{biblatex}
\renewcommand*{\mkbibnamelast}[1]{\textsc{#1}}
% Namensortierung: esrt Nachname, dann Vorname
\DeclareNameAlias{sortname}{last-first}
% Zitat im Text mit eckiger Klammer
\DeclareCiteCommand{\mycite}[\mkbibbrackets]
{\usebibmacro{cite:init}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{}
{\usebibmacro{postnote}}
% Anführungszeichen weg für bestimmte Typen
%\DeclareFieldFormat
% [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
% {title}{#1\isdot}
%Anführungszeichen weg für alle
\DeclareFieldFormat*{title}{#1\isdot}
\newcounter{mymaxcitenames}
\AtBeginDocument{%
\setcounter{mymaxcitenames}{\value{maxnames}}%
}
\renewbibmacro*{begentry}{%
\printtext[brackets]{%
\begingroup
\defcounter{maxnames}{\value{mymaxcitenames}}%
\iffieldundef{shorthand}
{\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}
{\usebibmacro{cite:label}%
\setunit{\addspace}}
{\printnames{labelname}%
\setunit{\nameyeardelim}}%
\usebibmacro{cite:labelyear+extrayear}}
{\usebibmacro{cite:shorthand}}%
\endgroup
}%
\newline
}
\renewbibmacro*{name:andothers}{%
\ifboolexpr{
test {\ifnumequal{\value{listcount}}{\value{liststop}}}
and
test \ifmorenames
}
{\ifnumgreater{\value{liststop}}{1}
{\finalandcomma}
{}%
\andothersdelim\bibstring[\textsc]{andothers}}
{}}
\renewcommand*{\finalnamedelim}{%
\ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
\addspace\bibstring[\textsc]{and}\space}
\renewcommand*{\labelnamepunct}{\addcolon\space}
%%%%%%%%%%%%%%%TEST%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewbibmacro*{journal+issuetitle}{%
\usebibmacro{journal}%
\setunit*{\addcomma\space}%
\iffieldundef{series}
{}
{\newunit
\printfield{series}%
\setunit{\addcomma\space}}%
\printfield{volume}%
\setunit*{\addcomma\space}%
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{issue}%
\setunit{\addcomma\space}%
\usebibmacro{date}%
\newunit}
\DeclareFieldFormat[article]{volume}{\bibstring{jourvol}~#1}
\DeclareFieldFormat[article]{number}{\bibstring{number}~#1}
\DeclareFieldFormat[article]{issue}{\bibstring{issue}~#1}
%%%%%%%%%%%%%%%TEST%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\renewbibmacro*{volume+number+issue}{%
% \printfield{volume}%
% \setunit{\addcomma\space}%<---- was \setunit*{\adddot}%
% \printfield{number}%
% \setunit{\addcomma\space}%
% \printfield{issue}}
%%%%%%%%%%%%%%%TEST%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%NORM
%\DeclareBibliographyAlias{norm}{standard}
\DeclareBibliographyDriver{standard}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\printfield{type}\setunit{\addspace}\newblock\printfield{number}%
\setunit{\addspace}
\printfield{year}%
\newunit\newblock
\usebibmacro{title}%
\usebibmacro{finentry}}
\DeclareFieldFormat[standard]{title}{\mkbibemph{#1}}
%%%%%%%%%%%%%%%%%%%%
\DeclareBibliographyDriver{phdthesis}{%
\usebibmacro{author}%
\newunit
\usebibmacro{title}%
\newunit
\usebibmacro{journaltitle}%
\usebibmacro{institution}%
\usebibmacro{year}%
\usebibmacro{type}%
}
%%%%%%%%%%%%%%%%%%%%
\addbibresource{biblatex-examples.bib}
%Abstand zwischen den Einträgen vergrößern
\setlength{\bibitemsep}{12pt}
\makeatletter
\def\blx@maxline{77}
\makeatother
\begin{document}
Ein bisschen Text \mycite{geer,worman,sigfridsson,aksin}.
\printbibheading[title={Literaturverzeichnis}]
\printbibliography[nottype=standard, nottype=bmw, heading=none]
\makeatletter
\def\blx@maxline{77}
\makeatother
\end{document}
[/code]