metanorma / metanorma-iso

Metanorma processor for ISO standards
BSD 2-Clause "Simplified" License
13 stars 5 forks source link

Joint ISO and IDF publication with independent numbering #1104

Closed Intelligent2013 closed 6 months ago

Intelligent2013 commented 6 months ago

Source issue: https://github.com/metanorma/metanorma-iso/issues/1092#issuecomment-1937776502

The example source PDF: https://www.fil-idf.org/wp-content/uploads/woocommerce_uploads/Publications/Sold/Standards/English/IDF-021---ISO-6731-2010-e.pdf

opoudjis commented 6 months ago

The second foreword is going to have to be a preface clause appearing after the initial foreword, with the same title. We don't provide for multiple forewords in ISO (and in BSI, we only do so as document embeds), but this will work fine.

== Foreword

ISO

[.preface]
== Foreword

IDF
opoudjis commented 6 months ago

For copyright statement override, you're going to have to override the flavour's boilerplate.

There is a page metadata-and-boilerplate.adoc which I cannot access from metanorma.org, because it is not linked in anywhere

https://www.metanorma.org/builder/topics/metadata-and-boilerplate/

I fixed _layouts/builder-docs.html to include this page, but it is one of the gajillion PRs still sitting there awaiting attention.

Note @ronaldtse @kwkwan , the builder-docs content should not be hidden from the user like they are currently. Also the search bar needs to be made to work. The lack of maintenance of metanorma.org is preventing me from doing my job and shafting our users, and continues to need to be addressed.

You would want to override only the copyright-statement part of the boilerplate document, through supplying :boilerplate-authority: mydoc.adoc.

Partial overwrite of the boilerplate file, i.e. of just one of the statements, has I think come up before. I will implement that for this ticket: this is going to come up again. As a result, you will be able to specify your boilerplate-authority file to contain just == copyright-statement, and the other sections will be unchanged. (If you want to delete sections in the parent boilerplate document, you will need to specify empty sections.)

opoudjis commented 6 months ago

There is indeed no provision for extraneous primary document identifiers in metanorma. I will implement :additional-docidentifier, and it will be typed as a comma-delimited TYPE:VALUE; so additional-docidentifier: IDF:IDF 21

opoudjis commented 6 months ago

Moving docnumber to metadata_other_id in standoc.

ronaldtse commented 6 months ago

Docidentifier-additional?

opoudjis commented 6 months ago

... Really? Fine.