make git an X option in script class

Build branch topology-1 (14c4939) from kesslermaximilian/LatexPackages
This commit is contained in:
Maximilian Keßler 2021-12-20 13:20:49 +00:00
parent c46f8b092b
commit bb868fe04d
2 changed files with 8 additions and 8 deletions

View file

@ -1,8 +1,8 @@
{ {
"build_time": "", "build_time": "",
"source files": { "source files": {
"version": "v2.4.0-beta-6", "version": "v2.4.0-beta-7",
"commit": "e238de78b684a74e3314c8e9760a08e313a6f0db", "commit": "14c4939841eab01a537bd7b9f7f9b07f57676734",
"dirty": false "dirty": false
}, },
"pytex": { "pytex": {
@ -274,9 +274,9 @@
{ {
"name": "mkessler-script.cls", "name": "mkessler-script.cls",
"source file": "script.pycls", "source file": "script.pycls",
"build time": "2021/12/12 19:15", "build time": "2021/12/20 13:20",
"source version": "v2.4.0-beta-4", "source version": "v2.4.0-beta-7",
"source commit hash": "4aa3ce8c18080ed8b1a9f34802461d800c1bdd23", "source commit hash": "14c4939841eab01a537bd7b9f7f9b07f57676734",
"pytex version": "v1.0.0-18", "pytex version": "v1.0.0-18",
"pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643",
"dirty": false "dirty": false

View file

@ -27,7 +27,7 @@
% %
% Build details: % Build details:
% PyTeX version: v1.0.0-18 (commit 126d420) % PyTeX version: v1.0.0-18 (commit 126d420)
% Source code version: v2.4.0-beta-4 (commit 4aa3ce8) % Source code version: v2.4.0-beta-7 (commit 14c4939)
% %
% This LaTeX class is free software and distributed under the MIT License. You % This LaTeX class is free software and distributed under the MIT License. You
% may use it freely for your purposes. The latest version of the class can be % may use it freely for your purposes. The latest version of the class can be
@ -39,7 +39,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesClass{mkessler-script}[2021/12/12 - Write up lecture notes as script] \ProvidesClass{mkessler-script}[2021/12/20 - Write up lecture notes as script]
@ -59,7 +59,7 @@
\newif\ifmkessler@script@gitversion\mkessler@script@gitversionfalse \newif\ifmkessler@script@gitversion\mkessler@script@gitversionfalse
\DeclareOption{git}{\mkessler@script@gitversiontrue} \DeclareOptionX{git}{\mkessler@script@gitversiontrue}
\DeclareOptionX*{\ClassWarning{mkessler-script}{Unknown '\CurrentOption'}} \DeclareOptionX*{\ClassWarning{mkessler-script}{Unknown '\CurrentOption'}}
\ProcessOptionsX*\relax \ProcessOptionsX*\relax