postext-cli 1.77.0 → 1.78.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
@@ -40,6 +40,7 @@ postext docx book.postext -o book.docx
40
40
  postext import-docx manuscript.docx -o manuscript/
41
41
  postext idml book.postext -o out/book.idml --fonts # InDesign package, fonts beside it
42
42
  postext import-idml book.idml -o book/ --report # an InDesign document (IDML) as a new book
43
+ postext import-idml package.zip -o book.postext # a zipped InDesign package, with its fonts and pictures
43
44
  postext pack book/ -o book.postext
44
45
  postext unpack book.postext -o book/
45
46
  postext info book.postext --pages
@@ -55,7 +56,7 @@ A book is any of:
55
56
 
56
57
  `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). `postext build --idml FILE` writes the same package beside the other outputs, with `--idml-images`, `--idml-lines` and `--idml-fonts`.
57
58
 
58
- `postext import-idml` reads an InDesign Markup package (an `.indd` is not read: save it as InDesign Markup first) and writes a new book, a folder or a `.postext`, as composed pages that follow the document or as a flowing book (`--layout auto|pages|flow`). A book exported from Postext comes back with the same lines; a document made in InDesign is read with losses, which the summary counts and `--report` lists. Linked pictures are read from `--links`, or from beside the file and its `Links/`.
59
+ `postext import-idml` reads an InDesign Markup package (an `.indd` is not read: save it as InDesign Markup first) and writes a new book, a folder or a `.postext`, as composed pages that follow the document or as a flowing book (`--layout auto|pages|flow`). A book exported from Postext comes back with the same lines; a document made in InDesign is read with losses, which the summary counts and `--report` lists. The file may also be a zipped InDesign package (the folder File › Package makes, zipped, with Include IDML ticked): its IDML is imported with the pictures of its `Links/` and the font files of its `Document fonts/`, which the book carries (`--document PATH` names the IDML when the zip holds several; an `.indd` alone is refused). Linked pictures are read from `--links` first, then from the package, then from beside the file and its `Links/`; with a package, a face found in `--font-dir` is carried instead of the package's.
59
60
 
60
61
  `--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.
61
62
 
package/bin/readme.txt CHANGED
@@ -1,4 +1,4 @@
1
- postext command line 1.77.0
1
+ postext command line 1.78.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.77.0
25
+ or a given version: https://github.com/drnachio/postext/releases/tag/v1.78.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.77.0",
3
+ "version": "1.78.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.77.0",
31
- "postext-cli-macos-x64": "1.77.0",
32
- "postext-cli-linux-x64": "1.77.0",
33
- "postext-cli-linux-arm64": "1.77.0",
34
- "postext-cli-linux-x64-musl": "1.77.0",
35
- "postext-cli-windows-x64": "1.77.0"
30
+ "postext-cli-macos-arm64": "1.78.0",
31
+ "postext-cli-macos-x64": "1.78.0",
32
+ "postext-cli-linux-x64": "1.78.0",
33
+ "postext-cli-linux-arm64": "1.78.0",
34
+ "postext-cli-linux-x64-musl": "1.78.0",
35
+ "postext-cli-windows-x64": "1.78.0"
36
36
  }
37
37
  }