metanorma / metanorma-gb

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

bibdata docidentifier prefix #86

Closed opoudjis closed 6 years ago

opoudjis commented 6 years ago

In inherited code from asciidoctor-iso, the docidentifier prefix is based on the publisher. In GB, it is not: it is the prefix code.

opoudjis commented 6 years ago

Refactored docidentifier to be in Isodoc::Gb::Agencies class; invoking docidentifier from Asciidoc::Gb::Converter as docidentifier_cleanup().