Skip to content

Problem in footnote #17

Open
Open
@bahman-mirzakhani

Description

Brief outline of the issue

When some footnotes place at last/first line of page, the footers goes next/previous page.

Check/indicate

Minimal example showing the issue

% !TEX TS-program = XeLaTeX
% !TEX encoding = UTF-8 Unicode


\documentclass[12pt]{article}            % or some other class

\newcount\footCounter
\newcommand{\mfootnote}[1]{%
	\loop
	\ifnum\footCounter<#1
		\footnote{تست}%
		\advance\footCounter by 1
	\repeat\footCounter0%
}
\usepackage{ptext}
\usepackage[%
	extrafootnotefeatures,%
	perpagefootnote%
]{xepersian}
\settextfont{IRXLotus}
\ParagraphFootnotes
\begin{document}

	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]\mfootnote{5}
	\ptext[1-2]

\end{document}

Expected behavior

See the pages: 2--6

Log and PDF files

test.pdf
test.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions