I'm working with tufte-handout, but my working example lists every page number as 0. How can I fix this?
\documentclass{tufte-handout}
\usepackage{xeCJK}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{marvosym}
\usepackage{stmaryrd}\usepackage{gb4e}
\makeatletter
\renewcommand@footnotetext[2][0pt]{%
@noftnotefalse\setcounter{fnx}{0}% added by gb4e
\marginpar{%
\hbox{}\vspace{#1}%
\def\baselinestretch {\setspace@singlespace}%
\reset@font\footnotesize%
@tufte@margin@par% use parindent and parskip settings for marginal text
\vspace{-1\baselineskip}\noindent%
\protected@edef@currentlabel{%
\csname p@footnote\endcsname@thefnmark%
}%
\color@begingroup%
@makefntext{%
\ignorespaces#2%
}%
\color@endgroup%
}%
@noftnotetrue% added by g4be
}%
\makeatother
\newcommand\blfootnote[1]{\begingroup%
\addtolength{\parsep}{1ex}
\renewcommand\thefootnote\relax\footnote{#1}%
\addtocounter{footnote}{-1}%
\endgroup%
}
\title{Title}
\author[Author Authors]{Author Authors}
\date{}
\begin{document}
\maketitle
\section{Introduction}
\pagebreak
\section{First Section}
\pagebreak
\section{Second Section}
\end{document}
