postext-cli 1.74.0 → 1.76.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 CHANGED
@@ -38,6 +38,7 @@ postext image book.postext --page 12 -o p12.png
38
38
  postext images book.postext --pages 1-10 -o pages/ --dpi 100 -f webp
39
39
  postext docx book.postext -o book.docx
40
40
  postext import-docx manuscript.docx -o manuscript/
41
+ postext idml book.postext -o out/book.idml --fonts # InDesign package, fonts beside it
41
42
  postext pack book/ -o book.postext
42
43
  postext unpack book.postext -o book/
43
44
  postext info book.postext --pages
@@ -51,6 +52,8 @@ A book is any of:
51
52
  - an unpacked book folder, with its `preset.json`, chapters, resources and fonts;
52
53
  - loose Markdown files, one chapter each, in the order given (a folder: its `.md` files by name), with an optional `--config` JSON, a `--resources` folder of pictures (each named by its file name, or described in a `resources.json`) and a `--fonts` folder.
53
54
 
55
+ `postext idml` writes the laid-out pages as an InDesign Markup package with the [`postext-idml`](https://www.npmjs.com/package/postext-idml) package: `--images embed|link` keeps the pictures inside the file or puts them beside it in `Links/`, `--lines keep|reflow` ends every line where Postext ended it (`keep`, the default) or leaves the paragraphs to InDesign's composer, and `--fonts` writes the font files of the faces used beside the package, in `Document fonts/` (`-o` has to name a file; a family the book may not redistribute is left out, with a warning).
56
+
54
57
  `--set path=value` changes one setting without editing the book (`--set page.dpi=150`, `--set bodyText.fontFamily=Lora`), and `--chapters 2-4` lays out part of it.
55
58
 
56
59
  ### Fonts
package/bin/readme.txt CHANGED
@@ -1,4 +1,4 @@
1
- postext command line 1.74.0
1
+ postext command line 1.76.0
2
2
  ===========================
3
3
 
4
4
  One self-contained executable per system: no installation, no runtime and
@@ -22,7 +22,7 @@ Download the latest (every release of postext publishes them):
22
22
 
23
23
  e.g. https://github.com/drnachio/postext/releases/latest/download/postext-linux-x64
24
24
 
25
- or a given version: https://github.com/drnachio/postext/releases/tag/v1.74.0
25
+ or a given version: https://github.com/drnachio/postext/releases/tag/v1.76.0
26
26
  SHA256SUMS lists the checksum of each file.
27
27
 
28
28
  Install
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postext-cli",
3
- "version": "1.74.0",
3
+ "version": "1.76.0",
4
4
  "license": "MIT",
5
5
  "homepage": "https://postext.dev/",
6
6
  "repository": {
@@ -27,11 +27,11 @@
27
27
  "bin/readme.txt"
28
28
  ],
29
29
  "optionalDependencies": {
30
- "postext-cli-macos-arm64": "1.74.0",
31
- "postext-cli-macos-x64": "1.74.0",
32
- "postext-cli-linux-x64": "1.74.0",
33
- "postext-cli-linux-arm64": "1.74.0",
34
- "postext-cli-linux-x64-musl": "1.74.0",
35
- "postext-cli-windows-x64": "1.74.0"
30
+ "postext-cli-macos-arm64": "1.76.0",
31
+ "postext-cli-macos-x64": "1.76.0",
32
+ "postext-cli-linux-x64": "1.76.0",
33
+ "postext-cli-linux-arm64": "1.76.0",
34
+ "postext-cli-linux-x64-musl": "1.76.0",
35
+ "postext-cli-windows-x64": "1.76.0"
36
36
  }
37
37
  }