Packages
What it is about
Section titled “What it is about”A package (.nhfp) contains a realm or a U-line losslessly: NL and NR, all anchors and versions, names, Outline and attachments including their files. Packages are meant for exchange between NhyFlow installations – for moving, backing up individual areas and passing on.
The difference from the export: the export makes documents for people, a package transfers the structure for NhyFlow.
This is especially important if someone is to continue your work in NhyFlow. A Markdown export can be split up again via the Loading Station, but it does not automatically contain the original versions, attachment versions and the whole NhyFlow structure. Use a package for this purpose.
A package file is not a complete database backup. It transfers selected areas and does not contain, for example, the Journal of the source database.
Exporting
Section titled “Exporting”Export page → card “Package (lossless, for NhyFlow)”: choose a realm, then “Whole realm” or a U-line, “Save package…”.
Loading
Section titled “Loading”Loading Station → choose package file → target → “Test” → “Load”.
- A realm package always becomes a new realm.
- A U-line package goes into a new U-line or into an empty existing one.
- If a name is already taken, NhyFlow suggests “Name (2)”.
- Anything occupied is never overwritten. Damaged packages are rejected before anything is written.
In Free you can load a U-line package into a free U-line of your user realm. A realm package, on the other hand, would create a new realm. So before loading, take the license limits and the existing content into account. For an exercise, an exchange or a return, a U-line package is often the simpler choice.
Trying out a demo package
Section titled “Trying out a demo package”Ready-made demo packages show what a work that has grown over time looks like in NhyFlow – with versions, notes in NR, Outline and attachments. It is best to load them into a separate demo database. This keeps your working database untouched, and there is room even with Free: a new database does not have a user realm yet, so the demo package becomes its first.
- End the current session (symbol at the top right, “End session”) if you are working in a database.
- Start page → “Standalone” tab: choose a new folder, for example “NhyFlow-Demo”, then “Create new”.
- “Loading Station” page → “Choose Markdown file or package…” → select the package file (
.nhfp). - Check the suggested target, “Test”, then “Load”.
- Look around in the Workspace: open older versions, read NR, look at the Outline, open attachments.
You get back to your own work via “End session” and the start page: there you open your usual folder again. If you no longer need the demo, simply delete its folder.
Demo packages contain no DB links between different passages. Where a reference would make sense, there is a note in NR – you set the link yourself (chapter 16 DB links). This is also a good exercise.
Example: editing without a server
Section titled “Example: editing without a server”The author exports his book as a U-line package and sends the file. The editor loads it, writes notes in NR and creates new versions, exports and sends it back. The author loads the returned package as a new U-line – his original stays unchanged – and uses Compare (chapter 14 Compare) to see what has changed.
Fig. 8: Editing without a server. The package files transfer the U-line between the databases. The returned package is loaded separately and compared with the original.
Good to know
Section titled “Good to know”The Journal (who wrote what and when) does not travel with the package; it belongs to the source database.
