paperlint 18.0.0 → 18.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/README.md +3 -3
  2. package/dist/adapters/hotcrp/index.d.ts +11 -1
  3. package/dist/adapters/hotcrp/index.d.ts.map +1 -1
  4. package/dist/adapters/hotcrp/index.js +11 -1
  5. package/dist/adapters/hotcrp/index.js.map +1 -1
  6. package/dist/adapters/hotcrp/site.d.ts.map +1 -1
  7. package/dist/adapters/hotcrp/site.js +3 -1
  8. package/dist/adapters/hotcrp/site.js.map +1 -1
  9. package/dist/adapters/hotcrp/token.d.ts +11 -0
  10. package/dist/adapters/hotcrp/token.d.ts.map +1 -1
  11. package/dist/adapters/hotcrp/token.js +34 -7
  12. package/dist/adapters/hotcrp/token.js.map +1 -1
  13. package/dist/adapters/latex/document-class.d.ts +28 -5
  14. package/dist/adapters/latex/document-class.d.ts.map +1 -1
  15. package/dist/adapters/latex/document-class.js +208 -21
  16. package/dist/adapters/latex/document-class.js.map +1 -1
  17. package/dist/adapters/latex/index.d.ts +4 -4
  18. package/dist/adapters/latex/index.d.ts.map +1 -1
  19. package/dist/adapters/latex/index.js +5 -2
  20. package/dist/adapters/latex/index.js.map +1 -1
  21. package/dist/adapters/latex/parse.d.ts.map +1 -1
  22. package/dist/adapters/latex/parse.js +5 -0
  23. package/dist/adapters/latex/parse.js.map +1 -1
  24. package/dist/cli.d.ts.map +1 -1
  25. package/dist/cli.js +4 -3
  26. package/dist/cli.js.map +1 -1
  27. package/dist/domain/body-pages.d.ts.map +1 -1
  28. package/dist/domain/body-pages.js +4 -2
  29. package/dist/domain/body-pages.js.map +1 -1
  30. package/dist/domain/portal-token.d.ts +26 -10
  31. package/dist/domain/portal-token.d.ts.map +1 -1
  32. package/dist/domain/portal-token.js +19 -12
  33. package/dist/domain/portal-token.js.map +1 -1
  34. package/dist/domain/tex-document.d.ts +52 -4
  35. package/dist/domain/tex-document.d.ts.map +1 -1
  36. package/dist/domain/tex-document.js +9 -0
  37. package/dist/domain/tex-document.js.map +1 -1
  38. package/dist/eslint-rules/latex-language.d.ts +10 -0
  39. package/dist/eslint-rules/latex-language.d.ts.map +1 -1
  40. package/dist/eslint-rules/latex-language.js +41 -2
  41. package/dist/eslint-rules/latex-language.js.map +1 -1
  42. package/dist/ports/latex.d.ts +13 -1
  43. package/dist/ports/latex.d.ts.map +1 -1
  44. package/dist/ports/submission-portal.d.ts +7 -0
  45. package/dist/ports/submission-portal.d.ts.map +1 -1
  46. package/dist/presets.d.ts +15 -0
  47. package/dist/presets.d.ts.map +1 -1
  48. package/dist/presets.js +9 -0
  49. package/dist/presets.js.map +1 -1
  50. package/dist/submission.d.ts +3 -2
  51. package/dist/submission.d.ts.map +1 -1
  52. package/dist/submission.js +24 -12
  53. package/dist/submission.js.map +1 -1
  54. package/dist/tex-requirements.d.ts +2 -0
  55. package/dist/tex-requirements.d.ts.map +1 -1
  56. package/dist/tex-requirements.js +7 -2
  57. package/dist/tex-requirements.js.map +1 -1
  58. package/dist/tex-venue-rules.d.ts +36 -3
  59. package/dist/tex-venue-rules.d.ts.map +1 -1
  60. package/dist/tex-venue-rules.js +181 -33
  61. package/dist/tex-venue-rules.js.map +1 -1
  62. package/docs/rules/cycle/port-done.md +3 -0
  63. package/docs/rules/tex/template.md +96 -1
  64. package/docs/rules.md +18 -13
  65. package/docs/submission.md +26 -9
  66. package/docs/venues.md +51 -12
  67. package/eslint-rules/latex-language.test.mjs +64 -1
  68. package/eslint-rules/latex-language.ts +44 -2
  69. package/eslint.config.mjs +1 -0
  70. package/fixtures/build-e2e/neurips/PIPELINE-STATUS.md +3 -0
  71. package/fixtures/build-e2e/neurips/expect.json +20 -0
  72. package/fixtures/build-e2e/neurips/paper.tex +60 -0
  73. package/fixtures/build-e2e/neurips/paperlint.json +1 -0
  74. package/fixtures/build-e2e/neurips-nostyle/PIPELINE-STATUS.md +3 -0
  75. package/fixtures/build-e2e/neurips-nostyle/expect.json +26 -0
  76. package/fixtures/build-e2e/neurips-nostyle/paper.tex +56 -0
  77. package/fixtures/build-e2e/neurips-nostyle/paperlint.json +1 -0
  78. package/fixtures/build-e2e/neurips-over/PIPELINE-STATUS.md +3 -0
  79. package/fixtures/build-e2e/neurips-over/expect.json +24 -0
  80. package/fixtures/build-e2e/neurips-over/paper.tex +56 -0
  81. package/fixtures/build-e2e/neurips-over/paperlint.json +1 -0
  82. package/fixtures/real-papers.test.ts +17 -6
  83. package/package.json +3 -1
  84. package/presets/aaai-2027.jsonc +126 -0
  85. package/presets/aaai-2027.md +127 -0
  86. package/presets/aaai-press.jsonc +167 -0
  87. package/presets/aaai-press.md +126 -0
  88. package/presets/icml-2027.jsonc +111 -0
  89. package/presets/icml-2027.md +130 -0
  90. package/presets/icml-style.jsonc +125 -0
  91. package/presets/icml-style.md +77 -0
  92. package/presets/neurips-2026.jsonc +123 -0
  93. package/presets/neurips-2026.md +137 -0
  94. package/presets/neurips-style.jsonc +113 -0
  95. package/presets/neurips-style.md +85 -0
  96. package/presets/venue-profile.schema.json +6 -0
  97. package/skills/build-label-page/scripts/label-page-browser.test.ts +275 -114
  98. package/src/adapters/hotcrp/cassette/README.md +1 -1
  99. package/src/adapters/hotcrp/index.ts +12 -0
  100. package/src/adapters/hotcrp/site.ts +4 -0
  101. package/src/adapters/hotcrp/token.test.ts +39 -1
  102. package/src/adapters/hotcrp/token.ts +40 -7
  103. package/src/adapters/latex/document-class.ts +292 -20
  104. package/src/adapters/latex/index.test.ts +263 -0
  105. package/src/adapters/latex/index.ts +12 -3
  106. package/src/adapters/latex/parse.ts +5 -0
  107. package/src/cli.test.ts +6 -1
  108. package/src/cli.ts +4 -3
  109. package/src/domain/body-pages.test.ts +22 -6
  110. package/src/domain/body-pages.ts +4 -2
  111. package/src/domain/portal-token.test.ts +121 -2
  112. package/src/domain/portal-token.ts +39 -15
  113. package/src/domain/tex-document.ts +64 -5
  114. package/src/folder-venue-rule.test.ts +51 -0
  115. package/src/new-paper.test.ts +2 -2
  116. package/src/paper-settings-commands.test.ts +1 -1
  117. package/src/ports/latex.ts +14 -0
  118. package/src/ports/submission-portal.ts +7 -0
  119. package/src/preset-card-rule.test.ts +44 -27
  120. package/src/presets.test.ts +177 -1
  121. package/src/presets.ts +27 -0
  122. package/src/rule-cases.test.ts +52 -0
  123. package/src/submission-show.test.ts +1 -1
  124. package/src/submission.test.ts +98 -7
  125. package/src/submission.ts +28 -11
  126. package/src/tex-requirements.harness.ts +17 -3
  127. package/src/tex-requirements.ts +13 -2
  128. package/src/tex-venue-rules.test.ts +1020 -0
  129. package/src/tex-venue-rules.ts +248 -38
  130. package/src/venue-rules.test.ts +369 -2
@@ -0,0 +1,126 @@
1
+ // AAAI-27 Main Technical Track (the Forty-First AAAI Conference on Artificial Intelligence,
2
+ // Montréal, 16-23 February 2027) — a VENUE preset over the AAAI Press style family. Everything the
3
+ // aaai2027.sty template decides (page size, columns, fonts, font sizes, TeX packages) comes from
4
+ // aaai-press.jsonc; this file adds what AAAI-27's call for papers sets. Its card, in prose:
5
+ // `aaai-2027.md` beside this file.
6
+ //
7
+ // Verbatim from the call, https://aaai.org/conference/aaai/aaai-27/main-technical-track-call/
8
+ // (page dated May 14, 2026; read 2026-11-19):
9
+ // «Submissions are limited to 7 pages of main content, with a maximum total length of 9 pages.
10
+ // Any pages beyond page 7 are reserved exclusively for references.»
11
+ // «All authors must complete a reproducibility checklist to facilitate replication of the
12
+ // reported research.»
13
+ // «AAAI-27 is an in-person conference.»
14
+ // Its timetable: «Note: all deadlines are “anywhere on earth” (UTC-12)», «July 21, 2026 Abstracts
15
+ // due at 11:59 PM UTC-12», «July 28, 2026 Full papers due at 11:59 PM UTC-12», «December 14,
16
+ // 2026 Submission of camera-ready files (Main Technical Track)».
17
+ // Verbatim from the submission instructions,
18
+ // https://aaai.org/conference/aaai/aaai-27/submission-instructions/ (read 2026-11-19):
19
+ // «Papers must be formatted in AAAI two-column, camera-ready style; see the AAAI-27 author kit for
20
+ // details. Papers must be in trouble-free, high-resolution PDF format, formatted for US Letter
21
+ // (8.5″ x 11″) paper, using Type 1 or TrueType fonts. AAAI submissions are anonymous and must
22
+ // conform to the instructions (detailed below) for double-blind review. The authors must remove
23
+ // all author and affiliation information from their submission for review, and may replace it
24
+ // with other information, such as paper number and keywords. The main submission PDF can have
25
+ // up to 9 pages, with pages 8–9 reserved exclusively for references. That is, the main paper
26
+ // can have up to 7 pages of non-references content. Acknowledgements should be omitted from
27
+ // papers submitted for review, and any ethical statements or similar considerations, if
28
+ // included, must be included in the 7 content pages.»
29
+ // «Authors must complete the reproducibility checklist provided in the AAAI-27 Author Kit and
30
+ // submit it at the time of paper submission. […] must be uploaded separately from the main paper
31
+ // in the designated field of the submission form.»
32
+ {
33
+ "type": "venue",
34
+ // The series, without its year: the file is the edition.
35
+ "name": "AAAI",
36
+ // «AAAI» alone is what papers write whenever they mention an AAAI paper or AAAI Press, so
37
+ // tex/venue-leftover counts it in prose only beside a year no older than the paper's own edition's
38
+ // year minus one: «AAAI 2027» (what OpenReview's venue group calls the edition, its `subtitle`,
39
+ // https://api2.openreview.net/groups?id=AAAI.org/2027/Conference, read 2026-11-19), «AAAI'27»,
40
+ // «AAAI~2027». 🔴 Not the call's own spelling «AAAI-27»: a hyphen is not a year beside the name.
41
+ // The call quoted above.
42
+ "url": "https://aaai.org/conference/aaai/aaai-27/main-technical-track-call/",
43
+ "extends": "paperlint:aaai-press",
44
+
45
+ // No `template`: the family's two lines are the kit's («DO NOT CHANGE THIS»), and the call names
46
+ // no options of its own.
47
+
48
+ // «AAAI submissions are anonymous and must conform to the instructions (detailed below) for
49
+ // double-blind review.» (the submission instructions above). anonymity/identity then requires
50
+ // the paper's `identity`.
51
+ "blind": true,
52
+
53
+ // No `portal`: submissions go through OpenReview («Submissions will not be accepted by e-mail or
54
+ // any other mechanism other than OpenReview», the submission instructions), and paperlint has a
55
+ // portal adapter for HotCRP only.
56
+
57
+ // The deadlines have passed except the camera-ready; they are kept as the record of the edition.
58
+ // Two readings of each submission deadline, kept both:
59
+ // the call: «11:59 PM UTC-12» on July 21 and July 28, 2026 → 2026-07-22T11:59:00Z and
60
+ // 2026-07-29T11:59:00Z;
61
+ // OpenReview, read 2026-11-19: the Submission invitation's `duedate` 1784721540000
62
+ // (2026-07-22T11:59:00Z), https://api2.openreview.net/invitations?id=AAAI.org/2027/Conference/-/Submission&expired=true;
63
+ // and the venue group's `date`: «Abstract Registration: Jul 22 2026 11:59AM UTC-0, Submission
64
+ // Deadline: Jul 29 2026 11:59AM UTC-0», https://api2.openreview.net/groups?id=AAAI.org/2027/Conference.
65
+ // They agree to the minute.
66
+ // The camera-ready, «December 14, 2026», with no hour: the end of that day AoE, 2026-12-15T11:59:59Z.
67
+ "deadlines": [
68
+ {
69
+ "what": "registration",
70
+ "at": "2026-07-22T11:59:00Z",
71
+ "source": "call",
72
+ "url": "https://aaai.org/conference/aaai/aaai-27/main-technical-track-call/",
73
+ "read": "2026-11-19",
74
+ },
75
+ {
76
+ "what": "registration",
77
+ "at": "2026-07-22T11:59:00Z",
78
+ "source": "portal",
79
+ "url": "https://api2.openreview.net/invitations?id=AAAI.org/2027/Conference/-/Submission&expired=true",
80
+ "read": "2026-11-19",
81
+ },
82
+ {
83
+ "what": "submission",
84
+ "at": "2026-07-29T11:59:00Z",
85
+ "source": "call",
86
+ "url": "https://aaai.org/conference/aaai/aaai-27/main-technical-track-call/",
87
+ "read": "2026-11-19",
88
+ },
89
+ {
90
+ "what": "submission",
91
+ "at": "2026-07-29T11:59:00Z",
92
+ "source": "portal",
93
+ "url": "https://api2.openreview.net/groups?id=AAAI.org/2027/Conference",
94
+ "read": "2026-11-19",
95
+ },
96
+ {
97
+ "what": "camera-ready",
98
+ "at": "2026-12-15T11:59:59Z",
99
+ "source": "call",
100
+ "url": "https://aaai.org/conference/aaai/aaai-27/main-technical-track-call/",
101
+ "read": "2026-11-19",
102
+ },
103
+ ],
104
+
105
+ // No `required_sections`, on purpose. The call requires a reproducibility checklist, but as a
106
+ // separate upload, not a section of the PDF. The kit's «Ethical Statement» is «optional,
107
+ // unnumbered». Acknowledgements are to be omitted at submission («should be omitted»), which no
108
+ // field can say.
109
+
110
+ "format": {
111
+ // «7 pages of main content, with a maximum total length of 9 pages. Any pages beyond page 7 are
112
+ // reserved exclusively for references.» A body limit, a references limit and the total.
113
+ // 🔴 What the count cannot say: banal types a page as bibliography by its text, and an appendix
114
+ // placed after the references was typed bibliography on a measured build (7 body pages, then
115
+ // references and a 6-paragraph appendix on pages 8-9: banal body 7, references 2) — it passes,
116
+ // although pages 8-9 are «reserved exclusively for references». `"body_ends_at":
117
+ // "references"` with `"appendix_in_body": true` passes it too (tried 2026-11-19): without
118
+ // hyperref the appendix is not looked for, and the style refuses hyperref. An appendix BEFORE
119
+ // the references counts as body, as the kit asks («Content Appendices … count towards page
120
+ // limits»). The same synthetic paper at 7 body pages, 40 references on pages 8-9, lints clean;
121
+ // at 8 body pages it is reported (body pages: 8, over the limit 7).
122
+ "kinds": {
123
+ "main": { "body_pages_max": 7, "ref_pages_max": 2, "pages_max": 9 },
124
+ },
125
+ },
126
+ }
@@ -0,0 +1,127 @@
1
+ ---
2
+ title: "AAAI — venue card"
3
+ ---
4
+
5
+ # AAAI (Main Technical Track, 2027 edition)
6
+
7
+ The card of the venue preset `paperlint:aaai-2027` ([`aaai-2027.jsonc`](aaai-2027.jsonc)): what
8
+ the venue asks for, in prose. The numbers a machine checks live in the preset; the section at the
9
+ end is generated from it. The `submit-paper` skill reads this card for the venue's specifics.
10
+
11
+ **Re-verify the call for papers every year**
12
+ ([aaai.org/conference/aaai/aaai-27/main-technical-track-call](https://aaai.org/conference/aaai/aaai-27/main-technical-track-call/)):
13
+ the limits, the dates and the style file change between editions (AAAI-26's kit set Times through
14
+ `\usepackage{times}`; AAAI-27's style loads newtxtext and forbids `times`).
15
+
16
+ ## Sources
17
+
18
+ Each read on 2026-11-19:
19
+
20
+ - the call: <https://aaai.org/conference/aaai/aaai-27/main-technical-track-call/>;
21
+ - the submission instructions: <https://aaai.org/conference/aaai/aaai-27/submission-instructions/>;
22
+ - the author kit: <https://aaai.org/authorkit27/> (`AuthorKit27.zip`, see
23
+ [`aaai-press.md`](aaai-press.md));
24
+ - the policies for authors: <https://aaai.org/conference/aaai/aaai-27/policies-aaai-27-authors/>;
25
+ - the portal's public data (OpenReview): <https://api2.openreview.net/groups?id=AAAI.org/2027/Conference>
26
+ and the Submission invitation,
27
+ <https://api2.openreview.net/invitations?id=AAAI.org/2027/Conference/-/Submission&expired=true>.
28
+
29
+ ## The venue (2027 edition)
30
+
31
+ - **Venue**: the Main Technical Track of **AAAI-27**, the Forty-First AAAI Conference on Artificial
32
+ Intelligence, Montréal, 16–23 February 2027. The AI for Social Impact track follows the main
33
+ track's rules; the AI Alignment track has the same page limit and its own dates (abstracts 14
34
+ August, papers 21 August 2026) and is not this preset.
35
+ - **Portal**: OpenReview, `https://openreview.net/group?id=AAAI.org/2027/Conference` («Submissions
36
+ will not be accepted by e-mail or any other mechanism other than OpenReview»). `paperlint
37
+ submission` speaks to HotCRP only, so the preset has no `portal`.
38
+ - **Format**: «Papers must be formatted in AAAI two-column, camera-ready style; see the AAAI-27
39
+ author kit for details. Papers must be in trouble-free, high-resolution PDF format, formatted for
40
+ US Letter (8.5″ x 11″) paper, using Type 1 or TrueType fonts.» The call names no rejection for a
41
+ format violation; the kit's consequences are quoted in [`aaai-press.md`](aaai-press.md), with its
42
+ lists of forbidden packages and commands, which paperlint does not encode.
43
+ - **Double-blind**: «AAAI submissions are anonymous and must conform to the instructions (detailed
44
+ below) for double-blind review. The authors must remove all author and affiliation information
45
+ from their submission for review». The kit adds that the PDF's metadata «should be cleared» and
46
+ that references «must be anonymized whenever the reader can infer that they are to the authors'
47
+ previous work».
48
+ - **Acknowledgements and ethics**: «Acknowledgements should be omitted from papers submitted for
49
+ review, and any ethical statements or similar considerations, if included, must be included in
50
+ the 7 content pages.» The kit's Ethical Statement is «optional, unnumbered».
51
+ - **Reproducibility checklist**: «All authors must complete a reproducibility checklist»; it «must
52
+ be uploaded separately from the main paper in the designated field of the submission form». It is
53
+ not a section of the PDF, so the preset requires none.
54
+ - **Supplementary material**: a technical supplement, a multimedia archive and a code and data
55
+ archive, due three days after the paper; «reviewers are not required to review this material».
56
+ - **Attendance**: «All presentations must be done in-person. There will be no remote presentation
57
+ option.»
58
+ - **Generative AI**: «Authors may judiciously use generative AI tools … However, authors remain
59
+ fully responsible for all submitted material»; prompt injection against the review system is a
60
+ listed ethics violation.
61
+
62
+ ## Dates
63
+
64
+ The call's timetable, «all deadlines are "anywhere on earth" (UTC-12)»:
65
+
66
+ | date | what |
67
+ | ------------------ | --------------------------------------------- |
68
+ | 21 July 2026 | abstracts, 11:59 PM UTC-12 |
69
+ | 28 July 2026 | full papers, 11:59 PM UTC-12 |
70
+ | 31 July 2026 | supplementary material and code |
71
+ | 24 September 2026 | notification of Phase 1 rejections |
72
+ | 24–31 October 2026 | author feedback window (was 19–25 October) |
73
+ | 30 November 2026 | notification of final acceptance or rejection |
74
+ | 14 December 2026 | camera-ready files |
75
+
76
+ **Two readings of the abstract and the paper deadlines, both in the preset** (`deadlines`): the
77
+ call's «11:59 PM UTC-12»; OpenReview's Submission invitation `duedate` (2026-07-22 11:59 UTC) and
78
+ its venue data, «Abstract Registration: Jul 22 2026 11:59AM UTC-0, Submission Deadline: Jul 29
79
+ 2026 11:59AM UTC-0». They agree to the minute. The camera-ready, a date with no hour, is the end of
80
+ 14 December AoE.
81
+
82
+ ## Paper kinds and limits
83
+
84
+ | kind | body pages | pages of references | what the call says |
85
+ | ------ | ---------: | ------------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
86
+ | `main` | 7 | 2 (9 in all) | «Submissions are limited to 7 pages of main content, with a maximum total length of 9 pages. Any pages beyond page 7 are reserved exclusively for references.» |
87
+
88
+ The body pages are banal's count. An appendix before the references is body, as the kit asks
89
+ («Content Appendices … count towards page limits»).
90
+
91
+ 🔴 **What the page count cannot express.** An appendix placed after the references, within the nine
92
+ pages, passes: banal types those pages as bibliography (measured: 7 body pages, then the references
93
+ and an appendix on pages 8–9, reported as 7 + 2). `body_ends_at` cannot help: it finds an appendix
94
+ through hyperref, and the style refuses hyperref. Pages 8–9 are «reserved exclusively for
95
+ references»: check that by eye.
96
+
97
+ ## What the preset encodes
98
+
99
+ - **The AAAI Press style**, through `extends: paperlint:aaai-press` — letter page, two columns,
100
+ Times (newtxtext) at 10 pt, references at 9 to 10 pt, the two template lines, the TeX packages
101
+ ([`aaai-press.md`](aaai-press.md)).
102
+ - **Double-blind review** (`blind`), so `anonymity/identity` checks the PDF against the paper's
103
+ declared `identity`.
104
+ - **Names**: `AAAI`, what `tex/venue-leftover` and `paper/folder-venue-leftover` look for in another
105
+ venue's paper. In prose it counts only beside a year no older than that paper's own edition's year
106
+ minus one: «AAAI 2027», «AAAI'27», «AAAI~2027»; «at AAAI 2024» in related work is not reported.
107
+ 🔴 Not the call's own «AAAI-27»: a hyphen is not a year beside the name.
108
+
109
+ ## Not verified
110
+
111
+ - **The camera-ready's page limit and charges**: not in the call.
112
+ - **The submission form's fields**: not recorded; OpenReview's form needs a logged-in read.
113
+ - **The PDF's metadata**: the kit asks for it to be cleared; `anonymity/identity` reads the metadata
114
+ for the declared identity only.
115
+
116
+ ## What the preset resolves to
117
+
118
+ <!-- paperlint:preset-rules -->
119
+ <!-- prettier-ignore-start -->
120
+ <!-- Generated from aaai-2027.jsonc by `npx eslint --fix` (rule preset/card-rules). Edit the preset, not this section. -->
121
+
122
+ **`paperlint:aaai-2027`** — venue preset for AAAI 2027 · call for papers: <https://aaai.org/conference/aaai/aaai-27/main-technical-track-call/> · extends `paperlint:aaai-press`
123
+
124
+ No preset of this chain sets a rule: under it, every rule keeps paperlint's default.
125
+
126
+ <!-- prettier-ignore-end -->
127
+ <!-- /paperlint:preset-rules -->
@@ -0,0 +1,167 @@
1
+ // AAAI Press `aaai2027.sty` — the TEMPLATE FAMILY of AAAI Press's two-column style, 2027 edition:
2
+ // everything the style file decides, whatever the venue (AAAI-27, and the AAAI Press proceedings
3
+ // that take the same kit). A venue preset extends it ("extends": "paperlint:aaai-press") and adds
4
+ // what its call for papers sets: the page limit of each kind, anonymity, the dates.
5
+ //
6
+ // 🔴 THE TEMPLATE IS A STYLE FILE, NOT A CLASS. The kit's paper opens with
7
+ // \documentclass[letterpaper]{article} % DO NOT CHANGE THIS
8
+ // \usepackage[submission]{aaai2027} % DO NOT CHANGE THIS
9
+ // and aaai2027.sty is not in TeX Live: it travels with the paper, from the AAAI-27 Author Kit
10
+ // (https://aaai.org/authorkit27/ → https://aaai.org/wp-content/uploads/2026/10/AuthorKit27.zip,
11
+ // Last-Modified 2026-10-21, sha256 9406a545…780c960, read 2026-11-19). `template` names the class
12
+ // line and `template_style` the style line; paperlint does not ship the style file.
13
+ //
14
+ // The kit changed during the edition. The zip the page links today is the second one
15
+ // (`\ProvidesPackage{aaai2027}[2027/10/21 …]`, TemplateVersion 2027.2); the first,
16
+ // https://aaai.org/wp-content/uploads/2026/05/AuthorKit27.zip (Last-Modified 2026-05-28, sty dated
17
+ // 2027/05/04, TemplateVersion 2027.1), is the one the Wayback Machine holds from 2026-07-26, two days
18
+ // before the submission deadline. The two .sty differ only in the date line and in where the
19
+ // copyright notice is placed and checked (diff, 2026-11-19); fonts, page and sizes are the same lines
20
+ // in both.
21
+ //
22
+ // 🔴 THE NUMBERS ARE MEASURED, NOT COPIED. Built on 2026-11-19 from the kit's own
23
+ // `AnonymousSubmission2027.tex` (the October kit) with `paperlint build` on paperlint's TeX Live 2026
24
+ // (pdfTeX 1.40.29) and banal 1.2; the dimensions written to the log by a `\typeout{\the\textwidth …}`
25
+ // added to its preamble. A synthetic paper on the same preamble (7 body pages, 40 references) gave
26
+ // the same numbers.
27
+ // page (banal) 8.5 x 11 in (612 x 792 pt)
28
+ // columns (banal) 2
29
+ // body size (banal) 10.3 (declared: \normalsize 10 pt on 11 pt)
30
+ // leading (banal) 11
31
+ // fonts (pdf.js) TeXGyreTermesX-Regular / -Bold / -Italic (newtxtext), NimbusMonL (courier),
32
+ // CMR10 / CMMI10 for mathematics — Type 1, embedded
33
+ // \textwidth 505.89pt = 7.0 in \columnsep 27.10pt = 0.375 in
34
+ // \textheight 650.43pt = 9.0 in \columnwidth 239.39pt = 3.31 in
35
+ // \paperwidth x \paperheight 614.295pt x 794.97pt = 8.5 x 11 in
36
+ // references \normalsize, 10 pt (the log at each \bibitem); banal reports no reference
37
+ // size when it equals the body's. With `\small` before \bibliography: banal
38
+ // 9.3; with `\scriptsize`: banal 7.3.
39
+ //
40
+ // The style decides the same in its source: `\setlength\textheight{9.0in} \setlength\textwidth{7.0in}`,
41
+ // `\setlength\columnsep{0.375in}`, `\pdfpagewidth=8.5in \pdfpageheight=11in`,
42
+ // `\def\normalsize{\@setfontsize\normalsize\@xpt{11}} % 10 point on 11`, `\RequirePackage{newtxtext}`.
43
+ // The kit's instructions say «ten-point Times Roman with twelve-point leading»; the style sets 11 pt
44
+ // leading and banal measured 11. The style wins: it is what every paper is built with.
45
+ //
46
+ // What the planted defects did, on the same paper (each linted under paperlint:aaai-2027, 2026-11-19):
47
+ // `[a4paper]` for `[letterpaper]` → page 8.264 x 11.694 in: pdf/geometry (twice), and
48
+ // tex/template. The style's `\pdfpagewidth=8.5in` does
49
+ // not hold: the PDF is A4
50
+ // the AAAI-26 kit (aaai2026.sty, which → fonts NimbusRomNo9L-Regu / -Medi / -ReguItal, no
51
+ // loads no font; the paper loads times) TeXGyreTermesX: pdf/fonts. Page, columns, body size
52
+ // identical, so only the fonts tell last year's kit apart
53
+ // `\tiny` after \maketitle → body 6.3: pdf/body-size
54
+ // `\scriptsize` before \bibliography → references 7.3: pdf/body-size (below 9 − 0.5)
55
+ // `\usepackage{hyperref}`, `{geometry}`, → no PDF: the style stops the build («Package aaai
56
+ // `{balance}` Error: You must not use hyperref in AAAI papers.»,
57
+ // «Package geometry is forbidden.»)
58
+ // NOTHING in the facts changed for:
59
+ // `\usepackage{times}` or `\renewcommand{\rmdefault}{cmr}` in the preamble — newtxtext sets
60
+ // \rmdefault again at \begin{document}; `[letterpaper,11pt]` — the style redefines \normalsize;
61
+ // `\renewcommand{\baselinestretch}{0.95}` — leading 10.45 pt in the log, banal 10.4, and no fact
62
+ // carries leading (format/layout-override reads the source and reports it);
63
+ // `\usepackage[submission]{aaai2027}` → `\usepackage{aaai2027}` — only the text changes (author
64
+ // names and the copyright notice): anonymity/identity, when the paper declares its identity;
65
+ // `\renewcommand{\rmdefault}{cmr}\normalfont` after \maketitle — the text in cm-super (SFRM…,
66
+ // SFRB…), but the title is still TeXGyreTermesX, so pdf/fonts passes; the same blind spot as
67
+ // acm-acmsmall.jsonc records;
68
+ // `\renewcommand{\familydefault}{\sfdefault}` — the text in NimbusSanL, TeXGyreTermesX still
69
+ // present: pdf/fonts passes.
70
+ //
71
+ // Not encoded: the kit's lists of forbidden packages and commands. Its preamble comment and its
72
+ // Table 2 disagree (float, babel, times, lmodern …), its own algorithm package loads float, which
73
+ // both lists forbid, and aaai2027.sty already stops the build on 17 of them (hyperref, bbm,
74
+ // authblk, balance, CJK, flushend, fullpage, geometry, navigator, savetrees, setspace, stfloats,
75
+ // tabu, titlesec, tocbibind, ulem, wrapfig). The card quotes them.
76
+ //
77
+ // Its card, in prose: `aaai-press.md` beside this file.
78
+ {
79
+ // A template family: it names no venue, so no `name` and no `url` (the venues that extend it do).
80
+ "type": "family",
81
+
82
+ // The two lines of the kit, each `% DO NOT CHANGE THIS`. `tex/template` requires `article` with
83
+ // `letterpaper`, and the style aaai2027 with `submission`: the option that removes the author
84
+ // block and the copyright notice, which the kit asks of every anonymous submission («You can
85
+ // remove the copyright notice and ensure that your names aren't shown by including submission
86
+ // option»). A camera-ready drops it; this family describes the submission.
87
+ "template": "\\documentclass[letterpaper]{article}",
88
+ "template_style": "\\usepackage[submission]{aaai2027}",
89
+
90
+ // TeX Live packages the style and the kit's paper need ON TOP OF tex-base.jsonc. Found
91
+ // 2026-11-19 by the loop build → missing file → `tlmgr search --global --file` → install, on the
92
+ // kit's paper: xpatch.sty (newtxtext), ts1-qtmr.tfm (tex-gyre), then placeins, algorithms,
93
+ // newfloat and listings. Then every file the builds read (112, from pdflatex's -recorder list
94
+ // over the kit's paper, A4, sans and \small-references variants and the synthetic paper) was
95
+ // traced to its package in texlive.tlpdb: each belongs to scheme-basic, to tex-base.jsonc or to
96
+ // this list.
97
+ // newtx · kastrup — aaai2027.sty loads newtxtext; newtx needs binhex.tex (kastrup).
98
+ // tex-gyre — newtxtext's text-companion glyphs (`ts1-qtmr.tfm`, `qtmr.pfb`): without it
99
+ // «Font TS1/ntxtlf/m/n/10=ts1-qtmr at 10.0pt not loadable» and no PDF.
100
+ // xpatch · xstring · xkeyval · fontaxes · figureversions · mweights — what newtxtext loads.
101
+ // helvetic · courier — the style loads helvet and courier; their metrics are read only when
102
+ // the paper sets sans or typewriter text.
103
+ // placeins — the style's `\RequirePackage{placeins}`.
104
+ // algorithms · float · newfloat · listings — the kit's paper loads algorithm, algorithmic,
105
+ // newfloat and listings («recommended … but not required»); algorithm.sty loads float.sty.
106
+ // The kit's own preamble lists float among its «DISALLOWED PACKAGES», yet the style does not
107
+ // refuse it and the kit's algorithm package needs it.
108
+ "tex": {
109
+ "packages": {
110
+ "newtx": ["newtxtext.sty"],
111
+ "kastrup": ["binhex.tex"],
112
+ "tex-gyre": ["ts1-qtmr.tfm", "qtmr.pfb"],
113
+ "xpatch": ["xpatch.sty"],
114
+ "xstring": ["xstring.sty"],
115
+ "xkeyval": ["xkeyval.sty"],
116
+ "fontaxes": ["fontaxes.sty"],
117
+ "figureversions": ["figureversions.sty"],
118
+ "mweights": ["mweights.sty"],
119
+ "psnfss": ["helvet.sty", "courier.sty"],
120
+ "helvetic": ["phvr8t.tfm"],
121
+ "courier": ["pcrr8t.tfm"],
122
+ "placeins": ["placeins.sty"],
123
+ "algorithms": ["algorithm.sty", "algorithmic.sty"],
124
+ "float": ["float.sty"],
125
+ "newfloat": ["newfloat.sty"],
126
+ "listings": ["listings.sty"],
127
+ },
128
+ },
129
+
130
+ "format": {
131
+ // «formatted for US Letter (8.5″ x 11″) paper» (the AAAI-27 submission instructions); banal
132
+ // 612 x 792 pt; the style: `\pdfpagewidth=8.5in \pdfpageheight=11in`.
133
+ "page_size": "letter",
134
+ "page_w_in": 8.5,
135
+ "page_h_in": 11.0,
136
+
137
+ // \textwidth and \textheight, as the style sets them (the log, above). The kit: «Left margin:
138
+ // .75 inches», «Right margin: .75 inches», «Top margin: 1.25 inches (first page), .75 inches
139
+ // (others)», «Bottom margin: 1.25 inches».
140
+ "textblock_w_in": 7.0,
141
+ "textblock_h_in": 9.0,
142
+
143
+ // «Two-column format in AAAI style is required for all papers.» (the kit)
144
+ "columns": 2,
145
+
146
+ // «The main body of the paper must be formatted in black, ten-point Times Roman» (the kit);
147
+ // banal measures the rendered mode, 10.3. The 0.5 tolerance is the other families': banal
148
+ // reads 0.3 pt high on every template measured.
149
+ "body_pt": 10,
150
+ "body_pt_tol": 0.5,
151
+
152
+ // «References may be the same size as surrounding text. However, in this section (only), you
153
+ // may reduce the size to \small (9pt) if your paper exceeds the allowable number of pages.
154
+ // Making it any smaller than 9 point with 10 point linespacing, however, is not allowed.»
155
+ // (the kit). 9 to 10; body_pt_tol widens it to 8.5-10.5, so \small (banal 9.3) passes and
156
+ // \scriptsize (7.3) is reported. At the default 10 pt banal gives no reference size and the
157
+ // rule has nothing to judge.
158
+ "ref_pt_min": 9,
159
+ "ref_pt_max": 10,
160
+
161
+ // «Your paper must be formatted using the Times-like serif text font provided automatically by
162
+ // the aaai2027 style file (newtxtext).» (the kit). pdf.js reads TeXGyreTermesX-*; the AAAI-26
163
+ // style's Times (NimbusRomNo9L) is reported. Title and headings are the same family, so a
164
+ // `fonts_title` would repeat this check.
165
+ "fonts_text": "TeXGyreTermesX",
166
+ },
167
+ }
@@ -0,0 +1,126 @@
1
+ ---
2
+ title: "AAAI Press style — template family card"
3
+ ---
4
+
5
+ # AAAI Press style (`aaai2027.sty`)
6
+
7
+ The card of the template family `paperlint:aaai-press` ([`aaai-press.jsonc`](aaai-press.jsonc)).
8
+ A family is what a template decides, whatever the venue: it names no venue and has no call for
9
+ papers. A venue preset extends it and adds what its own call sets. AAAI's 2027 edition is
10
+ [`aaai-2027`](aaai-2027.md); the other proceedings AAAI Press sets from the same kit may extend
11
+ this family.
12
+
13
+ ## The template is a style file, not a class
14
+
15
+ The AAAI-27 Author Kit ([aaai.org/authorkit27](https://aaai.org/authorkit27/), which serves
16
+ `AuthorKit27.zip`, Last-Modified 2026-10-21, read 2026-11-19) holds `AnonymousSubmission2027.tex`,
17
+ `CameraReady2027.tex`, `aaai2027.sty`, `aaai2027.bst` and the reproducibility checklist. A paper
18
+ opens with two lines the kit marks `% DO NOT CHANGE THIS`:
19
+
20
+ ```latex
21
+ \documentclass[letterpaper]{article}
22
+ \usepackage[submission]{aaai2027}
23
+ ```
24
+
25
+ The author copies the style file beside `paper.tex`: it is on no TeX distribution, and paperlint
26
+ does not ship it. `tex/template` requires both lines (`template` and `template_style`). The
27
+ `submission` option hides the authors and replaces the copyright notice; the camera-ready drops it,
28
+ and this family describes the submission.
29
+
30
+ The kit changed during the edition. The zip linked today carries the style dated 2027/10/21; the
31
+ first, <https://aaai.org/wp-content/uploads/2026/05/AuthorKit27.zip> (Last-Modified 2026-05-28,
32
+ style dated 2027/05/04), is the one the Wayback Machine holds from 2026-07-26, before the
33
+ submission deadline. The two style files differ only in the date line and in where the copyright
34
+ notice is placed and checked; page, fonts and sizes are the same.
35
+
36
+ ## What the family encodes
37
+
38
+ - **The page**: US letter, 8.5 × 11 in; a text block of 7.0 × 9.0 in (`\textwidth` 505.89 pt,
39
+ `\textheight` 650.43 pt), two columns 0.375 in apart («Two-column format in AAAI style is required
40
+ for all papers.»).
41
+ - **The fonts**: newtxtext's Times (TeXGyreTermesX in the PDF), loaded by the style itself — «Do not
42
+ load `times`, `helvet`, `courier`, or any other font package in your preamble». The body at 10 pt
43
+ on 11 pt leading (the kit's prose says twelve-point leading; the style sets 11 and banal measured
44
+ 11). The references at 9 to 10 pt: «References may be the same size as surrounding text. However,
45
+ in this section (only), you may reduce the size to \small (9pt)».
46
+ - **TeX packages** on top of the base set: newtx with its dependencies (kastrup, tex-gyre, xpatch,
47
+ xstring, xkeyval, fontaxes, figureversions, mweights), psnfss, helvetic and courier for the fonts,
48
+ placeins, which the style loads, and algorithms, float, newfloat and listings, which the kit's
49
+ paper loads.
50
+
51
+ ## The kit's forbidden packages and commands, not encoded
52
+
53
+ The kit forbids packages and commands in two lists that do not agree, and paperlint encodes
54
+ neither:
55
+
56
+ - its preamble comment, «DISALLOWED PACKAGES»: authblk, balance, CJK, float, flushend, fullpage,
57
+ geometry, hyperref, navigator, indentfirst, layout, multicol, nameref, savetrees, setspace,
58
+ stfloats, tabu, titlesec, tocbibind, ulem, wrapfig; and «DISALLOWED COMMANDS»: `\nocopyright`,
59
+ `\addtolength`, `\balance`, `\baselinestretch`, `\clearpage`, `\columnsep`, `\newpage`,
60
+ `\pagebreak`, `\pagestyle`, `\tiny`, and a negative `\vspace` or `\vskip` near a caption, figure,
61
+ table, heading or the references;
62
+ - its Table 2, «LaTeX style packages that must not be used»: authblk, babel, balance, cjk, epsf,
63
+ epsfig, euler, float, fullpage, geometry, graphics, hyperref, layout, lmodern, navigator,
64
+ pdfcomment, pgfplots, psfig, pstricks, t1enc, times, titlesec, tocbibind, ulem; and its Table 1 of
65
+ commands.
66
+
67
+ The kit's own `algorithm` package loads float, which both lists forbid. The style itself stops the
68
+ build on 17 of them (hyperref, bbm, authblk, balance, CJK, flushend, fullpage, geometry, navigator,
69
+ savetrees, setspace, stfloats, tabu, titlesec, tocbibind, ulem, wrapfig): «Package aaai Error:
70
+ Package geometry is forbidden.», and no PDF. `format/layout-override` reports `geometry`,
71
+ `\baselinestretch` and the layout lengths from the source.
72
+
73
+ What the kit says follows a violation: the style's header, «MODIFICATIONS (IN YOUR SOURCE OR IN
74
+ THIS STYLE SHEET WILL RESULT IN REJECTION OF YOUR PAPER)»; the instructions, «If you do not follow
75
+ these requirements, your paper will be returned to you to correct the deficiencies».
76
+
77
+ ## What the family does not check
78
+
79
+ - **Text set in another font after the title.** `\renewcommand{\rmdefault}{cmr}\normalfont` after
80
+ `\maketitle` sets the text in cm-super, and a sans-serif `\familydefault` in Helvetica; the title
81
+ is still TeXGyreTermesX, so `pdf/fonts` passes both. The same lines in the preamble change
82
+ nothing: newtxtext sets the text font again at `\begin{document}`.
83
+ - **References at the body size** are not measured: banal reports a reference size only when it
84
+ differs from the body's.
85
+ - **The version of the style file**: a paper on last year's `aaai2026.sty` renamed `aaai2027.sty` is
86
+ caught by its fonts only, below.
87
+
88
+ ## How the numbers were measured
89
+
90
+ On 2026-11-19, `paperlint build` with paperlint's TeX Live 2026 (pdfTeX 1.40.29) and banal 1.2, on
91
+ the kit's `AnonymousSubmission2027.tex` and on a synthetic paper with the kit's preamble; the
92
+ style's dimensions were written to the log by a `\typeout` at `\begin{document}`. Every file the
93
+ builds read (112, from pdflatex's `-recorder` list) belongs to TeX Live's scheme-basic, the base
94
+ set, or this family's list. Linted under `paperlint:aaai-2027`:
95
+
96
+ | build | what paperlint reported |
97
+ | ------------------------------------------------------------------ | ------------------------------------------------------------- |
98
+ | the kit's style; 7 body pages, 2 of references | 8.5 × 11 in, 2 columns, body 10.3, TeXGyreTermesX: no finding |
99
+ | `[a4paper]` for `[letterpaper]` | 8.264 × 11.694 in: `pdf/geometry` (twice) and `tex/template` |
100
+ | the AAAI-26 kit (`aaai2026.sty`, the paper loading `times`) | NimbusRomNo9L, no TeXGyreTermesX: `pdf/fonts` |
101
+ | `\tiny` after `\maketitle` | body 6.3: `pdf/body-size` |
102
+ | references in `\small` / at the body size / in `\scriptsize` | 9.3 / not measured by banal / 7.3, `pdf/body-size` |
103
+ | `\renewcommand{\baselinestretch}{0.95}` | leading 10.4 (banal): `format/layout-override` |
104
+ | `\usepackage{hyperref}`, `{geometry}`, `{balance}` | no PDF: the style stops the build |
105
+ | `[letterpaper,11pt]`; `times` or `\rmdefault{cmr}` in the preamble | nothing changes in the PDF |
106
+
107
+ ## Known limit
108
+
109
+ - **`submission` is required in every kind.** The family's `template_style` is
110
+ `\usepackage[submission]{aaai2027}`, the kit's line for the anonymous submission, and a venue's
111
+ kinds share one `template_style`. A camera-ready kind, whose paper drops `submission`, would get
112
+ `tex/template`'s «the style option `submission` is missing» on a correct paper. No such kind ships
113
+ today; one needs a per-kind style (or a camera-ready edition preset) first.
114
+
115
+ ## What the family resolves to
116
+
117
+ <!-- paperlint:preset-rules -->
118
+ <!-- prettier-ignore-start -->
119
+ <!-- Generated from aaai-press.jsonc by `npx eslint --fix` (rule preset/card-rules). Edit the preset, not this section. -->
120
+
121
+ **`paperlint:aaai-press`** — template family, no venue of its own · extended by `paperlint:aaai-2027`
122
+
123
+ No preset of this chain sets a rule: under it, every rule keeps paperlint's default.
124
+
125
+ <!-- prettier-ignore-end -->
126
+ <!-- /paperlint:preset-rules -->