• Resolved spbail

    (@spbail)


    Hi,

    I’m using papercite (incredibly helpful plugin by the way, thanks!) with the “plain” style (default-bibtex, default-bibshow) and the “booktitle” fields in @inproceedings show up in lowercase (see https://imgwpowl.cs.manchester.ac.uk/?page_id=460) which looks pretty ugly. I have also seen an example use of papercite where the booktitles do show up in with capitalised first letters, so I presume the default of the plain style should be capitalisation and something went wrong on my end.

    I’ve been trying to find the place to fix the capitalisation but couldn’t quite figure out where that is. Any hints would be appreciated.

    Thanks

    Sam

    https://www.ads-software.com/extend/plugins/papercite/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter spbail

    (@spbail)

    Well, I’ve just answered this question myself.

    I removed the calls to UTF8::utf8_strtolower in Bibtex_osbib.php in the formatTitle() function:
    //$newString .= $start ? UTF8::utf8_ucfirst( UTF8::utf8_strtolower($v[0]) ) : UTF8::utf8_strtolower($v[0]);

    Probably hacky, but it works? (And shouldn’t break anything…)

    Plugin Author bpiwowar

    (@bpiwowar)

    Yes, it will work but this will reset at every update. If you post a bug on github, i’ll try to provide an option to disable changing the case of strings in the bibtex file.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Capitalisation for booktitles’ is closed to new replies.