/oldtest/test-index-error.tex

https://code.google.com/p/latex-makefile/ · LaTeX · 27 lines · 15 code · 10 blank · 2 comment · 0 complexity · 5b11e83011a58448d249e9ec2be60b5b MD5 · raw file

  1. \documentclass[
  2. letterpaper % use letter paper
  3. ]{book}
  4. \usepackage{makeidx}
  5. \makeindex
  6. \begin{document}
  7. \tableofcontents
  8. \listoffigures
  9. \chapter{first chapter}
  10. Some text that has to do with the first chapter. Frog\index{frog}.
  11. \section{first section}
  12. % produces an error (thanks to abachn for the test case)
  13. Class \index{class!!class}
  14. Object \index{object@@object}
  15. \printindex
  16. \end{document}
  17. % vim: lbr