After applying today's kernel updates (2022-06-01-PL1) it seems loading the doc package now causes an Unused global option(s) warning over options passed to the article document class that was not there yesterday. The warning disappears if doc is not loaded. I checked the changelog and the GitHub repos for issues related to this and found nothing. I understand warnings are sometimes harmless but this one was not happening prior to the referenced update. Cursory inspection indicates the final document is fine.

Note that the warning message is strangely formatted as it contains duplicates of the options passed to article.

From the log:

LaTeX Warning: Unused global option(s):


% !TEX program = lualatexmk
% !TEX encoding = UTF-8 Unicode


Hello, world.

1 Answer 1


There's an issue in a recent change: I overdid the 'code reuse'. A fix and a second PL will address this within a day or two.

  • Noted, and thank you. Jun 19, 2022 at 15:18
  • Alas the problem persists as of today's update, with each option now appearing thrice instead of twice in the warning message. Something else must be going on. Jun 22, 2022 at 16:36
  • @LaTeXereXeTaL I've just double-checked and the example runs fine here: you might have another package loaded which has a related issue that I'm about to send a fix for to CTAN.
    – Joseph Wright
    Jun 22, 2022 at 17:30
  • Yes indeed. Mea culpa! Something else is going on. I'm compiling the mandi .dtx file that uses tcolorbox extensively for documentation. I'll wait for the next fix. Sorry. Jun 22, 2022 at 17:39
  • Just a note that today's update seemed to have fixed the issue. Jun 24, 2022 at 18:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .