ASPRSorg / LAS

LAS Specification
https://www.asprs.org/committee-general/laser-las-file-format-exchange-activities.html
146 stars 17 forks source link

Section numbers in TOC but not content #27

Closed esilvia closed 6 years ago

esilvia commented 7 years ago

Section numbers are getting assigned in the Table of Contents but not in the actual body text. For example, note how "Format Definition" was assigned section number 4 in the TOC, but the 4 is missing on Page 8.

esilvia commented 7 years ago

Might be connected to the titlesec.sty warning described in #23

If so, workaround described here: https://groups.google.com/forum/#!topic/sphinx-users/4OIOfA1tQRM

esilvia commented 7 years ago

Nope. That workaround did stop the warning, but it didn't fix section numbers.

esilvia commented 6 years ago

Turns out it's as simple as adding the :numbered: tag to the toctree directive.

http://www.sphinx-doc.org/en/stable/usage/restructuredtext/directives.html#table-of-contents

hobu commented 6 years ago

ooh, nice. 👍

esilvia commented 6 years ago

I fixed this in 0d3ec86a1a163eacbf8078634d78d6cfd84fc448. Forgot to tag this issue in the commit message.