Class: Glossarist::NonVerbRep

Inherits:
NonConceptEntity show all
Defined in:
lib/glossarist/non_verb_rep.rb

Overview

A concept-local non-verbal representation (ISO 10241-1 §6.5).

NonVerbRep is the inline form attached directly to a concept's data. The dataset-shared form is Figure / Table / Formula. The two share the same a11y + provenance payload via NonConceptEntity; NonVerbRep differs only in that it has no dataset-wide identity (no id, no identifier) — its identity is its position inside the parent concept.

Note on terminology (PROMPT-NOW P3):

NonVerbRep IS a non-verbal representation — it's a designation
(a way of expressing a concept, distinct from verbal designation
like terms). It is NOT a non-concept entity (which is a Figure /
Table / Formula standalone). Both happen to inherit from
NonConceptEntity for the shared a11y + provenance payload; the
name NonVerbRep preserves the modality distinction.

type discriminates the kind of non-verbal content: "image", "table", or "formula". When type is "image", images carries one or more FigureImage variants (responsive, format fallback, dark/light). The caption/description/alt fields are localized (hash keyed by ISO 639 code) for accessibility.

Method Summary

Methods inherited from NonConceptEntity

#all_ids, #find_by_id, from_file