-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate with Relaton BibTeX functionality #319
Comments
Plan is as follows:
|
I think we should just treat BibTeX files as a type of Relaton database -- a
If the |
I don't care how this is implemented, because I won't be the one implementing this. Moved to relaton/relaton#48 |
I have no idea what this means, and I'm not interested in touching bibtex. Putting an include in means that I am having to deal with bibtex. The whole point of relaton/relaton#48 is to abstract any bibtex away so I never have to deal with it. |
@opoudjis surely you remember that Metanorma fetches according to document IDs via Relaton: // fetches from relaton-iso
* [[[internal-ref,ISO 9001:2005]]]
// fetches from relaton-iec
* [[[internal-ref,IEC 60500-112]]] And there is an alternative syntax where the Relaton key is explicit: // fetches from relaton-iso
* [[[internal-ref,ISO(ISO 9001:2005)]]]
// fetches from relaton-iec
* [[[internal-ref,IEC(IEC 60500-112)]]] By |
I see. I think it is unnecessary. An ISO reference could in the bibtex file, or it could be retrieved live: by leaving out any bibtex prefix, you're allowing the retrieval behavior to change depending on whether you attach a bibliography file, without changing the document source. But I guess I can include that as optional behaviour, restricting the search space to the bibtex document. |
My intention with this syntax |
This is still necessary. |
And it's still dependent on relaton/relaton#48, which has not been touched... |
relaton/relaton#48 has been done. Reactivating. |
From @andrew2net
@opoudjis this means Metanorma can support BibTeX |
@opoudjis Relaton already supports BibTeX parsing and importing as a Relaton data source: relaton/relaton-bib#57 . This was recently requested here: |
We currently have a document attribute that sets the relaton dataset as For BibTeX, we could use: :relaton-data-source: source_one=../bibtex/my_bibtex_file.bib
:relaton-data-source: source_two=../bibtex/my_bibtex_file2.bib and we can refer to as:
|
I am not, of course, going to welcome open-ended names of relaton data sources, which can potentially clash with other wrappers around bibliographic tag, and which will make parsing utterly unpredictable. The suggestion of
is discarded. The intent is apparently for the bibliographic tag not to indicate what format the bibliographic file is in, because explicitness is not fun enough, and I should instead rely on either the file suffix, or on Metanorma peeking inside the file. What could possibly go wrong with that. Going along with the rest of this,
will be referenced as:
and
as
I would prefer
But that's going to be too much for people to enter willingly. |
Is okay. Better than having an unpredictable key. Let's do this. |
The proposed markup will not work, the repeated attribute keys will overwrite each other. Instead, I propose we move the identifier, which is supposed to be unique, into the key:
If relaton-data-source is present, that is a unique bibliographic source. If relaton-data-source-{id} are present, they are the sources. |
We need to:
|
Documentation has been provided in one of the many metanorma.org updates you have still not approved; in fact it's one of the first ones, metanorma/metanorma.org@3f3ebb2 Testing and example files are already done in 31e0fea#diff-1fd205e7e8774249755dd18f77d0000b36d8885e6c3157d67fa8d35a5e032735 |
metanorma.org update lost, resubmitting |
OGC needs to migrate/re-use bibliography from the BibTeX format in Metanorma.
Given Metanorma uses Relaton for references, this task relies on the completion of
relaton/relaton#48 .
This is time-sensitive work. Thanks!
The text was updated successfully, but these errors were encountered: