relaton / relaton-iec

IecBib: retrieve IEC/CIE Standards for bibliographic use using the BibliographicItem model
MIT License
1 stars 0 forks source link

does relaton-iec support an SRD "system-reference-deliverable" doc type? #60

Closed ReesePlews closed 7 months ago

ReesePlews commented 7 months ago

hello i am checking the messages one of my projects and i have a question if the system-reference-deliverable is supported by relaton-iec? this issue does not presently cause an error and the document is rendered correctly.

i have copied the following messages:

[relaton-iso-bib] WARNING: invalid doctype: `system-reference-deliverable`
[relaton-iso-bib] Allowed doctypes are: `international-standard`, `technical-specification`, `technical-report`, `publicly-available-specification`, `international-workshop-agreement`, `guide`, `amendment`, `technical-corrigendum`, `directive`
[relaton-iec] (IEC SRD 63188:2022) Found: `IEC SRD 63188:2022`

the document i am referencing is: https://webstore.iec.ch/publication/62092

my code to reference is is:

the pdf render is:

image

there is no hurry to check this. thank you.

ronaldtse commented 7 months ago

Thanks @ReesePlews ! @andrew2net can you help refactor relaton-iso-bib a bit so it stops generating errors for non-ISO document types? Seems that this is a repeating issue that IEC document types are raising errors. Thanks!

andrew2net commented 7 months ago

Fixed in v1.18.1