@tonguetoquill/collection 0.13.0 → 0.13.2
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/package.json +2 -2
- package/quills/classic_resume/0.1.0/plate.typ +3 -3
- package/quills/cmu_letter/0.1.0/plate.typ +2 -2
- package/quills/daf1206/0.1.0/DAFForm_1206_prepared.pdf +0 -0
- package/quills/daf1206/0.1.0/Quill.yaml +12 -9
- package/quills/daf1206/0.1.0/example.md +3 -3
- package/quills/daf1206/0.1.0/packages/typst-daf1206/form.typ +1 -1
- package/quills/daf1206/0.1.0/packages/typst-daf1206/lib.typ +39 -12
- package/quills/daf1206/0.1.0/packages/typst-daf1206/page1.svg +826 -0
- package/quills/daf1206/0.1.0/packages/typst-daf1206/page2.svg +497 -0
- package/quills/daf1206/0.1.0/plate.typ +35 -15
- package/quills/daf4392/0.1.0/plate.typ +2 -2
- package/quills/usaf_memo/0.1.0/plate.typ +3 -3
- package/quills/usaf_memo/0.2.0/plate.typ +3 -3
- package/templates/templates.json +1 -1
- package/quills/daf1206/0.1.0/packages/typst-daf1206/form.pdf +0 -0
- package/quills/daf1206/0.1.0/packages/typst-daf1206/page1.png +0 -0
- package/quills/daf1206/0.1.0/packages/typst-daf1206/page2.png +0 -0
- package/quills/taro/0.1.0/Quill.yaml +0 -30
- package/quills/taro/0.1.0/assets/Figtree-Bold.ttf +0 -0
- package/quills/taro/0.1.0/assets/Figtree-Italic.ttf +0 -0
- package/quills/taro/0.1.0/assets/Figtree-Regular.ttf +0 -0
- package/quills/taro/0.1.0/example.md +0 -27
- package/quills/taro/0.1.0/plate.typ +0 -31
|
@@ -3,26 +3,46 @@
|
|
|
3
3
|
|
|
4
4
|
#set text(font: "Arimo")
|
|
5
5
|
|
|
6
|
-
//
|
|
6
|
+
// Map snake_case Quill `data` keys to generated `form.typ` parameter names.
|
|
7
7
|
#let vals = (:)
|
|
8
8
|
|
|
9
|
-
// --- Admin fields (page 1 header) ---
|
|
10
9
|
#if "award" in data { vals.insert("AWARD", data.award) }
|
|
11
|
-
#if "
|
|
10
|
+
#if "category_if_applicable" in data { vals.insert("CATEGORY_If_Applicable", data.category_if_applicable) }
|
|
12
11
|
#if "award_period" in data { vals.insert("AWARD_PERIOD", data.award_period) }
|
|
13
|
-
|
|
14
12
|
#if "rankname_of_nominee" in data { vals.insert("RANKNAME_OF_NOMINEE_First_Middle_Initial_Last", data.rankname_of_nominee) }
|
|
15
|
-
#if "rankname_of_nominee" in data { vals.insert("RANKNAME_OF_NOMINEE_First_Middle_Initial_Last_2", data.rankname_of_nominee) }
|
|
16
|
-
|
|
17
13
|
#if "majcom_fldcom_foa_or_dru" in data { vals.insert("MAJCOM_FLDCOM_FOA_OR_DRU", data.majcom_fldcom_foa_or_dru) }
|
|
18
|
-
#if "
|
|
19
|
-
#if "
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
14
|
+
#if "dafsc_duty_title" in data { vals.insert("DAFSCDUTY_TITLE", data.dafsc_duty_title) }
|
|
15
|
+
#if "nominees_telephone_dsn_commercial" in data {
|
|
16
|
+
vals.insert("NOMINEES_TELEPHONE__DSN__Commercial", data.nominees_telephone_dsn_commercial)
|
|
17
|
+
}
|
|
18
|
+
#if "unit_office_symbol_street_address_base_state_zip" in data {
|
|
19
|
+
vals.insert(
|
|
20
|
+
"UNITOFFICE_SYMBOLSTREET_ADDRESSBASESTATEZIP_CODE",
|
|
21
|
+
data.unit_office_symbol_street_address_base_state_zip,
|
|
22
|
+
)
|
|
23
|
+
}
|
|
24
|
+
#if "unit_commander_rank_name_and_telephone" in data {
|
|
25
|
+
vals.insert(
|
|
26
|
+
"RANKNAME_OF_UNIT_COMMANDER_First_Middle_Initial_LastCOMMANDERS_TELEPHONE_DSN__Commercial",
|
|
27
|
+
data.unit_commander_rank_name_and_telephone,
|
|
28
|
+
)
|
|
29
|
+
}
|
|
30
|
+
#if "accomplishments" in data {
|
|
31
|
+
vals.insert(
|
|
32
|
+
"SPECIFIC_ACCOMPLISHMENTS_Use_Performance_Statements_IAW_DAFMAN_362806",
|
|
33
|
+
data.accomplishments,
|
|
34
|
+
)
|
|
35
|
+
}
|
|
36
|
+
#if "rankname_of_nominee_page_2" in data {
|
|
37
|
+
vals.insert("RANKNAME_OF_NOMINEE_First_Middle_Initial_Last_2", data.rankname_of_nominee_page_2)
|
|
38
|
+
} else if "rankname_of_nominee" in data {
|
|
39
|
+
vals.insert("RANKNAME_OF_NOMINEE_First_Middle_Initial_Last_2", data.rankname_of_nominee)
|
|
40
|
+
}
|
|
41
|
+
#if "accomplishments_continued" in data {
|
|
42
|
+
vals.insert(
|
|
43
|
+
"SPECIFIC_ACCOMPLISHMENTS_Use_Performance_Statements_IAW_DAFMAN_362806_Continued",
|
|
44
|
+
data.accomplishments_continued,
|
|
45
|
+
)
|
|
46
|
+
}
|
|
26
47
|
|
|
27
|
-
// Render the form with assembled values
|
|
28
48
|
#form(..vals)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#import "@local/quillmark-helper:0.1.0": data
|
|
1
|
+
#import "@local/quillmark-helper:0.1.0": data
|
|
2
2
|
|
|
3
3
|
#set page(width: 8.5in, height: 11in, margin: 0in)
|
|
4
4
|
#set text(font: "Arimo", size: 10pt)
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
} else {
|
|
76
76
|
emergency_phone
|
|
77
77
|
}
|
|
78
|
-
tf(40pt, 700pt)[#text(size: 10pt, weight: "bold")[EMERGENCY CONTACT:] #text(size: 10pt)[#
|
|
78
|
+
tf(40pt, 700pt)[#text(size: 10pt, weight: "bold")[EMERGENCY CONTACT:] #text(size: 10pt)[#emergency_contact]]
|
|
79
79
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#import "@local/quillmark-helper:0.1.0": data,
|
|
1
|
+
#import "@local/quillmark-helper:0.1.0": data, parse-date
|
|
2
2
|
#import "@local/tonguetoquill-usaf-memo:1.0.0": backmatter, frontmatter, indorsement, mainmatter
|
|
3
3
|
|
|
4
4
|
// Frontmatter configuration
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
// Mainmatter configuration
|
|
40
40
|
#mainmatter[
|
|
41
|
-
#
|
|
41
|
+
#data.BODY
|
|
42
42
|
]
|
|
43
43
|
|
|
44
44
|
// Backmatter
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
format: card.at("format", default: "standard"),
|
|
69
69
|
..if "date" in card { (date: card.date) },
|
|
70
70
|
)[
|
|
71
|
-
#
|
|
71
|
+
#card.BODY
|
|
72
72
|
]
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#import "@local/quillmark-helper:0.1.0": data,
|
|
1
|
+
#import "@local/quillmark-helper:0.1.0": data, parse-date
|
|
2
2
|
#import "@local/tonguetoquill-usaf-memo:2.0.0": backmatter, frontmatter, indorsement, mainmatter
|
|
3
3
|
|
|
4
4
|
// Frontmatter configuration
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
// Mainmatter configuration
|
|
40
40
|
#mainmatter[
|
|
41
|
-
#
|
|
41
|
+
#data.BODY
|
|
42
42
|
]
|
|
43
43
|
|
|
44
44
|
// Backmatter
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
..if "date" in card { (date: card.date) },
|
|
70
70
|
..if "action" in card { (action: card.action) },
|
|
71
71
|
)[
|
|
72
|
-
#
|
|
72
|
+
#card.BODY
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
75
|
}
|
package/templates/templates.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
Quill:
|
|
2
|
-
name: taro
|
|
3
|
-
version: 0.1.0
|
|
4
|
-
backend: typst
|
|
5
|
-
plate_file: plate.typ
|
|
6
|
-
example_file: example.md
|
|
7
|
-
description: A simple document template for testing
|
|
8
|
-
|
|
9
|
-
main:
|
|
10
|
-
fields:
|
|
11
|
-
author:
|
|
12
|
-
title: Author of document
|
|
13
|
-
type: string
|
|
14
|
-
ice_cream:
|
|
15
|
-
title: favorite ice cream flavor
|
|
16
|
-
type: string
|
|
17
|
-
default: taro
|
|
18
|
-
title:
|
|
19
|
-
title: title of document
|
|
20
|
-
type: string
|
|
21
|
-
|
|
22
|
-
cards:
|
|
23
|
-
quotes:
|
|
24
|
-
title: Inspirational Quotes
|
|
25
|
-
description: A collection of quotes about taro ice cream
|
|
26
|
-
fields:
|
|
27
|
-
author:
|
|
28
|
-
title: Quote author
|
|
29
|
-
type: string
|
|
30
|
-
description: The person who said this quote
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
QUILL: taro@0.1
|
|
3
|
-
author: Nibs
|
|
4
|
-
ice_cream: Taro
|
|
5
|
-
title: "My Favorite Ice Cream Flavor"
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
I love Taro ice cream for its subtly sweet, nutty flavor and creamy, earthy undertones that set it apart from more common flavors. Its unique purple hue and smooth texture make it both visually striking and deliciously comforting. Here are some quotes from satisfied customers:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
CARD: quotes
|
|
13
|
-
author: Albert Einstein
|
|
14
|
-
---
|
|
15
|
-
Without taro ice cream, life would be a mistake.
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
CARD: quotes
|
|
19
|
-
author: Friedrich Nietzsche
|
|
20
|
-
---
|
|
21
|
-
He who has taro ice cream in his heart will never be alone.
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
CARD: quotes
|
|
25
|
-
author: Mark Twain
|
|
26
|
-
---
|
|
27
|
-
The secret of getting ahead is getting started... with taro ice cream.
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
#import "@local/quillmark-helper:0.1.0": data, eval-markup, parse-date
|
|
2
|
-
|
|
3
|
-
#set text(font: "Figtree")
|
|
4
|
-
|
|
5
|
-
// Advanced: Use show filter to color text
|
|
6
|
-
#show regex("(?i)taro"): it => text(fill: purple)[#it]
|
|
7
|
-
|
|
8
|
-
// Filters like `String` render to code mode automatically,
|
|
9
|
-
#underline(data.title)
|
|
10
|
-
|
|
11
|
-
// When using filters in markup mode,
|
|
12
|
-
// add `#` before the template expression to enter code mode.
|
|
13
|
-
*Author: #data.author*
|
|
14
|
-
|
|
15
|
-
*Favorite Ice Cream: #data.ice_cream*__
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
#eval-markup(data.BODY)
|
|
19
|
-
|
|
20
|
-
// Present each sub-document programatically
|
|
21
|
-
#for card in data.CARDS {
|
|
22
|
-
if card.CARD == "quotes" [
|
|
23
|
-
*#card.author*: _#eval-markup(card.BODY)_
|
|
24
|
-
]
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
// Include an image with a dynamic asset
|
|
29
|
-
#if "picture" in data {
|
|
30
|
-
image(data.picture)
|
|
31
|
-
}
|