latex-kit 0.5.0 → 0.6.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.
- package/README.md +1 -1
- package/boilerplates.d.ts +14 -1
- package/boilerplates.js +200 -2
- package/build.d.ts +12 -1
- package/build.js +16 -3
- package/cli.js +2 -2
- package/config.d.ts +8 -1
- package/esm/boilerplates.d.ts +14 -1
- package/esm/boilerplates.js +196 -1
- package/esm/build.d.ts +12 -1
- package/esm/build.js +16 -3
- package/esm/cli.js +2 -2
- package/esm/config.d.ts +8 -1
- package/esm/form.d.ts +30 -0
- package/esm/form.js +39 -0
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/paper-style.d.ts +10 -0
- package/esm/paper-style.js +10 -0
- package/esm/project-commands.js +19 -2
- package/esm/scaffold.d.ts +2 -1
- package/esm/scaffold.js +1 -1
- package/esm/usage.js +18 -3
- package/form.d.ts +30 -0
- package/form.js +43 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +6 -6
- package/paper-style.d.ts +10 -0
- package/paper-style.js +13 -0
- package/project-commands.js +18 -1
- package/scaffold.d.ts +2 -1
- package/scaffold.js +1 -1
- package/usage.js +18 -3
package/usage.js
CHANGED
|
@@ -8,7 +8,10 @@ Usage
|
|
|
8
8
|
|
|
9
9
|
Start
|
|
10
10
|
init [dir] A new project: a letter template, data and a record
|
|
11
|
-
init [dir] --paper A paper
|
|
11
|
+
init [dir] --paper A paper in the Constructive whitepaper style (TikZ,
|
|
12
|
+
PSTricks, highlighted TypeScript listings, IEEE
|
|
13
|
+
references) with CI and release-on-tag; --preset plain
|
|
14
|
+
for a minimal LuaLaTeX paper
|
|
12
15
|
new template <name> A template folder with template.tex and schema.ts
|
|
13
16
|
new document <name> --template <t>
|
|
14
17
|
A record with every required field, linked to its schema
|
|
@@ -47,7 +50,7 @@ Options
|
|
|
47
50
|
-o, --out <dir> Output directory, relative to --root (default: out)
|
|
48
51
|
-e, --engine <name> auto (default), lualatex, xelatex, pdflatex or pdfps
|
|
49
52
|
--root <dir> Directory TeX can see (default: current directory)
|
|
50
|
-
--image <ref> Docker image (default: pinned
|
|
53
|
+
--image <ref> Docker image (default: pinned constructiveio/latex-kit)
|
|
51
54
|
--platform <os/arch> Docker --platform (default: native)
|
|
52
55
|
--local Use latexmk on PATH instead of Docker (not pinned)
|
|
53
56
|
--source-date-epoch <s> Build timestamp in seconds since 1970
|
|
@@ -83,18 +86,30 @@ Options
|
|
|
83
86
|
comma-separated, * matches anything: --only 'nda-*'
|
|
84
87
|
--locale <tag> Build in another locale (dates, numbers, bilingual
|
|
85
88
|
order); writes <document>-<tag>.pdf
|
|
89
|
+
--blanks <style> How a blank prints, for --variant blank:
|
|
90
|
+
labelled (default) the field's name on a line
|
|
91
|
+
lines an empty line to write on
|
|
92
|
+
names the name in brackets; writes <name>-names.pdf
|
|
93
|
+
--highlight Drafts: print every filled-in value in red, to review
|
|
94
|
+
what came from the record; writes <name>-highlight.pdf
|
|
95
|
+
--missing <how> Drafts: a missing value prints as a red marker
|
|
96
|
+
(default) or as a blank to fill in: --missing blank
|
|
86
97
|
--signatures <dir> Signature images for --variant signed
|
|
87
98
|
--strict Fail on missing values in drafts too
|
|
88
99
|
--force Rebuild even if the PDF is up to date
|
|
89
100
|
-e, --engine <name> auto (default), lualatex, xelatex, pdflatex or pdfps
|
|
90
101
|
--local Use latexmk on PATH instead of Docker
|
|
91
102
|
--image <ref> Docker image (default: latex-kit.lock, else the pinned
|
|
92
|
-
|
|
103
|
+
constructiveio/latex-kit on Docker Hub)
|
|
93
104
|
--verify Build twice and fail unless the PDFs are identical
|
|
94
105
|
--tex-only Write the .tex without running TeX
|
|
95
106
|
--json JSON results on stdout
|
|
96
107
|
--root <dir> Project folder (default: current directory)
|
|
97
108
|
|
|
109
|
+
When a template marks spots to sign or fill in (\\signature blocks do, and
|
|
110
|
+
\\formfield[type=…,who=…]{…} marks your own), the build also writes
|
|
111
|
+
<document>.form.json: each spot's page and position, for signing tools.
|
|
112
|
+
|
|
98
113
|
A build is skipped ("unchanged") when the last PDF came from exactly the
|
|
99
114
|
same .tex, template folder, engine, image and build date.
|
|
100
115
|
`;
|