paperlint 18.1.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 (93) hide show
  1. package/README.md +2 -2
  2. package/dist/adapters/latex/document-class.d.ts +28 -5
  3. package/dist/adapters/latex/document-class.d.ts.map +1 -1
  4. package/dist/adapters/latex/document-class.js +208 -21
  5. package/dist/adapters/latex/document-class.js.map +1 -1
  6. package/dist/adapters/latex/index.d.ts +4 -4
  7. package/dist/adapters/latex/index.d.ts.map +1 -1
  8. package/dist/adapters/latex/index.js +5 -2
  9. package/dist/adapters/latex/index.js.map +1 -1
  10. package/dist/adapters/latex/parse.d.ts.map +1 -1
  11. package/dist/adapters/latex/parse.js +5 -0
  12. package/dist/adapters/latex/parse.js.map +1 -1
  13. package/dist/domain/body-pages.d.ts.map +1 -1
  14. package/dist/domain/body-pages.js +4 -2
  15. package/dist/domain/body-pages.js.map +1 -1
  16. package/dist/domain/tex-document.d.ts +52 -4
  17. package/dist/domain/tex-document.d.ts.map +1 -1
  18. package/dist/domain/tex-document.js +9 -0
  19. package/dist/domain/tex-document.js.map +1 -1
  20. package/dist/eslint-rules/latex-language.d.ts +10 -0
  21. package/dist/eslint-rules/latex-language.d.ts.map +1 -1
  22. package/dist/eslint-rules/latex-language.js +41 -2
  23. package/dist/eslint-rules/latex-language.js.map +1 -1
  24. package/dist/ports/latex.d.ts +13 -1
  25. package/dist/ports/latex.d.ts.map +1 -1
  26. package/dist/presets.d.ts +15 -0
  27. package/dist/presets.d.ts.map +1 -1
  28. package/dist/presets.js +9 -0
  29. package/dist/presets.js.map +1 -1
  30. package/dist/tex-requirements.d.ts +2 -0
  31. package/dist/tex-requirements.d.ts.map +1 -1
  32. package/dist/tex-requirements.js +7 -2
  33. package/dist/tex-requirements.js.map +1 -1
  34. package/dist/tex-venue-rules.d.ts +36 -3
  35. package/dist/tex-venue-rules.d.ts.map +1 -1
  36. package/dist/tex-venue-rules.js +181 -33
  37. package/dist/tex-venue-rules.js.map +1 -1
  38. package/docs/rules/cycle/port-done.md +3 -0
  39. package/docs/rules/tex/template.md +96 -1
  40. package/docs/rules.md +18 -13
  41. package/docs/venues.md +51 -12
  42. package/eslint-rules/latex-language.test.mjs +64 -1
  43. package/eslint-rules/latex-language.ts +44 -2
  44. package/eslint.config.mjs +1 -0
  45. package/fixtures/build-e2e/neurips/PIPELINE-STATUS.md +3 -0
  46. package/fixtures/build-e2e/neurips/expect.json +20 -0
  47. package/fixtures/build-e2e/neurips/paper.tex +60 -0
  48. package/fixtures/build-e2e/neurips/paperlint.json +1 -0
  49. package/fixtures/build-e2e/neurips-nostyle/PIPELINE-STATUS.md +3 -0
  50. package/fixtures/build-e2e/neurips-nostyle/expect.json +26 -0
  51. package/fixtures/build-e2e/neurips-nostyle/paper.tex +56 -0
  52. package/fixtures/build-e2e/neurips-nostyle/paperlint.json +1 -0
  53. package/fixtures/build-e2e/neurips-over/PIPELINE-STATUS.md +3 -0
  54. package/fixtures/build-e2e/neurips-over/expect.json +24 -0
  55. package/fixtures/build-e2e/neurips-over/paper.tex +56 -0
  56. package/fixtures/build-e2e/neurips-over/paperlint.json +1 -0
  57. package/fixtures/real-papers.test.ts +17 -6
  58. package/package.json +3 -1
  59. package/presets/aaai-2027.jsonc +126 -0
  60. package/presets/aaai-2027.md +127 -0
  61. package/presets/aaai-press.jsonc +167 -0
  62. package/presets/aaai-press.md +126 -0
  63. package/presets/icml-2027.jsonc +111 -0
  64. package/presets/icml-2027.md +130 -0
  65. package/presets/icml-style.jsonc +125 -0
  66. package/presets/icml-style.md +77 -0
  67. package/presets/neurips-2026.jsonc +123 -0
  68. package/presets/neurips-2026.md +137 -0
  69. package/presets/neurips-style.jsonc +113 -0
  70. package/presets/neurips-style.md +85 -0
  71. package/presets/venue-profile.schema.json +6 -0
  72. package/skills/build-label-page/scripts/label-page-browser.test.ts +275 -114
  73. package/src/adapters/latex/document-class.ts +292 -20
  74. package/src/adapters/latex/index.test.ts +263 -0
  75. package/src/adapters/latex/index.ts +12 -3
  76. package/src/adapters/latex/parse.ts +5 -0
  77. package/src/cli.test.ts +6 -1
  78. package/src/domain/body-pages.test.ts +22 -6
  79. package/src/domain/body-pages.ts +4 -2
  80. package/src/domain/tex-document.ts +64 -5
  81. package/src/folder-venue-rule.test.ts +51 -0
  82. package/src/new-paper.test.ts +2 -2
  83. package/src/paper-settings-commands.test.ts +1 -1
  84. package/src/ports/latex.ts +14 -0
  85. package/src/preset-card-rule.test.ts +44 -27
  86. package/src/presets.test.ts +177 -1
  87. package/src/presets.ts +27 -0
  88. package/src/rule-cases.test.ts +52 -0
  89. package/src/tex-requirements.harness.ts +17 -3
  90. package/src/tex-requirements.ts +13 -2
  91. package/src/tex-venue-rules.test.ts +1020 -0
  92. package/src/tex-venue-rules.ts +248 -38
  93. package/src/venue-rules.test.ts +369 -2
@@ -0,0 +1,123 @@
1
+ // NeurIPS 2026 Main Track (the Fortieth Annual Conference on Neural Information Processing Systems)
2
+ // — a VENUE preset over the NeurIPS style family. Everything the style file decides (page size,
3
+ // columns, fonts, font sizes, TeX packages) comes from neurips-style.jsonc; this file adds what the
4
+ // main track's call sets. The 2027 call is not published: https://neurips.cc/Conferences/2027/CallForPapers
5
+ // answered 404 on 2026-11-19. Its card, in prose: `neurips-2026.md` beside this file.
6
+ //
7
+ // The call (https://neurips.cc/Conferences/2026/CallForPapers, read 2026-11-19) gives the dates and
8
+ // links to the Main Track Handbook, which holds the rules. Verbatim from
9
+ // https://neurips.cc/Conferences/2026/MainTrackHandbook (read 2026-11-19):
10
+ // «The main text of a submitted paper is limited to nine content pages, including all figures and
11
+ // tables. Additional pages containing references, optional technical appendices and mandatory
12
+ // paper checklist do not count as content pages. If your submission is accepted, you will be
13
+ // allowed an additional content page for the camera-ready version.»
14
+ // «You must format your submission using the LaTeX style file for that year. … This is the only
15
+ // template we will accept … Submissions that violate the NeurIPS style (e.g., by decreasing
16
+ // margins or font sizes) or page limits may be desk rejected.»
17
+ // «All submissions must be anonymized and may not contain any identifying information that may
18
+ // violate the double-blind reviewing policy. … Papers violating this policy will be desk
19
+ // rejected.»
20
+ // «authors are required to complete the paper checklist included in the paper template.»
21
+ // And from the author kit's checklist.tex (Formatting_Instructions_For_NeurIPS_2026.zip, read
22
+ // 2026-11-19): «Do not remove the checklist: The papers not including the checklist will be desk
23
+ // rejected.» and «Delete this instruction block, but keep the section heading "NeurIPS Paper
24
+ // Checklist"».
25
+ {
26
+ "type": "venue",
27
+ // The series, without a year: the year is the id's (neurips-2026). Machine-learning papers name
28
+ // NeurIPS as the venue of the work they cite far more often than as their own; tex/venue-leftover
29
+ // counts the name in prose only beside a year no older than the paper's own edition's year minus
30
+ // one, so «NeurIPS 2023» in related work is not flagged.
31
+ "name": "NeurIPS",
32
+ // The call quoted above.
33
+ "url": "https://neurips.cc/Conferences/2026/CallForPapers",
34
+ "extends": "paperlint:neurips-style",
35
+
36
+ // «All submissions must be anonymized» (the handbook above). anonymity/identity then requires the
37
+ // paper's `identity`. No portal reading of it: OpenReview's public venue data has no blind flag.
38
+ "blind": true,
39
+
40
+ // No `portal`: submissions go through OpenReview («Submission link»:
41
+ // https://openreview.net/group?id=NeurIPS.cc/2026/Conference), and `paperlint submission` has an
42
+ // adapter for HotCRP only.
43
+ //
44
+ // Two readings of each deadline, kept both. The call: «Abstract submission deadline: May 4, 2026
45
+ // (AOE)», «Full paper submission deadline, including all supplementary materials: May 6, 2026
46
+ // AOE», «Author notification: September 24, 2026 AoE» — the end of each AoE day is 11:59:59Z of
47
+ // the next. The dates page (https://neurips.cc/Conferences/2026/Dates, read 2026-11-19) agrees,
48
+ // and adds «Paper Camera Ready Deadline | Nov 06 '26 (Anywhere on Earth)». The portal: the
49
+ // OpenReview venue group's `date` field, «Abstract Registration: May 05 2026 11:59AM UTC-0,
50
+ // Submission Deadline: May 07 2026 11:59AM UTC-0» — 59 s before the call's; the earlier binds.
51
+ // Every one has passed: they are kept as the record of the edition.
52
+ "deadlines": [
53
+ {
54
+ "what": "registration",
55
+ "at": "2026-05-05T11:59:00Z",
56
+ "source": "portal",
57
+ "url": "https://api2.openreview.net/groups?id=NeurIPS.cc/2026/Conference",
58
+ "read": "2026-11-19",
59
+ },
60
+ {
61
+ "what": "registration",
62
+ "at": "2026-05-05T11:59:59Z",
63
+ "source": "call",
64
+ "url": "https://neurips.cc/Conferences/2026/CallForPapers",
65
+ "read": "2026-11-19",
66
+ },
67
+ {
68
+ "what": "submission",
69
+ "at": "2026-05-07T11:59:00Z",
70
+ "source": "portal",
71
+ "url": "https://api2.openreview.net/groups?id=NeurIPS.cc/2026/Conference",
72
+ "read": "2026-11-19",
73
+ },
74
+ {
75
+ "what": "submission",
76
+ "at": "2026-05-07T11:59:59Z",
77
+ "source": "call",
78
+ "url": "https://neurips.cc/Conferences/2026/CallForPapers",
79
+ "read": "2026-11-19",
80
+ },
81
+ {
82
+ "what": "notification",
83
+ "at": "2026-09-25T11:59:59Z",
84
+ "source": "call",
85
+ "url": "https://neurips.cc/Conferences/2026/CallForPapers",
86
+ "read": "2026-11-19",
87
+ },
88
+ {
89
+ "what": "camera-ready",
90
+ "at": "2026-11-07T11:59:59Z",
91
+ "source": "call",
92
+ "url": "https://neurips.cc/Conferences/2026/Dates",
93
+ "read": "2026-11-19",
94
+ },
95
+ ],
96
+
97
+ // The checklist, «mandatory» (the handbook) and a desk reject without it (checklist.tex), under the
98
+ // heading the kit says to keep. No `position`: the handbook gives the order only as «in this
99
+ // suggested order», and its reviewer FAQ says not to worry about «an incorrect order of the
100
+ // checklist, references, and supplementary materials».
101
+ "required_sections": [{ "title": "NeurIPS Paper Checklist" }],
102
+
103
+ "format": {
104
+ // «nine content pages … Additional pages containing references, optional technical appendices
105
+ // and mandatory paper checklist do not count as content pages.» Counted by banal: measured
106
+ // 2026-11-19 on fixtures/build-e2e/neurips, banal types the pages from the references on as
107
+ // bibliography and appendix — the checklist with them, after the appendix or straight after the
108
+ // references — and the page the references start on as body when the text runs onto it, as the
109
+ // call counts it.
110
+ // 🔴 NOT `body_ends_at`. The submission has line numbers (the style's `\linenumbers`) and pdf.js
111
+ // reads the heading as «References346»; the heading match now takes that (measured: without an
112
+ // appendix the fixture's body is found). With the kit's appendix after the references, hyperref
113
+ // anchors it and its heading reads «A Technical Appendix», which the appendix match does not take:
114
+ // «could not tell where the body ends» (measured on the same fixture). banal's count has neither problem.
115
+ "kinds": {
116
+ // The anonymous submission to the main track.
117
+ "main": { "body_pages_max": 9, "ref_pages_max": "unlimited" },
118
+ // «an additional content page for the camera-ready version». The same paper after acceptance:
119
+ // its paperlint.json switches `kind`, and its cycle's `accepted` turns the blind check off.
120
+ "camera-ready": { "body_pages_max": 10, "ref_pages_max": "unlimited" },
121
+ },
122
+ },
123
+ }
@@ -0,0 +1,137 @@
1
+ ---
2
+ title: "NeurIPS — venue card"
3
+ ---
4
+
5
+ # NeurIPS (Main Track, 2026 edition)
6
+
7
+ The card of the venue preset `paperlint:neurips-2026` ([`neurips-2026.jsonc`](neurips-2026.jsonc)): what the venue
8
+ asks for, in prose. The numbers a machine checks live in the preset; the section at the end is
9
+ 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
+ ([neurips.cc/Conferences/2026/CallForPapers](https://neurips.cc/Conferences/2026/CallForPapers)):
13
+ the limits, the dates and the style file change between editions. The 2027 call was not published on
14
+ 2026-11-19 (its page answered 404), so the preset holds the 2026 edition, all of whose deadlines have
15
+ passed.
16
+
17
+ ## Sources
18
+
19
+ Each read on 2026-11-19:
20
+
21
+ - the call: <https://neurips.cc/Conferences/2026/CallForPapers>;
22
+ - the Main Track Handbook, which holds the formatting, anonymity and checklist rules:
23
+ <https://neurips.cc/Conferences/2026/MainTrackHandbook>;
24
+ - the dates page: <https://neurips.cc/Conferences/2026/Dates>;
25
+ - the author kit:
26
+ <https://media.neurips.cc/Conferences/NeurIPS2026/Formatting_Instructions_For_NeurIPS_2026.zip>;
27
+ - the portal's public venue data (OpenReview):
28
+ <https://api2.openreview.net/groups?id=NeurIPS.cc/2026/Conference>.
29
+
30
+ ## The venue (2026 edition)
31
+
32
+ - **Venue**: the Main Track of **NeurIPS 2026**, the Fortieth Annual Conference on Neural Information
33
+ Processing Systems (the style file sets its location as Sydney; the dates page lists Atlanta and
34
+ Sydney).
35
+ The Evaluations & Datasets and the Position Paper tracks have their own calls and are not this
36
+ preset.
37
+ - **Portal**: OpenReview, `https://openreview.net/group?id=NeurIPS.cc/2026/Conference`. «All authors
38
+ must have an OpenReview profile when submitting.» `paperlint submission` does not reach it (it
39
+ speaks to HotCRP only), so the preset has no `portal`.
40
+ - **Format**, verbatim from the handbook: «You must format your submission using the LaTeX style
41
+ file for that year. … This is the only template we will accept … Submissions that violate the
42
+ NeurIPS style (e.g., by decreasing margins or font sizes) or page limits may be desk rejected.»
43
+ The kit adds: «Please make sure you use the current files and not previous versions. Tweaking the
44
+ style files may be grounds for desk rejection.» At submission, the style is loaded with no option
45
+ («please omit the `final` and `preprint` options»).
46
+ - **Double-blind**: «All submissions must be anonymized … Please do not include acknowledgments at
47
+ submission time. … Papers violating this policy will be desk rejected.» The style's `ack`
48
+ environment hides the acknowledgements in the anonymous submission.
49
+ - **The paper checklist**: «authors are required to complete the paper checklist included in the
50
+ paper template» (the handbook); «Do not remove the checklist: The papers not including the checklist
51
+ will be desk rejected.» and «keep the section heading "NeurIPS Paper Checklist"» (`checklist.tex`).
52
+ - **One PDF**, «in this suggested order»: the paper, the references, the appendices, the checklist;
53
+ at most 50 MB. Code and data go separately, in one ZIP of up to 100 MB.
54
+ - **LLMs**: their use must be described when it is «an important, original, or non-standard
55
+ component of the approach»; «agents and LLMs cannot be authors»; prompt injections aimed at reviewing
56
+ are prohibited.
57
+ - **Camera-ready**: «All 10 pages of the paper, references, text appendices and the paper checklist
58
+ should be combined and uploaded as a single PDF», with «a funding statement and competing interests
59
+ disclosures». At least one author registers for the main conference; «A 'Virtual Only Pass' is not
60
+ sufficient.»
61
+
62
+ ## Dates
63
+
64
+ The call and the dates page, all Anywhere on Earth:
65
+
66
+ | date | what |
67
+ | ----------------- | ------------------------------------------------- |
68
+ | 4 May 2026 | abstract submission (all authors entered by then) |
69
+ | 6 May 2026 | full paper, including all supplementary materials |
70
+ | 24 September 2026 | author notification |
71
+ | 6 November 2026 | camera-ready |
72
+
73
+ **Two readings of the abstract and the paper deadlines, both in the preset** (`deadlines`): the call's
74
+ AoE day ends at 11:59:59 UTC the next day; OpenReview's venue data says «Abstract Registration: May
75
+ 05 2026 11:59AM UTC-0, Submission Deadline: May 07 2026 11:59AM UTC-0», 59 s earlier. The portal's,
76
+ the earlier, binds.
77
+
78
+ ## Paper kinds and limits
79
+
80
+ | kind | content pages | references, appendices, checklist | what the handbook says |
81
+ | -------------- | ------------: | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
82
+ | `main` | 9 | not counted | «The main text of a submitted paper is limited to nine content pages, including all figures and tables. Additional pages containing references, optional technical appendices and mandatory paper checklist do not count as content pages.» |
83
+ | `camera-ready` | 10 | not counted | «If your submission is accepted, you will be allowed an additional content page for the camera-ready version.» |
84
+
85
+ A paper names its kind in its `paperlint.json`. After acceptance the same paper switches to
86
+ `camera-ready`, and its cycle's `accepted` turns `anonymity/identity` off.
87
+
88
+ The content pages are banal's body count. Measured on `fixtures/build-e2e/neurips`: banal types the
89
+ pages from the references on as references and appendix, the checklist among them whether it follows
90
+ the appendix or the references, and counts the page the references start on as content when the text
91
+ runs onto it. Not `body_ends_at`: its references heading, which line numbers turn into
92
+ «References346», is now found, but the appendix after it opens with «A Technical Appendix», which
93
+ that count does not take for an appendix heading (measured: `format/page-limit` could not tell where
94
+ the body ends). In the camera-ready, the
95
+ acknowledgements stand before the references and are counted as content, which the kit says they
96
+ are not («Additional pages containing acknowledgments, references, checklist, and optional technical
97
+ appendices do not count as content pages»).
98
+
99
+ ## What the preset encodes
100
+
101
+ - **The NeurIPS style**, through `extends: paperlint:neurips-style` — letter page, one column,
102
+ Times at 10 pt, references at 9 to 10 pt, the TeX packages the style needs
103
+ ([`neurips-style.md`](neurips-style.md)) — and the template itself: `\documentclass{article}` with
104
+ `\usepackage{neurips_2026}` (`tex/template`), no margin change (`format/layout-override`). That the
105
+ style file is unchanged is not checked: the family's card says why.
106
+ - **Double-blind review** (`blind`), so `anonymity/identity` checks the PDF against the paper's
107
+ declared `identity`.
108
+ - **The checklist** (`required_sections`): a section titled exactly «NeurIPS Paper Checklist», as the
109
+ kit's `checklist.tex` sets it. Where it stands is not checked: the order is only «suggested». Whether
110
+ its answers are filled in (`\answerTODO`) is not checked either.
111
+ - **Names**: `NeurIPS`, what `tex/venue-leftover` and `paper/folder-venue-leftover` look for in
112
+ another venue's paper. In prose it counts only beside a year no older than that paper's own
113
+ edition's year minus one: «NeurIPS 2026» in an AIDC 2026 paper is reported, «published at
114
+ NeurIPS 2023» is related work and is not. A bare «NeurIPS» is not reported, nor is the
115
+ bibliography, which the rule does not read.
116
+
117
+ ## Not verified
118
+
119
+ - **Whether the 2027 limits are the same.** The style says «The margins in 2026 are the same as those
120
+ in previous years»; the page limit and the checklist rule are the 2026 handbook's.
121
+ - **The camera-ready page count with acknowledgements**: see above.
122
+ - **The submission form's fields**: not recorded; OpenReview's form needs a logged-in read.
123
+ - **Remote presentation**: the handbook requires an in-person registration and allows a substitute
124
+ presenter; it says nothing of a remote talk.
125
+
126
+ ## What the preset resolves to
127
+
128
+ <!-- paperlint:preset-rules -->
129
+ <!-- prettier-ignore-start -->
130
+ <!-- Generated from neurips-2026.jsonc by `npx eslint --fix` (rule preset/card-rules). Edit the preset, not this section. -->
131
+
132
+ **`paperlint:neurips-2026`** — venue preset for NeurIPS 2026 · call for papers: <https://neurips.cc/Conferences/2026/CallForPapers> · extends `paperlint:neurips-style`
133
+
134
+ No preset of this chain sets a rule: under it, every rule keeps paperlint's default.
135
+
136
+ <!-- prettier-ignore-end -->
137
+ <!-- /paperlint:preset-rules -->
@@ -0,0 +1,113 @@
1
+ // The NeurIPS style — the TEMPLATE FAMILY of the Conference on Neural Information Processing
2
+ // Systems: everything the style file in NeurIPS's author kit decides, whatever the track. A venue
3
+ // preset extends it ("extends": "paperlint:neurips-style") and adds what its call for papers sets:
4
+ // the page limit of each kind of paper, and the sections it requires. The main track is neurips-2026.jsonc.
5
+ //
6
+ // The template is not a class. The author kit
7
+ // (https://media.neurips.cc/Conferences/NeurIPS2026/Formatting_Instructions_For_NeurIPS_2026.zip,
8
+ // read 2026-11-19: neurips_2026.tex, neurips_2026.sty and checklist.tex) opens with
9
+ // `\documentclass{article}` and loads `\usepackage{neurips_2026}` from a style file the author copies
10
+ // beside paper.tex; it is on no TeX distribution (`tlmgr search --global --file neurips` finds
11
+ // nothing). The style sets the page and the fonts itself (`\renewcommand{\rmdefault}{ptm}`,
12
+ // `\usepackage[verbose=true,letterpaper]{geometry}` and, at \begin{document},
13
+ // `\newgeometry{textheight=9in, textwidth=5.5in, top=1in, …}`), and the kit's text says what it
14
+ // sets: «The text must be confined within a rectangle 5.5 inches (33 picas) wide and 9 inches (54
15
+ // picas) long. … Use 10 point type with a vertical spacing (leading) of 11 points. Times New Roman is
16
+ // the preferred typeface throughout, and will be selected for you by default.»
17
+ //
18
+ // 🔴 THE TEMPLATE IS THE CLASS AND THE STYLE. The class alone, plain `article`, would pass any article
19
+ // paper, with or without the style, and `cycle/port-done` would call a port from another
20
+ // article-based style (ICLR's, ICML's) done the moment it starts. So the family names both:
21
+ // `template` the class and `template_style` the package, and `tex/template` requires both.
22
+ //
23
+ // 🔴 THE NUMBERS ARE MEASURED, NOT COPIED. Built on 2026-11-19 with `paperlint build` on paperlint's
24
+ // TeX Live 2026 (pdfTeX 1.40.29) and banal: the kit's own neurips_2026.tex with its style
25
+ // (`\ProvidesPackage{neurips_2026}[2026-01-29 …]`, sha256 c3fc2894…a7ec4555a, the same bytes as
26
+ // fixtures/arxiv-papers/2611.08971v1/neurips_2026.sty), and the e2e fixture
27
+ // fixtures/build-e2e/neurips. The style's dimensions were written to the log by a `\typeout` run at
28
+ // \begin{document}, after the style's own:
29
+ //
30
+ // page (banal) 8.5 x 11 in \paperwidth x \paperheight 614.295pt x 794.97pt
31
+ // columns (banal) 1 \if@twocolumn false
32
+ // \textwidth 397.48499pt = 5.5 in
33
+ // \textheight 650.43pt = 9.0 in
34
+ // body size \f@size 10, \baselineskip 10.95pt; banal 10.3
35
+ // references normalsize: banal reports no reference size; \small 9 (the log), banal 9.3;
36
+ // \footnotesize 8, banal 8.3
37
+ // fonts (pdf.js) NimbusRomNo9L-Regu / -Medi / -ReguItal (the text and headings, ptm),
38
+ // NimbusSanL-Regu (\sfdefault phv), SFTT1000 (\ttdefault stays cmtt) —
39
+ // Type 1, embedded
40
+ //
41
+ // The planted defects, measured on the same fixture: without `\usepackage{neurips_2026}` the text is
42
+ // Computer Modern (SFRM1000, SFBX1440, …), and so is it with the 1990s «NIPS Macros» saved under the
43
+ // name neurips_2026.sty (as fixtures/arxiv-papers/2611.09818v1 ships it): pdf/fonts, no
44
+ // NimbusRomNo9L; in the source, tex/template (no `\usepackage{neurips_2026}`). A bibliography in
45
+ // \footnotesize (banal 8.3): pdf/body-size. `\newgeometry{textwidth=6.5in,textheight=9.5in,top=0.75in}`
46
+ // after \begin{document} built a page with the same size, column, fonts and body size, one page
47
+ // shorter: no pdf/* rule reads the text block, so only format/layout-override, in the source, reports it.
48
+ //
49
+ // Its card, in prose: `neurips-style.md` beside this file.
50
+ {
51
+ // A template family: it names no venue, so no `name` and no `url` (the venues that extend it do).
52
+ "type": "family",
53
+
54
+ // The kit's neurips_2026.tex: «\documentclass{article}» then «\usepackage{neurips_2026}», with no
55
+ // option at submission («At submission time, please omit the final and preprint options»). The
56
+ // options (final, preprint, a track) are the paper's to add: the check requires only those named
57
+ // here. tex/template also reports another shipped venue's style, or another year's NeurIPS style
58
+ // (neurips_2025), loaded instead.
59
+ "template": "\\documentclass{article}",
60
+ "template_style": "\\usepackage{neurips_2026}",
61
+
62
+ // TeX Live packages the style needs ON TOP OF tex-base.jsonc. neurips_2026.sty itself travels with
63
+ // the paper. Measured 2026-11-19: every file the kit's build read (pdflatex's -recorder list,
64
+ // paper.fls) belongs to a package of TeX Live's scheme-basic, of tex-base.jsonc, of this list, or
65
+ // of a dependency tlmgr installs with one of them (trimspaces with environ).
66
+ // environ — the style's `\usepackage{environ}`, for its `ack` and `hide` environments.
67
+ // lineno — the style's `\RequirePackage{lineno}`: line numbers in the anonymous submission.
68
+ // psnfss · times — `\rmdefault{ptm}`: Times from the URW clone, which the PDF names NimbusRomNo9L.
69
+ // helvetic — `\sfdefault{phv}`: the sans-serif, NimbusSanL.
70
+ // units — nicefrac.sty, which the kit's neurips_2026.tex loads; without it the kit's own
71
+ // template stops at «File `nicefrac.sty' not found».
72
+ "tex": {
73
+ "packages": {
74
+ "environ": ["environ.sty"],
75
+ "lineno": ["lineno.sty"],
76
+ "psnfss": ["t1ptm.fd", "ot1ptm.fd"],
77
+ "times": ["ptmr8t.tfm", "utmr8a.pfb"],
78
+ "helvetic": ["phvr8t.tfm"],
79
+ "units": ["nicefrac.sty"],
80
+ },
81
+ },
82
+
83
+ "format": {
84
+ // «Please prepare submission files with paper size "US Letter," and not, for example, "A4."»
85
+ // (the kit's neurips_2026.tex); banal: 8.5 x 11 in.
86
+ "page_size": "letter",
87
+ "page_w_in": 8.5,
88
+ "page_h_in": 11.0,
89
+
90
+ // \textwidth and \textheight as the style sets them (the log, above): «5.5 inches (33 picas)
91
+ // wide and 9 inches (54 picas) long».
92
+ "textblock_w_in": 5.5,
93
+ "textblock_h_in": 9.0,
94
+
95
+ "columns": 1,
96
+
97
+ // «Use 10 point type»; banal measures the rendered mode, 10.3. The 0.5 tolerance is the other
98
+ // families': banal reads 0.3 pt high on every template measured.
99
+ "body_pt": 10,
100
+ "body_pt_tol": 0.5,
101
+
102
+ // «It is permissible to reduce the font size to small (9 point) when listing the references.»
103
+ // (the kit's neurips_2026.tex). So 9 to 10 pt; body_pt_tol widens it to 8.5-10.5, and a
104
+ // bibliography in \footnotesize (banal 8.3) is reported. A bibliography at the body's size is
105
+ // given no reference size by banal, so it is not judged.
106
+ "ref_pt_min": 9,
107
+ "ref_pt_max": 10,
108
+
109
+ // The Times clone. Headings are set in the same family (bold), so a `fonts_title` would repeat
110
+ // this check and report a Computer Modern build twice.
111
+ "fonts_text": "NimbusRomNo9L",
112
+ },
113
+ }
@@ -0,0 +1,85 @@
1
+ ---
2
+ title: "NeurIPS style — template family card"
3
+ ---
4
+
5
+ # NeurIPS style (`neurips_2026.sty`)
6
+
7
+ The card of the template family `paperlint:neurips-style` ([`neurips-style.jsonc`](neurips-style.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. The main track's 2026 edition
10
+ is [`neurips-2026`](neurips-2026.md); a NeurIPS workshop on the same style file may extend this
11
+ family.
12
+
13
+ ## The template is a style file, not a class
14
+
15
+ NeurIPS's author kit
16
+ ([Formatting_Instructions_For_NeurIPS_2026.zip](https://media.neurips.cc/Conferences/NeurIPS2026/Formatting_Instructions_For_NeurIPS_2026.zip),
17
+ read 2026-11-19) holds `neurips_2026.tex`, `neurips_2026.sty` and `checklist.tex`. A paper is
18
+ `\documentclass{article}` with `\usepackage{neurips_2026}`, and the author copies the style file
19
+ beside `paper.tex`: it is on no TeX distribution. `paperlint build` finds it there (the paper's
20
+ directory is on `TEXINPUTS`) and records its sha256 in `_build/sources.json`.
21
+
22
+ The style's options pick the track and the stage: none for the anonymous submission (line numbers,
23
+ «Anonymous Author(s)»), `final` for the camera-ready, `preprint` for arXiv, `main`, `position`,
24
+ `eandd`, `creativeai`, `education`, `sglblindworkshop`, `dblblindworkshop`, and `nonatbib`.
25
+
26
+ ## What the family encodes
27
+
28
+ - **The template**: `\documentclass{article}` with `\usepackage{neurips_2026}` (`template` and
29
+ `template_style`). `tex/template` requires both, in the source, before any build: the class, the
30
+ style loaded (options of the paper's own allowed), and it names another year's NeurIPS style
31
+ (`neurips_2025`) or another shipped venue's style loaded instead. `format/layout-override` reports
32
+ a `\newgeometry` or a margin option in the paper, and `cycle/port-done` judges the class and the
33
+ style together.
34
+ - **The page**: US letter, 8.5 × 11 in («Please prepare submission files with paper size "US
35
+ Letter," and not, for example, "A4."»); a text block of 5.5 × 9 in (`\textwidth` 397.485 pt,
36
+ `\textheight` 650.43 pt); one column.
37
+ - **The fonts**: Times (the URW clone, NimbusRomNo9L) for the text and the headings, Helvetica
38
+ (NimbusSanL) for sans-serif; the body at 10 pt on 11 pt leading. The references at 9 to 10 pt: «It
39
+ is permissible to reduce the font size to small (9 point) when listing the references.» banal
40
+ measures 0.3 pt high (10.3, 9.3), hence the 0.5 pt tolerance.
41
+ - **TeX packages** on top of the base set: environ and lineno, which the style loads; psnfss, times
42
+ and helvetic for its fonts; units, for the `nicefrac` the kit's template loads.
43
+
44
+ ## What the family does not check
45
+
46
+ - **A changed style file.** The check reads the name of the package the paper loads, not the file:
47
+ a `neurips_2026.sty` edited, or another file saved under that name, passes it. The build sees the
48
+ file's fonts (the 1990s «NIPS Macros» below), not its margins; `_build/sources.json` records the
49
+ file's sha256, which no rule compares yet.
50
+ - **The text block on the PDF.** No `pdf/*` rule reads it; a layout change the source does not show
51
+ (a macro of the style redefined) is not seen.
52
+ - **Getting the style file.** It is on no TeX distribution, and `paperlint new --venue` writes the
53
+ class line only: copy `neurips_2026.sty` from the kit beside `paper.tex`, and `\usepackage` it.
54
+
55
+ ## How the numbers were measured
56
+
57
+ On 2026-11-19, `paperlint build` with paperlint's TeX Live 2026 and banal, on the kit's own
58
+ `neurips_2026.tex` and on the e2e fixture `fixtures/build-e2e/neurips`; the style's dimensions were
59
+ written to the log by a `\typeout` at `\begin{document}`. Every file the kit's build read belongs to
60
+ TeX Live's scheme-basic, the base set, this family's list, or a dependency of one.
61
+
62
+ | build | what paperlint reported |
63
+ | -------------------------------------------------------------- | ----------------------------------------------------------- |
64
+ | the kit's style, no option | 8.5 × 11 in, 1 column, body 10.3, NimbusRomNo9L: no finding |
65
+ | references in `\small` / at the body size / in `\footnotesize` | 9.3 / not measured by banal / 8.3, `pdf/body-size` |
66
+ | no `\usepackage{neurips_2026}` | `tex/template`; cm-super (SFRM1000, …): `pdf/fonts` |
67
+ | the 1990s «NIPS Macros» saved as `neurips_2026.sty` | cm-super: `pdf/fonts` |
68
+ | `\newgeometry{textwidth=6.5in,textheight=9.5in,top=0.75in}` | `format/layout-override`; the PDF: same page, fonts, sizes |
69
+
70
+ The «NIPS Macros» case is real: one preprint in `fixtures/arxiv-papers` ships that file under the
71
+ name `neurips_2026.sty`. Of the 16 NeurIPS-style preprints there, 7 carry the kit's file byte for
72
+ byte and 6 an earlier one with the same version line (2026-01-29) and no `education` option.
73
+
74
+ ## What the family resolves to
75
+
76
+ <!-- paperlint:preset-rules -->
77
+ <!-- prettier-ignore-start -->
78
+ <!-- Generated from neurips-style.jsonc by `npx eslint --fix` (rule preset/card-rules). Edit the preset, not this section. -->
79
+
80
+ **`paperlint:neurips-style`** — template family, no venue of its own · extended by `paperlint:neurips-2026`
81
+
82
+ No preset of this chain sets a rule: under it, every rule keeps paperlint's default.
83
+
84
+ <!-- prettier-ignore-end -->
85
+ <!-- /paperlint:preset-rules -->
@@ -37,6 +37,11 @@
37
37
  "type": "string",
38
38
  "minLength": 1
39
39
  },
40
+ "template_style": {
41
+ "description": "The style package the venue's template loads into its class, for a template that is a style file from the venue's author kit and not a class: a whole `\\usepackage[…]{…}` line, the package and the options it requires (`\\usepackage{neurips_2026}`). `tex/template` then requires the paper to load that package with every option named here, and reports another venue's or another year's style loaded instead. A child's value replaces its parent's.",
42
+ "type": "string",
43
+ "minLength": 1
44
+ },
40
45
  "template_forbids": {
41
46
  "description": "Class options the venue's call forbids in the \\documentclass line (`[\"compsoc\", \"compsocconf\"]`: MSR's «without including the compsoc or compsocconf options»). `tex/template` reports each one a paper's class line carries. Read with the `template` of the same file, and only with it: a child's `template` replaces both.",
42
47
  "type": "array",
@@ -518,6 +523,7 @@
518
523
  "required": ["type"],
519
524
  "dependencies": {
520
525
  "template_forbids": ["template"],
526
+ "template_style": ["template"],
521
527
  "parent": ["workshop"]
522
528
  },
523
529
  "allOf": [