Hier mal ein Beispiel zu Norm-Zitaten. Die biblatex-Optionen von humpenjack hab ich fast alle auskommentiert (wegen Options-Clash und um das Standard-Verhalten besser darstellen zu können):
Code:
\documentclass[bibliography=totoc]{scrartcl}
\usepackage{selinput}
\SelectInputMappings{
adieresis={ä},
germandbls={ß},
Euro={€}
}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[backend=biber,%
%sortlocale=de_DE,%
citestyle=authoryear,%
bibstyle=authoryear,%
%firstinits=true,%
%sorting=nyvt,%
%isbn=false,%
%abbreviate=false,%
%url=false%
]{biblatex}
\usepackage[german=quotes]{csquotes}
\usepackage{xcolor}
\usepackage{filecontents}
\begin{filecontents}{isonorm.bib}
@STANDARD{ISO12345-1,
title = {Haustiere},
organization = {ISO},
url = {www.iso.org},
author = {{irgendein ISO-Komitee}},
number = {{ISO 12345-1:2005}},
sortkey = {{ISO 12345-1:2005}},
year = {2005},
address = {Genf}
}
\end{filecontents}
\addbibresource{isonorm.bib}
\begin{document}
\section*{Norm-Zitat ohne TeX-Code-Schnipsel für STANDARD}
\verb|\cite{ISO12345-1}| liefert: \textcolor[rgb]{0.65,0.16,0}{\cite{ISO12345-1}}
\verb|\cite*{ISO12345-1}| liefert: \textcolor[rgb]{0.65,0.16,0}{\cite*{ISO12345-1}}
\subsection*{gewünschte Zitier-Ausgabe:}
\textcolor[rgb]{0,0,1}{ISO 12345-1}\\
oder\\
\textcolor[rgb]{0,0,1}{ISO 12345-1:2005}\\
d. h. Zitat ohne die zusätzliche (überflüssige) zweite Jahreszahl
\textcolor[rgb]{0.65,0.16,0}{\printbibliography}
\subsection*{gewünschte Bibliographie-Ausgabe}
\textcolor[rgb]{0,0,1}{ISO 12345-1:2005. \textit{Haustiere.} Genf: ISO. \textsc{url}: \url{www.iso.org}}
\\
ohne die zusätzliche (überflüssige) zweite Jahreszahl in runden Klammern
\end{document}
Ergebnis: isonorm1.pdf.
Ausgabe (Zitat & Eintrag):
irgendein ISO-Komitee 2005
irgendein ISO-Komitee (2005). Haustiere. Genf: ISO. url: www.iso.org.
Anschließend habe ich den Code-Schnipsel zur STANDARD-Definition von tex.exchange.com (danke Ulrike!) eingefügt:
Code:
\documentclass[bibliography=totoc]{scrartcl}
\usepackage{selinput}
\SelectInputMappings{
adieresis={ä},
germandbls={ß},
Euro={€}
}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[backend=biber,%
%sortlocale=de_DE,%
citestyle=authoryear,%
bibstyle=authoryear,%
%firstinits=true,%
%sorting=nyvt,%
%isbn=false,%
%abbreviate=false,%
%url=false%
]{biblatex}
\usepackage[german=quotes]{csquotes}
\usepackage{xcolor}
\usepackage{filecontents}
\begin{filecontents}{isonorm.bib}
@STANDARD{ISO12345-1,
title = {Haustiere},
organization = {ISO},
url = {www.iso.org},
author = {{irgendein ISO-Komitee}},
number = {{ISO 12345-1:2005}},
sortkey = {{ISO 12345-1:2005}},
year = {2005},
address = {Genf}
}
\end{filecontents}
\addbibresource{isonorm.bib}
\DeclareDatamodelEntrytypes{standard}
\DeclareDatamodelEntryfields[standard]{type,number}
\DeclareBibliographyDriver{standard}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
\setunit{\labelnamepunct}\newblock
\usebibmacro{title}%
\newunit\newblock
\printfield{number}%
\setunit{\addspace}\newblock
\printfield[parens]{type}%
\newunit\newblock
\usebibmacro{location+date}%
\newunit\newblock
\iftoggle{bbx:url}
{\usebibmacro{url+urldate}}
{}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
\usebibmacro{related}%
\usebibmacro{finentry}}
\begin{document}
\section*{Norm-Zitat mit TeX-Code-Schnipsel für STANDARD}
\verb|\cite{ISO12345-1}| liefert: \textcolor[rgb]{0.65,0.16,0}{\cite{ISO12345-1}}
\verb|\cite*{ISO12345-1}| liefert: \textcolor[rgb]{0.65,0.16,0}{\cite*{ISO12345-1}}
\subsection*{gewünschte Zitier-Ausgabe:}
\textcolor[rgb]{0,0,1}{ISO 12345-1}\\
oder\\
\textcolor[rgb]{0,0,1}{ISO 12345-1:2005}\\
d. h. Zitat ohne die zusätzliche (überflüssige) zweite Jahreszahl
\textcolor[rgb]{0.65,0.16,0}{\printbibliography}
\subsection*{gewünschte Bibliographie-Ausgabe}
\textcolor[rgb]{0,0,1}{ISO 12345-1:2005. \textit{Haustiere.} Genf: ISO. \textsc{url}: \url{www.iso.org}}
\\
ohne die zusätzliche (überflüssige) zweite Jahreszahl in runden Klammern
\end{document}
Ergebnis: isonorm2.pdf.
Ausgabe (Zitat & Eintrag):
irgendein ISO-Komitee 2005
irgendein ISO-Komitee (2005). Haustiere. ISO 12345-1:2005. Genf. url: www.iso.org.
Der zusätzliche number-Eintrage "ISO 12345-1:2005" wird jetzt angezeigt, nur leider an der falschen Stelle (hinter dem title statt davor).
Wenn ich \printfield{number} und \usebibmacro{author} vertausche, steht die Nummer vorne:
Code:
\documentclass[bibliography=totoc]{scrartcl}
\usepackage{selinput}
\SelectInputMappings{
adieresis={ä},
germandbls={ß},
Euro={€}
}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[backend=biber,%
%sortlocale=de_DE,%
citestyle=authoryear,%
bibstyle=authoryear,%
%firstinits=true,%
%sorting=nyvt,%
%isbn=false,%
%abbreviate=false,%
%url=false%
]{biblatex}
\usepackage[german=quotes]{csquotes}
\usepackage{xcolor}
\usepackage{filecontents}
\begin{filecontents}{isonorm.bib}
@STANDARD{ISO12345-1,
title = {Haustiere},
organization = {ISO},
url = {www.iso.org},
author = {{irgendein ISO-Komitee}},
number = {{ISO 12345-1:2005}},
sortkey = {{ISO 12345-1:2005}},
year = {2005},
address = {Genf}
}
\end{filecontents}
\addbibresource{isonorm.bib}
\DeclareDatamodelEntrytypes{standard}
\DeclareDatamodelEntryfields[standard]{type,number}
\DeclareBibliographyDriver{standard}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\printfield{number}%
%\usebibmacro{author}%
\setunit{\labelnamepunct}\newblock
\usebibmacro{title}%
\newunit\newblock
%\printfield{number}%
\usebibmacro{author}%
\setunit{\addspace}%\newblock
%\printfield[parens]{type}%
\newunit\newblock
\usebibmacro{location+date}%
\newunit\newblock
\iftoggle{bbx:url}
{\usebibmacro{url+urldate}}
{}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
\usebibmacro{related}%
\usebibmacro{finentry}}
\begin{document}
\section*{Norm-Zitat mit verändertem TeX-Code-Schnipsel für STANDARD}
\verb|\cite{ISO12345-1}| liefert: \textcolor[rgb]{0.65,0.16,0}{\cite{ISO12345-1}}
\verb|\cite*{ISO12345-1}| liefert: \textcolor[rgb]{0.65,0.16,0}{\cite*{ISO12345-1}}
\subsection*{gewünschte Zitier-Ausgabe:}
\textcolor[rgb]{0,0,1}{ISO 12345-1}\\
oder\\
\textcolor[rgb]{0,0,1}{ISO 12345-1:2005}\\
d. h. Zitat ohne die zusätzliche (überflüssige) zweite Jahreszahl
\textcolor[rgb]{0.65,0.16,0}{\printbibliography}
\subsection*{gewünschte Bibliographie-Ausgabe}
\textcolor[rgb]{0,0,1}{ISO 12345-1:2005. \textit{Haustiere.} irgendein ISO-Komitee. Genf: ISO. \textsc{url}: \url{www.iso.org}}
\\
ohne die zusätzliche (überflüssige) zweite Jahreszahl in runden Klammern
\end{document}
Ergebnis: isonorm3.pdf.
Ausgabe (Zitat & Eintrag):
irgendein ISO-Komitee 2005
ISO 12345-1:2005. Haustiere. irgendein ISO-Komitee (2005). Genf. url: www.iso.org.
Damit bleiben noch folgende Baustellen:
- Zitieren des Inhalts vom number-Eintrag (ISO 12345-1:2005) statt author (irgendein ISO-Komitee)
- eingeklammerte Jahreszahl hinter der author-Angabe soll weg
Sehr schön wäre es, wenn die Jahreszahl-Angabe statt in runden Klammern hinter author ohne Klammern mit Doppelpunkt hinter number eingefügt würde, um doppelte Einträge in der Datenbank zu vermeiden. Also statt
number. title. author (year). location.
so etwas wie
number:year. title. author. location.
Dann würde die Norm-Nummer ohne Jahresangabe eingegeben.
VG
Lilly
Lesezeichen