Skip to content
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

Import basicdoc into relaton standalone grammars #73

Closed
andrew2net opened this issue Nov 21, 2022 · 4 comments
Closed

Import basicdoc into relaton standalone grammars #73

andrew2net opened this issue Nov 21, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@andrew2net
Copy link
Contributor

This causes the error:

       +[{:column=>28,
       +  :line=>229,
       +  :message=>"reference to undefined pattern \"image\"",
       +  :source=>"/Users/andrej/RubyProjects/relaton-bsi/grammars/relaton-bsi.rng"}]
@opoudjis opoudjis added the bug Something isn't working label Nov 21, 2022
@opoudjis opoudjis moved this to 🆕 New in Metanorma Nov 21, 2022
@opoudjis opoudjis moved this from 🆕 New to 🌋 Urgent in Metanorma Nov 21, 2022
@opoudjis opoudjis moved this from 🌋 Urgent to 🏗 In progress in Metanorma Nov 21, 2022
opoudjis added a commit to relaton/relaton-models that referenced this issue Nov 21, 2022
@opoudjis
Copy link
Contributor

Because I need to modify basicdoc.rnc in the metanorma grammars, I am generating separate *-compile grammars for all the relaton flavours. So, you will use one of:

  • biblio-compile.rng (for the base class)
  • relaton-ieee-compile (for the IEEE relaton flavour)
    etc.

opoudjis added a commit that referenced this issue Nov 21, 2022
@opoudjis
Copy link
Contributor

@andrew2net Please confirm that these new grammars work for you.

@opoudjis opoudjis moved this from 🏗 In progress to 👀 In review in Metanorma Nov 21, 2022
@andrew2net
Copy link
Contributor Author

@opoudjis the error persists. And I get the message when run sh make.sh:

...
fatal: file not found: /Users/andrej/RubyProjects/metanorma-model-iso/grammars/isodoc-compile.rnc (No such file or directory)
...

@andrew2net
Copy link
Contributor Author

@opoudjis I confirm that it works.

Repository owner moved this from 👀 In review to ✅ Done in Metanorma Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants