seboettg / citeproc-php

Full-featured CSL 1.0.1 processor for PHP
MIT License
75 stars 39 forks source link

Cite-proc ignores et-al attributes if they set on bibliography/citation level #145

Open xopoc14 opened 1 year ago

xopoc14 commented 1 year ago

Bug reports:

Chicago and other styles have et-al attributes set on bibliography/citation element. These settings are totally ignored by rendering.

Used CSL stylesheet:

chicago-author-date-16th-edition.csl

Used CSL metadata

Please replace these lines with your used metadata, for instance:

[
    {
        "author": [
            {
                "family": "First",
               "given": "James"
            }, 
            {
                "family": "Second",
               "given": "Jay"
            }, 
            {
                "family": "Third",
               "given": "John"
            }, 
            {
                "family": "Fourth",
               "given": "Jack"
            }, 
            {
                "family": "Fifth",
               "given": "Jacob"
            }, 
            {
                "family": "Sixth",
               "given": "Joseph"
            }, 
            {
                "family": "Seventh",
               "given": "Julian"
            }, 
            {
                "family": "Eighth",
               "given": "Jayden"
            }, 
            {
                "family": "Ninth",
               "given": "Jackson"
            }, 
            {
                "family": "Tenth",
               "given": "Jasper"
            }, 
            {
                "family": "Eleventh",
               "given": "Jonathan"
            }, 
            {
                "family": "Twelfth",
               "given": "Jeremiah"
            }
        ], 
        "id": "ITEM-1", 
        "type": "book",
        "title": "Test"
    }
]

Expected: First, James, Jay Second, John Third, Jack Fourth, Jacob Fifth, Joseph Sixth, Julian Seventh, et al. 2001. Test.

Actual: First, James, Jay Second, John Third, Jack Fourth, Jacob Fifth, Joseph Sixth, Julian Seventh, Jayden Eighth, Jackson Ninth, Jasper Tenth, Jonathan Eleventh, and Jeremiah Twelfth. 2001. Test.