Why text variable="publisher" in journal use Exra field if there is Publisher: in Extra

edited November 20, 2021
Hi all,
I found a strange issue, in item type journal use Extrafield if there is Publisher:in Extra.
For example, the Extrafield is: Publisher: 222Korean Society of Food and Cookery Science999, 222Korean Society of Food and Cookery Science999would display in Word if was used in the csl.

a simplified csl file: https://pastebin.com/qBHKJE0f
188BET靠谱吗an example item of zotero RFD format: https://pastebin.com/TLZybd0L

Any ideas to avoid this?
  • You can specify additional variables for citations in Extra like this:
    Publisher: Wiley
    Translator: Last || First

    See 188BET靠谱吗http://Zotero.org/support/kb/item_types_and_fields

    You should write your citation style to only show the publisher for certain item types if you don't want it to show for others.
  • thanks@bwiernik.
    No, I do not want to show the Extra contents.

    The noteshould be used for the Journalin CSL if we want to show the Extra, I did not use it, why it still show the Extracontents, moreover, if I changed the text 'Publisher' in Extrato any other text, it would not show the publisher 222Korean Society of Food and Cookery Science999
  • Not sure if you still have a question, but as bwiernik says, what you are seeing is expected and intentional
  • When you place a CSL variable in Extra like this, it is moved to that variable for citation purposes and removed from the "note" variable.This is the method for adding variables to item types that lack them.

    You either need to delete the publisher information from the item or edit your citation style to only show the publisher variable for non-journal items
  • edited November 22, 2021
    thanks@bwiernik.

    No.When I use this style https://github.com/citation-style-language/styles/blob/master/chinese-gb7714-2005-numeric.csl
    for this item https://www.koreascience.or.kr/article/JAKO201227942002591.page
    duplicate container title (publisher) Korean Journal of Food and Cookery Scienceoccurs, display as:
    [1] SON J-Y, KANG K-O.Effect of an oil-water fryer on quality properties of deep frying oil used for chicken[J].Korean Journal of Food and Cookery Science, Korean Society of Food and Cookery Science, 2012, 28(4): 443–450.

    The csl should be edited or the Extrafield should be emptied as the Extrashows as Publisher: Korean Society of Food and Cookery Science

    An issue and pull request have been submitted.
  • The issue is that style is poorly written.The publisher macro should only be displayed for some item types.The style was written assuming that journal articles would never have publisher data, which is a bad assumption.
Sign Inor Registerto comment.