0

I downloaded the "LaTeX article template" from this page: https://www.rsc.org/journals-books-databases/journal-authors-reviewers/author-tools-services/

I use Ubuntu, but am collaborating with someone who uses Windows. When I try to compile this template in TeXworks on Ubuntu, it works fine, but when they try to compile it in TeXworks on Windows, there is a large white space at the head of the second page and every subsequent page after that. Why is this?

  • 2
    the difference is highly unlikely to be related to the operating system, but one system probably has an older tex system add \listfiles to your preamble and compare the version numbers in the list that this adds at the end of the log. – David Carlisle Sep 5 '19 at 15:58
  • When I compile on Ubuntu, it says "This is pdfTeX, Version 3.14159265-2.6-1.40.18", and when he compiles on Windows, it says "This is pdfTeX, Version 3.14159265-2.6-1.40.20". Could the new version have a bug which is adding the white space? If so, how can he find and install version 1.40.18 on Windows? – kvars Sep 5 '19 at 17:40
  • differences due to the tex version are even less likely than differences due to the operating system. Did you add \listfiles as I suggested before? – David Carlisle Sep 5 '19 at 18:08
  • 2
    This worked, thanks! I found the issue: the latest version of fancyhdr.sty has a bug in it which causes the white space, so I just gave my collaborator the older version of that file. – kvars Sep 5 '19 at 19:36
  • 2
    If you think you found a bug, please report it to Piet van Oostrum – David Carlisle Sep 5 '19 at 20:05
3

The difference is highly unlikely to be related to the operating system, or differences in the tex binary. One system probably has an older tex system, and so will be using different TeX macros for some functions.

Add \listfiles to your preamble and compare the version numbers in the list that this adds at the end of the log.

Generally it is better to simply update the tex systems and then get the desired formatting on the current platform. However an alternative that can be useful sometimes, especially with large existing document working on an older system, is to copy any files showing different versions to the working directory and share them alongside the main document source, so that both systems pick up the same macros.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.