Advertisement
Guest User

Untitled

a guest
Sep 17th, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. %with hyperref is loaded, this produces a bad .idx entry
  2. comma@parse{But this fails on makeindex|textbf}{index{comma@entry}@gobble}
  3.  
  4. indexentry{But this fails on makeindex|textbf|hyperpage}{1}
  5.  
  6. documentclass[12pt]{book}
  7.  
  8. usepackage{makeidx}makeindex
  9. usepackage{lipsum}
  10. usepackage{kvsetkeys}
  11. usepackage{hyperref}
  12.  
  13. begin{document}
  14.  
  15. lipsum[1]
  16.  
  17. index{This works fine|textbf}
  18. makeatletter
  19. comma@parse{So does this}{index{comma@entry}@gobble}
  20. comma@parse{But this fails on makeindex|textbf}{index{comma@entry}@gobble}
  21. makeatother
  22.  
  23. printindex
  24.  
  25. end{document}
  26.  
  27. indexentry{This works fine|hyperindexformat{textbf}}{1}
  28. indexentry{So does this|hyperpage}{1}
  29. indexentry{But this fails on makeindex|textbf|hyperpage}{1}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement