以脚注形式撰写的参考文献和书目

以脚注形式撰写的参考文献和书目

我已经检查了关于这个主题的所有先前问题,但我一直无法找到一个简单的解决方案。我想将引用写成脚注,用一个简单的数字索引来指示参考文献。此外,如果我在一个点中引用了多个参考文献,我不希望在脚注中有一个单独的索引和一个参考文献列表。我希望每个参考文献都有一个单独的编号,如果我在文本中的两个不同点两次引用同一个参考文献,我不想在脚注中再次打印它,并使用新的编号。我不知道我是否已经解释清楚了。我想要的结果与我使用

\usepackage[super]{cite}
\begin{document}
...
\bibliographystyle{unsrt}
\bibliography{bibliography.bib}
\end{document}

但参考文献以脚注形式写出。例如

\documentclass[a4paper,12pt]{article}


\usepackage{filecontents}

\begin{filecontents}{test.bib}
    @book{Foo,
        title={Book title1},
        author={Author1},
        year= {Year1},
    }
@article {Bar,
    author = { Author2 and others},
    journal = {Journal2},
    volume = {2},
    pages = {022},
    year = {2022}
    }
@article {Baz,
    author = { Author3 and others},
    journal = {Journal3},
    volume = {3},
    pages = {033},
    year = {2033}
    }    

\end{filecontents}

\usepackage[style=verbose,autocite=footnote]{biblatex}
\addbibresource{test.bib}

\begin{document}
\null\vfill\noindent% just for the example
Here I want three different citation numbers (i.e. 1-3)\autocite{Foo,Bar,Baz}.\\ 
Recurrent citation, I want just the index already used (i.e. 3), no reference in the footnote\autocite{Baz}.
\end{document}

似乎这里的答案

在不同页面的脚注中重复相同的引用

应该可以解决问题,但我无法让它工作。

答案1

我似乎在这里找到了解决方案:

https://www.texdev.net/2010/03/08/biblatex-numbered-citations-as-footnotes/

这里是:

\documentclass[a4paper,12pt]{article}

%
\usepackage{filecontents}

\begin{filecontents}{test.bib}
    @book{Foo,
        title={Book title1},
        author={Author1},
        year= {Year1},
    }
@article {Bar,
    author = { Author2 and others},
    journal = {Journal2},
    volume = {2},
    pages = {022},
    year = {2022}
    }
@article {Baz,
    author = { Author3 and others},
    journal = {Journal3},
    volume = {3},
    pages = {033},
    year = {2033}
    }    

\end{filecontents}


\usepackage[style=numeric-comp]{biblatex}
\bibliography{test.bib}
\makeatletter

\ExecuteBibliographyOptions{citetracker,sorting=none}

\DeclareCiteCommand{\notefullcite}[\mkbibbrackets]
  {\usebibmacro{cite:init}%
   \usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
   \usebibmacro{notefullcite}%
   \usebibmacro{cite:comp}}
  {}
  {\usebibmacro{cite:dump}%
   \usebibmacro{postnote}}

\newbibmacro*{notefullcite}{%
  \ifciteseen
    {}
    {\footnotetext[\thefield{labelnumber}]{%
       \usedriver{}{\thefield{entrytype}}.}}}
\DeclareCiteCommand{\superfullcite}[\cbx@superscript]%
  {\usebibmacro{cite:init}%
   \let\multicitedelim=\supercitedelim
   \iffieldundef{prenote}
     {}
     {\BibliographyWarning{Ignoring prenote argument}}%
   \iffieldundef{postnote}
     {}
     {\BibliographyWarning{Ignoring postnote argument}}}
  {\usebibmacro{citeindex}%
   \usebibmacro{superfullcite}%
   \usebibmacro{cite:comp}}
  {}
  {\usebibmacro{cite:dump}}

\newbibmacro*{superfullcite}{%
  \ifciteseen
    {}
    {\xappto\cbx@citehook{%
       \noexpand\footnotetext[\thefield{labelnumber}]{%
         \fullcite{\thefield{entrykey}}.}}}}

\newrobustcmd{\cbx@superscript}[1]{%
  \mkbibsuperscript{#1}%
  \cbx@citehook
  \global\let\cbx@citehook=\empty}
\let\cbx@citehook=\empty

\makeatother

\begin{document}
\null\vfill\noindent% just for the example
Here I want three different citation numbers (i.e. 1-3)\superfullcite{Foo,Bar,Baz}.\\ 
Recurrent citation, I want just the index already used (i.e. 3), no reference in the footnote\superfullcite{Baz}.
\end{document}

相关内容