von Gast » Mo 18. Jun 2018, 14:54
Prinzipiell ist das hier Audreys Antwort auf
https://tex.stackexchange.com/q/20787/35864
\documentclass[12pt,a4paper,headsepline=true,twoside]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{csquotes}
\usepackage[backend=biber,
style=chem-angew,% oder chem-acs, chem-angew, chem-biochem, chem-rcs
sorting=none,
citetracker=true,
]{biblatex}
\addbibresource{biblatex-examples.bib}
\usepackage{manyfoot}
\DeclareNewFootnote{fncite}
\makeatletter
\renewcommand*{\thefootnotefncite}{[\@arabic\c@footnotefncite]}
\let\cbx@citehook\empty
\providecommand*\mkbibsuperbracket[1]{%
\mkbibsuperscript{\mkbibbrackets{#1}}}
\newcommand*{\cbx@mod@makefntext}{%
\renewcommand\@makefntext[1]{%
\parindent 1em%
\noindent ##1}}
\newbibmacro{hypercite:footnote}{%
\ifciteseen
{}
{\xappto\cbx@citehook{%
\noexpand\cbx@mod@makefntext
\noexpand\footnotetextfncite[\thefield{labelnumber}]{%
\noexpand\blxmkbibnote{foot}{%
\hypercite@fullcite{\thefield{entrykey}}}}}}%
}
\newcommand*{\cbx@hypercite}[1]{%
\mkbibsuperbracket{#1}%
\cbx@citehook
\global\let\cbx@citehook\@empty}
\DeclareCiteCommand{\hypercite@fullcite}
{}
{\hb@xt@1.8em{\hss
\printtext[labelnumberwidth]{%
\printfield{labelprefix}%
\printfield{labelnumber}}}%
\setunit{\addspace}%
\usedriver
{\DeclareNameAlias{sortname}{default}}
{\thefield{entrytype}}}
{\multicitedelim}
{}
\DeclareCiteCommand{\hypercite}[\cbx@hypercite]
{\usebibmacro{cite:init}%
\let\multicitedelim=\supercitedelim
\iffieldundef{prenote}
{}
{\BibliographyWarning{Ignoring prenote argument}}%
\iffieldundef{postnote}
{}
{\BibliographyWarning{Ignoring postnote argument}}}
{\usebibmacro{citeindex}%
\usebibmacro{hypercite:footnote}%
\usebibmacro{cite:comp}}
{}
{\usebibmacro{cite:dump}}
\DeclareMultiCiteCommand{\hypercites}[\cbx@hypercite]{\hypercite}{\multicitedelim}
\makeatother
\DeclareAutoCiteCommand{hyper}{\hypercite}{\hypercites}
\ExecuteBibliographyOptions{autocite=hyper}
\begin{document}
Lorem\autocite{aksin} ipsum\footnote{Blah}
blablablablabla\autocite{sigfridsson}
blablablablabla\autocite{sigfridsson}
\cleardoublepage
blablablablabla\autocite{sigfridsson,geer} and\autocite{worman,nussbaum}
\printbibliography
\end{document}
Es gibt hier einige Schwierigkeiten zu meistern:
Zunächst wollte ich nicht einfach die normalen Fußnoten missbrauchen, damit man noch normal \footnote nutzen kann und in diesem Fall die Fußnotenzitate nicht auseinandergerissen werden.
Dann kann aus Fußnoten oder \textsubscript heraus keine Fußnote gestartet werden - sie würde verlorengehen. Also benötigen wir einen Trick, um die Fußnoten aus dem Superskript heraus zu transportieren. Außerdem musste das Format für die Fußnoten etwas angepasst werden, um die Zitat-Label richtig hinzubekomen.
Da Du aber jede Fußnote nur ein mal sehen möchtest und nach dem Auftreten sortierst, sparen wir es uns zumindest, die Fußnoten zu sortieren. Das macht es einfacher.
Prinzipiell ist das hier Audreys Antwort auf https://tex.stackexchange.com/q/20787/35864
[code]\documentclass[12pt,a4paper,headsepline=true,twoside]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{csquotes}
\usepackage[backend=biber,
style=chem-angew,% oder chem-acs, chem-angew, chem-biochem, chem-rcs
sorting=none,
citetracker=true,
]{biblatex}
\addbibresource{biblatex-examples.bib}
\usepackage{manyfoot}
\DeclareNewFootnote{fncite}
\makeatletter
\renewcommand*{\thefootnotefncite}{[\@arabic\c@footnotefncite]}
\let\cbx@citehook\empty
\providecommand*\mkbibsuperbracket[1]{%
\mkbibsuperscript{\mkbibbrackets{#1}}}
\newcommand*{\cbx@mod@makefntext}{%
\renewcommand\@makefntext[1]{%
\parindent 1em%
\noindent ##1}}
\newbibmacro{hypercite:footnote}{%
\ifciteseen
{}
{\xappto\cbx@citehook{%
\noexpand\cbx@mod@makefntext
\noexpand\footnotetextfncite[\thefield{labelnumber}]{%
\noexpand\blxmkbibnote{foot}{%
\hypercite@fullcite{\thefield{entrykey}}}}}}%
}
\newcommand*{\cbx@hypercite}[1]{%
\mkbibsuperbracket{#1}%
\cbx@citehook
\global\let\cbx@citehook\@empty}
\DeclareCiteCommand{\hypercite@fullcite}
{}
{\hb@xt@1.8em{\hss
\printtext[labelnumberwidth]{%
\printfield{labelprefix}%
\printfield{labelnumber}}}%
\setunit{\addspace}%
\usedriver
{\DeclareNameAlias{sortname}{default}}
{\thefield{entrytype}}}
{\multicitedelim}
{}
\DeclareCiteCommand{\hypercite}[\cbx@hypercite]
{\usebibmacro{cite:init}%
\let\multicitedelim=\supercitedelim
\iffieldundef{prenote}
{}
{\BibliographyWarning{Ignoring prenote argument}}%
\iffieldundef{postnote}
{}
{\BibliographyWarning{Ignoring postnote argument}}}
{\usebibmacro{citeindex}%
\usebibmacro{hypercite:footnote}%
\usebibmacro{cite:comp}}
{}
{\usebibmacro{cite:dump}}
\DeclareMultiCiteCommand{\hypercites}[\cbx@hypercite]{\hypercite}{\multicitedelim}
\makeatother
\DeclareAutoCiteCommand{hyper}{\hypercite}{\hypercites}
\ExecuteBibliographyOptions{autocite=hyper}
\begin{document}
Lorem\autocite{aksin} ipsum\footnote{Blah}
blablablablabla\autocite{sigfridsson}
blablablablabla\autocite{sigfridsson}
\cleardoublepage
blablablablabla\autocite{sigfridsson,geer} and\autocite{worman,nussbaum}
\printbibliography
\end{document}[/code]
Es gibt hier einige Schwierigkeiten zu meistern:
Zunächst wollte ich nicht einfach die normalen Fußnoten missbrauchen, damit man noch normal [tt]\footnote[/tt] nutzen kann und in diesem Fall die Fußnotenzitate nicht auseinandergerissen werden.
Dann kann aus Fußnoten oder [tt]\textsubscript[/tt] heraus keine Fußnote gestartet werden - sie würde verlorengehen. Also benötigen wir einen Trick, um die Fußnoten aus dem Superskript heraus zu transportieren. Außerdem musste das Format für die Fußnoten etwas angepasst werden, um die Zitat-Label richtig hinzubekomen.
Da Du aber jede Fußnote nur ein mal sehen möchtest und nach dem Auftreten sortierst, sparen wir es uns zumindest, die Fußnoten zu sortieren. Das macht es einfacher.