# Problem with footnote

hello dears It seems that there is a problem with footnote while having multi column footnote. when I click the footnotes hyperlink, it brings me to the first page rather than footnote point. Also its order is not so beautiful. Is there any way to sort it in a better order? I use Persian language. The file is as large as 40 tex line 6 pdf line

\documentclass[12pt]{article}
\usepackage[extrafootnotefeatures]{xepersian}
\settextfont{B Titr}[Scale=1,AutoFakeBold,AutoFakeSlant]
\setlatintextfont[Scale=1]{Times New Roman}
\baselineskip=.75cm
\begin{document}
\twocolumnfootnotes
\lr{First Footnote}
\RTLfootnote{زیرنویس اول}
\\
زیرنویس دوم
\LTRfootnote{Second Footnote}
\\
\newpage
زیرنویس سوم
\LTRfootnote
{
Third Footnote
}
\\
\lr
{
Forth Footnote
}
\RTLfootnote
{
زیرنویس چهارم
}\\
زیرنویس پنجم
\RTLfootnote
{
زیر نویس پنجم
}\\
زیرنویس ششم
\LTRfootnote{sixth Footnote}
\end{document}

• Welcome to Tex.SE! Please provide a minimal working example (MWE). – Mishra S May 15 '17 at 9:20
• hyperref is known to be weak with links to footnotes. – egreg May 15 '17 at 9:25
• I had added the minimal code but I was not aware that this site does not allow shortened link – Ghomarbaz Ghomarbazian May 15 '17 at 9:28
• @egreg so which package would you introduce me? – Ghomarbaz Ghomarbazian May 15 '17 at 9:37
• Don't put a link to an example. Copy the code into your question. – Ulrike Fischer May 15 '17 at 16:36

when I click the footnotes hyperlink, it brings me to the first page rather than footnote point.

Move \twocolumnfootnotes before \begin{document}.

Also its order is not so beautiful. Is there any way to sort it in a better order?

Not sure what you mean here. unless you say what layout you are after, your comment makes no sense.

• what if I like to make footnotes back into 1 column? about the order I meant to place the footnotes in row in two columns rather than ordering in column. – Ghomarbaz Ghomarbazian May 17 '17 at 9:02
• The best person and I guess the only person who could answer your first question is the author of xepersian package. For your second question, I think you need to use \paragraphfootnotes instead \twocolumnfootnotes (see the bidi package manual) – user131895 May 17 '17 at 14:15
• it seems that he understood the bug and cleared it – Ghomarbaz Ghomarbazian May 20 '17 at 9:12
• @GhomarbazGhomarbazian: Not a bug as egreg commented that hyperref is known to be weak with links to footnotes. – user131895 May 20 '17 at 10:29
• So which package would you prefer to use for linking? – Ghomarbaz Ghomarbazian May 21 '17 at 15:34