metanorma / metanorma-gb

Metanorma processor for GB: write Chinese Standards using GbDoc
BSD 2-Clause "Simplified" License
2 stars 3 forks source link

Publisher of national standards GB, GB/T, GB/Z are identical #14

Closed ronaldtse closed 6 years ago

ronaldtse commented 6 years ago

There are only 1 class of national GB standards but three different types:

Hence the publisher for all of them is identical, namely the admin field here:

GB: { name: "中华人民共和国国家标准", admin: "中华人民共和国国家质量监督检验检疫总局,中国国家标准化管理委员会"},

Note that there are two "admins": "中华人民共和国国家质量监督检验检疫总局" and "中国国家标准化管理委员会"; maybe an array is more appropriate.

Rendered into 2 lines since it is joint publishing: footer

These two lines in agencies.rb for admin are really not necessary?

"GB/T": { name: "中华人民共和国国家标准", admin: "国家质量监督检验检疫总局"},
"GB/Z": { name: "中华人民共和国国家标准化指导性技术文件", admin: "中华人民共和国国家质量监督检验检疫总局"},

In addition, "GB/T" and "GB" both use the same name, the special one is "GB/Z".

ronaldtse commented 6 years ago

The font used in the publisher is "Song" (or "Sun") or "Song Ti" (the style of "Song"), which is kind of the serif style. We just need to slightly stretch it taller and narrower and put in a table style.

The "发布" words on the right means "Published"; so this footer means it is published by these two authorities together. In some older standards they put “联合发布” which means "Jointly Published".

opoudjis commented 6 years ago

Done. The styling of these in Word HTML is horrendous, because the CSS inheritance implementation is flaky, and the positioning of elements in the given template mixes points and centimeters.