-
Notifications
You must be signed in to change notification settings - Fork 0
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
Broken link to formula #194
Comments
For updates on this, see https://github.com/metanorma/annotated-express/issues/137 @TRThurman please provide further updates on that issue to this ticket @HassanAkbar from what I am seeing there, the broken link is a source markup issue, and I don't think you can do anything about it right now, since the markup is apparently faked. Hold off on doing any work on it. |
OTOH @HassanAkbar the issue with allowing formula autonumbering, and not providing the equation numbering in the crossreferences yourself, is still valid. |
Did some archeology yesterday. Also discovered that there are two controlling dtds for the xml. One provides for eqn.id, the other does not. And there is no dtd that defines eqn_ref anyway, so it is a hot mess. The only cross reference supported in STEPmod is for EXPRESS constructs. |
Just noticed that @opoudjis requested we post new comments to this issue. mea culpa. |
@ronaldtse, Can we assume that |
@opoudjis, |
Yes. Of course, if you persistently identify a table and cross-reference it, you need to supply that identifier in the source, and I don't know whether you do. But for formulas, it ends up looking in Asciidoctor like
And And as I said in the start of this ticket, we are already doing that for formulas, so you do have persistent formula links already. We just need to remove your per-schema numbering, and allow Metanorma to supply its own autonumbering, following ISO style.
Right now none, although there is a ticket to differentiate them in train. They will be numbered in the same sequence, unless we program otherwise. |
That's just been done, although it only matters for ISO TBX: metanorma/metanorma-standoc#686 . The rendering is identical, I was just being loose in my vocabulary. |
@opoudjis I've updated the
Is this correct? and is there anything else that needs to be done related to links? Update
|
I am ok with these changes, but @ronaldtse and I have had a disagreement on when and where such issues should be addressed, given the business context. So the call on these has to be his. |
The changes are fine but I want to make sure that if the link has an external prefix of “Figure” it would also be replaced. |
@ronaldtse I didn't understand what you mean by |
He means a cross-reference like |
Not only that, but this |
@ronaldtse @opoudjis So basically anything of the form |
Νο. |
Well, it's still there, though the section is now 5.5.19, and the equation (with more sections being recognised as the template has been debugged) is now (272)... |
@HassanAkbar is this issue already addressed? Thanks. |
Closing. |
From https://github.com/metanorma/annotated-express/issues/137
First, in Part 42:
The hyperlink from (7) works, but is pointing to equation (259). Equations are numbered sequentially within the document, and that means that the numbering within each schema for equations must be ignored. @HassanAkbar if you are rendering the Express as
<<eqnWhatever,(7)>>
, don't, just make it<<eqnWhatever>>
. You must not assume that the source document equation numbering will survive inclusion in an ISO document.Second, there is a broken link:
With the (temporary) removal of boldface and italics, there is now only 1 link broken in the collection of parts 41 through 45:
Notice the undigested, unprocessed italics marks,
_
.This tells me that cross-references to equations are potentially broken, @HassanAkbar
Let's see where this is:
Part 42, 5.4.18
The Express original is https://github.com/metanorma/iso-10303-stepmod-wg12/blob/85ac47124a35fb985b99d0148e9bbe16609cb197/data/resources/topology_schema/descriptions.xml#L514
I don't know @TRThurman @HassanAkbar how that
(1)
is being turned into a cross-reference, but a formula with ideqnGM1
is defined in the same document (somewhere), so the Asciidoc crossreference should be... well, I don't know what it should be, but presumably<<eqnGM1>>
. Wherever 6_schema.xml is coming from, Metanorma does not know about it.The text was updated successfully, but these errors were encountered: