metanorma / mn-samples-plateau

Project PLATEAU by MLIT: Japanese Ministry of Land, Infrastructure, Transport and Tourism (国土交通省)
https://www.mlit.go.jp/plateau/
0 stars 0 forks source link

`displayorder` reversed between 目次 and はじめに #181

Open strogonoff opened 3 hours ago

strogonoff commented 3 hours ago

Another stupid question. I see that 目次 goes at displayorder=2, and はじめに goes at displayorder=1, but in HTML they appear in reverse (naturally). Why such displayorder and what logic swaps them?

cc @opoudjis

strogonoff commented 3 hours ago

Perhaps I should clarify that I am looking at the navigation sidebar (but in the main document contents area there’s no 目次 anyway), and I’m looking at XML/HTML generated by the latest action.

strogonoff commented 3 hours ago

cc @ronaldtse if you know…

strogonoff commented 3 hours ago

Actually, I don’t see a <clause> corresponding to はじめに/abstract (I suppose it’s the <abstract> itself then), but that’s a separate question (i.e., which sections can I not get by querying <clause>). The displayorder question is still relevant.

Feel free to throw me links to relevant docs or anything…

strogonoff commented 3 hours ago

I suppose the logic goes as this:

strogonoff commented 2 hours ago

That logic gets me somewhere like this, which I suppose is acceptable:

Screenshot 2024-09-24 at 07 30 03
ReesePlews commented 2 hours ago

hello @strogonoff, in the current genearate document PDF the order for the front matter sections is:

cover page はじめに 改訂履歴 目次

i have only been checking the PDF.