seboettg / citeproc-php

Full-featured CSL 1.0.1 processor for PHP
MIT License
73 stars 38 forks source link

Capitalization of prepositions in spanish #147

Open livio28 opened 1 year ago

livio28 commented 1 year ago

Please follow the general troubleshooting steps first:

Bug reports:

The prepositions in spanish (espagnol: Espagna) within the journal title Estudios de Lingüística del Español) are capitalized which is wrong. The styles APA, MLA and Chicago are concerned.

Used CSL stylesheet:

Please replace this line with the name of your used CSL stylesheet (i.e. chicago-author-date-16th-edition.csl)

Used CSL metadata

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

[
    {
        "author": [
            {
                "family": "Anderson", 
                "given": "John"
            }, 
            {
                "family": "Brown", 
                "given": "John"
            }
        ], 
        "id": "ITEM-2", 
        "type": "book",
        "title": "Two authors writing a book"
    }
]
seboettg commented 1 year ago

Hi @livio28, thank you for reporting this issue. In order to reproduce this I need the used metadata.

stutzmann72 commented 1 year ago

Hi @seboettg

I complement Livios issue. He's one of our journal editors.

image

We use the OJS plugin here https://github.com/pkp/citationStyleLanguage for OJS Version 3.3.0_12 https://github.com/pkp/citationStyleLanguage/releases/tag/3_3_0-12 .

Version Information:


<!--
  * plugins/generic/citationStyleLanguage/version.xml
  *
  * Copyright (c) 2017-2020 Simon Fraser University
  * Copyright (c) 2017-2020 John Willinsky
  * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
  *
  * Plugin version information.
  -->
<version>
        <application>citationStyleLanguage</application>
        <type>plugins.generic</type>
        <release>0.1.0.0</release>
        <date>2017-06-28</date>
        <lazy-load>1</lazy-load>
        <class>CitationStyleLanguagePlugin</class>
</version>

PKP mentioned https://github.com/pkp/citationStyleLanguage/issues/100 to post the issue directly at the developers github.

Metadata Export Export in Json:

[
    {
        "id": "http://zotero.org/users/local/x6MFNO9Q/items/5LV4TEFW",
        "type": "article-journal",
        "abstract": "&lt;p&gt;The purpose of this paper is to analyze the linguistic signs constituting the ironic statements present in a corpus of one hundred of editorials on the war in Cuba, published in the Andalusian press between 1895 and 1898. This war had a special impact on Andalusia, due to the close commercial relations of its population with the inhabitants of the island and the fact that Cádiz became one of the key points of embarkation of the soldiers who left for the Antillean lands. The press was then the only way that the Andalusians had to inform themselves about the overseas events, hence we have proposed to analyze how the local press uses irony to express to its readers its vision of current news. This has allowed us to identify the main types of irony present in these newspapers, as well as the targets that they try to attack through this pragmatic resource.&lt;/p&gt;",
        "container-title": "Estudios de Lingüística del Español",
        "DOI": "10.36950/elies.2022.46.5",
        "journalAbbreviation": "ELiEs",
        "note": "section: Artículos",
        "page": "pp. 57-80",
        "title": "La ironía verbal en editoriales de la prensa decimonónica sobre la guerra de Cuba (1895-1898)",
        "URL": "https://bop.unibe.ch/elies/article/view/9061",
        "volume": "46",
        "author": [
            {
                "family": "Mancera Rueda",
                "given": "Ana"
            }
        ],
        "accessed": {
            "date-parts": [
                [
                    "2023",
                    2,
                    27
                ]
            ]
        },
        "issued": {
            "date-parts": [
                [
                    "2022",
                    12,
                    10
                ]
            ]
        }
    }
]

Concerned CSL Stylesheets:

<title>American Psychological Association 6th edition</title>

<title>Chicago Manual of Style 17th edition (author-date)</title>

<title>Modern Language Association 8th edition</title>

Thanks! Jan

glorieux-f commented 11 months ago

Same problem for French #165.