WordPress.org

Forums

Zotpress
[resolved] bugs in [zotpressInTextBib] and [zotpressInText] (5 posts)

  1. signul
    Member
    Posted 3 years ago #

    Hi,

    The [zotpressInTextBib] and [zotpressInText] shortcodes seem to have some bugs.

    1. if a reference has a single author and the publication type is a book section/chapter and the book has multiple different/editors, the reference is cited as (AuthorName, et al). Presumably the "et al" refers to the editors.
    2. [zotpressInTextBib] will repeat the same reference multiple times if it is cited multiple times in the text of the blog entry.
    3. the list of references generated by [zotpressInTextBib] is not in alphabetical order but in the order that they were cited in the text (they are not numbered either). This seems to be regardless of citation style (I've tried APA, MLA and Chicago). Most citation styles dictate the manner in which the bibliography/reference list is printed so it would be nice if [zotpressInTextBib] adhered to it.

    I am using Zotpress 4.5.4

    Hope you can fix these. Thanks!

    http://wordpress.org/extend/plugins/zotpress/

  2. signul
    Member
    Posted 3 years ago #

    Fixed 2 & 3 (sort of).

  3. jmdoran
    Member
    Posted 2 years ago #

    I have the same problem using 4.5.4 and it is not fixed for me. Also, if I'm on a page listing multiple posts that each have a call to [zotpressInTextBib] it will keep adding each new citation to each successive bibliography.

    Basically these shortcodes don't work at all unless you want to make only distinct citations (no multiples), which you happen to cite in alphabetical order, and only once per page.

    This should either be fixed if possible (I suspect it's quite a challenge with the limits of shortcodes?) or just toss out this feature.

  4. Dejan
    Member
    Posted 2 years ago #

    The repetition issue can be fixed by changing:

    $GLOBALS['zp_shortcode_instances'][count($GLOBALS['zp_shortcode_instances'])]

    with

    $GLOBALS['zp_shortcode_instances'][$item]

    in zotpress.shortcode.intext.php.

  5. Katie
    Member
    Plugin Author

    Posted 2 years ago #

    Most of these issues should be resolved in the new version, coming very soon! #1 however appears to be due to how Zotero creates the author field. Thanks for your feedback and patience (and for Dejan finding a fix for the current version).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags