sort&compress
option, it is common to cite a bunch of references early in the document, then find another group later in the document that are disjoint, but don't have to be. For example, let's say I have two groups of references that look like this:
Code: Select all
I cited a bunch of people~\cite{Auth1,Auth2,Auth3,Auth4,Auth5,Auth6,Auth7,Auth8}
and another group later, too~\cite{Auth2,Auth3,Auth5,Auth6}.
The above example could easily be reordered toI cited a bunch of people [2-8] and another group later, too [2,3,5,6]
Code: Select all
I cited a bunch of people~\cite{Auth1,Auth2,Auth3,Auth5,Auth6,Auth4,Auth7,Auth8}
and another group later, too~\cite{Auth2,Auth3,Auth5,Auth6}.
For this example it is relatively simple to do this by hand, but I have run across cases where I think I have figured out how best to reorder something, only to realize I'm wrong and get extremely frustrated trying to fix it because the citation in question is actually cited a lot earlier than I thought it was, and I'm not changing anything by editing the place I'm editing. As usual, I think to myself, "There must be a better way to do this" (and logically that means there already is...?)I cited a bunch of people [2-8] and another group later, too [2-5].
Is anyone aware of any software that analyzes .aux or .tex files for such patterns and advises you on ways to reorder your citations to maximize grouping?