# How to avoid footnote number restarts from 1 each chapter?

I have 3 questions:

• The footcite number restarts from 1 for each chapter, but I want it to keep increasing in sequence. How to do this?

• And in footnote, instead of [1], it looks like this: [Altiok, Tayfur; Melamed, Benjamin, Accidents or Unintentional Injuries].

• In bibliography, no [1] appears before the citation info, but I want it appearing.

How should I correct the script in order to solve these problems? (In order to make sure it works for both partcite and footnote reference, I have kept the script for them.)

    \documentclass[12pt]{report}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[backend=bibtex,
style=authortitle-comp,
natbib=true,bibstyle=numeric
]{biblatex}
\usepackage{blindtext}
\makeatletter
\newcommand\footnoteref[1]{\protected@xdef\@thefnmark{\ref{#1}}\@footnotemark}
\makeatother
\DeclareCiteCommand{\partcite}
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\mkbibbrackets{\usebibmacro{cite}}%
\printnames{labelname}%
\setunit{\labelnamepunct}
\printfield[citetitle]{title}}%
{\usebibmacro{postnote}}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Electronic{unintentional,
Title                    = {Accidents or Unintentional Injuries},
Author                   = {{Altiok, Tayfur; Melamed, Benjamin}},
Url                      = {http://www.cdc.gov/nchs/fastats/accidental-injury.htm},
Urldate                  = {2016-08-10}
}
@Book{HP,
Title                    = {Harry Potter and the Philosopher's Stone},
Author                   = {{Rowling,J. K. }},
Date                     = {1997}
}

\end{filecontents}

\begin{document}

\chapter{this is chapter 1}
Here is a test \footnote{\label{unintentional}\partcite{unintentional}
}

\blindtext

\chapter{this is chapter 2}

This is true. \footnoteref{unintentional}.

\blindtext  \footnote{\label{HP}\partcite{HP}
}
\printbibliography
\end{document}

• add option bibstyle=numeric to package biblatex. this will number your references – naphaneal Dec 19 '16 at 23:17
• Your request references chapters, yet article doesn't have \chapter. – Werner Dec 19 '16 at 23:27
• thank you for the link, it´s good to know how to mark! @samcarter – Vivian Dec 21 '16 at 12:24
• sorry, I forgot to add that, I have updated the script @Werner – Vivian Dec 21 '16 at 12:44
• Thank you for your suggestion. But it only shows the bibtexkey in footnote and there is no bibliography for the moment. @naphaneal – Vivian Dec 21 '16 at 12:48

Use

[...]
\usepackage{remreset}
\makeatletter
\@removefromreset{footnote}{chapter}
\newcommand\footnoteref[1]{\protected@xdef\@thefnmark{\ref{#1}}\@footnotemark}
\makeatother
[...]


You can do

\usepackage{chngcntr}
\counterwithout*{footnote}{chapter}


Here's the complete example, where I fixed the errors in the bibliography items: the authors must be separated by and; no double brace in that field.

\documentclass[12pt]{report}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{chngcntr}
\usepackage{csquotes}
\usepackage[
%backend=bibtex,
style=authortitle-comp,
natbib=true,bibstyle=numeric
]{biblatex}
\usepackage{blindtext}

\makeatletter
\newcommand\footnoteref[1]{\protected@xdef\@thefnmark{\ref{#1}}\@footnotemark}
\makeatother
\DeclareCiteCommand{\partcite}
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\mkbibbrackets{\usebibmacro{cite}}%
\printnames{labelname}%
\setunit{\labelnamepunct}
\printfield[citetitle]{title}}%
{\usebibmacro{postnote}}

\counterwithout*{footnote}{chapter}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Electronic{unintentional,
Title                    = {Accidents or Unintentional Injuries},
Author                   = {Altiok, Tayfur and Melamed, Benjamin},
Url                      = {http://www.cdc.gov/nchs/fastats/accidental-injury.htm},
Urldate                  = {2016-08-10}
}
@Book{HP,
Title                    = {Harry {Potter} and the Philosopher's Stone},
Author                   = {Rowling, J. K.},
Date                     = {1997}
}

\end{filecontents}

\begin{document}

\chapter{this is chapter 1}
Here is a test\footnote{\label{unintentional}\partcite{unintentional}}

\blindtext

\chapter{this is chapter 2}

This is true.\footnoteref{unintentional}

\blindtext\footnote{\label{HP}\partcite{HP}}

\printbibliography

\end{document}

• Thank you for your answer. With "and" , it only shows family name of the author, that is why I used ";" with double brace . I have checked again, the setting was not correct, I need to run Pdflatex+biblatex+pdflatex(x2)+show pdf. now in bibliography it shows correctly. But in footnote, still has the second error in my main question. So when I use "and", how to make sure it shows both family name and first name? – Vivian Dec 21 '16 at 15:00
• Plus, even with "and", in [] it still doesnt show correctly. – Vivian Dec 21 '16 at 15:07
• @Vivian It does if you use \footcite, so I guess that the fault is in \partcite (which is not the object of the question and you defined). – egreg Dec 21 '16 at 15:32
• I have written in my question, I need it work for both partcite and footnote, as I need to use one citation as reference. Yes, with \footcite it works fine. – Vivian Dec 21 '16 at 19:30
• @Vivian The footnote number is correct; it's \partcite that's defined wrongly. – egreg Dec 21 '16 at 20:20