-
-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add options to unused list when unknown key is active
- Loading branch information
1 parent
d0e2e6e
commit 2d8c792
Showing
4 changed files
with
54 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,10 @@ to completeness or accuracy and it contains some references to files that are | |
not part of the distribution. | ||
================================================================================ | ||
|
||
2024-06-03 Joseph Wright <[email protected]> | ||
* ltkeys.dtx: | ||
Correct addition to unused option list with unknown key property (gh/1183) | ||
|
||
2024-06-19 David Carlisle <[email protected]> | ||
|
||
* fontdef.dtx: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
\input{test2e} | ||
|
||
\begin{filecontents}[overwrite]{github-1183.cls} | ||
\NeedsTeXFormat{LaTeX2e} | ||
\ProvidesClass{github-1183} | ||
\LoadClassWithOptions{article} | ||
|
||
\DeclareKeys[testwork]{% | ||
test .code = \newcommand{\foo}{#1}, | ||
test .usage = load, | ||
% the following three lines give an equivalent definition of your bertha | ||
% option as defined with `\DeclareOption{bertha}{}` | ||
bertha .code = {}, | ||
bertha .value_forbidden:n = true, | ||
bertha .usage = load, | ||
% if you use this unknown handler, you get "test" and "bertha" as unknown | ||
% options, if you omit it you get "a4paper" as unknown option | ||
unknown .code = {} | ||
} | ||
\ProcessKeyOptions[testwork] | ||
|
||
\endinput | ||
\end{filecontents} | ||
\documentclass[a4paper,test=wtf,bertha]{github-1183} | ||
|
||
\START | ||
\begin{document} | ||
\END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
This is a generated file for the LaTeX2e validation system. | ||
Don't change this file in any respect. | ||
(github-1183.aux) | ||
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line .... | ||
LaTeX Font Info: ... okay on input line .... | ||
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line .... | ||
LaTeX Font Info: ... okay on input line .... | ||
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line .... | ||
LaTeX Font Info: ... okay on input line .... | ||
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line .... | ||
LaTeX Font Info: ... okay on input line .... | ||
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line .... | ||
LaTeX Font Info: ... okay on input line .... | ||
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line .... | ||
LaTeX Font Info: ... okay on input line .... | ||
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line .... | ||
LaTeX Font Info: ... okay on input line .... |