Problem with capitalisation of Short Titles [MLZ]
Hi, I am using a custom footnote citation style in MLZ version (Zotero for Firefox).
From a certain point short titles of books ceased to capitalise the titles in an inserted citation. For example, in a description (Info column) of a book, I have 'A Short Story of Atonement', but after I insert this footnote in Word, it shows 'A short story of atonement'. Suggestions to right-click the Short Title in the Info column and choose 'Title Case' or 'Sentence Case' do not help to fix the problem, since short titles of my books are already in the Title Case.
The person who is working on this citation style says he doesn't know how to fix the problem. De-capitalisation of short titles just happens and he is unable to prevent it.
Could anyone give me and the style designer an idea of how to fix the problem, please?
From a certain point short titles of books ceased to capitalise the titles in an inserted citation. For example, in a description (Info column) of a book, I have 'A Short Story of Atonement', but after I insert this footnote in Word, it shows 'A short story of atonement'. Suggestions to right-click the Short Title in the Info column and choose 'Title Case' or 'Sentence Case' do not help to fix the problem, since short titles of my books are already in the Title Case.
The person who is working on this citation style says he doesn't know how to fix the problem. De-capitalisation of short titles just happens and he is unable to prevent it.
Could anyone give me and the style designer an idea of how to fix the problem, please?
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Upgrade Storage
If possible, could you subscribe to the Juris-M (aka MLZ) support list, and post a query there? If that's difficult, we can continue in this thread, but please change the title to include "[MLZ]" or "[Juris-M]", so the main Zotero developers won't be distracted by the discussion.
To post the style code, paste it into https://gist.github.com, save it as a Public Gist, and post the URL of the page after saving.
I've included [MLZ] in the title as you requested. However doing other things is over my head (especially making sense of Public Gist). Sorry for that.
If you don't mind, I would prefer to continue this thread. I've uploaded the style file to my dropbox https://www.dropbox.com/s/c1lr5ef7zcdga6g/russian-gost-r-705-2008-csl-12_foot_mlz.csl?dl=0. Would that help?
The style shows 111 validation errors against the Juris-M schema. Many of them are probably minor, but it's very likely that one or more of them is causing unexpected behaviour.
To fix the issues, you can load the style into the validating editor on the Juris-M site. You'll need to have a GitHub account to use it. After opening the editor, click on the "Source" button and select "File Upload," then click on "Load." The rest should be self-explanatory - use the "Download" button to save the edited style file locally.
If you need more guidance on the editor, try clicking the (?) button, it will give you a tour.
(The editor will also work against URLs, but the link you posted is to a Dropbox account, which won't work for that I think, hence the full instructions.)
This typically happens if the Nagoya NU HTML Checker website is down, but maybe you get lucky if you wait a little longer'.
It's working here, and I've started ticking through the errors. It looks like it's all trivial stuff - outer spaces in affixes (which aren't permitted in Juris-M), cs:text instead of cs:number, that sort of thing. I'm down to 85 errors, and I'll finish it up for you tomorrow. Once the style is validating, I should be able to tell you whether the downcasing of short titles is a bug in the processor or a bug in the style.
The style editor should now work for you, I think - the login server was down, and I've restarted it. Sorry about that. Do give the editor another try; it's very convenient for previewing results and keeping the code valid.
The Short Title is being forced to lower-case by the text-case="sentence" attributes at lines 227, 320 and 415 of the gist version linked above. Just remove those, and the short title will appear as it is entered in Juris-M.
There is a lot of replicated code in the style. You could simplify it quite a bit by moving replicated code to macros, and making more use of localized terms. It runs fine as it is, though, so that's just a thought for the future.
BTW, I would like to learn and be able to work on the style myself. Could you recommend something like 'CSL for dummies' or something? :) Where should I start, provided that I am just a user and have no idea bout html codes and all that stuff?
https://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step
Same thing wrt to the difference between Zotero/juris-m
fbennett, with your help we were able to correct the problems in lines 227, 320 and 415. Thank you very much. Now Short Title works as it has to.
May I ask some more questions, because the new problems occurred and the style developer does not know how to fix them?
1) When a multi-volume edition is quoted and each volume has a different title, this volume title doesn't get into the footnote. Besides, the system inserts a blank before the first word (Heidelberg).
This is what it looks like:
Heidelberg Cathechism // The Creeds of Christendom with a History and Critical Notes / ed. P. Schaff.: in 3 vols. Vol. 3. New York: Harper & Brothers, 1877. P. 321.
This is what it should look like:
Heidelberg Cathechism // The Creeds of Christendom with a History and Critical Notes / ed. P. Schaff.: in 3 vols. Vol. 3. The Evangelical Protestant Creeds. New York: Harper & Brothers, 1877. P. 321.
2) Also, I would like to include chapter # after the document quoted (i.e. Heidelberg Cathechism. VIII.I // The Creeds... etc.). I tried to use Suffix field, but it places the chapter after the quotation but not after the title of the document quoted. Is there any way to do it except for inserting it manually?
3) Finally, there is a problem with showing a volume # in when the same book is quoted again. Here is how it shows:
Hodge C. Systematic theology... Vol. 2. P. 469.
Ibid. Vol. 2. P. 470.
But the second quotation should not include volume #, but have only Ibid. P. 470.
I would greatly appreciate all help you can provide.