-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken Metanorma smart terms referencing #10
Comments
Will be fixed in metanorma/metanorma-iec#113. |
This is ... kind of fixed; what we get now is:
Which I'm going to emend to
What this should be rendered as is
But that is going to require markup which presumably is not in the source YAML. |
I'm going to assign this to you @ronaldtse because the needed intervention in IEV source is beyond me. |
@opoudjis your example seems rather different from mine...? What is the correct syntax? I just want |
You're already getting "just
However, the CORRECT markup, which is intended by the authors, but not marked up as such, is to indicate that the preceding text "degraded state" is the rendered text:
which is reflected in the lack of italics for degraded state. In fact, in this instance we can detect that this is a related term, and mark it up correctly. I'm going to go ahead and do so. But in general we can't. That is a fault of the YAML having insufficient markup. |
When the Glossarist YAML format was born, Metanorma did not have terms referencing. This is simply a task to back propagate this syntax to the IEV cleaner at the "iev-data" gem. |
Original source:
==== degradation detrimental change in ability to meet requirements SEE: degraded state ({{<<IEV:192-02-25>>,192-02-25}}). NOTE: Degradation may occur with storage or use, brought about by internal processes or effects of the environment. NOTE: Degradation beyond specified limits may constitute a degraded state or failure. NOTE: In a system context, degradation may also be caused by failures within the system.
The syntax is correct.
Rendered:
The text was updated successfully, but these errors were encountered: