README.adoc in metanorma-plugin-lutaml-0.4.8 vs README.adoc in metanorma-plugin-lutaml-0.4.9

- old
+ new

@@ -375,15 +375,19 @@ * `[.include_block, base_path="spec/fixtures"]` - macro to include files (`*.adoc` or `*.liquid`) for each package name. Attribute `base_path` is a required attribute to supply path prefix where to look for file to include. Macro will look for a file called `base_path` + `/` `_package_name`(downcase, replace : -> '', ' ' -> '_') + `.adoc`[`.liquid`], eg for package 'My Package name' and `base_path` eq to `my/path`, macro will look for the following file path: `my/path/_my_package_name.adoc`. * `[.include_block, package="Another", base_path="spec/fixtures"]` - same as above, but include block will be included only for supplied package name -In addition to the macros listed above that can be used only inside `lutaml_uml_datamodel_description` macro there is another macro called `lutaml_figure`. `lutaml_figure` is used to lookup and reference xmi package diagrams. The syntax is as follows: +In addition to the macros listed above that can be used only inside `lutaml_uml_datamodel_description` macro there is another macroses called `lutaml_figure` and `lutaml_table`. `lutaml_figure` is used to lookup and reference xmi package diagrams. `lutaml_table` is used to lookup rendered xmi entries. The syntax is as follows: [source,adoc] ----- This is lutaml_figure::[package="Wrapper root package", name="Fig B1 Full model"] figure +This is lutaml_table::[package="Wrapper root package"] package +This is lutaml_table::[package="Wrapper root package", class="my name"] class +This is lutaml_table::[package="Wrapper root package", enum="my name"] enum +This is lutaml_table::[package="Wrapper root package", data_type="my name"] data_type ----- This code will be transformed into `<<figure-{diagram.xmi_id}>>` and will point to diagram figure. One can only use this macro when document rendered `lutaml_uml_datamodel_description` macro as it needs diagram lookup table in order to reference package diagram. Will produce this output: @@ -416,12 +420,12 @@ Content for CityGML package ==== Defining tables -.<<tab-P-another-C-{XMI_ID}>> -- Elements of &#8220;Another::AbstractAtomicTimeseries&#8221; (class) +.<<section-EAPK_9C96A88B_E98B_490b_8A9C_24AEDAC64293>> -- Elements of &#8220;Another::AbstractAtomicTimeseries&#8221; (class) -[[tab-P-another-C-{XMI_ID}]] +[[section-EAPK_9C96A88B_E98B_490b_8A9C_24AEDAC64293]] .Elements of &#8220;Another::AbstractAtomicTimeseries&#8221; (class) [width="100%",cols="a,a,a,a,a,a,a,a"] |=== h|Name: 7+| AbstractAtomicTimeseries h|Definition: 7+|