Closed manuelfuenmayor closed 4 months ago
Issues to solve:
:edition:
document attribute is not accessible within yaml2text
block via {edition}
.changes_paths.yaml
, just like part 1051.The variable “edition” conflicts with the document attribute also called “edition”? But in YAML is it possible to use something like “data.edition” to refer to it?
The variable “edition” conflicts with the document attribute also called “edition”? But in YAML is it possible to use something like “data.edition” to refer to it?
@ronaldtse, no. The issue is: we need access to the "edition" document attribute inside the yaml2text block (not a variable edition).
Outside yaml2text, :edition:
value can be accessed by doing {edition}
, but inside, I get empty string.
That is:
= Document attributes
:edition: 10
== Clause
{edition} // renders 10
[yaml2text,...,data]
----
{edition} // empty
----
@ronaldtse this PR is almost ready for merging. What is left is the resolution of this issue to finish the template: https://github.com/metanorma/metanorma-plugin-datastruct/issues/33
Please, don't merge yet. I still need to make some adjustments. I'll let you know.
OK thanks @manuelfuenmayor !
Ok @ronaldtse. Ready for merging 👍
Thank you @manuelfuenmayor !
As per https://github.com/metanorma/iso-10303-templates/issues/11