You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ bundle exec reverse_adoc -rcoradoc/reverse_adoc/plugins/plateau \
--split-sections 2 --external-images \
-o sources/002-v4/document.adoc \
reference-docs/plateau-document-02-v4.html
$ bundle exec metanorma site generate
...
Anchor toc_02 has already been used at line 36
Anchor tocF_02 has already been used at line 9707
Anchor tocT_02 has already been used at line 19690
<aborted>
This originates from the incoming document. What would be the best behavior in your opinion? I think the current behavior is fine, because a writer can later debug duplicated IDs and fix them by hand.
ronaldtse
added a commit
to metanorma/mn-samples-plateau
that referenced
this issue
Jun 10, 2024
This originates from the incoming document. What would be the best behavior in your opinion? I think the current behavior is fine, because a writer can later debug duplicated IDs and fix them by hand.
I guess this shows the original document is problematic. However, Coradoc needs to have verification methods of its own. It needs to know the document is invalid.
At least it should provide warnings when there are duplicated anchors detected at a (future) verification step.
For document 002:
Relevant snippets:
sources/002-v4/sections/appendix-F/section-02.adoc
:sources/002-v4/sections/appendix-F/section-04.adoc
:The text was updated successfully, but these errors were encountered: