@tonguetoquill/collection 0.2.3 → 0.2.5-beta.1
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.
- package/LICENSE +201 -201
- package/README.md +39 -39
- package/index.d.ts +2 -2
- package/index.js +8 -8
- package/package.json +41 -41
- package/quills/af4141/0.1.0/Quill.yaml +88 -88
- package/quills/af4141/0.1.0/design/TASK.md +19 -19
- package/quills/af4141/0.1.0/example.md +35 -35
- package/quills/af4141/0.1.0/packages/typst-af4141/FIELDS.json +3169 -3169
- package/quills/af4141/0.1.0/packages/typst-af4141/form.typ +538 -538
- package/quills/af4141/0.1.0/packages/typst-af4141/lib.typ +227 -227
- package/quills/af4141/0.1.0/packages/typst-af4141/typst.toml +7 -7
- package/quills/af4141/0.1.0/plate.typ +48 -48
- package/quills/classic_resume/0.1.0/Quill.yaml +118 -118
- package/quills/classic_resume/0.1.0/example.md +232 -232
- package/quills/classic_resume/0.1.0/packages/ttq-classic-resume/LICENSE +21 -21
- package/quills/classic_resume/0.1.0/packages/ttq-classic-resume/README.md +38 -38
- package/quills/classic_resume/0.1.0/packages/ttq-classic-resume/src/components.typ +184 -184
- package/quills/classic_resume/0.1.0/packages/ttq-classic-resume/src/layout.typ +42 -42
- package/quills/classic_resume/0.1.0/packages/ttq-classic-resume/src/lib.typ +5 -5
- package/quills/classic_resume/0.1.0/packages/ttq-classic-resume/typst.toml +26 -26
- package/quills/classic_resume/0.1.0/plate.typ +44 -44
- package/quills/cmu_letter/0.1.0/.quillignore +30 -30
- package/quills/cmu_letter/0.1.0/Quill.yaml +64 -64
- package/quills/cmu_letter/0.1.0/assets/cmu-wordmark.svg +174 -174
- package/quills/cmu_letter/0.1.0/example.md +30 -30
- package/quills/cmu_letter/0.1.0/packages/tonguetoquill-cmu-letter/LICENSE +21 -21
- package/quills/cmu_letter/0.1.0/packages/tonguetoquill-cmu-letter/fonts/README.txt +100 -100
- package/quills/cmu_letter/0.1.0/packages/tonguetoquill-cmu-letter/src/backmatter.typ +13 -13
- package/quills/cmu_letter/0.1.0/packages/tonguetoquill-cmu-letter/src/config.typ +39 -39
- package/quills/cmu_letter/0.1.0/packages/tonguetoquill-cmu-letter/src/frontmatter.typ +72 -72
- package/quills/cmu_letter/0.1.0/packages/tonguetoquill-cmu-letter/src/lib.typ +47 -47
- package/quills/cmu_letter/0.1.0/packages/tonguetoquill-cmu-letter/src/mainmatter.typ +42 -42
- package/quills/cmu_letter/0.1.0/packages/tonguetoquill-cmu-letter/src/primitives.typ +70 -70
- package/quills/cmu_letter/0.1.0/packages/tonguetoquill-cmu-letter/src/utils.typ +85 -85
- package/quills/cmu_letter/0.1.0/packages/tonguetoquill-cmu-letter/typst.toml +17 -17
- package/quills/cmu_letter/0.1.0/plate.typ +19 -19
- package/quills/daf4392/0.1.0/Quill.yaml +110 -0
- package/quills/daf4392/0.1.0/assets/arimo-v35-latin-700.ttf +0 -0
- package/quills/daf4392/0.1.0/assets/arimo-v35-latin-700italic.ttf +0 -0
- package/quills/daf4392/0.1.0/assets/arimo-v35-latin-italic.ttf +0 -0
- package/quills/daf4392/0.1.0/assets/arimo-v35-latin-regular.ttf +0 -0
- package/quills/daf4392/0.1.0/assets/page1.png +0 -0
- package/quills/daf4392/0.1.0/example.md +33 -0
- package/quills/daf4392/0.1.0/packages/daf4392page2_pkg/FIELDS.json +9 -0
- package/quills/daf4392/0.1.0/packages/daf4392page2_pkg/form.typ +14 -0
- package/quills/daf4392/0.1.0/packages/daf4392page2_pkg/lib.typ +227 -0
- package/quills/daf4392/0.1.0/packages/daf4392page2_pkg/out/debug.typ +4 -0
- package/quills/daf4392/0.1.0/packages/daf4392page2_pkg/out/example.typ +4 -0
- package/quills/daf4392/0.1.0/packages/daf4392page2_pkg/page1.png +0 -0
- package/quills/daf4392/0.1.0/packages/daf4392page2_pkg/typst.toml +7 -0
- package/quills/daf4392/0.1.0/plate.typ +60 -0
- package/quills/taro/0.1.0/Quill.yaml +29 -29
- package/quills/taro/0.1.0/example.md +26 -26
- package/quills/taro/0.1.0/plate.typ +31 -31
- package/quills/usaf_memo/0.1.0/.quillignore +30 -30
- package/quills/usaf_memo/0.1.0/Quill.yaml +209 -209
- package/quills/usaf_memo/0.1.0/example.md +54 -54
- package/quills/usaf_memo/0.1.0/packages/tonguetoquill-usaf-memo/LICENSE +21 -21
- package/quills/usaf_memo/0.1.0/packages/tonguetoquill-usaf-memo/fonts/Cinzel/LICENSE +93 -93
- package/quills/usaf_memo/0.1.0/packages/tonguetoquill-usaf-memo/fonts/CopperplateCC/LICENSE.md +79 -79
- package/quills/usaf_memo/0.1.0/packages/tonguetoquill-usaf-memo/fonts/NimbusRomanNo9L/GNU General Public License.txt +339 -339
- package/quills/usaf_memo/0.1.0/packages/tonguetoquill-usaf-memo/src/backmatter.typ +28 -28
- package/quills/usaf_memo/0.1.0/packages/tonguetoquill-usaf-memo/src/body.typ +332 -332
- package/quills/usaf_memo/0.1.0/packages/tonguetoquill-usaf-memo/src/config.typ +63 -63
- package/quills/usaf_memo/0.1.0/packages/tonguetoquill-usaf-memo/src/frontmatter.typ +114 -114
- package/quills/usaf_memo/0.1.0/packages/tonguetoquill-usaf-memo/src/indorsement.typ +118 -118
- package/quills/usaf_memo/0.1.0/packages/tonguetoquill-usaf-memo/src/lib.typ +55 -55
- package/quills/usaf_memo/0.1.0/packages/tonguetoquill-usaf-memo/src/mainmatter.typ +32 -32
- package/quills/usaf_memo/0.1.0/packages/tonguetoquill-usaf-memo/src/primitives.typ +272 -272
- package/quills/usaf_memo/0.1.0/packages/tonguetoquill-usaf-memo/src/utils.typ +377 -377
- package/quills/usaf_memo/0.1.0/packages/tonguetoquill-usaf-memo/typst.toml +16 -16
- package/quills/usaf_memo/0.1.0/plate.typ +74 -74
- package/quills/usaf_memo/0.2.0/.quillignore +30 -30
- package/quills/usaf_memo/0.2.0/Quill.yaml +219 -219
- package/quills/usaf_memo/0.2.0/example.md +55 -55
- package/quills/usaf_memo/0.2.0/packages/tonguetoquill-usaf-memo/.gitignore +6 -6
- package/quills/usaf_memo/0.2.0/packages/tonguetoquill-usaf-memo/LICENSE +21 -21
- package/quills/usaf_memo/0.2.0/packages/tonguetoquill-usaf-memo/fonts/Cinzel/LICENSE +93 -93
- package/quills/usaf_memo/0.2.0/packages/tonguetoquill-usaf-memo/fonts/CopperplateCC/LICENSE.md +79 -79
- package/quills/usaf_memo/0.2.0/packages/tonguetoquill-usaf-memo/fonts/NimbusRomanNo9L/GNU General Public License.txt +339 -339
- package/quills/usaf_memo/0.2.0/packages/tonguetoquill-usaf-memo/src/backmatter.typ +28 -28
- package/quills/usaf_memo/0.2.0/packages/tonguetoquill-usaf-memo/src/body.typ +333 -333
- package/quills/usaf_memo/0.2.0/packages/tonguetoquill-usaf-memo/src/config.typ +64 -64
- package/quills/usaf_memo/0.2.0/packages/tonguetoquill-usaf-memo/src/frontmatter.typ +114 -114
- package/quills/usaf_memo/0.2.0/packages/tonguetoquill-usaf-memo/src/indorsement.typ +118 -118
- package/quills/usaf_memo/0.2.0/packages/tonguetoquill-usaf-memo/src/lib.typ +55 -55
- package/quills/usaf_memo/0.2.0/packages/tonguetoquill-usaf-memo/src/mainmatter.typ +32 -32
- package/quills/usaf_memo/0.2.0/packages/tonguetoquill-usaf-memo/src/primitives.typ +293 -293
- package/quills/usaf_memo/0.2.0/packages/tonguetoquill-usaf-memo/src/utils.typ +374 -374
- package/quills/usaf_memo/0.2.0/packages/tonguetoquill-usaf-memo/typst.toml +27 -27
- package/quills/usaf_memo/0.2.0/plate.typ +75 -75
- package/templates/af4141.md +88 -88
- package/templates/cmu_letter_template.md +37 -37
- package/templates/daf4392.md +33 -0
- package/templates/loc.md +78 -78
- package/templates/pass_request.md +43 -43
- package/templates/rebuttal.md +55 -55
- package/templates/taro.md +26 -26
- package/templates/templates.json +55 -49
- package/templates/usaf_template.md +23 -23
- package/templates/ussf_template.md +29 -29
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
// lib.typ: Public API for USAF memorandum template
|
|
2
|
-
//
|
|
3
|
-
// This module provides a composable API for creating United States Air Force
|
|
4
|
-
// memorandums that comply with AFH 33-337 "The Tongue and Quill" Chapter 14
|
|
5
|
-
// "The Official Memorandum" formatting standards.
|
|
6
|
-
//
|
|
7
|
-
// AFH 33-337 Chapter 14 specifies exact requirements for:
|
|
8
|
-
// - Margins: 1 inch on all sides (§4)
|
|
9
|
-
// - Font: 12pt Times New Roman (§5)
|
|
10
|
-
// - Date placement: 1.75 inches from top, 1 inch from right (Date section)
|
|
11
|
-
// - Heading elements: MEMORANDUM FOR, FROM, SUBJECT with 2-line spacing
|
|
12
|
-
// - Paragraph numbering: Hierarchical 1., a., (1), (a) format (§2)
|
|
13
|
-
// - Signature block: 4.5 inches from left, never orphaned (Signature Block section)
|
|
14
|
-
// - Backmatter: Attachments, cc:, distribution with specific spacing
|
|
15
|
-
//
|
|
16
|
-
// Key features:
|
|
17
|
-
// - Composable show rules for frontmatter and mainmatter
|
|
18
|
-
// - Function-based backmatter and indorsements for correct ordering
|
|
19
|
-
// - No global state - configuration flows through metadata
|
|
20
|
-
// - Reusable primitives for common rendering tasks
|
|
21
|
-
// - AFH 33-337 compliant formatting throughout
|
|
22
|
-
//
|
|
23
|
-
// Basic usage:
|
|
24
|
-
//
|
|
25
|
-
// #import "@preview/tonguetoquill-usaf-memo:0.2.0": frontmatter, mainmatter, backmatter, indorsement
|
|
26
|
-
//
|
|
27
|
-
// #show: frontmatter.with(
|
|
28
|
-
// subject: "Your Subject Here",
|
|
29
|
-
// memo_for: ("OFFICE/SYMBOL",),
|
|
30
|
-
// memo_from: ("YOUR/SYMBOL",),
|
|
31
|
-
// )
|
|
32
|
-
//
|
|
33
|
-
// #show: mainmatter
|
|
34
|
-
//
|
|
35
|
-
// Your memo body content here.
|
|
36
|
-
// (Paragraphs are automatically numbered per AFH 33-337)
|
|
37
|
-
//
|
|
38
|
-
// #backmatter(
|
|
39
|
-
// signature_block: ("NAME, Rank, USAF", "Title"),
|
|
40
|
-
// attachments: (...),
|
|
41
|
-
// cc: (...),
|
|
42
|
-
// )
|
|
43
|
-
//
|
|
44
|
-
// #indorsement(
|
|
45
|
-
// from: "ORG/SYMBOL",
|
|
46
|
-
// to: "RECIPIENT/SYMBOL",
|
|
47
|
-
// signature_block: ("NAME, Rank, USAF", "Title"),
|
|
48
|
-
// )[
|
|
49
|
-
// Indorsement content here.
|
|
50
|
-
// ]
|
|
51
|
-
|
|
52
|
-
#import "frontmatter.typ": frontmatter
|
|
53
|
-
#import "mainmatter.typ": mainmatter
|
|
54
|
-
#import "backmatter.typ": backmatter
|
|
55
|
-
#import "indorsement.typ": indorsement
|
|
1
|
+
// lib.typ: Public API for USAF memorandum template
|
|
2
|
+
//
|
|
3
|
+
// This module provides a composable API for creating United States Air Force
|
|
4
|
+
// memorandums that comply with AFH 33-337 "The Tongue and Quill" Chapter 14
|
|
5
|
+
// "The Official Memorandum" formatting standards.
|
|
6
|
+
//
|
|
7
|
+
// AFH 33-337 Chapter 14 specifies exact requirements for:
|
|
8
|
+
// - Margins: 1 inch on all sides (§4)
|
|
9
|
+
// - Font: 12pt Times New Roman (§5)
|
|
10
|
+
// - Date placement: 1.75 inches from top, 1 inch from right (Date section)
|
|
11
|
+
// - Heading elements: MEMORANDUM FOR, FROM, SUBJECT with 2-line spacing
|
|
12
|
+
// - Paragraph numbering: Hierarchical 1., a., (1), (a) format (§2)
|
|
13
|
+
// - Signature block: 4.5 inches from left, never orphaned (Signature Block section)
|
|
14
|
+
// - Backmatter: Attachments, cc:, distribution with specific spacing
|
|
15
|
+
//
|
|
16
|
+
// Key features:
|
|
17
|
+
// - Composable show rules for frontmatter and mainmatter
|
|
18
|
+
// - Function-based backmatter and indorsements for correct ordering
|
|
19
|
+
// - No global state - configuration flows through metadata
|
|
20
|
+
// - Reusable primitives for common rendering tasks
|
|
21
|
+
// - AFH 33-337 compliant formatting throughout
|
|
22
|
+
//
|
|
23
|
+
// Basic usage:
|
|
24
|
+
//
|
|
25
|
+
// #import "@preview/tonguetoquill-usaf-memo:0.2.0": frontmatter, mainmatter, backmatter, indorsement
|
|
26
|
+
//
|
|
27
|
+
// #show: frontmatter.with(
|
|
28
|
+
// subject: "Your Subject Here",
|
|
29
|
+
// memo_for: ("OFFICE/SYMBOL",),
|
|
30
|
+
// memo_from: ("YOUR/SYMBOL",),
|
|
31
|
+
// )
|
|
32
|
+
//
|
|
33
|
+
// #show: mainmatter
|
|
34
|
+
//
|
|
35
|
+
// Your memo body content here.
|
|
36
|
+
// (Paragraphs are automatically numbered per AFH 33-337)
|
|
37
|
+
//
|
|
38
|
+
// #backmatter(
|
|
39
|
+
// signature_block: ("NAME, Rank, USAF", "Title"),
|
|
40
|
+
// attachments: (...),
|
|
41
|
+
// cc: (...),
|
|
42
|
+
// )
|
|
43
|
+
//
|
|
44
|
+
// #indorsement(
|
|
45
|
+
// from: "ORG/SYMBOL",
|
|
46
|
+
// to: "RECIPIENT/SYMBOL",
|
|
47
|
+
// signature_block: ("NAME, Rank, USAF", "Title"),
|
|
48
|
+
// )[
|
|
49
|
+
// Indorsement content here.
|
|
50
|
+
// ]
|
|
51
|
+
|
|
52
|
+
#import "frontmatter.typ": frontmatter
|
|
53
|
+
#import "mainmatter.typ": mainmatter
|
|
54
|
+
#import "backmatter.typ": backmatter
|
|
55
|
+
#import "indorsement.typ": indorsement
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
// mainmatter.typ: Mainmatter show rule for USAF memorandum
|
|
2
|
-
//
|
|
3
|
-
// This module implements the mainmatter (body text) of a USAF memorandum per
|
|
4
|
-
// AFH 33-337 Chapter 14 "The Text of the Official Memorandum" (§1-12).
|
|
5
|
-
|
|
6
|
-
#import "primitives.typ": *
|
|
7
|
-
#import "body.typ": *
|
|
8
|
-
|
|
9
|
-
/// Mainmatter show rule for USAF memorandum body content.
|
|
10
|
-
///
|
|
11
|
-
/// AFH 33-337 "The Text of the Official Memorandum" §1-12 requirements:
|
|
12
|
-
/// - Begin text on second line below subject/references
|
|
13
|
-
/// - Single-space text, double-space between paragraphs
|
|
14
|
-
/// - Number and letter each paragraph/subparagraph
|
|
15
|
-
/// - "A single paragraph is not numbered" (§2)
|
|
16
|
-
/// - First paragraph flush left, never indented
|
|
17
|
-
///
|
|
18
|
-
/// Applies AFH 33-337 paragraph numbering and formatting to the main body
|
|
19
|
-
/// of the memorandum. Automatically detects single vs. multiple paragraphs
|
|
20
|
-
/// to comply with AFH 33-337 numbering requirements.
|
|
21
|
-
///
|
|
22
|
-
/// When auto_numbering is false (set in frontmatter), base-level paragraphs
|
|
23
|
-
/// render flush left without numbering. Only explicitly numbered or bulleted
|
|
24
|
-
/// items enter the numbering hierarchy.
|
|
25
|
-
///
|
|
26
|
-
/// - content (content): The body content to render
|
|
27
|
-
/// -> content
|
|
28
|
-
#let mainmatter(it) = context {
|
|
29
|
-
let config = query(metadata).last().value
|
|
30
|
-
let auto-numbering = config.at("auto_numbering", default: true)
|
|
31
|
-
render-body(it, auto-numbering: auto-numbering)
|
|
32
|
-
}
|
|
1
|
+
// mainmatter.typ: Mainmatter show rule for USAF memorandum
|
|
2
|
+
//
|
|
3
|
+
// This module implements the mainmatter (body text) of a USAF memorandum per
|
|
4
|
+
// AFH 33-337 Chapter 14 "The Text of the Official Memorandum" (§1-12).
|
|
5
|
+
|
|
6
|
+
#import "primitives.typ": *
|
|
7
|
+
#import "body.typ": *
|
|
8
|
+
|
|
9
|
+
/// Mainmatter show rule for USAF memorandum body content.
|
|
10
|
+
///
|
|
11
|
+
/// AFH 33-337 "The Text of the Official Memorandum" §1-12 requirements:
|
|
12
|
+
/// - Begin text on second line below subject/references
|
|
13
|
+
/// - Single-space text, double-space between paragraphs
|
|
14
|
+
/// - Number and letter each paragraph/subparagraph
|
|
15
|
+
/// - "A single paragraph is not numbered" (§2)
|
|
16
|
+
/// - First paragraph flush left, never indented
|
|
17
|
+
///
|
|
18
|
+
/// Applies AFH 33-337 paragraph numbering and formatting to the main body
|
|
19
|
+
/// of the memorandum. Automatically detects single vs. multiple paragraphs
|
|
20
|
+
/// to comply with AFH 33-337 numbering requirements.
|
|
21
|
+
///
|
|
22
|
+
/// When auto_numbering is false (set in frontmatter), base-level paragraphs
|
|
23
|
+
/// render flush left without numbering. Only explicitly numbered or bulleted
|
|
24
|
+
/// items enter the numbering hierarchy.
|
|
25
|
+
///
|
|
26
|
+
/// - content (content): The body content to render
|
|
27
|
+
/// -> content
|
|
28
|
+
#let mainmatter(it) = context {
|
|
29
|
+
let config = query(metadata).last().value
|
|
30
|
+
let auto-numbering = config.at("auto_numbering", default: true)
|
|
31
|
+
render-body(it, auto-numbering: auto-numbering)
|
|
32
|
+
}
|