Closed Intelligent2013 closed 5 months ago
... You do look to be doing the right things, and there is a test in standoc to guarantee that. In fact I've just recently implemented functionality to overwrite only the statements supplied in boilerplate, and not the whole boilerplate.
So, I don't know, and I will investigate tonight.
I can't replicate this behaviour:
= SMRL Innovation -- Modernizing the ISO 10303 authoring and publication processes
:docnumber: 1
:technical-committee-number: 184
:technical-committee: Industrial Automation Systems and Integration
:subcommittee-number: 4
:subcommittee: Industrial Data
:workgroup-number: 1
:workgroup-type: TF
:document-scheme: 1987
:no-pdf:
:boilerplate-authority: boilerplate.adoc
== Scope
[[figureA-1]]
.Split-it-right sample divider
[width=text-width]
image::spec/assets/rice_image1.png[Alt1]
[width=900]
image::spec/assets/rice_image1.png[Alt1]
and
boilerplate.adoc
== copyright-statement
=== COPYRIGHT
[[boilerplate-message]]
The custom copyright test.
[[boilerplate-place]]
Published in Switzerland.
Some additional text.
Gives a.xml
<boilerplate><copyright-statement>
<clause id="_copyright" inline-header="false" obligation="normative">
<title>COPYRIGHT</title>
<p id="boilerplate-message">The custom copyright test.</p>
<p id="boilerplate-place">Published in Switzerland.</p>
<p id="_5cbccd9a-849d-b063-9efe-2c7a56f72b82">Some additional text.</p>
</clause>
</copyright-statement>
</boilerplate>
Today I can't repeat the issue.
Hm. Strange. Closing.
In continue of https://github.com/metanorma/metanorma-iso/issues/1104#issuecomment-1949647357 Source issue: https://github.com/metanorma/metanorma.org/issues/728
I'm trying to override the predefined copyright statement via the document attribute
:boilerplate-authority:
(https://www.metanorma.org/develop/topics/metadata-and-boilerplate/#boilerplate).I've tried to specify a few variants - xml or adoc:
boilerplate.xml
boilerplate.adoc
boilerplate.adoc:
=== COPYRIGHT
[[boilerplate-message]] The custom copyright test.
[[boilerplate-place]] Published in Switzerland.
Some additional text.
:boilerplate-authority: