Closed ronaldtse closed 6 years ago
What do you mean by "actual sections"? <div>
?
Right now the sections are generated into HTML like this:
<p class="Terms">算法标识 algorithm identifier</p>
<p id="_631032ae-0ba9-4d5f-8b16-b90825d5c140">用于标明算法机制的数字化信息</p>
However, normal sections are like this:
<h2 id="5f7fa4af-6da3-40d4-b7bf-97f88ddc4f25">6.1. SM2私钥</h2>
<p id="_fac04e6f-324e-41f7-b951-8c1fad1c4b90">SM2私钥是一个大于等于 <tt>1</tt> 且小于 <tt>n-1</tt> 的整数( <tt>n</tt> 为SM2算法的阶,其值参见
We want to apply the same styling to both, right?
Only in HTML output, not in Word output: need to keep para there to prevent terms from being indexed in ToC. Will need to skip h2 class=Terms in compiling ToC. Applies to isodoc.
"Terms" section HTML is not compliant -- we need to change them to actual sections instead of thing like
<p class=TermNum>
. They should be tagged and styled just like normal sections.Was seen here: https://github.com/riboseinc/gbdoc-style/pull/3
May need to be fixed in asciidoctor-iso too.