From e166a39b6be8ffcdd34e85fe74c606372b380e4f Mon Sep 17 00:00:00 2001 From: Alexander Dyuzhev Date: Sun, 1 Sep 2024 21:34:27 +0300 Subject: [PATCH] Attachments page updated for metanorma/mn-native-pdf#739 --- author/topics/sections/attachments.adoc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/author/topics/sections/attachments.adoc b/author/topics/sections/attachments.adoc index d82e1280..4685fe9f 100644 --- a/author/topics/sections/attachments.adoc +++ b/author/topics/sections/attachments.adoc @@ -20,9 +20,11 @@ The syntax is provided as follows [added in https://github.com/metanorma/metanor [source,asciidoc] -- -* [[[anchor,attachment:(file path of attachment relative to current fileidentifier)]]] +* [[[anchor,attachment:(file path of attachment relative to current fileidentifier)]]], attachment description -- +NOTE: attachment description is needed for accessibility and conformance with PDF/A and PDF/UA. + .Example of attaching the `schemas/schema.txt` file ==== This indicates that `schemas/schema.txt` is an attachment to the current @@ -30,7 +32,7 @@ document, and assigns the anchor `file1` to it. [source,adoc] ---- -* [[[file1,attachment:(schemas/schema.txt)]]] +* [[[file1,attachment:(schemas/schema.txt)]]], Schema text ---- Any cross-references to `<>` are to be interpreted as hyperlinks to that