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/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: main.tex, refs.bib and a GitHub Actions workflow
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 ghcr.io/constructive-io/latex-kit)
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
- ghcr.io/constructive-io/latex-kit)
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
  `;