-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Create gazeta-medica.csl #4378
Merged
Merged
Create gazeta-medica.csl #4378
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,196 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<style xmlns="http://purl.org/net/xbiblio/csl" page-range-format="minimal" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US"> | ||
<info> | ||
<title>Gazeta Médica</title> | ||
<id>http://www.zotero.org/styles/gazeta-medica</id> | ||
<link href="http://www.zotero.org/styles/gazeta-medica" rel="self"/> | ||
<link href="http://www.zotero.org/styles/brazilian-journal-of-infectious-diseases" rel="template"/> | ||
<link href="http://www.gazetamedica.pt/index.php/gazeta/about/submissions" rel="documentation"/> | ||
<author> | ||
<name>Patrick O'Brien</name> | ||
</author> | ||
<category citation-format="numeric"/> | ||
<category field="medicine"/> | ||
<issn>2183-8135</issn> | ||
<eissn>2184-0628</eissn> | ||
<updated>2019-10-22T11:24:24+00:00</updated> | ||
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights> | ||
</info> | ||
<macro name="access"> | ||
<choose> | ||
<if variable="DOI"> | ||
<text variable="DOI" prefix="doi: "/> | ||
</if> | ||
<else-if type="webpage post-weblog" match="any"> | ||
<choose> | ||
<if variable="URL"> | ||
<group delimiter=" "> | ||
<text variable="URL" prefix="Available at: "/> | ||
<date variable="accessed" prefix="[accessed " suffix="]" form="text"/> | ||
</group> | ||
</if> | ||
</choose> | ||
</else-if> | ||
</choose> | ||
</macro> | ||
<macro name="author"> | ||
<names variable="author"> | ||
<name suffix="." form="long" initialize="true" initialize-with="" delimiter=", " delimiter-precedes-et-al="always" delimiter-precedes-last="contextual" name-as-sort-order="all" sort-separator=" "/> | ||
<substitute> | ||
<names variable="editor"/> | ||
<names variable="translator"/> | ||
</substitute> | ||
</names> | ||
</macro> | ||
<macro name="editor"> | ||
<names variable="editor"> | ||
<name form="long" initialize="true" initialize-with="" delimiter=", " delimiter-precedes-et-al="never" delimiter-precedes-last="always" name-as-sort-order="all" sort-separator=" "/> | ||
<label form="long" prefix=", " plural="contextual" suffix="."/> | ||
</names> | ||
</macro> | ||
<macro name="year-date"> | ||
<choose> | ||
<if variable="issued"> | ||
<date variable="issued"> | ||
<date-part name="year" form="long" range-delimiter="–"/> | ||
</date> | ||
</if> | ||
<else> | ||
<text term="no date" form="short"/> | ||
</else> | ||
</choose> | ||
</macro> | ||
<macro name="journal-location"> | ||
<choose> | ||
<if type="article-journal article-magazine" match="any"> | ||
<text variable="volume" form="long"/> | ||
</if> | ||
</choose> | ||
</macro> | ||
<macro name="publisher"> | ||
<group delimiter="; "> | ||
<group delimiter=": "> | ||
<text variable="publisher-place"/> | ||
<text variable="publisher"/> | ||
</group> | ||
<text macro="year-date"/> | ||
</group> | ||
</macro> | ||
<macro name="publisher_thesis"> | ||
<group delimiter=", "> | ||
<text variable="publisher" form="long"/> | ||
<text variable="publisher-place" form="long"/> | ||
</group> | ||
</macro> | ||
<macro name="edition_book"> | ||
<choose> | ||
<if is-numeric="edition"> | ||
<group delimiter=" "> | ||
<number variable="edition" form="ordinal"/> | ||
<text term="edition" form="short"/> | ||
</group> | ||
</if> | ||
<else> | ||
<text variable="edition"/> | ||
</else> | ||
</choose> | ||
</macro> | ||
<macro name="edition_chapter"> | ||
<choose> | ||
<if is-numeric="edition"> | ||
<group delimiter=" "> | ||
<number variable="edition" form="ordinal"/> | ||
<text term="edition" form="short"/> | ||
</group> | ||
</if> | ||
<else> | ||
<text variable="edition"/> | ||
</else> | ||
</choose> | ||
</macro> | ||
<citation collapse="citation-number"> | ||
<sort> | ||
<key variable="citation-number" sort="ascending"/> | ||
</sort> | ||
<layout delimiter="," vertical-align="sup"> | ||
<text variable="citation-number"/> | ||
</layout> | ||
</citation> | ||
<bibliography entry-spacing="0" second-field-align="flush" et-al-min="7" et-al-use-first="3"> | ||
<layout suffix="."> | ||
<text variable="citation-number" suffix="."/> | ||
<text macro="author" suffix=" "/> | ||
<choose> | ||
<if type="bill book graphic legal_case legislation motion_picture report song" match="any"> | ||
<group delimiter=". "> | ||
<text variable="title" form="long"/> | ||
<text variable="volume" prefix="vol. " form="long"/> | ||
<text macro="edition_book"/> | ||
<text macro="publisher"/> | ||
</group> | ||
</if> | ||
<else-if type="chapter paper-conference" match="any"> | ||
<group delimiter=". "> | ||
<group delimiter=". "> | ||
<text variable="title" form="long"/> | ||
<group delimiter=" "> | ||
<text term="in" form="short" text-case="capitalize-first" suffix=":"/> | ||
<text macro="editor"/> | ||
</group> | ||
<group delimiter=", "> | ||
<text variable="container-title"/> | ||
<text variable="volume" form="long" prefix="vol. "/> | ||
</group> | ||
<text macro="edition_chapter"/> | ||
</group> | ||
<text macro="publisher"/> | ||
<group delimiter=" "> | ||
<label variable="page" form="short" plural="never"/> | ||
<text variable="page" form="short"/> | ||
</group> | ||
</group> | ||
</else-if> | ||
<else-if type="patent"> | ||
<group delimiter=", "> | ||
<group delimiter=". "> | ||
<text variable="title" form="long"/> | ||
<text variable="number" form="long"/> | ||
</group> | ||
<text macro="year-date"/> | ||
</group> | ||
</else-if> | ||
<else-if type="thesis"> | ||
<group delimiter=" "> | ||
<text variable="title" form="long" suffix="."/> | ||
<text variable="genre" form="long" suffix=","/> | ||
<text macro="publisher_thesis" suffix="," text-case="title"/> | ||
<text macro="year-date"/> | ||
</group> | ||
</else-if> | ||
<else-if type="webpage"> | ||
<group delimiter=" "> | ||
<text variable="title" form="long" suffix="."/> | ||
<text variable="container-title" form="long" suffix="." text-case="title"/> | ||
<text macro="access"/> | ||
</group> | ||
</else-if> | ||
<else> | ||
<group delimiter=":"> | ||
<group delimiter=". "> | ||
<group delimiter=". "> | ||
<text variable="title" form="long"/> | ||
<text variable="container-title" form="short" text-case="title" strip-periods="true"/> | ||
</group> | ||
<group delimiter=";"> | ||
<text macro="year-date"/> | ||
<text macro="journal-location"/> | ||
</group> | ||
</group> | ||
<text variable="page" form="short"/> | ||
</group> | ||
<text macro="access" prefix=". "/> | ||
</else> | ||
</choose> | ||
</layout> | ||
</bibliography> | ||
</style> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@POBrien333, maybe we should remove the default-locale, even if you didn't test the style in both languages?
http://www.gazetamedica.pt/index.php/gazeta/about/submissions:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good spot!