PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Bibtex EIntrag für VDI- RIchtlinie



AXM
01-02-2012, 22:54
Hallo Leute,
möchte einen Eintrag in Literaturvezeichnis der so aussieht

VDI-Richtlinie 2221: Methodik zum Entwickeln und Konstruieren technischer Systeme und Produkte.

bekomme aber das hier

2221, VDI-Richtlinie (1993): Methodik zum Entwickeln und Konstruieren technischer Systeme und Produkte.

Mein Code


%
%header->Einstellungen
%
\listfiles
\documentclass[pdftex,12pt,parskip,fleqn,openany]{scrreprt}%{report}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[a4paper,left=3cm,right=4cm,top=3cm,bottom=3cm]{geometry}
\usepackage{textcomp}
\usepackage[ansinew]{inputenc}

\usepackage{fancyhdr}
%floatbarrier
\usepackage{placeins}
%Zitierweise imtext
\RequirePackage[citestyle=authoryear-comp,bibstyle=authoryear,maxnames=2,minnames=2]{biblatex}
\usepackage[babel]{csquotes}%<--einkommentieren
%Literaturverzeichnis
\DefineBibliographyStrings{ngerman}{andothers={et\ al\adddot}}
\renewcommand{\labelnamepunct}{\addcolon\addspace} % Doppelpunkt im Text
\renewcommand{\postnotedelim}{\addcolon\addspace}% Doppelpunkt im Verzeichnis
\setlength\bibitemsep{\medskipamount} % Abstand zwischen 2 Einträgen im Verzeichnis
\setlength{\bibhang}{2em} % Abstand von links im Verzeichnis

\DeclareFieldFormat{postnote}{#1}
\DeclareFieldFormat{multipostnote}{#1}

%\makeatletter
%\renewbibmacro*{author}{%
% \ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{autho r}}
% {\savefield{fullhash}{\bbx@lasthash}%
% \printnames{author}%
% \iffieldundef{authortype}
% {\setunit{\addspace}}
% {\setunit{\addcomma\space}}% NEU
% \iffieldundef{authortype}
% {}
% {\usebibmacro{authorstrg}%
% \setunit{\addspace}}}%
% {\global\undef\bbx@lasthash
% \usebibmacro{labeltitle}%
% \setunit*{\addspace}}%
% \usebibmacro{year+labelyear}}

%Kopf und Fußzeile
\pagestyle{fancy}
\fancyhf{}
\headheight=25.6pt
\fancyhead[L]{\footnotesize{\textbf{Max Mustermann\\Matr. Nr.: xxxxxx}}}
\fancyhead[C]{\footnotesize{\textit{xxxxxxx \\}}}
\fancyhead[R]{\footnotesize{xxxxx}}
\fancyfoot[L]{\footnotesize{\today}}
\fancyfoot[R]{\thepage}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0.5pt}


\begin{filecontents}{\jobname.bib}

@misc{VDI2221,
added-at = {2008-09-23T14:32:39.000+0200},
author = {VDI-Richtlinie 2221},
biburl = {http://www.bibsonomy.org/bibtex/211cac946f3aea05176ea4e9dc7a934b8/michael.krengel},
interhash = {4bd659ddd5277148bb00ce80df57cdc9},
intrahash = {11cac946f3aea05176ea4e9dc7a934b8},
keywords = {Entwickeln Konstruieren Methodik Produkte},
timestamp = {2008-09-23T14:32:39.000+0200},
title = {Methodik zum Entwickeln und Konstruieren technischer Systeme und Produkte},
year = 1993
}



\end{filecontents}


\bibliography{\jobname}
\usepackage{blindtext}

\begin{document}
\blinddocument
\nocite{*}


\printbibliography
\addcontentsline{toc}{chapter}{Literaturverzeichni s}
\end{document}

zugegeben, Ich habe mir den Bibcode aus dem Netz (nicht vom Original) gezogen. Wo ist der Fehler? Was muss ich einstellen? Die Idee 2221 und VDI-Richtlinie zu vertauschen bringt keine Änderung


%
%header->Einstellungen
%
\listfiles
\documentclass[pdftex,12pt,parskip,fleqn,openany]{scrreprt}%{report}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[a4paper,left=3cm,right=4cm,top=3cm,bottom=3cm]{geometry}
\usepackage{textcomp}
\usepackage[ansinew]{inputenc}

\usepackage{fancyhdr}
%floatbarrier
\usepackage{placeins}
%Zitierweise imtext
\RequirePackage[citestyle=authoryear-comp,bibstyle=authoryear,maxnames=2,minnames=2]{biblatex}
\usepackage[babel]{csquotes}%<--einkommentieren
%Literaturverzeichnis
\DefineBibliographyStrings{ngerman}{andothers={et\ al\adddot}}
\renewcommand{\labelnamepunct}{\addcolon\addspace} % Doppelpunkt im Text
\renewcommand{\postnotedelim}{\addcolon\addspace}% Doppelpunkt im Verzeichnis
\setlength\bibitemsep{\medskipamount} % Abstand zwischen 2 Einträgen im Verzeichnis
\setlength{\bibhang}{2em} % Abstand von links im Verzeichnis

\DeclareFieldFormat{postnote}{#1}
\DeclareFieldFormat{multipostnote}{#1}

%\makeatletter
%\renewbibmacro*{author}{%
% \ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{autho r}}
% {\savefield{fullhash}{\bbx@lasthash}%
% \printnames{author}%
% \iffieldundef{authortype}
% {\setunit{\addspace}}
% {\setunit{\addcomma\space}}% NEU
% \iffieldundef{authortype}
% {}
% {\usebibmacro{authorstrg}%
% \setunit{\addspace}}}%
% {\global\undef\bbx@lasthash
% \usebibmacro{labeltitle}%
% \setunit*{\addspace}}%
% \usebibmacro{year+labelyear}}

%Kopf und Fußzeile
\pagestyle{fancy}
\fancyhf{}
\headheight=25.6pt
\fancyhead[L]{\footnotesize{\textbf{Max Mustermann\\Matr. Nr.: xxxxxx}}}
\fancyhead[C]{\footnotesize{\textit{xxxxxxx \\}}}
\fancyhead[R]{\footnotesize{xxxxx}}
\fancyfoot[L]{\footnotesize{\today}}
\fancyfoot[R]{\thepage}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0.5pt}


\begin{filecontents}{\jobname.bib}


@misc{VDI2221,
added-at = {2008-09-23T14:32:39.000+0200},
author = {2221 VDI-Richtlinie },
biburl = {http://www.bibsonomy.org/bibtex/211cac946f3aea05176ea4e9dc7a934b8/michael.krengel},
interhash = {4bd659ddd5277148bb00ce80df57cdc9},
intrahash = {11cac946f3aea05176ea4e9dc7a934b8},
keywords = {Entwickeln Konstruieren Methodik Produkte},
timestamp = {2008-09-23T14:32:39.000+0200},
title = {Methodik zum Entwickeln und Konstruieren technischer Systeme und Produkte},
year = 1993
}
\end{filecontents}


\bibliography{\jobname}
\usepackage{blindtext}

\begin{document}
\blinddocument
\nocite{*}


\printbibliography
\addcontentsline{toc}{chapter}{Literaturverzeichni s}
\end{document}

Sepp99
01-02-2012, 23:44
Mit biber und ein paar kleinen Änderung funktioniert es:

%
%header->Einstellungen
%
\listfiles
\documentclass[pdftex,12pt,parskip,fleqn,openany]{scrreprt}%{report}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[a4paper,left=3cm,right=4cm,top=3cm,bottom=3cm]{geometry}
\usepackage{textcomp}
\usepackage[ansinew]{inputenc}

\usepackage{fancyhdr}
%floatbarrier
\usepackage{placeins}
%Zitierweise imtext
\RequirePackage[backend=biber,citestyle=authoryear-comp,bibstyle=authoryear,maxnames=2,minnames=2]{biblatex}
\usepackage[babel]{csquotes}%<--einkommentieren
%Literaturverzeichnis
\DefineBibliographyStrings{ngerman}{andothers={et\ al\adddot}}
\renewcommand{\labelnamepunct}{\addcolon\addspace} % Doppelpunkt im Text
\renewcommand{\postnotedelim}{\addcolon\addspace}% Doppelpunkt im Verzeichnis
\setlength\bibitemsep{\medskipamount} % Abstand zwischen 2 Einträgen im Verzeichnis
\setlength{\bibhang}{2em} % Abstand von links im Verzeichnis

\DeclareFieldFormat{postnote}{#1}
\DeclareFieldFormat{multipostnote}{#1}

%\makeatletter
%\renewbibmacro*{author}{%
% \ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{autho r}}
% {\savefield{fullhash}{\bbx@lasthash}%
% \printnames{author}%
% \iffieldundef{authortype}
% {\setunit{\addspace}}
% {\setunit{\addcomma\space}}% NEU
% \iffieldundef{authortype}
% {}
% {\usebibmacro{authorstrg}%
% \setunit{\addspace}}}%
% {\global\undef\bbx@lasthash
% \usebibmacro{labeltitle}%
% \setunit*{\addspace}}%
% \usebibmacro{year+labelyear}}

%Kopf und Fußzeile
\pagestyle{fancy}
\fancyhf{}
\headheight=25.6pt
\fancyhead[L]{\footnotesize{\textbf{Max Mustermann\\Matr. Nr.: xxxxxx}}}
\fancyhead[C]{\footnotesize{\textit{xxxxxxx \\}}}
\fancyhead[R]{\footnotesize{xxxxx}}
\fancyfoot[L]{\footnotesize{\today}}
\fancyfoot[R]{\thepage}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0.5pt}


\begin{filecontents}{jobname.bib}


@misc{VDI2221,
added-at = {2008-09-23T14:32:39.000+0200},
author = {VDI-Richtlinie~2221},
biburl = {http://www.bibsonomy.org/bibtex/211cac946f3aea05176ea4e9dc7a934b8/michael.krengel},
interhash = {4bd659ddd5277148bb00ce80df57cdc9},
intrahash = {11cac946f3aea05176ea4e9dc7a934b8},
keywords = {Entwickeln Konstruieren Methodik Produkte},
timestamp = {2008-09-23T14:32:39.000+0200},
title = {Methodik zum Entwickeln und Konstruieren technischer Systeme und Produkte},
year = 1993
}
\end{filecontents}


\bibliography{jobname.bib}
\usepackage{blindtext}

\begin{document}
\blindtext
\nocite{*}


\printbibliography
\addcontentsline{toc}{chapter}{Literaturverzeichni s}
\end{document}

Ergebnis im Anhang. Lösche zusätzlich einmal sämtliche Hilfsdateien in deinem Projekt.

Gruß, Sepp.-