metanorma / metanorma-iho

Metanorma for the International Hydrographic Organization
BSD 2-Clause "Simplified" License
4 stars 2 forks source link

Implement desired IHO citation format (of IHO documents and other documents) #25

Closed opoudjis closed 4 years ago

opoudjis commented 4 years ago

Implement https://github.com/metanorma/metanorma-iho/issues/5 for PDF

Intelligent2013 commented 4 years ago

@opoudjis How to determine IHO and non-IHO documents? And could you provide an XML sample? I can't generate IHO xmls due error https://github.com/metanorma/mn-samples-iho/runs/1066337877)

ronaldtse commented 4 years ago

@Intelligent2013 I believe you can determine from the Relaton data. @andrew2net can you help? Thanks.

andrew2net commented 4 years ago

@Intelligent2013 there are docidentifier elements. A type of the first of them is type of the document:

<bibdata type="standard">
  <fetched>2020-03-29</fetched>
  <title type="main" format="text/plain" language="en">IHO-IOC GEBCO Cook Book</title>
  <title type="main" format="text/plain" language="fr">Livre de recettes GEBCO OHI-COI</title>
  <uri type="pdf">https://www.star.nesdis.noaa.gov/socd/lsa/GEBCO_Cookbook/documents/CookBook_20191031.pdf</uri>
  <docidentifier type="IHO">B-11</docidentifier>
...

I can't generate IHO xmls due error https://github.com/metanorma/mn-samples-iho/runs/1066337877)

You need to upgrade the relaton-iho to version 1.3.2

Intelligent2013 commented 4 years ago

Done: изображение