Re: [Bug] BibTeX parameters auto sorted

2003-02-28 Thread Jean-Marc Lasgouttes
> "Ling" == Ling Li <[EMAIL PROTECTED]> writes: Ling> Problem: While adding .bib files via "BibTeX Database form," Ling> they are sorted alphabetically. However, sometimes this is not Ling> desired. For example, I put all "@string" into a abbrev.bib file Ling> and would like this file to be li

Re: [Bug] BibTeX parameters auto sorted

2003-02-26 Thread Andre Poenitz
On Wed, Feb 26, 2003 at 03:57:32PM +, Angus Leeming wrote: > #include// put this to the beginning of the file > > template > void eliminate_duplicates(C & c) > { > C unique_c; > std::set s; > > for (typename C::iterator p = c.begin(); p != c.end(); ++p) { > if

Re: [Bug] BibTeX parameters auto sorted

2003-02-26 Thread Angus Leeming
On Wednesday 26 February 2003 3:52 pm, Andre Poenitz wrote: > On Wed, Feb 26, 2003 at 03:49:21PM +, Angus Leeming wrote: > > > template > > > void eliminate_duplicates(C & c) > > > { > > > for (size_t i = 1; i < c.size(); ++i) { > > > typename C::iterator ci = c.begin() + i; > > >

Re: [Bug] BibTeX parameters auto sorted

2003-02-26 Thread Andre Poenitz
On Wed, Feb 26, 2003 at 03:49:21PM +, Angus Leeming wrote: > > template > > void eliminate_duplicates(C & c) > > { > > for (size_t i = 1; i < c.size(); ++i) { > > typename C::iterator ci = c.begin() + i; > > if (std::find(c.begin(), ci, *ci) != ci) { > > c.erase(

Re: [Bug] BibTeX parameters auto sorted

2003-02-26 Thread Angus Leeming
Ling Li wrote: > Problem: > While adding .bib files via "BibTeX Database form," they are sorted > alphabetically. However, sometimes this is not desired. For example, I > put all "@string" into a abbrev.bib file and would like this file to be > listed at first. If there is another aaa.bib file whic

[Bug] BibTeX parameters auto sorted

2003-02-25 Thread Ling Li
Problem: While adding .bib files via "BibTeX Database form," they are sorted alphabetically. However, sometimes this is not desired. For example, I put all "@string" into a abbrev.bib file and would like this file to be listed at first. If there is another aaa.bib file which uses those @string def