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

Updated the AMA base style to properly reference presentations #3274

Merged
merged 8 commits into from Jan 19, 2018

Conversation

Projects
None yet
3 participants
@danwchan
Copy link
Contributor

danwchan commented Jan 18, 2018

speech is the CSL type which seems most fitting for orally presented work at a conference. genre holds the type presented. The AMA style guide gives examples of types as "posters" or "papers". event, event-place and date hold the name, location and date of the conference.

an example of a properly rendered presentation from the AMA style guide:

Greenspan A, Eerdekens M, Mahmoud R. Is there an increased rate of cerebrovascular events among dementia patients? Poster presented at: 24th Congress of the Collegium Internationale Neuro-Psychopharmacologicum (CINP); June 20–24, 2004; Paris, France.

@csl-bot

This comment has been minimized.

Copy link

csl-bot commented Jan 18, 2018

Awesome! You just created a pull request to the Citation Styles Language styles repository. One of our human volunteers will try to get in touch soon (usually within a week). In the meantime, I will run some automated checks. You should be notified of the results in a few minutes.

If you haven't done so yet, please make sure your style validates and follows all our other Style Requirements.

To update this pull request, visit the "Files changed" tab above, and click on the pencil icon (see below) in the top-right corner of your style to start editing.

If you have any questions, please leave a comment and we'll get back to you. While we usually respond in English, feel free to write in whatever language you're most comfortable.

@csl-bot

This comment has been minimized.

Copy link

csl-bot commented Jan 18, 2018

😃 Your submission passed all our automated tests.

@csl-bot

This comment has been minimized.

Copy link

csl-bot commented Jan 18, 2018

😟 There are some issues with your submission. Please check the test report for details.

@@ -215,6 +219,20 @@
<else-if type="webpage">
<text variable="container-title" prefix=" " suffix="."/>
</else-if>
<else-if type="speech">
<group delimiter=" ">
<text variable="genre" prefix=" " suffix=" presented at:"/>

This comment has been minimized.

@adam3smith

adam3smith Jan 18, 2018

Member

please use <text term="presented at" suffix=":"/> instead to keep the style localizable to non-English.
We should also think about some different scenarios here, i.e. what if genre is not present? What if event is missing (less likely)

This comment has been minimized.

@danwchan

danwchan Jan 18, 2018

Author Contributor

Ah yes I hadn't considered the different cases of omitted information. There is no AMA recommendation in these cases but I suppose we can exercise some judgement to make it fail more gracefully. I'll edit this with these considerations and your other suggestion regarding non-English.

This comment has been minimized.

@adam3smith

adam3smith Jan 18, 2018

Member

Exactly, just make sure it looks reasonable, especially when genre is missing, as it often will.

Daniel Chan added some commits Jan 18, 2018

Daniel Chan
Merge branch 'master' of https://github.com/danwchan/styles
update with master to continue working
@csl-bot

This comment has been minimized.

Copy link

csl-bot commented Jan 18, 2018

😟 There are some issues with your submission. Please check the test report for details.

@csl-bot

This comment has been minimized.

Copy link

csl-bot commented Jan 19, 2018

😟 There are some issues with your submission. Please check the test report for details.

@csl-bot

This comment has been minimized.

Copy link

csl-bot commented Jan 19, 2018

😃 Your submission passed all our automated tests.

@adam3smith adam3smith merged commit ebe9d33 into citation-style-language:master Jan 19, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@adam3smith

This comment has been minimized.

Copy link
Member

adam3smith commented Jan 19, 2018

Thanks -- I simplified the logic for presentations without event a bit more (note, btw., that you cannot use random terms, they need to be in the specifications)

@danwchan

This comment has been minimized.

Copy link
Contributor Author

danwchan commented Jan 19, 2018

Mmm yeah I realized that as I was familiarizing myself with CSL more. The failure case where the conference name is omitted isn't graceful in my opinion. It leaves the presented at term hanging.

Thanks for all your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment