New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Double-barrelled names #6
Comments
|
Also, as reported by Matt @usq: Top Authors grid, within the default ‘main’ report displays first letter capitalised for given and family, Ignoring Initials etc,. |
|
The following solution renders the author names as the one stored in the creator's field: In Sets.pm return EPrints::Utils::is_set( $g ) ? (ucfirst( lc( $f ) ) ).", ".ucfirst( lc( $g ) ) : ucfirst( lc( $f ) ); to This removes the deliberate action of lower casing the tail part of the given name. Names with two initials, e.g. Hooper, TJ would not rendered as Hooper, Tj |
|
From Christian / ep-tech: The patch only deals with given names: Before applying the patch After |
|
Following graingert's suggestion, there's also http://search.cpan.org/~summer/Lingua-EN-NameCase-1.15/NameCase.pm (ubuntu: sudo apt-get install liblingua-en-namecase-perl) Sets.pm - line 9: Sets.pm - line 433: Then re-generate the stats' sets (bin/stats/process_stats --sets-only --verbose) and probably restart Apache. |
Probably because names are normalised for display and double-barrelled names are not in the regexp. TODO...
The text was updated successfully, but these errors were encountered: