BeelGroup / Docear4Word

Source code of Docear4Word. See http://www.docear.org/software/add-ons/docear4word/overview/ for more details.
18 stars 7 forks source link

Incorrect Handling of Split Names? #51

Open romanseidl opened 8 years ago

romanseidl commented 8 years ago

I want to refer to a Work authored by an institution or group e.g.

 author = {{Scrapy developers}}

As far as I understand this should be correct.

Event though the table in Docear4Work when inserting the reference seems to be correct it does not work. The cite reads "(developers 2016)" in Havard format.

Any ideas on how to fix this?

cheers, roman

P.S.: The best example for testing came across was the following:

 author = {{Barnes and Noble, Inc.}}

(identical to http://www.docear.org/support/forums/docear-support-forums-group3/bug-reports-forum6/docear4word-incorrect-handling-of-split-names-thread1383/)

Marisano commented 7 years ago

It doesn't seem that this bug would actually be very hard to fix. The problems appear to be due to processing still occurring after the braced terms have initially been passed on unmolested.

For {{Scrapy developers}} and similar entries, just append a lowercase word (followed by a space) to the front of your terms of interest:

author = {{the Scrapy developers}}

(Did you mean to write "Scrapy" or "Scrappy"?)

The Barnes and Noble case can be almost completely solved by passing in:

author = {{Barnes and and Noble Inc.}}

The double "and" convinces Docear4Word that you mean business - that is 'a' business :) "And" normally indicates a second author which confuses the software, but two adjacent ands break it out of that paradigm. However, this approach itself breaks whenever you run into the "et al." limit for your citation style, such that "Barnes and and Nobel and Thomas Inc." e.g., may not work. "Barnes and and Nobel & Thomas Inc." would work, however, though the result would contain an "and" and an "&". Such ampersand appending can go on indefinitely.

Unfortunately, I have found no way to include a comma in a company or organization name. It's just too strong a marker.