Comments (6)
Looks like a bug with document id generation.
from bipm-si-brochure.
@opoudjis says itβs his bug in the collections code.
from bipm-si-brochure.
... I did?
Let me try to replicate locally...
from bipm-si-brochure.
Hm. sib-a4-en has :docnumber: Brochure
, and it's had it since d936eb7 , two years ago; before that, it was blank. The other documents also have :docnumber: Brochure
, and always did...
No open branch has a different docnumber.
I have refactored the generation of document identifiers, and it was two weeks ago, but I'm at a loss to explain how SI was being added as a prefix by code. Investigating further.
from bipm-si-brochure.
I cannot replicate, and older versions I have lying around do not display that behaviour.
So si-brochure-fr.rxl, generated May 2023, has:
<docidentifier type="BIPM">BIPM Brochure</docidentifier>
<docidentifier type="ISBN">978-92-822-2272-0</docidentifier>
<docnumber>Brochure</docnumber>
sib-a4-fr.xml just generated has
<docidentifier type="BIPM" language="fr">BIPM Brochure Annexe 4</docidentifier>
<docidentifier type="BIPM" language="en">BIPM Brochure Appendix 4</docidentifier>
<docnumber>Brochure</docnumber>
@andrew2net I hate to say it, but I don't see how <docnumber>SI Brochure</docnumber>
could ever have been generated. /bibdata/docnumber just replicates the value given in :docnumber:
, and I have no evidence that value in the source files was ever anything but Brochure
.
I am seeing that your code expects to see SI Brochure
there, I just can't reproduce what has happened to put that "SI" in there. And I notice that other documents put the SI
explicitly in the attribute; e.g. bipm-si-brochure/sources/mep-ampere-definition-en.adoc explicitly has:
:docnumber: SI MEP A1
and has had it since Oct 2020: 3397df7
I don't know what's happened, I don't know what's changed, and I don't know why I'm getting different results to you Andrej, but my recommendation is that we simply change the :docnumber:
attribute for those documents from Brochure
to SI Brochure
.
from bipm-si-brochure.
I've reviewed the past month of commits to metanorma-bipm, and can't find anything that might have injected an SI prefix to docnumber or docidentifier. Sorry, I can't work this out, and if something was injecting SI before a supplied docnumber attribute, then honestly, it should not have been...
from bipm-si-brochure.
Related Issues (20)
- Indentation of table title HOT 7
- BIPM: Initials vs. list items issue HOT 2
- Unable to install dependencies HOT 1
- Site generate for collection generates component PDFs twice HOT 3
- Fix build HOT 6
- Update SI Brochure references to outcomes HOT 2
- Encoding indented editorial note HOT 3
- (URGENT) UnitsML encoding missing from resulting Semantic XML HOT 2
- Site generate fails HOT 1
- BIPM requested fixes 1: "the number 9 192 631 770" HOT 1
- BIPM requested fixes 2: small spaces between closing parenthesis and unit symbols disappeared HOT 15
- BIPM requested fixes 3: bibliography problem with the processing of Declarations HOT 2
- BIPM requested fixes 4: form of the references for the meetings needs a minor adjustment in the French bibliography HOT 15
- BIPM requested fixes 5: references to Metrologia HOT 2
- BIPM requested fixes 6: problem with the reference to the CIPM Declaration 1971-00 HOT 1
- BIPM requested fixes 7: bibliography items authorship rendering inconsistency HOT 3
- BIPM requested fixes 8: French version links to meetings in Resolutions should be to the French version HOT 2
- BIPM requested fixes 9: Is there a reason why the links to Metrologia in the Bibliography have not been made active? HOT 18
- BIPM requested fixes 10: "Milton J" should be "Milton M" HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bipm-si-brochure.