Hi again,

I answer my own question to leave a copy of my (terrible) solution in 
the list.
I ended up making a monstrous sed transform to correct:
- all caps author names,
- missing white space between first and last name ie J.Smith -> J. Smith
Here is what it looks like:

sed -e '/[[:space:]]*Author[[:space:]]*=[[:space:]]*{/ { 
s/\([[:alpha:]]\)\([[:alpha:]]*\)/\u\1\L\2/g; }' -e 
'/[[:space:]]*Author[[:space:]]*=[[:space:]]*{/ { 
s/\([[:alpha:]]\)\.\([[:alpha:]]\)/\1\. \2/g; }' old.bib > new.bib

The first substitution matches the first and remaining letters in each 
word of the Author field and apply Upper Each First, the second 
substitution detects A.A and introduces a space.
This is quite ugly and I'll be happy to hear about a better solution.

Cheers,

Antoine

Le 13/12/13 10:08, Antoine Monmayrant a écrit :
> Hi everyone,
>
> I've been using Jabref for years but only joined this list today.
> I would like to know if there is a way to correct the capitalization of
> the authors filed in all the entries in a large bibtex file.
> I know how to do it, manually on one entry, but I would like either:
> - 1) to scan across the bibtex file to correct the capitalization of
> author fields,
> - 2) or to use "Upper Each First" as a formater in a custom export filter.
>
> Does anyone here know how to do that?
> If not, I'll post a feature request and start playing around with sed to
> do it the unix way.
>
> Cheers,
>
> Antoine
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Jabref-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jabref-users


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Jabref-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jabref-users

Reply via email to