1

A simpliest testing .tex file (under a preamble used in my book) is as follows:

\documentclass[12pt,oneside,openany,openbib]{book} 
\usepackage[total={5in, 8in}]{geometry} 
\usepackage{fontspec}

\usepackage[ruled]{bigfoot}

\begin{document}
    Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing\footnote{Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 Footnote 1 
    } Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing
    Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing
    Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing
    Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing
    Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing
    Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing
    Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing
    Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing
    Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing
    Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing
\end{document}

When compiling it with MiKTeX (+WinEdt or TexStudio), it turns out the pdf as follows, which is correct. enter image description here enter image description here However, when compiling it with MacTex (+ TexStudio), it turns out the pdf as follows, in which the footnote appears before its footnote mark. enter image description here enter image description here

closed as unclear what you're asking by user36296, Stefan Pinnow, Kurt, Troy, Mico Jan 23 '18 at 0:32

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 6
    the difference will not be because of miktex/texlive differences. You will be using different versions of packages or of latex. Add \listfiles to your preamble and then the log file will list all packages and their versions at the end of the file. Compare the lists from the two versions. – David Carlisle Dec 18 '17 at 12:05
  • 2
    You have posted a rather confusing set of full page images, and ask about footnotes but the fonts or encoding seem to be corrupted in the second case. For example "Kedrup's" in the last of the first set becomes "kedrup¡¯s" – David Carlisle Dec 18 '17 at 13:26
  • 3
    did you do as I suggested and use \listfiles, also check that the file on the two machines is the same not corrupted during file transfer. – David Carlisle Dec 18 '17 at 22:33
  • 2
    @KingChungLo Can you please future minimise your code? Can you replicate the problem without special fonts and xeCJK? More people might be able to help you without them. Packages related to tables and index make are probably unnecessary for the example, are they? Can you post the .log from both compiling with mactex and miktex? – user36296 Jan 9 '18 at 22:11
  • 2
    @KingChungLo Please have a look at minimal working example (MWE) – user36296 Jan 10 '18 at 12:36