-
Notifications
You must be signed in to change notification settings - Fork 178
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
Creating a Manubot CSL that perfects the format of bibliographic entries #53
Comments
I like the idea of a custom CSL style. We should emphasize what we think is important and not be beholden to tradition. I generally agree with your points above. Alternative viewpoints on the following:
True, but we can't always reliably get more precise information. Metadata for some older manuscripts includes placeholder days and months in some cases (e.g. January 1 of the year). For some URLs, I doubt our ability to automatically retrieve accurate date stamps.
This may be reader-dependent. I personally remember more past literature based on authors and dates than titles. I don't see a need to print the URL. As a reader, I find it easier to search for the title than to type in a URL in most cases. |
Simplify the CSL specification as per manubot#53
Simplifies CSL as well as fixes an issue where Thinklab, Zenodo, and Figshare records do not have container-title set. Now, the style falls back on publisher when container-title is not available. This should make the bibliography less confusing. Refs manubot/rootstock#68 Refs manubot/rootstock#53
This build is based on 6e5bd32. This commit was created by the following Travis CI build and job: https://travis-ci.org/dhimmel/rephetio-manuscript/builds/271857498 https://travis-ci.org/dhimmel/rephetio-manuscript/jobs/271857499 [ci skip] The full commit message that triggered this build is copied below: CSL: customize citation style Simplifies CSL as well as fixes an issue where Thinklab, Zenodo, and Figshare records do not have container-title set. Now, the style falls back on publisher when container-title is not available. This should make the bibliography less confusing. Refs manubot/rootstock#68 Refs manubot/rootstock#53
This build is based on 6e5bd32. This commit was created by the following Travis CI build and job: https://travis-ci.org/dhimmel/rephetio-manuscript/builds/271857498 https://travis-ci.org/dhimmel/rephetio-manuscript/jobs/271857499 [ci skip] The full commit message that triggered this build is copied below: CSL: customize citation style Simplifies CSL as well as fixes an issue where Thinklab, Zenodo, and Figshare records do not have container-title set. Now, the style falls back on publisher when container-title is not available. This should make the bibliography less confusing. Refs manubot/rootstock#68 Refs manubot/rootstock#53
Simplify the CSL specification as per #53
This build is based on b5644db. This commit was created by the following Travis CI build and job: https://travis-ci.org/greenelab/manubot-rootstock/builds/272297708 https://travis-ci.org/greenelab/manubot-rootstock/jobs/272297709 [ci skip] The full commit message that triggered this build is copied below: Customize Manubot citation style (#68) Simplify the CSL specification as per #53
This build is based on b5644db. This commit was created by the following Travis CI build and job: https://travis-ci.org/greenelab/manubot-rootstock/builds/272297708 https://travis-ci.org/greenelab/manubot-rootstock/jobs/272297709 [ci skip] The full commit message that triggered this build is copied below: Customize Manubot citation style (#68) Simplify the CSL specification as per #53
I noticed in the meta review manuscript that some of the reference whitespace was missing when CSL fields were absent. See references 19 and 21 for examples in this version of the pdf. Is that controlled by or fixable in the CSL file? It may only affect references that do not have a date. Edit: It may be the lack of authors that is the problem, not the lack of date. |
Yeah this bugged me too when I was created the revised CSL. I played around a bunch and couldn't find a solution that would always perform appropriate newlines. I can look into a solution. We may have to print "No date", "Date missing", or "In press" as a workaround. Is that acceptable? In general, when there's no date or other missing metadata, it's because the CSL is incomplete. So generally you should manually override this metadata. But yes, I agree that even with incompete metadata we should provide an aesthetic display. |
"In press" seems journal-specific, and not a good match for some of the resources we may link to. "No date" sounds better to me. Or can we use " " as the default? Coming up with a placeholder for missing authors is even harder. It's not that content has "No authors", but rather that we don't know the specific author(s) to attribute sometimes. |
In the future, we may update the CSL to list book editors when there are no book authors. See greenelab/meta-review#74 |
Another CSL suggestion from #132 (comment) is to add a default value when there is no author:
The possible solution in #132 (comment) requires further testing. |
I think we did a good first pass at making an optimal CSL style for modern scholarly publishing. So will close this issue. There are still some spacing issues which were exposed by looking at all metadata combinations in manubot/manubot#110. |
Simplify the CSL specification as per manubot/rootstock#53
Currently, Manubot uses
style.csl
a slightly modified version ofproceedings-of-the-royal-society-b.csl
. While this style is decent, I have some ideas for an optimal style. And of course, authors can always switch the style to that of whatever journal they'd like.The style I envision uses numbers for citations, i.e. renders like
blah blah [1-5,7].
. Non bracketed citations could show author name like:Pippi, Hippi, et al [7] wrote
.Bibliographic entries would look something like:
Daniel S Himmelstein, Ariel R Romero, Stephen R McLaughlin, Bastian Greshake Tzovaras, Casey S Greene
PeerJ Preprints (2017-07-20) DOI:
10.7287/peerj.preprints.3100v1
Ideally, author names would be in smaller text and hyperlink to ORCID records when available. The smallness of text here is an exaggeration (limited formatting options).
Compared to historical bibliographic formats, the following points are stressed:
There's a webapp to generate a custom CSL style. I've found it a bit difficult to use, but its probably the way to go.
One question is whether to print out the URL rather than hyperlink the title. The benefit of showing the URL would be for readers who have printed the PDF. However, if a reader is at a computer, they could always go back to the digital version with the hyperlink.
Suggestions welcome.
The text was updated successfully, but these errors were encountered: