Citation style request: AMA with parenthesis for citation number instead of superscript
Hi, I'm trying to edit the American Medical Association (no URL) style to incorporate parentheses for the citation numbers instead of having the numbers in superscript form. This is for Journal of Clinical Investigation (not in the database).
What I tried to do was replace the following:
With:
Opening this style in zotero Firefox doesn't work. I always get the error: .csl file is not a valid style file.
Please let me know what I'm doing wrong. Thanks in advance!
What I tried to do was replace the following:
<layout delimiter="," vertical-align="sup">
<text variable="citation-number"/>
<group prefix="(" suffix=")">
<label variable="locator" form="short" strip-periods="true"/>
<text variable="locator"/>
With:
<layout prefix=“(“ suffix=“)” delimiter=", “>
<text variable="citation-number"/>
<group prefix="(" suffix=")">
<label variable="locator" form="short" strip-periods="true"/>
<text variable="locator"/>
Opening this style in zotero Firefox doesn't work. I always get the error: .csl file is not a valid style file.
Please let me know what I'm doing wrong. Thanks in advance!
For CSL (and really for all computer code) you always want straight quotes.
As basic tools, Notepad on Windows or TextEdit on Mac will work, though editors like Atom (cross platform) provide more features like code highlighting.
2 (p123)
You might want to instead, change the group prefix to ", " which will print like this:
(2, p123)