> Jun 8, 2017 3:03、Gavin Smith <[email protected]>のメール: > >> @defun make-abbrev-table &optional props >> >> we have the following HTML: >> >> <div class="defun"> >> — Function: <b>make-abbrev-table</b><var> &optional props<a >> name="index-make_002dabbrev_002dtable-4078"></a></var><br> > > I tried it with the latest development version of texinfo and it came > out as: > > <dt><a name="index-make_002dabbrev_002dtable"></a>Function: > <strong>make-abbrev-table</strong> <em>&optional props</em></dt>
It just occurred to me that there was no class="defun" hook anymore in the new HTML output. It looks like all the other instances of dl are <dl compact="compact"> and as far as I could tell all the other <dl> were used for definitions (but there are more than 2500 in the elisp reference so I could not check all). I understand that the HTML output must retain compatibility with old HTML standards but adding better CSS selectors would greatly enhance the potential of the HTML manuals. :) I'm currently checking /usr/local/Cellar/texinfo/6.3/share/texinfo/Texinfo/Convert/HTML.pm to see what could be done in this area. Jean-Christophe
