Skip to content

Commit

Permalink
pdf attachments attributes: metanorma/mn2pdf#278
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Oct 7, 2024
1 parent 3cbf113 commit b31301c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
6 changes: 5 additions & 1 deletion author/topics/sections/attachments.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
====
Expand Down
15 changes: 15 additions & 0 deletions author/topics/sections/bibliography.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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_)

Expand All @@ -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
Expand Down

0 comments on commit b31301c

Please sign in to comment.