ox-texinfo: Ensure detailed menu generation does not exceed maximum
commit0f6cb7f8501a47f41e72d12b2d30f3d1dfbd4ebe
authorJonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
Thu, 14 Feb 2013 16:59:03 +0000 (14 11:59 -0500)
committerJonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
Thu, 14 Feb 2013 16:59:48 +0000 (14 11:59 -0500)
tree5bb43293eff4402d824e3bc1cbdd2a8f4364e2c3
parent3f421f309f6bdd5536d8b0d2f63a23ac4cb66e2c
ox-texinfo: Ensure detailed menu generation does not exceed maximum
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