LaTeX forum ⇒ GeneralSorting index entries

LaTeX specific issues not fitting into one of the other forums of this category.
Sharon
Posts: 1
Joined: Wed May 21, 2014 9:23 pm

Sorting index entries

Postby Sharon » Tue Mar 10, 2015 4:16 pm

I'm having difficulty in sorting my index entries, here is my mwe

  1. \documentclass[a4paper,12pt]{report}
  2. \usepackage{imakeidx}
  3. \makeindex[options=-s ./index.ist,columnseprule,intoc,columns=2]
  4. \begin{document}
  5.  
  6. \subsubsection{The back of your bra rides up towards your shoulder}
  7. If the back of the bra rides up towards your shoulder blades it usually
  8. indicates the back of the bra is too big. For example – if you are wearing
  9. a 36C, it may be worth trying a 34D or even a 32DD. (Take a look at our
  10. bra sizing guide to help you with this.)
  11. \index{Bra@\textbf{Bra}|textbf}
  12.  
  13. \subsubsection{The bra cup digs into your bust at the top creating a ‘double-bust’ effect}
  14. If the bra cups digs into your bust at the top, it is a sure sign that
  15. the bra cup is too small. Try the next cup size up!
  16. \index{Bra!classic}
  17. \index{Bra!standard}
  18.  
  19. \printindex
  20.  
  21. \end{document}


This is sorting "Bra,classic" and "Bra,standard" before "Bra", but what I'm looking for is the reverse, "Bra" before its subentries.

Tags:

Return to “General”

Who is online

Users browsing this forum: No registered users and 4 guests