WoodcoreMake the numbers vibe

Woodcore 0.111.0

0.111 — Three documents per project: the service criteria agreement, the basis of design and the statical report

New

  • A project is written as three documents. The service criteria agreement (Nutzungsvereinbarung, convention d'utilisation, the agreement on the conditions of use SIA 260 describes), the basis of design (Projektbasis, base de projet) and the statical report — the report you already write, which changes neither its name nor its content and becomes the third. Each has its own folder at the top of the project, named in the project's language:
    • English: 1_Service criteria agreement, 2_Basis of design, 3_Statical report;
    • French: 1_Convention d'utilisation, 2_Base de projet, 3_Rapport de statique;
    • German: 1_Nutzungsvereinbarung, 2_Projektbasis, 3_Statischer Bericht.
    • In «New project» the three names are offered and can be edited; they replace the question about the report's single folder.
  • A drop-down at the top of the navigation chooses the document shown. The report shows every tab it had; the service criteria agreement and the basis of design show the positions, the position plan, their own journal, the variables and the commands. Woodcore remembers, for each project, the document last shown. A project still laid out as a single report has no drop-down.
  • One PDF per document, beside its .typ file. Export PDF exports the document shown; Export all three exports the three. On the command line: woodcore-cli export --document cu|bp|rs|all.
  • A document is compiled again only if its Typst changed since its PDF. Woodcore asks Typst what it read, keeps a fingerprint of the content — never a modification time — in _woodcore/stamps/, and an unchanged document is neither compiled nor archived; the status bar says «unchanged since its PDF». --force compiles it all the same.
  • One journal per document: each prints its own revision history, and the Journal tab follows the document shown. Each document also has its own archive (<timestamp>-<document>.zip, RFEM exports included).
  • The Variables tab lists the values of the three documents and of the export, each marked with the document it comes from (Export, CU, BP, RS).
  • Existing projects are migrated, with a proof. When a project laid out as a single report is opened, Woodcore offers to migrate it: Migrate now or Later. The migration renames and neither copies nor deletes anything: it writes a backup and a log first, in _Archiv/migration-…/, compares the report before and after — the export and the PDF's pages, its outline and its variables — and undoes everything at the first difference. woodcore-cli migrate --dry-run shows what it would do; --rollback undoes it afterwards.
  • ⚠️ In this version the service criteria agreement and the basis of design are skeletons: a title page, a «General» chapter with one «Purpose» section, and the revision history. Their full content — sections, load tables, templates — comes in the following versions.

What changes in your reports

  • The text of your report does not change. The report keeps its entry file, Statischer Rapport.typ, its PDF and its sections.
  • Files change place in a migrated project: the report's folder becomes 3_…, and _woodcore/, Images/, RFEM-Export/, config.typ, commands.typ and references.bib move up to the project's folder, which Typst now takes for its root.
  • Imports are written from the root: #import "/commands.typ": * instead of #import "../commands.typ": *, and image("/Images/…"). The migration rewrites those of your files; a file you write by hand follows the same rule.
  • The path of an RFEM export changes (RFEM-Export/…, at the top of the project) and Woodcore updates it in the project. It is the only difference the migration's proof allows.
  • A project you do not migrate does not change at all: it is compiled, exported and archived as before, with a single document.
  • The engine of your projects becomes older, so Woodcore offers to update it the next time you open them; the migration does it first, if you accept.

To do

  • Accept the migration when Woodcore offers it for an existing project: it takes about a minute. Answering Later lets you keep working as before, with a banner offering «Migrate…».
  • Open VS Code on the project's folder («Open in VS Code» does): it is Typst's root, and /commands.typ resolves only from it. Opening a single document's folder gives «file not found».
  • Pin the entry file of the document you are writing («Typst: Pin the main file»), one at a time; otherwise each section compiles on its own and exports a stray PDF.
  • When you create a new project, check the three folder names offered.