@anja.codes/vitakit 0.1.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 (48) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +159 -0
  3. package/dist/check.d.mts +22 -0
  4. package/dist/check.mjs +196 -0
  5. package/dist/cli.d.mts +45 -0
  6. package/dist/cli.mjs +225 -0
  7. package/dist/index.d.mts +398 -0
  8. package/dist/index.mjs +21 -0
  9. package/dist/nuxt.d.mts +15 -0
  10. package/dist/nuxt.mjs +98 -0
  11. package/dist/runtime/components/VitaDate.vue +20 -0
  12. package/dist/runtime/components/VitaEntry.vue +24 -0
  13. package/dist/runtime/components/VitaIssues.vue +25 -0
  14. package/dist/runtime/components/VitaLinks.vue +19 -0
  15. package/dist/runtime/components/VitaMarkdown.vue +14 -0
  16. package/dist/runtime/components/VitaPublication.vue +30 -0
  17. package/dist/runtime/components/VitaPublications.vue +39 -0
  18. package/dist/runtime/components/VitaSection.vue +60 -0
  19. package/dist/runtime/composables/useVitakit.ts +47 -0
  20. package/dist/schemas/education.ts +21 -0
  21. package/dist/schemas/employment.ts +21 -0
  22. package/dist/schemas/publications.ts +48 -0
  23. package/dist/schemas/supervision.ts +20 -0
  24. package/dist/schemas/talks.ts +19 -0
  25. package/dist/schemas/teaching.ts +19 -0
  26. package/dist/shared/index.d.mts +68 -0
  27. package/dist/shared/index.mjs +57 -0
  28. package/dist/shared/vitakit.BRhjqpAt.mjs +250 -0
  29. package/dist/shared/vitakit.BlU-p01e.mjs +14 -0
  30. package/dist/shared/vitakit.BxcnlFGP.mjs +325 -0
  31. package/dist/shared/vitakit.CypCF-4Q.mjs +503 -0
  32. package/dist/shared/vitakit.D8WRg_Xx.d.mts +153 -0
  33. package/dist/styles/vitakit-math.csl +314 -0
  34. package/dist/tex/templates/_generic.eta +6 -0
  35. package/dist/tex/templates/education.eta +9 -0
  36. package/dist/tex/templates/employment.eta +9 -0
  37. package/dist/tex/templates/publications.eta +7 -0
  38. package/dist/tex/templates/supervision.eta +4 -0
  39. package/dist/tex/templates/talks.eta +3 -0
  40. package/dist/tex/templates/teaching.eta +6 -0
  41. package/dist/tex/vitakit-cv.cls +119 -0
  42. package/dist/tex.d.mts +93 -0
  43. package/dist/tex.mjs +129 -0
  44. package/package.json +121 -0
  45. package/src/bin/vitakit-build-cv.mjs +50 -0
  46. package/src/bin/vitakit-check.mjs +57 -0
  47. package/src/bin/vitakit.mjs +158 -0
  48. package/styles/vitakit-math.csl +314 -0
@@ -0,0 +1,314 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!--
3
+ The vitakit default style for content/publications.bib on the website.
4
+
5
+ To change it, copy it into your project and edit the copy:
6
+
7
+ pnpm vitakit eject publications.csl # -> content/publications.csl
8
+
9
+ content/publications.csl is picked up automatically, by the dev server, the
10
+ build and vitakit-check alike. Any CSL 1.0 style works there, for instance one
11
+ from https://www.zotero.org/styles saved under that name.
12
+
13
+ Links are not this file's job. vitakit links the title (to the url, doi or
14
+ arxiv field, in that order) and appends badges (DOI, arXiv, MR, zbMATH), and
15
+ it removes those identifiers from what the style sees, so that a style which
16
+ prints them does not repeat them as raw text. A <text variable="DOI"/> or
17
+ <text variable="URL"/> here therefore prints nothing for an entry whose DOI
18
+ or URL is already linked.
19
+
20
+ The PDF does not use this file: it is typeset by biblatex.
21
+ -->
22
+ <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only">
23
+ <info>
24
+ <title>vitakit (mathematics)</title>
25
+ <id>https://github.com/anja-codes/vitakit/styles/vitakit-math</id>
26
+ <author>
27
+ <name>Benjamin Hackl</name>
28
+ </author>
29
+ <summary>Numeric style for mathematics: author-year ordering, linked titles, short journal information.</summary>
30
+ <category citation-format="numeric"/>
31
+ <category field="engineering"/>
32
+ <category field="generic-base"/>
33
+ <updated>2026-09-25T00:00:00+00:00</updated>
34
+ <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
35
+ </info>
36
+ <locale xml:lang="en">
37
+ <terms>
38
+ <term name="chapter" form="short">ch.</term>
39
+ <term name="presented at">presented at the</term>
40
+ </terms>
41
+ </locale>
42
+ <!-- Macros -->
43
+ <macro name="edition">
44
+ <choose>
45
+ <if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
46
+ <choose>
47
+ <if is-numeric="edition">
48
+ <group delimiter=" ">
49
+ <number variable="edition" form="ordinal"/>
50
+ <text term="edition" form="short"/>
51
+ </group>
52
+ </if>
53
+ <else>
54
+ <text variable="edition" text-case="capitalize-first" suffix="."/>
55
+ </else>
56
+ </choose>
57
+ </if>
58
+ </choose>
59
+ </macro>
60
+ <macro name="issued">
61
+ <choose>
62
+ <if type="article-journal report" match="any">
63
+ <date variable="issued">
64
+ <date-part name="month" form="short" suffix=" "/>
65
+ <date-part name="year" form="long"/>
66
+ </date>
67
+ </if>
68
+ <else-if type=" bill book chapter graphic legal_case legislation motion_picture paper-conference song thesis" match="any">
69
+ <date variable="issued">
70
+ <date-part name="year" form="long"/>
71
+ </date>
72
+ </else-if>
73
+ <else>
74
+ <date variable="issued">
75
+ <date-part name="day" form="numeric-leading-zeros" suffix="-"/>
76
+ <date-part name="month" form="short" suffix="-" strip-periods="true"/>
77
+ <date-part name="year" form="long"/>
78
+ </date>
79
+ </else>
80
+ </choose>
81
+ </macro>
82
+ <macro name="author">
83
+ <names variable="author">
84
+ <name delimiter=", " and="text"/>
85
+ <label form="short" prefix=", " text-case="capitalize-first"/>
86
+ <substitute>
87
+ <names variable="editor"/>
88
+ <names variable="translator"/>
89
+ </substitute>
90
+ </names>
91
+ </macro>
92
+ <macro name="editor">
93
+ <names variable="editor">
94
+ <name initialize-with=". " delimiter=", " and="text"/>
95
+ <label form="short" prefix=", " text-case="capitalize-first"/>
96
+ </names>
97
+ </macro>
98
+ <macro name="locators">
99
+ <group delimiter=", ">
100
+ <text macro="edition"/>
101
+ <group delimiter=" ">
102
+ <text term="volume" form="short"/>
103
+ <number variable="volume" form="numeric" font-weight="bold"/>
104
+ </group>
105
+ <group delimiter=" ">
106
+ <number variable="number-of-volumes" form="numeric"/>
107
+ <text term="volume" form="short" plural="true"/>
108
+ </group>
109
+ <group delimiter=" ">
110
+ <text term="issue" form="short"/>
111
+ <number variable="issue" form="numeric"/>
112
+ </group>
113
+ </group>
114
+ </macro>
115
+ <macro name="title">
116
+ <!-- Title linking is handled by @behackl/citation-js-extras at render time;
117
+ the CSL just outputs the plain italic title text. -->
118
+ <text variable="title" font-style="italic"/>
119
+ </macro>
120
+ <macro name="publisher">
121
+ <choose>
122
+ <if type=" bill book chapter graphic legal_case legislation motion_picture paper-conference song" match="any">
123
+ <group delimiter=": ">
124
+ <text variable="publisher-place"/>
125
+ <text variable="publisher"/>
126
+ </group>
127
+ </if>
128
+ <else>
129
+ <group delimiter=", ">
130
+ <text variable="publisher"/>
131
+ <text variable="publisher-place"/>
132
+ </group>
133
+ </else>
134
+ </choose>
135
+ </macro>
136
+ <macro name="event">
137
+ <choose>
138
+ <if type="paper-conference speech" match="any">
139
+ <choose>
140
+ <!-- Published Conference Paper -->
141
+ <if variable="container-title">
142
+ <group delimiter=", ">
143
+ <group delimiter=" ">
144
+ <text term="in"/>
145
+ <text variable="container-title" font-style="italic"/>
146
+ </group>
147
+ <text variable="event-place"/>
148
+ </group>
149
+ </if>
150
+ <!-- Unpublished Conference Paper -->
151
+ <else>
152
+ <group delimiter=", ">
153
+ <group delimiter=" ">
154
+ <text term="presented at"/>
155
+ <text variable="event"/>
156
+ </group>
157
+ <text variable="event-place"/>
158
+ </group>
159
+ </else>
160
+ </choose>
161
+ </if>
162
+ </choose>
163
+ </macro>
164
+ <macro name="page">
165
+ <group>
166
+ <label variable="page" form="short" suffix=" "/>
167
+ <text variable="page"/>
168
+ </group>
169
+ </macro>
170
+ <macro name="citation-locator">
171
+ <group delimiter=" ">
172
+ <choose>
173
+ <if locator="page">
174
+ <label variable="locator" form="short"/>
175
+ </if>
176
+ <else>
177
+ <label variable="locator" form="short" text-case="capitalize-first"/>
178
+ </else>
179
+ </choose>
180
+ <text variable="locator"/>
181
+ </group>
182
+ </macro>
183
+ <!-- Citation -->
184
+ <citation collapse="citation-number">
185
+ <sort>
186
+ <key variable="citation-number"/>
187
+ </sort>
188
+ <layout delimiter=", ">
189
+ <group prefix="[" suffix="]" delimiter=", ">
190
+ <text variable="citation-number"/>
191
+ <text macro="citation-locator"/>
192
+ </group>
193
+ </layout>
194
+ </citation>
195
+ <!-- Bibliography -->
196
+ <bibliography entry-spacing="0">
197
+ <layout>
198
+ <!-- Author(s) -->
199
+ <text macro="author" suffix=", "/>
200
+ <!-- Rest of Citation -->
201
+ <group suffix=". ">
202
+ <choose>
203
+ <!-- Specific Formats -->
204
+ <if type="article-journal">
205
+ <group delimiter=", ">
206
+ <text macro="title"/>
207
+ <text variable="container-title" font-style="italic" form="short"/>
208
+ <text macro="locators"/>
209
+ <text macro="page"/>
210
+ <text macro="issued"/>
211
+ </group>
212
+ </if>
213
+ <else-if type="paper-conference">
214
+ <group delimiter=", ">
215
+ <text macro="title"/>
216
+ <text macro="event"/>
217
+ <text macro="issued"/>
218
+ <text macro="locators"/>
219
+ <text macro="page"/>
220
+ </group>
221
+ </else-if>
222
+ <else-if type="report">
223
+ <group delimiter=", ">
224
+ <text macro="title"/>
225
+ <text macro="publisher"/>
226
+ <group delimiter=" ">
227
+ <text variable="genre"/>
228
+ <text variable="number"/>
229
+ </group>
230
+ <text macro="issued"/>
231
+ </group>
232
+ </else-if>
233
+ <else-if type="thesis">
234
+ <group delimiter=", ">
235
+ <text macro="title"/>
236
+ <text variable="genre"/>
237
+ <text macro="publisher"/>
238
+ <text macro="issued"/>
239
+ </group>
240
+ </else-if>
241
+ <else-if type="webpage">
242
+ <group delimiter=", ">
243
+ <text macro="title"/>
244
+ <text variable="container-title" font-style="italic"/>
245
+ <text macro="issued"/>
246
+ </group>
247
+ </else-if>
248
+ <else-if type="patent">
249
+ <group delimiter=", ">
250
+ <text macro="title"/>
251
+ <text variable="number"/>
252
+ <text macro="issued"/>
253
+ </group>
254
+ </else-if>
255
+ <!-- Generic/Fallback Formats -->
256
+ <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
257
+ <group delimiter=", " suffix=". ">
258
+ <text macro="title"/>
259
+ <text macro="locators"/>
260
+ </group>
261
+ <group delimiter=", ">
262
+ <text macro="publisher"/>
263
+ <text macro="issued"/>
264
+ <text macro="page"/>
265
+ </group>
266
+ </else-if>
267
+ <else-if type="article-magazine article-newspaper broadcast interview manuscript map patent personal_communication song speech thesis webpage" match="any">
268
+ <group delimiter=", ">
269
+ <text macro="title"/>
270
+ <text variable="container-title" font-style="italic"/>
271
+ <text macro="locators"/>
272
+ <text macro="publisher"/>
273
+ <text macro="page"/>
274
+ <text macro="issued"/>
275
+ </group>
276
+ </else-if>
277
+ <else-if type="chapter paper-conference" match="any">
278
+ <group delimiter=", " suffix=", ">
279
+ <text macro="title"/>
280
+ <group delimiter=" ">
281
+ <text term="in"/>
282
+ <text variable="container-title" font-style="italic"/>
283
+ </group>
284
+ <text macro="locators"/>
285
+ </group>
286
+ <text macro="editor" suffix=" "/>
287
+ <group delimiter=", ">
288
+ <text macro="publisher"/>
289
+ <text macro="issued"/>
290
+ <text macro="page"/>
291
+ </group>
292
+ </else-if>
293
+ <else>
294
+ <group delimiter=", " suffix=". ">
295
+ <text macro="title"/>
296
+ <text variable="container-title" font-style="italic"/>
297
+ <text macro="locators"/>
298
+ <choose>
299
+ <if variable="note">
300
+ <text variable="note"/>
301
+ </if>
302
+ </choose>
303
+ </group>
304
+ <group delimiter=", ">
305
+ <text macro="publisher"/>
306
+ <text macro="page"/>
307
+ <text macro="issued"/>
308
+ </group>
309
+ </else>
310
+ </choose>
311
+ </group>
312
+ </layout>
313
+ </bibliography>
314
+ </style>