Comments (12)
You are right. Is it possible the
bidi
package to use some codes likeperpage
package for solving this issue?
I have not investigated the issue thoroughly; I just made some observation without actually looking at what is going on exactly.
One way to go forward is to see what perpage
does that 'bidi-perpagedoes not and extend
bidi-perpage' to get the correct behavior.
Another possible solution is to avoid resetting footnotes by using a different algorithm.
I just need to find some free time to investigate this and fix it.
from bidi.
My investigation so far shows that the issue also happens without using xepersian
/bidi
packages. Look particularly at pages 4, 6, 8, and 10.
\documentclass[12pt]{article} % or some other class
\usepackage{zref-perpage}
\zmakeperpage{footnote}
\newcount\footCounter
\newcommand{\mfootnote}[1]{%
\loop
\ifnum\footCounter<#1
\footnote{Test}%
\advance\footCounter by 1
\repeat\footCounter0%
}
\usepackage{fontspec}
\setmainfont{IRXLotus}
\usepackage{ptext}
\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}
from bidi.
I asked this question about different methods of resetting footnote numbers for more details. Only one of the methods worked correctly (with
footmisc
package). Comment: The ones I mark not ok can not work as the footnotes have been allocated numbers before page breaking. That is whyfootmisc
offers code to implement this.
I do not think that it is footmisc
that implements it as it loads perpage
package. That is, if you load perpage
directly instead footmisc
, you should also get the correct output.
from bidi.
Could you please also post Vahid Damanafshan's example from Telegram? I do not have access to Telegram as I left my phone in home back in Australia.
from bidi.
When I asked Mr. DamanAfshan, he said that I had the same problem.
from bidi.
I think the two issues are slightly different although somehow related; from memory, I think his example had the old footnote cs \paragraphfootnotes
or something similar while your example uses the new footnote cs \ParagraphFootnotes
.
Anyway, it helps me a lot if I also can have access to Vahid's specific example.
from bidi.
I asked this question about different methods of resetting footnote numbers for more details. Only one of the methods worked correctly (with footmisc
package). Comment: The ones I mark not ok can not work as the footnotes have been allocated numbers before page breaking. That is why footmisc
offers code to implement this.
from bidi.
You are right. Is it possible the bidi
package to use some codes like perpage
package for solving this issue?
from bidi.
You are right. Is it possible the
bidi
package to use some codes likeperpage
package for solving this issue?
Note: unfortunately the perpage
package also transfers the last line of the previous page to the next page and its place remains empty. Even the \flushbottom
command doesn't fill it.
from bidi.
Is there any solution for the bug?
from bidi.
Is there any solution for the bug?
According to comments, you can use perpage
package as follows:
\usepackage{perpage}
\MakePerPage{footnote}
from bidi.
Many thanks. But that does not resolve the issue.
from bidi.
Related Issues (20)
- Spurious space after new commands footnotes HOT 2
- problem in tableofcontents, ball unnumbered HOT 1
- problem in tableofcontents, subsections numbered HOT 1
- Problem with long section title in table of contents, square HOT 1
- problem in caption name own line HOT 1
- problem font number in latinitems
- problem place navigation symbols for plain frame HOT 1
- problem in sidebar canvas
- Page numbering alignment in ToC, LoF, and LoT in presence of bidi and tocloft HOT 2
- Problem with `currfile` while using `xepersian` HOT 1
- Allow bidi to be loaded early HOT 5
- lettrine-xetex-bidi.def outdated HOT 4
- Large banner in output is inappropriate HOT 6
- disable bidi's custom pdf properties
- robustifying \underline
- unnumbered part in article is not correctly aligned.
- fancyhdr is not patched correctly HOT 1
- \[ and \] should be robust when fleqn tag is used. HOT 1
- \leftline, \rightline and \centerline should be robust. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bidi.