Open strogonoff opened 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.
cc @ronaldtse if you know…
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…
I suppose the logic goes as this:
clause type=toc
is the header for ToC, so it goes up (despite displayorder
)displayorder
displayorder
(like for nested clauses), sort in order of appearanceThat logic gets me somewhere like this, which I suppose is acceptable:
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.
Another stupid question. I see that 目次 goes at
displayorder=2
, and はじめに goes atdisplayorder=1
, but in HTML they appear in reverse (naturally). Why suchdisplayorder
and what logic swaps them?cc @opoudjis