von K2P » Sa 6. Aug 2011, 16:49
Hallo ich habe eine Frage zum Anpassen von Dominiks footnote-dw Stils.
Es geht mir hierbei um die Quellenart Electronic. Ich hätte gerne die gesamte URL beim zitieren in der Fußnote nicht ausgegeben, im Literaturverzeichnis soll diese aber erscheinen.
Beim Durchgehen diverser Anleitungen im Internet konnte ich hierzu leider keine Lösung finden.
Zudem sollte wenn möglich im Literaturverzeichnis das "URL:" durch "abrufbar unter" sowie "besucht am" durch "abgerufen am" ersetzt werden.
Anbei ein Minimalbeispiel mit meinem angepassten Stil:
\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{Beyhs2002,
Author = {Oliver Beyhs},
Publisher = {Frankfurt am Main},
year = {2002},
Title = {Impairment of assets nach International accounting standards}}
@article{Baetge2001,
Author = {J{\"o}rg Baetge and Henning Z\"ulch},
Journal = {BFuP},
Pages = {543-562},
Title = {Fair Value Accounting},
Volume = {53},
Year = {2001}}
@electronic{IFAC,
Date-Added = {2011-08-06 11:23:24 +0000},
Date-Modified = {2011-08-06 13:00:43 +0000},
Title = {IFAC: About IFAC},
Url = {http://www.ifac.org},
Urldate = {2011-08-05},
Bdsk-Url-1 = {http://www.ifac.org}}
\end{filecontents}
\documentclass[a4paper,12pt,openany,oneside,pointlessnumbers]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[a4paper]{geometry}
\usepackage{csquotes}
\usepackage[style=footnote-dw,namefont=italic,firstnamefont=italic,nopublisher=false,idembib=false,maxnames=2]{biblatex}
\bibliography{\jobname}
\renewcommand*\bibmultinamedelim{/}
\renewcommand*\bibfinalnamedelim{%
\ifnum\value{liststop}>2%
\finalandcomma\fi%
%%\addspace\bibstring{and}\space
/%
}
\setlength{\bibitemsep}{12pt}
\DeclareNameFormat{default}{%
\iffirstinits
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}
{\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}%
\usebibmacro{name:andothers}}
\DeclareNameFormat{labelname}{%
\iffirstinits
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}
{\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}%
\usebibmacro{name:andothers}}
\DeclareNameFormat{sortname}{%
\ifnumequal{\value{listcount}}{1}
{\iffirstinits
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}
{\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}%
\ifblank{#3#5}
{}
{\usebibmacro{name:revsdelim}}}
{\iffirstinits
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}
{\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}}%
\usebibmacro{name:andothers}}
\renewcommand{\jourvolstring}{\addcomma\space}
\renewcommand{\publisherdatepunct}{\addspace}
\DefineBibliographyStrings{ngerman}{%
seenote = {a.\,a.\,O\adddot}
}
%% cite:seenote umdefinieren
\makeatletter
\renewbibmacro*{cite:seenote}{%
\ifbool{cbx:parencitefoot}
{\printtext{%
\setunit{\addcomma\space}%
\bibstring{seenote}%
\setunit{\addnbspace}}%
\ifbool{cbx:pageref}
{\ifsamepage{\the\value{instcount}}
{\csuse{cbx@first@\thefield{entrykey}}}
{}%
\printtext{%
\setunit{\addcomma\space}%
\bibstring{seenote}%
\setunit{\addnbspace}%
\pageref{cbx@\csuse{cbx@first@\thefield{entrykey}}}}}
{}}
{\printtext{%
\setunit{\addcomma\space}%
\bibstring{seenote}%
\setunit{\addnbspace}}%
\ifbool{cbx:pageref}
{\ifsamepage{\the\value{instcount}}
{\csuse{cbx@first@\thefield{entrykey}}}
{}
\printtext{%
\setunit{\addcomma\space}%
\bibstring{seenote}%
\setunit{\addnbspace}%
\pageref{cbx@\csuse{cbx@first@\thefield{entrykey}}}}}
{}}}
\renewcommand*{\mkbibnamelast}[1]{%
\ifboolexpr{
test {\ifcurrentname{editor}}
or
( test {\ifcurrentname{labelname}}
and
not test {\ifnameundef{editor}} )
}
{#1}
{\ifboolexpr{
bool {bbx:oldauthor}
and
bool {oldauthor}
and
( test {\ifcurrentname{author}}
or
( test {\ifcurrentname{labelname}}
and
not test {\ifnameundef{author}} ) )
}
{#1}
{\bbx@namefont{#1}}}}
\makeatother
\begin{document}
Zitat Buch\cite[S.23]{Beyhs2002}
Zitat Artikel\cite[S.545]{Baetge2001}
2. Zitat Buch\cite[S.28]{Beyhs2002}
2. Zitat Artikel\cite[S.35]{Baetge2001}
Zitat Electronic \cite[S.23]{IFAC}
2. Zitat Electronic \cite[S.23]{IFAC}
\printbibliography[maxnames=2]
\end{document}
Vielen Dank schoneinmal im Voraus!
Hallo ich habe eine Frage zum Anpassen von Dominiks footnote-dw Stils.
Es geht mir hierbei um die Quellenart Electronic. Ich hätte gerne die gesamte URL beim zitieren in der Fußnote nicht ausgegeben, im Literaturverzeichnis soll diese aber erscheinen.
Beim Durchgehen diverser Anleitungen im Internet konnte ich hierzu leider keine Lösung finden.
Zudem sollte wenn möglich im Literaturverzeichnis das "URL:" durch "abrufbar unter" sowie "besucht am" durch "abgerufen am" ersetzt werden.
Anbei ein Minimalbeispiel mit meinem angepassten Stil:
[code]
\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{Beyhs2002,
Author = {Oliver Beyhs},
Publisher = {Frankfurt am Main},
year = {2002},
Title = {Impairment of assets nach International accounting standards}}
@article{Baetge2001,
Author = {J{\"o}rg Baetge and Henning Z\"ulch},
Journal = {BFuP},
Pages = {543-562},
Title = {Fair Value Accounting},
Volume = {53},
Year = {2001}}
@electronic{IFAC,
Date-Added = {2011-08-06 11:23:24 +0000},
Date-Modified = {2011-08-06 13:00:43 +0000},
Title = {IFAC: About IFAC},
Url = {http://www.ifac.org},
Urldate = {2011-08-05},
Bdsk-Url-1 = {http://www.ifac.org}}
\end{filecontents}
\documentclass[a4paper,12pt,openany,oneside,pointlessnumbers]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[a4paper]{geometry}
\usepackage{csquotes}
\usepackage[style=footnote-dw,namefont=italic,firstnamefont=italic,nopublisher=false,idembib=false,maxnames=2]{biblatex}
\bibliography{\jobname}
\renewcommand*\bibmultinamedelim{/}
\renewcommand*\bibfinalnamedelim{%
\ifnum\value{liststop}>2%
\finalandcomma\fi%
%%\addspace\bibstring{and}\space
/%
}
\setlength{\bibitemsep}{12pt}
\DeclareNameFormat{default}{%
\iffirstinits
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}
{\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}%
\usebibmacro{name:andothers}}
\DeclareNameFormat{labelname}{%
\iffirstinits
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}
{\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}%
\usebibmacro{name:andothers}}
\DeclareNameFormat{sortname}{%
\ifnumequal{\value{listcount}}{1}
{\iffirstinits
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}
{\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}%
\ifblank{#3#5}
{}
{\usebibmacro{name:revsdelim}}}
{\iffirstinits
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}
{\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}}%
\usebibmacro{name:andothers}}
\renewcommand{\jourvolstring}{\addcomma\space}
\renewcommand{\publisherdatepunct}{\addspace}
\DefineBibliographyStrings{ngerman}{%
seenote = {a.\,a.\,O\adddot}
}
%% cite:seenote umdefinieren
\makeatletter
\renewbibmacro*{cite:seenote}{%
\ifbool{cbx:parencitefoot}
{\printtext{%
\setunit{\addcomma\space}%
\bibstring{seenote}%
\setunit{\addnbspace}}%
\ifbool{cbx:pageref}
{\ifsamepage{\the\value{instcount}}
{\csuse{cbx@first@\thefield{entrykey}}}
{}%
\printtext{%
\setunit{\addcomma\space}%
\bibstring{seenote}%
\setunit{\addnbspace}%
\pageref{cbx@\csuse{cbx@first@\thefield{entrykey}}}}}
{}}
{\printtext{%
\setunit{\addcomma\space}%
\bibstring{seenote}%
\setunit{\addnbspace}}%
\ifbool{cbx:pageref}
{\ifsamepage{\the\value{instcount}}
{\csuse{cbx@first@\thefield{entrykey}}}
{}
\printtext{%
\setunit{\addcomma\space}%
\bibstring{seenote}%
\setunit{\addnbspace}%
\pageref{cbx@\csuse{cbx@first@\thefield{entrykey}}}}}
{}}}
\renewcommand*{\mkbibnamelast}[1]{%
\ifboolexpr{
test {\ifcurrentname{editor}}
or
( test {\ifcurrentname{labelname}}
and
not test {\ifnameundef{editor}} )
}
{#1}
{\ifboolexpr{
bool {bbx:oldauthor}
and
bool {oldauthor}
and
( test {\ifcurrentname{author}}
or
( test {\ifcurrentname{labelname}}
and
not test {\ifnameundef{author}} ) )
}
{#1}
{\bbx@namefont{#1}}}}
\makeatother
\begin{document}
Zitat Buch\cite[S.23]{Beyhs2002}
Zitat Artikel\cite[S.545]{Baetge2001}
2. Zitat Buch\cite[S.28]{Beyhs2002}
2. Zitat Artikel\cite[S.35]{Baetge2001}
Zitat Electronic \cite[S.23]{IFAC}
2. Zitat Electronic \cite[S.23]{IFAC}
\printbibliography[maxnames=2]
\end{document}[/code]
Vielen Dank schoneinmal im Voraus!