Closed Intelligent2013 closed 2 months ago
The attachment description can be specified in the adoc as bibliography item title:
[bibliography]
== Bibliography
* [[[file1,attachment:(sources/program.c)]]], Description text for program.c
The Presentation XML:
<bibitem id="file1" hidden="true">
<formattedref format="application/x-isodoc+xml">Description text for program.c</formattedref>
<uri type="attachment">sources/program.c</uri>
<uri type="citation">sources/program.c</uri>
<docidentifier type="metanorma">[sources/program.c]</docidentifier>
</bibitem>
Resulted PDF:
Documentation updated in https://github.com/metanorma/metanorma.org/pull/816.
Source issue: https://github.com/metanorma/metanorma/issues/407#issuecomment-2323106713