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
GOST variants #649
GOST variants #649
Conversation
I see he commented here as well: http://chetvericov.ru/stil-oformleniya-dlya-mendeley-i-zotero-csl-po-gost-r-705-2008/#.UfKF_Y3FV1Z (I don't read Russian, though) I need more information in order to merge this (and the style metadata needs some work regardless). Can these styles be used to replace https://github.com/citation-style-language/styles/blob/master/gost-r-7-0-5-2008.csl and https://github.com/citation-style-language/styles/blob/master/gost-r-7-0-5-2008-numeric.csl ? And is there a real need to have 3 differently sorted variants of the numeric version? |
@romanraspopov -- just comment here in response. |
@romanraspopov -- the biggest questions are
|
|
for 2. see here:
On Fri, Jul 26, 2013 at 12:11 PM, Roman Raspopov
Sebastian Karcher |
|
For 1, what does the GOST style guide say about sorting, specifically? |
I checked the GOST documentation - all those sorting options are standard and all of them are needed. So this is correct to provide all of them separately. I have just updated all four styles. |
Thanks, that's what I needed to know. Your styles don't pass our automatic testing (see https://travis-ci.org/citation-style-language/styles/builds/9598031 ). First, it appears your styles aren't valid CSL (see https://github.com/citation-style-language/styles/wiki/Validation). I can't give you specific errors since http://validator.nu/ is down at the moment and http://simonster.github.io/csl-validator.js/ doesn't give any output for your style (maybe it trips on all the XML comments). Second, the style names have to be changed a little. For instance, GOST-R-7.0.5-2008-author-date-alphab.csl should be renamed to gost-r-7-0-5-2008.csl to match the existing style (since we want to replace it), and the style ID and "self" link will have to be changed to match. (I'll give the desired names for the other three styles once you address my question below) Also, I looked at your chronological style, and its bibliography is first sorted by |
In chronological style the first sorting option is then . Maybe the commenting signs “<!--” are a bit confusing. I wish I knew how to validate them… Style names can be replaced as follows: |
@romanraspopov, you're right, I was confused by the XML comments. First, let's deal with the style validation. Validator.nu is back up. See e.g. http://validator.nu/?doc=https%3A%2F%2Fraw.github.com%2Fajlyon%2Fstyles%2F82ada0277c8c773926b212093b4be590eff47ef5%2FGOST-R-7.0.5-2008-author-date-alphab.csl&schema=https%3A%2F%2Fgithub.com%2Fcitation-style-language%2Fschema%2Fraw%2Fv1.0.1%2Fcsl.rnc&parser=xml&laxtype=yes Note that "language" is not a variable in CSL 1.0.1, even though citeproc-js will accept it. (the reason is that the language field will typically hold a language code, which is unlikely to ever appear in a printed citation or bibliography) |
I see…
What if the styles are not validatable? |
we don't accept styles that don't validate. CSL styles are used in different software, relying on at least four different processors (i.e. software that interprets them), we have no idea what may break with styles that don't validate according to our published schema. |
|
Looks like these styles can only be used “unofficially”, beyond repository. Let it be. I just wanted Zotero users (like me) to do their research papers more conveniently. |
I don't know what the best way is to distribute styles that can't be put in the general repo -- you are welcome to keep them in this fork of the styles repository, so at least we can benefit from Github's hosting and version control. And if we find that GOST can't be implemented within the spec, these styles are a strong argument for revisions to the CSL specification going forward; widely-adopted governmental standards should be able to be represented in CSL. |
I think the workaround for 2) is to redefine the "et-al" term as an empty string and just rely on the normal et-al abbreviation logic. ( "suppress-min" and the multiple @romanraspopov, if you're willing to strip out the non-validating changes to the GOST styles we can accept them in the official repository. Other than that, you're of course free to distribute the original styles yourself. |
I don't dispute that there is work to be done here, especially on the language front. CSL development is just slow because: a) I volunteer a lot more time nowadays on accepting styles into the repository, b) Frank is quite busy with MLZ, and c) motivation is an issue, for both Frank and me. I've often found it more productive to team up with Frank than to solely rely on the xbiblio list. Since I'm not worth much as a programmer, I've always heavily relied him for fleshing out CSL XML syntax ideas, creating unit tests, and proof-of-concept implementation in citeproc-js, and CSL 1.0 and 1.0.1 wouldn't exist if it wasn't for him. But clearly he has a lot on his plate already. I think that to get CSL development to speed up again, we'd need either:
|
Stripping out non-validating parts of the styles will cut significant functions, so there is no much sense in placing "cut" versions in repository. I`d rather place it in this non-validating state here on Github (in separate repo maybe) or somewhere else, in order that any user could easily download and use it. |
You could put up a link to your styles at http://chetvericov.ru/stil-oformleniya-dlya-mendeley-i-zotero-csl-po-gost-r-705-2008/#.Uflc143FV1a (and mention that these CSL styles only work with citeproc-js based reference managers, such as Zotero and Mendeley). But we're not going to add a repository for CSL-m styles ourselves. Perhaps @fbennett would be interested in hosting your styles at https://github.com/fbennett/mlz-styles (they would still have to validate against his CSL-m schema, though, which they currently won't because of issue (4) I highlighted above). |
Yes, that`s clear. |
These styles were submitted to me by Roman Raspopov.