I use both the index and babel packages. They both redefine \markboth and \markright. If I include babel before index, the index package warns me about the double redefinition. Code:
\documentclass{article} \usepackage[english]{babel} \usepackage{index} \begin{document} \end{document} Extract from the TeX output:
(/usr/share/texlive/texmf-dist/tex/latex/index/index.sty LaTeX Warning: Command \markboth has changed. Check if current package is valid. LaTeX Warning: Command \markright has changed. Check if current package is valid. ) (./a.aux) (./a.aux) ) If I swap the two \usepackage lines so that index is loaded before babel, there's no warning. But either way I'm getting the definition of these commands from whichever is loaded last.
My objective is twofold: I want to get rid of the warning (because nonactionable warnings drown out the actionable ones), and I want to understand what I'm losing either way (I haven't spotted any problem so far, but I could be missing something, or run into unexpected problems later as I write more of the document). Presumably, if both packages redefine these commands, they have a good reason.
Should I include babel before or after index? If before, how do I get rid of the warning?
Is there anything I can/should do to make sure that both babel and index are working correctly? What problems should I be looking for?
indexat all? If you need multiple indexes, then useimakeidxindexthat I've been carrying around for years, not just for multiple indices but also\index*and possibly other features that I'm not recalling right now. I'd rather not sort them out at this time. I've never looked atimakeidx. (Could you add an answer mentioning it to this question?)babelfor common heading strings are what you'll probably want. i haven't looked, but i suspect that "Index" is the only option you'll get with theindexpackage.