4

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):
    [10pt,letterpaper,10pt,letterpaper].

MWE:

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

\documentclass[10pt,letterpaper]{article} \usepackage{doc}

\begin{document} Hello, world. \end{document}

1 Answers1

2

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.

Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036