I'm trying to create an index of symbols for my thesis by using makeindex and it doesn't work as well as I'd like.
Indeed, I use a lot of math symbols (which means a lot of macros) in my work and I want them to appear by page number.
Unfortunately, they appear by "alphabetical" order, and I've not found a quick way to sort them by page number.
Here is a short MWE :
\documentclass[a4paper, one side, 11pt]{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amsmath, amsfonts, amssymb, amsthm}
\usepackage{imakeidx}
\makeindex[title = Table des symboles, columns = 1, intoc]
\usepackage[colorlinks=true]{hyperref}
\begin{document}
\section{More blabla about $\epsilon$}
Blabla $\epsilon$\index{$\epsilon$}
\newpage
\section{More blabla about $\omega$}
Blabla $\omega$\index{$\omega$}
\newpage
\section{More blabla about $\beta$}
Blabla $\beta$\index{$\beta$}
\printindex
\end{document}
The result is :
Table des symboles
β, 3
ε, 1
α, 2
Whereas I'd like :
Table des symboles
ε, 1
α, 2
β, 3
Does anyone know how to solve my problem please ?
Any help would be very appreciated.
