Skip to content

Cosma 2.2.0

Choose a tag to compare

@infologie infologie released this 18 Nov 15:41
· 277 commits to publish since this release

Additions

  • New configuration setting: citations_as_nodes. When set to true, this setting modifies the behavior of the --citeproc option of cosma modelize, making it so that bibliographic references become nodes in the graph: each cited reference is treated as a node and each citation is treated as a link; for each cited reference, a bibliographic record is automatically generated in the cosmoscope; each bibliographic record is presented with contextualized backlinks which correspond to citations of that bibliographic reference in other records.

To use this new feature, you must do three things:

  1. set citations_as_nodes to true in the project's configuration;
  2. define a value for references_type_label (this is a new setting introduced alongside citations_as_nodes in this release);
  3. create a record type with the same name as the value for references_type_label.

For instance:

citations_as_nodes: true
references_type_label: "référence"
record_types:
  référence:
    stroke: "#6C6C6C"
    fill: "#6C6C6C"

(You can replace “référence” with whatever you want.)

Then run cosma modelize --citeproc as usual to generate the cosmoscope.

Improvements

  • When a record has no value for a particular metadata field (e.g. no keywords), that field is hidden from the record in the cosmoscope.