bpiwowar / papercite

Bibtex plugin for wordpress
http://www.bpiwowar.net/software/papercite/
GNU General Public License v2.0
42 stars 47 forks source link

Accent handling #70

Closed vancleve closed 10 years ago

vancleve commented 11 years ago

There appears to be an issue handling the converted accents written by the application Bibdesk. Bibdesk writes accents with the format {\x y}, with a space inbetween x and y. I've added a "\s+?" in the regular expressions on lines 435--437 in BibTex_osbib.php and that appears to solve the problem.

Also, the cedilla accent appears to not work. The handing of this accent seems to require both the \c and a small or big "C" (http://en.wikibooks.org/wiki/LaTeX/Special_Characters). Thus, I replaced lines 461--462 with:

'c' => array("c" => 'ç', "C" => 'Ç')

and that also seems to work.

bpiwowar commented 11 years ago

OK, thanks, I will try to fix this in the next release.