Fix Table of Contents levels for LaTeX
Fix visibility of exercise components in HTML
Use correct hard-coded exercise number in references