CVPR_Template icon indicating copy to clipboard operation
CVPR_Template copied to clipboard

add ordered citations

Open cfunk1210 opened this issue 4 years ago • 8 comments

Can we enable the cite package sorting in the cls? It always bugs me that people don't follow the rule of ordering the citation in ascending order. Looks like that rule might not be in the latest version of the pdf but it's really easy to do.

Just add \usepackage[sort,nocompress]{cite} to the cls.

https://ctan.math.illinois.edu/macros/latex/contrib/cite/cite.pdf

Thanks

cfunk1210 avatar Sep 24 '20 16:09 cfunk1210

I prefer to sort citations in order of appearance, but that doesn't seem to be an option here.

\bibliographystyle{ieeetr} does that but without full names.

edit: per https://stackoverflow.com/a/6562312/3233339 , it's as simple as commenting out

ITERATE {presort}
SORT

in ieee_fullname.bst

trougnouf avatar Sep 30 '20 11:09 trougnouf

By default, cvpr citations are sorted. Maybe, we should allow users to choose whether to have "compress" or "nocompress" for the cite package.

MingMingCheng avatar Oct 01 '20 13:10 MingMingCheng

I mean citations inline.

cfunk1210 avatar Oct 16 '20 21:10 cfunk1210

I confirm \usepackage[sort,nocompress]{cite} solves this problem. It should be included in the template.

pablospe avatar Nov 11 '20 13:11 pablospe

I prefer to sort citations in order of appearance, but that doesn't seem to be an option here.

\bibliographystyle{ieeetr} does that but without full names.

edit: per https://stackoverflow.com/a/6562312/3233339 , it's as simple as commenting out

ITERATE {presort}
SORT

in ieee_fullname.bst

I believe this is not the solution because it doesn't follow the CVPR style. I understand that the references need to be sorted by authors, and not in order of appearance. It is different thing what @cfunk1210 is referring, basically, to sort the citation lists into ascending order. For example, [4,10,6,1] to [1,4,6,10].

pablospe avatar Nov 13 '20 22:11 pablospe

@pablospe is correct. This only refers to multiple citations within the paper. It shouldn't affect anything else and please don't make a change in the references sort rder.

cfunk1210 avatar Dec 01 '20 16:12 cfunk1210

请问文献顺序不对怎么解决的啊

yuanpanlifly avatar Oct 12 '23 03:10 yuanpanlifly

请问文献顺序不对怎么解决的啊

官方并未规定顺序。所以不存在顺序不对的问题

MingMingCheng avatar Nov 05 '23 09:11 MingMingCheng