recognized depth
* lisp/ox-texinfo.el (org-texinfo-max-toc-depth): Maximum depth
recognized by texinfo for nodes and sectioning. Left as a constant
to be updated if ever necessary.
(org-texinfo--generate-detailed): Use the smaller between
org-texinfo-max-toc-depth and headline levels (H: )
* lisp/ox-texinfo.el (org-texinfo-src-block): Remove spurious newline
character as `org-export-format-code-default' already makes sure the
string returned will end with a single one.
Thanks to Frank Fischer for reporting it.