-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a "primary source" variable #388
Comments
I am really not following what the styling you are saying is needed about titles. Can you give some specific real examples? |
Yes, I should have done it before. Say that we want to refer to Anastasius Sinaita's Hodegos, edited by Karl-Heinz Uthemann in the volume 8 of the CCSG collection under the title Anastasii Sinaitae Viae Dux (viae dux is the translation of hodegos in Latin). Here are the rendering possibilities :
So if one plans to write for the BMGS, one should register Anastasii Sinaitae Viae Dux as the |
Here are some of my thoughts: tl;dr: I think we can largely cover this with existing fields and item types, though codifying expected mappings would be good. For the case where an item is part of a larger article/chapter, —————————————- The item Likewise, For the case where you have a primary source published as a component of an article or chapter, the article/chapter title should be used as the The above creates maximal compatibility across styles and disciplines. As for item types, I’m inclined to think that these should be entered as either (We haven’t much discussed the issue of citing a component of an article or chapter. This could potentially be relevant for, eg, the item types |
Argh, this reminds me of our discussions we've had regarding the treatment of introductions in Chicago styles: @cormacrelf proposed here to add some sort of "first-class, namespaced escape hatches" in order to cover this. And I think we're in a very similar situation here. We can cover 98% of these things, but style interoperability may suffer in certain cases. Regarding these examples:
I think ACHCByz and REB can be covered this way: title: Hodegos
container-title: Anastasii Sinaitae Viae Dux But if you change to BMGS, how will you use the The bigger problem with all this is that these kind of rules make distinctions not based on item metadata, but on the content of an item. (I agree adding a new |
Thank you both for these very interesting insights. I totally agree that a primary source should be of the type of the work in which it has been published. If I understand well, whereas I tended to consider the primary source title as a supplementary information, you prefer to set it as the item's main title, hence the need to add I would prefer the adding of new I don't think that there would be a problem for BMGS if we use <macro name="author-source">
<choose>
<if variable="chapter-title">
<names variable="author"/>
</if>
<else-if type="book" variable="container-title" match="all">
<names variable="author"/>
</else-if>
</choose>
</macro>
<macro name="title-source">
<choose>
<if variable="chapter-title">
<text variable="title" font-style="italic"/>
</if>
<else-if type="book" variable="container-title" match="all">
<text variable="title" font-style="italic"/>
</else-if>
</choose>
</macro>
<macro name="author">
<names variable="author"/>
<names variable="editor translator">
<label form="short" suffix=" "/>
<name/>
</names>
</macro>
<macro name="title">
<choose>
<if variable="chapter-title">
<text variable="chapter-title"/>
</if>
<else-if type="book" variable="container-title" match="all">
<text variable="container-title" font-style="italic"/>
</else-if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<citation>
<layout delimiter=", " suffix=".">
<text macro="author-source"/>
<text macro="title-source"/>
<text macro="author"/>
<text macro="title"/>
</layout>
</citation> And for BMGS: <macro name="author-source">
<choose>
<if variable="chapter-title">
<names variable="author"/>
</if>
<else-if type="book" variable="container-title" match="all">
<names variable="author"/>
</else-if>
</choose>
</macro>
<macro name="title-source">
<choose>
<if variable="chapter-title">
<text variable="chapter-title" font-style="italic"/>
</if>
<else-if type="book" variable="container-title" match="all">
<text variable="container-title" font-style="italic"/>
</else-if>
</choose>
</macro>
<macro name="author">
<names variable="author"/>
<names variable="editor translator">
<label form="short" suffix=" "/>
<name/>
</names>
</macro>
<macro name="title">
<choose>
<if variable="chapter-title"/>
<else-if type="book" variable="container-title" match="all"/>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<citation>
<layout delimiter=", " suffix=".">
<text macro="author-source"/>
<text macro="title-source"/>
<text macro="author"/>
<text macro="title"/>
</layout>
</citation> In other terms, the presence of a The only advantage I still find in creating a |
Well, we have actually decided to use this for items that originally have been published as independent items, but are are now contained in a container if some sort, a book or a multivolume book or so. A typical case is a book now republished in the Collected writings of an author, think of Adorno's Negative dialectics, Marx's Capital. The title of those works should be in italics, not in quotes. That's a similar case, but not strictly identical. |
Oh, I see. Could it lead to a different formatting? In which case it would be an additional argument for the creation of a special variable for primary sources titles. Another argument that I haven't cited yet would be the greater simplicity and readability of conditionals in CSL stylesheets, as only a |
How would BMGS cite a typical chapter, rather than a primary source chapter? Does it also omit the chapter title there? |
No, they don't omit the chapter title in this case. Here is the example given in the style sheet:
|
What would speak for the addition of a Anyway, in CSL 1.1 we'll extend the capabilities of title variables by converting them to objects. Maybe this use case could be covered there? |
I am concerned that |
Exactly. My thinking above was that we could add it as an alternative title once title variables are objects. Just as we do with screen names, alternative names, or the language alternates proposed here: #327 (comment) |
I understand your concern. Setting it as an alternate inside a title object seems to be a nice solution, presenting the advantages discussed above without being too specific. Actually it would conform to libraries' catalogues, which either ignore those titles or register it as "alternative" or "other title". What type of alternate would you consider? Something like As for using the |
As a stopgap field, I'd suggest a less-used field like |
Thank you for the suggestion! Unfortunately it doesn't appear in Zotero, but that is not an obstacle per se.
Le Tuesday 22 December 2020 à 09:54:37AM, Brenton M. Wiernik a écrit :
… As a stopgap field, I'd suggest a less-used field like annote versus abstract,
which comes pre-filled for many items when you import from the web.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.*
|
If it's for your own purposes only you can even use arbitrary variables via extra. Currently that should work with pandoc and citeproc-js. Don't know about citeproc-rs that will replace citeproc-js at some point.
________________________________________
Von: badumont <[email protected]>
Gesendet: Dienstag, 22. Dezember 2020 19:13:08
An: citation-style-language/schema
Cc: Maier, Denis Christian (UB); Mention
Betreff: Re: [citation-style-language/schema] Add a "primary source" variable (#388)
Thank you for the suggestion! Unfortunately it doesn't appear in Zotero, but that is not an obstacle per se.
Le Tuesday 22 December 2020 à 09:54:37AM, Brenton M. Wiernik a écrit :
As a stopgap field, I'd suggest a less-used field like annote versus abstract,
which comes pre-filled for many items when you import from the web.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.*
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#388 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABDTWJREK5Z6RZHA4CFVNBDSWDOTJANCNFSM4VEWSMAQ>.
|
@badumont In Zoter, add it to the top of Extra like this: @denismaier By the point that Zotero moves to citeproc-rs, it will have implemented its own migration from Extra/custom field system. |
Actually I am refactoring all my code and writing a user guide because I know too many colleagues who can't use Zotero because of their lack of knowledge of its advanced features and the inavailability of styles filling their needs. My goal would be to create a set of styles that could ultimately go to the official repository, so I don't want to add custom extensions to the CSL guidelines, although I don't know of such baroque a use of its variables would permit to do it for now...
Le Tuesday 22 December 2020 à 10:30:01AM, Brenton M. Wiernik a écrit :
… @badumont In Zoter, add it to the top of Extra like this:
annote: Primary source title
@denismaier By the point that Zotero moves to citeproc-rs, it will have
implemented its own migration from Extra/custom field system.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.*
|
In the field of history, there is no uniform rules for citing primary sources in bibliography. The problem is that such items have two main titles: that of the source itself, and that of the publication or the manuscript through which we have access to it. Several strategies are used:
classic
type will be made for. However it concerns only a handful of well-referenced Greek and Latin authors;The case of the classics apart, all these primary sources should be registered with the type of the work in which they are published. However, there is no way to represent them in CSL consistently across publishers: in some cases, the value of the
title
variable should be the source's title, in others the publication's title, while CSL currently doesn't provide any satisfactory solution to register both in a same bibliographical item.This problem could be solved by creating a
primary-source
field. Adopting it would imply some rewriting for the styles that already exist, but it would also remove the need to use ad hoc workarounds: for instance, the BMGS style requires to set the variableoriginal-publisher-place
in primary sources items in order to display properly the name of primary sources' authors. It would also provide a way to implement proper formatting of the primary sources in styles that barely ignore the issue (like the JÖB style or the REB style, whose author gave up before having managed to meet the journal's requirements).I hope that I clearly explained the issue. Please don't hesitate to require some clarifications if I didn't.
The text was updated successfully, but these errors were encountered: