From b31301ce5caf7bcd9422e9512c3dcfb05dfdf8f1 Mon Sep 17 00:00:00 2001 From: Nick Nicholas Date: Mon, 7 Oct 2024 23:27:40 +1100 Subject: [PATCH] pdf attachments attributes: https://github.com/metanorma/mn2pdf/issues/278 --- author/topics/sections/attachments.adoc | 6 +++++- author/topics/sections/bibliography.adoc | 15 +++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/author/topics/sections/attachments.adoc b/author/topics/sections/attachments.adoc index 4685fe9f..ab3aa7c2 100644 --- a/author/topics/sections/attachments.adoc +++ b/author/topics/sections/attachments.adoc @@ -23,7 +23,11 @@ The syntax is provided as follows [added in https://github.com/metanorma/metanor * [[[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. +NOTE: Attachment description is needed for accessibility and conformance with PDF/A and PDF/UA. + +NOTE: The PDF attachments attributes _Volatile_ and _AFRelationship_ are realised through the syntax +`span:classification.pdf-{Key}[{Value}]`, e.g. `span:classification.pdf-volatile[true]`, +`span:classification.pdf-AFRelationship[EncryptedPayload]` [added in https://github.com/metanorma/metanorma-standoc/releases/tag/v2.9.8]. .Example of attaching the `schemas/schema.txt` file ==== diff --git a/author/topics/sections/bibliography.adoc b/author/topics/sections/bibliography.adoc index 5bcfdaf2..359b8803 100644 --- a/author/topics/sections/bibliography.adoc +++ b/author/topics/sections/bibliography.adoc @@ -919,6 +919,17 @@ URI. `uri.XXX`:: URI, of type _XXX_. +`classification`:: +Classification of bibliographic resource [added in https://github.com/metanorma/metanorma-standoc/releases/tag/v2.9.8] + +`classification.XXX`:: +Classification of bibliographic resource as being of type _XXX_ (e.g. `span:classification.color[red]`, +which is interpreted as "the bibliographic resource is classified as having color: +red") [added in https://github.com/metanorma/metanorma-standoc/releases/tag/v2.9.8] + +`abstract`:: +Abstract of bibliographic resource, can contain inline markup [added in https://github.com/metanorma/metanorma-standoc/releases/tag/v2.9.8] + `pages`:: page or page range (e.g. _9_, _9-11_) @@ -936,6 +947,10 @@ The type is suppressed from rendering. [example] _standard_, _book_, _inbook_ +If spans are used, an inline image included in the reference is interpreted as the depiction +of the resource [added in https://github.com/metanorma/metanorma-standoc/releases/tag/v2.9.8]; +e.g. `span:title[Standard 123] image:thumbnail.jpg[]`. + NOTE: The surname must always precede the initials or given name for a given author in spans, to prevent ambiguity and confusion in parsing the reference. The rendered ordering of initials/given name and surname for the first