Files
business-suite/package.json
T
Marc WäckerlinandClaude Opus 5.5 d7aac52ac7 1.0.2: converter searches no subfolders, safer filters, forms, links and watermark
A document at the root of a checkout of 68377 folders needed 56 minutes,
because the converter named the suite, the document folder and the build folder
with `//` in TEXINPUTS; it now names them without recursion and the same
document converts in 11.5 seconds. A file below the document no longer replaces
a package of TeX Live.

The security review of the pending changes found four defects, each fixed with
a test proven red against the old files and green against the new ones twice:
an HTML table read in an empty sandbox, so an iframe opens no address; form
labels written through the LaTeX writer, so they are set as text; the form
pattern scans a line once instead of quadratically; a kept build folder no
longer lays the links of an earlier drawing over a new one. The form tests
remove the PDF of an earlier run before each conversion.

Also carried: forms out of Markdown, link colours from the company, clickable
links in prose, HTML tables and SVG drawings, the watermark, and the further
changes of 1.0.1 and 1.0.2 in the CHANGELOG.

npm test: 1232 of 1232 checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 12:14:55 +01:00

28 lines
1.4 KiB
JSON

{
"name": "business-suite",
"version": "1.0.2",
"description": "Generic LaTeX template suite: document, letter and presentation, configured by a corporate identity",
"scripts": {
"build": "npm run build:example && npm run build:markdown",
"build:example": "npm run build:file -- examples/sample.tex examples/logo-example.tex examples/letter.tex examples/presentation.tex",
"build:markdown": "npm run md2pdf -- --identity nordwind examples/report.md",
"build:file": "TEXINPUTS=\".//:$PWD/texmf//:\" latexmk -cd -emulate-aux-dir -auxdir=build -outdir=. -xelatex -synctex=1 -interaction=nonstopmode -file-line-error",
"preview": "pdftoppm -png -r 110 examples/sample.pdf examples/build/sample-page",
"md2pdf": "python3 bin/md2pdf.py",
"test": "npm run test:origin && npm run test:identity && npm run test:layout && npm run test:md2pdf && npm run test:forms && npm run test:logs",
"test:origin": "python3 tests/origin.py",
"test:identity": "python3 tests/identity.py",
"test:layout": "python3 tests/layout.py",
"test:md2pdf": "python3 tests/md2pdf.py",
"test:forms": "python3 tests/forms.py",
"test:logs": "python3 tests/logs.py",
"clean": "latexmk -C -cd examples/sample.tex && rm -rf examples/build tests/build"
},
"repository": {
"type": "git",
"url": "https://mrw.dev/templates/business-suite.git"
},
"author": "Marc Wäckerlin",
"license": "MIT"
}