Changing position of Editor in MHRA
I am a complete novice to using CSL.
I am currently trying to customise MHRA to fit with my university in house style. I have managed to make some small changes, but am struggling with moving the position of the editor for an edited collection of essays. For example, MHRA currently cites:
Negotiating Clerical Identities, ed. by Jennifer D. Thibodeaux ( New York, 2010)
and I would like it to cite as:
Jennifer D. Thibodeaux (ed.), Negotiating Clerical Identities (New York, 2010)
Could anyone offer me a sample of code that would make this happen? OR at least highlight which bit of the code I need to change?
Thanks.
I am currently trying to customise MHRA to fit with my university in house style. I have managed to make some small changes, but am struggling with moving the position of the editor for an edited collection of essays. For example, MHRA currently cites:
Negotiating Clerical Identities, ed. by Jennifer D. Thibodeaux ( New York, 2010)
and I would like it to cite as:
Jennifer D. Thibodeaux (ed.), Negotiating Clerical Identities (New York, 2010)
Could anyone offer me a sample of code that would make this happen? OR at least highlight which bit of the code I need to change?
Thanks.
This should be fairly easy if you choose a relevant citation via the "Example citations" button (eg. Borges' Selected Non-fictions which has an editor).
The basic idea is to edit the "editor-translator" macro (change the label form to 'short', add affixes for parens and invert 'Name' and 'Label' place) and to drag and drop it before the "title-note" macro.
Tell me if it looks too complicated (and there is a "Give Feedback" link in the editor page).
The alternative for me would be to insert p. or pp. (for plural) infront of the cited page numbers of the Chicago Manual Full Notes... which might be easier...
Thanks for your help- I am not sure I am cut out for this!
-Jorge Luis Borges, Eliot Weinberger (ed.), Esther Allen, Suzanne Jill Levine and Eliot Weinberger (trans.), Selected Non-fictions (New York: Viking, 1999), p. 559
-Isabela Mares, “Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?,” in Peter A Hall and David Soskice (ed.), Varieties of Capitalism. The Institutional Foundations of Comparative Advantage (New York: Oxford University Press, 2001), pp. 184–213.
You've to add two conditionals (and twice actually: under "inline citations" and "bibliography"): one before title-note, one after.
The former would be an "if book", the latter an "if article OR chapter". Both of them would call the same macro: "editor-translator"
Ok?
I was getting:
Jorge Luis Borges, Eliot Weinberger (ed.), Esther Allen, Suzanne Jill Levine and Eliot Weinberger (trans.), Selected Non-fictions, Jorge Luis Borges, Eliot Weinberger (ed.) (New York: Viking, 1999), p. 559
But I think it is maybe simpler for me to just edit the footnotes manually to match my style just before submission. In an ideal world I need it to do this:
Edited book: Jennifer D. Thibodeaux (ed.), Negotiating Clerical Identities (Harlow, 2010)
Article/Chapter in book: Derek Neal, 'What can Historians do with Clerical Identity?,' Negotiating Clerical Identities, ed. by Jennifer Thibodeaux (Harlow, 2010), pp. 1-10
Multiple editors: Jennifer D. Thibodeaux and Derek Neal (eds), Negotiating Clerical Identities (Harlow, 2010)
Thanks for all your help-- my understanding of CSL has definitely improved a lot over the day-- even if my desired format still eludes me!
Screenshot here.
The one last thing I am struggling with is getting the labels to be conditional on type. I need (ed.) for the book format and ed. by for chapters/articles. I tried adding a conditional clause to this effect into the editor-translator macro, but it didn't work, so I must be doing something wrong.
I need:
Jorge Luis Borges, Eliot Weinberger (ed.), Selected Non-fictions (New York, 1999), p. 559.
Isabela Mares, ‘Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers?’, in Varieties of Capitalism. The Institutional Foundations of Comparative Advantage, ed. by Peter A Hall and David Soskice (New York, 2001), pp. 184–213.
Edit the macro "editor-translator" (left pane, under "MACROS"): add two conditional statements under "Group"
If "book" => Names/Conditional. Else if "chapter OR article" => Names/Conditional.
Names/Conditional just above are the existing one that you have to duplicate (manually...) in each (new) conditional. In the second conditional you create, you'll have to edit "Label" and switch "Label" and "Name" (both are under "Names").
Uncaught TypeError: Cannot read property 'name' of undefined
url: http://steveridout.com/csl/CSLEDIT/src/CSLEDIT.visualEditor-710a63faf12880a52445f81645f2f4e246d0c306.js
line: 14123
I might have messed something up earlier on? The 'Conditional' node appears, but I can't add any child-nodes to it.
I can proceed no problem with 'If' rather than 'Else-if'.
You can load it in the visual editor in order to make other changes ("Style" button on the top left> "Load CSL")
Otherwise this is perfect and I am really really grateful.
@fbennett might help us here: the relevant lines in the code are 99 (macro), 391-395 (inline citation) and 423-427 (bibliography).
(by the way, you should check that your style validates especially as the editor is still under dev.)
@Eilid: in the "author" macro, "Names">"Label", edit the affixes to add the parens (or line 32 directly in the code: style updated)
Thanks once again to everyone for their help. I may have to come back begging for more assistance if my supervisor points anything out!
Zotero is a wonderful resource, and having trialled most of the available referencing softwares it is by far the best one I have found for humanities students.
I know that that Chicago does this, but I thought I would check here for help before splicing in random bits of code...