BibLatex Chem-Angew 引用样式与 Postnote 参数

BibLatex Chem-Angew 引用样式与 Postnote 参数

我在 biblatex 中使用带有脚注的 chem-angew 样式,如下所述这里。我现在需要脚注中的页码,我从中获取了相应的信息。我如何调整 Chem-Angew 样式,以便当我指定后注参数时,将其用作相应的页码?我在文档中没有找到像“citepages”这样的选项。

以下是一个例子:

\documentclass[fontsize=12pt, paper=a4, twoside=false, parskip=half+, pagesize=auto, numbers=enddot, open=right, toc=listof, toc=bibliography, oneside]{scrreprt}
\usepackage[ngerman,german,english]{babel}
\usepackage{hyperref}
\usepackage{xcolor}                 
\usepackage{manyfoot}
\begin{filecontents}{\bibliographietest.bib}
    
    @article{Wortmann.2019,
        author = {Wortmann, Felix and Bilgeri, Dominik and Gebauer, Heiko and Lamprecht, Claudio and Fleisch, Elgar},
        year = {2019},
        title = {Geld verdienen im IoT -- aber wie?},
        pages = {1094--1112},
        pagination = {page},
        volume = {56},
        issn = {1436-3011},
        journaltitle = {HMD Praxis der Wirtschaftsinformatik},
        shortjournal = {HMD},
        shorthand = {Geld},
        doi = {10.1365/s40702-019-00561-2},
        number = {6},
        abstract = {},
        pagetotal = {19},
        file = {2508{\_}Wortmann{\_}et{\_}al-2019-HMD{\_}Praxis{\_}der{\_}Wirtschaftsinformatik:Attachments/2508{\_}Wortmann{\_}et{\_}al-2019-HMD{\_}Praxis{\_}der{\_}Wirtschaftsinformatik.pdf:application/pdf},
        note = {PII:  561}
    }
    
\end{filecontents}

\usepackage[backend=biber,style=chem-angew,mcite,subentry]{biblatex}
\addbibresource{bibliographietest.bib}
\setlength\bibitemsep{0.6\baselineskip}
\usepackage[babel]{csquotes}

\hypersetup{%
    colorlinks,
    linkcolor={red!0!black},
    citecolor={blue!0!black},
    urlcolor={blue!80!black}
}

\ExecuteBibliographyOptions{citetracker=true,sorting=none,maxcitenames=3,doi=false,url=false,isbn=false,hyperref=true,backref=false}

\DefineBibliographyStrings{ngerman}{
    andothers = {\textit{et~al\adddot}}            
}

% Citation footnotes: use \footnoteA
\DeclareNewFootnote{A}

% Vanilla footnotes: use \footnoteB
\DeclareNewFootnote{B}

% Number of each bibliography entry in brackets
\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}}

\makeatletter

\newtoggle{cbx@togcite}

% Citation number superscript in brackets
\renewcommand\@makefntext[1]{%
    \setstretch{1.0}
    \iftoggle{cbx@togcite}
    {\@textsuperscript{\normalfont[\@thefnmark]}\enspace #1}
    {\@textsuperscript{\normalfont\@thefnmark}\enspace #1}%
    \global\togglefalse{cbx@togcite}}

% Citation number superscript in brackets (for babel french)
\ifdef{\@makefntextFB}{%
    \renewcommand\@makefntextFB[1]{%
        \setstretch{1.0}
        \iftoggle{cbx@togcite}
        {\@textsuperscript{\normalfont[\@thefnmark]}\enspace #1}
        {\@textsuperscript{\normalfont\@thefnmark}\enspace #1}%
        \global\togglefalse{cbx@togcite}}}{}

%---------------------------------------------------------------
% Mostly verbatim from Joseph Wright
% http://www.texdev.net/2010/03/08/biblatex-numbered-citations-as-footnotes/

\DeclareCiteCommand{\sfcite}[\cbx@superscript]%
{\usebibmacro{cite:init}%
    \let\multicitedelim=\supercitedelim
    \iffieldundef{prenote}
    {}
    {\BibliographyWarning{Ignoring prenote argument}}%
    \iffieldundef{postnote}
    {}
    {\BibliographyWarning{Ignoring postnote argument}}}
{\usebibmacro{citeindex}%
    \usebibmacro{sfcite}%
    \usebibmacro{cite:comp}}
{}
{\usebibmacro{cite:dump}}

\newbibmacro*{sfcite}{%
    \ifciteseen
    {}
    {\xappto\cbx@citehook{%
            \global\toggletrue{cbx@togcite}%
            \noexpand\footnotetextA[\thefield{labelnumber}]{%
                \fullcite{\thefield{entrykey}}\addperiod}}}}

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

\let\cbx@citehook=\empty
%---------------------------------------------------------------

\makeatother

\newbibmacro{string+doiurlisbn}[1]{%
    \iffieldundef{doi}{%
        \iffieldundef{url}{%
            \iffieldundef{isbn}{%
                \iffieldundef{issn}{%
                    #1%
                }{%
                    \href{http://books.google.com/books?vid=ISSN\thefield{issn}}{#1}%
                }%
            }{%
                \href{http://books.google.com/books?vid=ISBN\thefield{isbn}}{#1}%
            }%
        }{%
            \href{\thefield{url}}{#1}%
        }%
    }{%
        \href{https://doi.org/\thefield{doi}}{#1}%
    }%
}

\DeclareFieldFormat{title}{\usebibmacro{string+doiurlisbn}{\mkbibemph{#1}}}
\DeclareFieldFormat[article,incollection,misc,phdthesis,book,inproceedings]{title}%
{\usebibmacro{string+doiurlisbn}{\mkbibquote{#1}}}

\DeclareFieldFormat{journaltitle}{\usebibmacro{string+doiurlisbn}{\mkbibemph{#1}}}


\begin{document}
    Text \sfcite{Wortmann.2019}
\end{document}

我想要的效果如下:

因此,期刊中整篇文章的页码范围应该被忽略,这样我就可以用页面定义一个后记参数。另外,第一个 1.0 在我的工作文档中不可见,不知道为什么它会显示在此示例中。

相关内容