latexlibreofficebibtexopenoffice-writer

JabRef citation in LibreOffice with institutional author


I'm using JabRef as a reference manager and LibreOffice writer as document editor. I'm using the ooPluging to cite JabRef sources in LibreOffice, but I'm having troubles with sources with institutional authors. For example, the following source

@Misc{RevistaSemana2013,
Title                    = {Un buen año para la economía},
HowPublished             = {Online. Available at http://www.foo.bar},
Institution              = {Revista Semana},
Month                    = {Dec},
Year                     = {2013},
Comment                  = {Last visited 21-10-2015},
}

will be appear in the references as: Revista Semana (2013a). Un buen año para la economía. Online. Available at http://www.foo.bar. Last visited 21-10-2015.

But will be cited as (Semana 2013a). My style file can be found in http://pastebin.com/j5vNgyDR

Thanks,


Solution

  • It looks to me like JabRef always splits up the last name, even if it's an institution (java code):

    AuthorList al = AuthorList.getAuthorList(author);
    sb.append(getAuthorLastName(al, 0));
    

    However I found a simple workaround. In the source, use a non-breaking space instead of an ordinary space between Revista and Semana. Then we get the desired result in LibreOffice:

    (Revista Semana 2013)