replace comma with fullstop/ period if no URL
Hi, I have tried to correct this in the visual CSL editor but I am not getting it right.
Journal: Onderstepoort Journal of Veterinary Science (based on Harvard Reference Style)
When I have a journal entry without an accessed 'from' web address at the end, I want the entry to end on a period/ fullstop and not a comma.
e.g. currently the entry after page numbers looks like this:
Accadia, T., Acernese, F., Alshourbagy, M., Amico, P., Antonucci, F., Aoudia, S., et al., 2012, 'Virgo: a laser interferometer to detect gravitational waves', Journal of Instrumentation 7, P03012–P03012,
But I need the entry to look like this:
Accadia, T., Acernese, F., Alshourbagy, M., Amico, P., Antonucci, F., Aoudia, S., et al., 2012, 'Virgo: a laser interferometer to detect gravitational waves', Journal of Instrumentation 7, P03012–P03012.
The comma at the end is to make provision for these kind of entries, where the use of the comma is obviously correct:
Einstein, A., 1905, 'On the electrodynamics of moving bodies', Annalen der Physik 17, 1–26, from http://bavard.fourmilab.ch/etexts/einstein/specrel/specrel.pdf.
Please can you suggest the code changes to get this right?
Journal: Onderstepoort Journal of Veterinary Science (based on Harvard Reference Style)
When I have a journal entry without an accessed 'from' web address at the end, I want the entry to end on a period/ fullstop and not a comma.
e.g. currently the entry after page numbers looks like this:
Accadia, T., Acernese, F., Alshourbagy, M., Amico, P., Antonucci, F., Aoudia, S., et al., 2012, 'Virgo: a laser interferometer to detect gravitational waves', Journal of Instrumentation 7, P03012–P03012,
But I need the entry to look like this:
Accadia, T., Acernese, F., Alshourbagy, M., Amico, P., Antonucci, F., Aoudia, S., et al., 2012, 'Virgo: a laser interferometer to detect gravitational waves', Journal of Instrumentation 7, P03012–P03012.
The comma at the end is to make provision for these kind of entries, where the use of the comma is obviously correct:
Einstein, A., 1905, 'On the electrodynamics of moving bodies', Annalen der Physik 17, 1–26, from http://bavard.fourmilab.ch/etexts/einstein/specrel/specrel.pdf.
Please can you suggest the code changes to get this right?
You can try to use my small hack here (before it is updated in the repo): https://gist.github.com/zuphilip/f6c46bb987178df57067
Do you see any more errors?
Yes, the small hack is much better.
There is still one error that I spotted using the hack though:
With theses, the bibliography comes out like this:
Van Schalkwyk, O.L., 2004, 'Bone density and calcium and phosphorous content of the giraffe (Giraffa camelopardalis) and African buffalo (Syncerus caffer) skeletons'MSc Dissertation, University of Pretoria, Pretoria, from http://upetd.up.ac.za/UPeTD.htm.
After the title of the thesis, there should be a comma and space ", "
e.g.:
Van Schalkwyk, O.L., 2004, 'Bone density and calcium and phosphorous content of the giraffe (Giraffa camelopardalis) and African buffalo (Syncerus caffer) skeletons', MSc Dissertation, University of Pretoria, Pretoria, from http://upetd.up.ac.za/UPeTD.htm.