This is makeindex, version 2.14 [02-Oct-2002] (kpathsea + Thai support). Scanning style file optimal_foraging_theory.gst..........done (10 attributes redefined, 0 ignored). Scanning input file optimal_foraging_theory.glo.... !! Input index error (file = optimal_foraging_theory.glo, line = 52): -- Extra `|' at position 153 of first argument. !! Input index error (file = optimal_foraging_theory.glo, line = 114): -- Extra `|' at position 160 of first argument. done (121 entries accepted, 2 rejected). Sorting entries....done (850 comparisons). Generating output file optimal_foraging_theory.gls....done (272 lines written, 0 warnings). Output written in optimal_foraging_theory.gls. Transcript written in optimal_foraging_theory.glg.