-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Create targetome.csl #7955
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
Merged
POBrien333
merged 21 commits into
citation-style-language:master
from
lucienshawls:patch-1
Dec 24, 2025
+207
−0
Merged
Create targetome.csl #7955
Changes from 5 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
d333143
chore: Add Targetome Numeric citation style for 2025
lucienshawls 6dd44dd
chore: Update targetome-numeric-2025.csl with new links
lucienshawls e5a04ae
chore: Update links and rights information in CSL file
lucienshawls 496cd56
chore: Simplify rights section formatting
lucienshawls 614a51b
Re-indent CSL styles
lucienshawls df9ab0c
chore: rename to targetome.csl
lucienshawls 40ac7a8
chore: use publisher-place for country
lucienshawls 5bdf3f6
chore: reduce use of macros
lucienshawls 3b8a360
chore: use macros for publisher name and place
lucienshawls b68b728
Re-indent CSL styles
lucienshawls 7329688
docs: add notes for country -> place migration
lucienshawls b4cdc8e
docs: add notes for non-English refs
lucienshawls 4f783f3
chore: put editor names and eds together
lucienshawls 8900aba
chore: add judgement for edition format
lucienshawls cbd85e7
rework style
POBrien333 634804a
Re-indent CSL styles
POBrien333 e77dafb
chore: add period between author names and issued year
lucienshawls 1fdc7e7
chore: publisher name also comes before place in report records
lucienshawls b9842cf
chore: book title should be italic
lucienshawls 000d21a
chore: volume:pages -> volume(issue):pages
lucienshawls b21a467
revert dot between author+date
POBrien333 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 hidden or 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,297 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" sort-separator=" " page-range-format="minimal-two" demote-non-dropping-particle="never" default-locale="en-US"> | ||
| <info> | ||
| <title>Targetome References (Numeric, 2025)</title> | ||
| <title-short>Targetome Numeric</title-short> | ||
| <id>http://www.zotero.org/styles/targetome-numeric-2025</id> | ||
| <link href="http://www.zotero.org/styles/targetome-numeric-2025" rel="self"/> | ||
| <link href="http://www.zotero.org/styles/elsevier-vancouver" rel="template"/> | ||
| <link href="https://www.maxapress.com/targetome/for_authors" rel="documentation"/> | ||
| <author> | ||
| <name>Lucien Shaw</name> | ||
| <email>[email protected]</email> | ||
| <uri>https://github.com/lucienshawls</uri> | ||
| </author> | ||
| <category citation-format="numeric"/> | ||
| <summary>CSL citation style for Targetome (numeric, 2025), drafted based on the author guidelines at https://www.maxapress.com/targetome/for_authors and cross-checked against the official EndNote style file (https://www.maxapress.com/data/article/export-supplementary?id=3925). Note: the patent “Country” field in the EndNote template cannot be mapped directly in CSL, so the authority variable is used as a substitute.</summary> | ||
lucienshawls marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <updated>2025-12-16T02:02:03+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="author-names"> | ||
| <names variable="author"> | ||
| <name et-al-min="6" et-al-use-first="5" initialize-with="" name-as-sort-order="all"/> | ||
| </names> | ||
| </macro> | ||
| <macro name="editor-names"> | ||
| <names variable="editor"> | ||
| <name et-al-min="6" et-al-use-first="5" initialize-with="" name-as-sort-order="all"/> | ||
| </names> | ||
| </macro> | ||
| <macro name="issued-year"> | ||
| <date date-parts="year" form="text" variable="issued"/> | ||
| </macro> | ||
| <macro name="event-year"> | ||
| <date date-parts="year" form="text" variable="event-date"/> | ||
| </macro> | ||
| <macro name="event-place"> | ||
| <text variable="event-place"/> | ||
| </macro> | ||
| <macro name="main-title"> | ||
| <text variable="title" prefix=" "/> | ||
| </macro> | ||
| <macro name="container-title"> | ||
| <text variable="container-title"/> | ||
| </macro> | ||
| <macro name="volume"> | ||
| <text variable="volume"/> | ||
| </macro> | ||
| <macro name="issue"> | ||
| <text variable="issue"/> | ||
| </macro> | ||
| <macro name="pages"> | ||
| <text variable="page"/> | ||
| </macro> | ||
| <macro name="publisher-place"> | ||
| <text variable="publisher-place"/> | ||
| </macro> | ||
| <macro name="publisher-name"> | ||
| <text variable="publisher"/> | ||
| </macro> | ||
| <macro name="number-of-pages"> | ||
| <text variable="number-of-pages"/> | ||
| </macro> | ||
| <macro name="edition"> | ||
lucienshawls marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <text variable="edition"/> | ||
| </macro> | ||
| <macro name="issued-date"> | ||
| <date form="numeric" date-parts="year-month-day" variable="issued"/> | ||
| </macro> | ||
| <macro name="authority"> | ||
| <text variable="authority" form="short"/> | ||
| </macro> | ||
| <macro name="number"> | ||
| <text variable="number"/> | ||
| </macro> | ||
| <macro name="genre"> | ||
| <text variable="genre"/> | ||
| </macro> | ||
| <macro name="url"> | ||
lucienshawls marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <text variable="URL"/> | ||
| </macro> | ||
| <macro name="entry-head"> | ||
| <choose> | ||
| <if type="book" match="all" variable="editor"> | ||
| <group suffix=","> | ||
| <text macro="editor-names"/> | ||
| <label text-case="lowercase" variable="edition" form="short" prefix=" "/> | ||
| </group> | ||
| </if> | ||
| <else> | ||
| <text macro="author-names" suffix="."/> | ||
| </else> | ||
| </choose> | ||
| <text macro="issued-year" prefix=" " suffix="."/> | ||
| <choose> | ||
| <if type="patent" match="any"> | ||
| <text value=""/> | ||
| </if> | ||
| <else-if type="book" match="all" variable="editor"> | ||
| <text macro="main-title" font-style="italic" prefix=" " suffix=","/> | ||
| </else-if> | ||
| <else-if type="book thesis webpage" match="any"> | ||
| <text macro="main-title" font-style="italic" prefix=" " suffix="."/> | ||
| </else-if> | ||
| <else> | ||
| <text macro="main-title" font-style="normal" prefix=" " suffix="."/> | ||
| </else> | ||
| </choose> | ||
| </macro> | ||
| <macro name="entry-book"> | ||
| <choose> | ||
| <if match="any" variable="editor"> | ||
| <group prefix=" " suffix="."> | ||
| <text term="volume" form="short" plural="true" text-case="capitalize-first"/> | ||
| <text macro="volume" prefix=" "/> | ||
| </group> | ||
| <text macro="publisher-place" prefix=" " suffix=":"/> | ||
lucienshawls marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <text macro="publisher-name" prefix=" " suffix="."/> | ||
| <group prefix=" " suffix="."> | ||
| <text macro="number-of-pages"/> | ||
| <text term="number-of-pages" form="short" plural="true" text-case="lowercase" prefix=" "/> | ||
| </group> | ||
| <group prefix=" "> | ||
| <text macro="edition"/> | ||
| <text term="edition" form="short" plural="false" text-case="lowercase" prefix=" "/> | ||
| </group> | ||
| </if> | ||
| <else> | ||
| <group prefix=" " suffix="."> | ||
| <label text-case="lowercase" suffix=" " variable="page" form="short"/> | ||
| <text macro="pages"/> | ||
| </group> | ||
| <text macro="publisher-place" prefix=" " suffix=":"/> | ||
| <text macro="publisher-name" prefix=" " suffix="."/> | ||
| <group prefix=" "> | ||
| <text macro="number-of-pages"/> | ||
| <text term="number-of-pages" form="short" plural="true" text-case="lowercase" prefix=" "/> | ||
| </group> | ||
| </else> | ||
| </choose> | ||
| </macro> | ||
| <macro name="entry-book-chapter"> | ||
| <group prefix=" " suffix=","> | ||
| <text term="in" text-case="capitalize-first"/> | ||
| <text macro="container-title" font-style="italic" prefix=" "/> | ||
| </group> | ||
| <group prefix=" " suffix=","> | ||
| <label variable="edition" form="short"/> | ||
| <text macro="editor-names" prefix=" "/> | ||
| </group> | ||
| <group prefix=" " suffix="."> | ||
| <text macro="volume" suffix=":"/> | ||
| <text macro="pages"/> | ||
| </group> | ||
| <text macro="publisher-place" prefix=" " suffix=":"/> | ||
| <text macro="publisher-name" prefix=" " suffix="."/> | ||
| <group prefix=" "> | ||
| <text macro="number-of-pages"/> | ||
| <text term="number-of-pages" form="short" plural="true" text-case="lowercase"/> | ||
| </group> | ||
| </macro> | ||
| <macro name="entry-conference"> | ||
| <group font-style="italic" prefix=" " suffix=","> | ||
| <text value="Proc."/> | ||
| <text macro="container-title" prefix=" "/> | ||
| </group> | ||
| <text macro="edition" font-style="italic" prefix=" " suffix=","/> | ||
| <text macro="event-place" font-style="italic" prefix=" " suffix=","/> | ||
| <text macro="event-year" font-style="italic" prefix=" " suffix=","/> | ||
| <group prefix=" " suffix="."> | ||
| <text macro="volume" suffix=":"/> | ||
| <text macro="pages"/> | ||
| </group> | ||
| <text macro="publisher-place" prefix=" " suffix=":"/> | ||
| <text macro="publisher-name" prefix=" "/> | ||
| </macro> | ||
| <macro name="entry-journal-or-magazine-article"> | ||
| <text macro="container-title" font-style="italic" prefix=" "/> | ||
| <group prefix=" "> | ||
| <group suffix=":"> | ||
| <text macro="volume"/> | ||
| <text macro="issue" prefix="(" suffix=")"/> | ||
| </group> | ||
| <text macro="pages"/> | ||
| </group> | ||
| </macro> | ||
| <macro name="entry-newspaper-article"> | ||
| <text macro="container-title" font-style="italic" prefix=" "/> | ||
| <group prefix=" "> | ||
| <text macro="issued-date" suffix=":"/> | ||
| <text macro="pages"/> | ||
| </group> | ||
| </macro> | ||
| <macro name="entry-patent"> | ||
| <text macro="authority" font-style="italic" prefix=" "/> | ||
| <group font-style="italic" prefix=" "> | ||
| <text value="Patent No."/> | ||
| <text macro="number" prefix=" "/> | ||
| </group> | ||
| </macro> | ||
| <macro name="entry-report"> | ||
| <text macro="genre" font-style="italic" prefix=" " suffix="."/> | ||
| <group font-style="italic" prefix=" " suffix=","> | ||
| <text term="report" form="short" plural="false" text-case="capitalize-first"/> | ||
| <text macro="number" prefix=" "/> | ||
| </group> | ||
| <text macro="publisher-name" prefix=" " suffix=","/> | ||
| <text macro="publisher-place" prefix=" "/> | ||
| </macro> | ||
| <macro name="entry-thesis"> | ||
| <text macro="genre" prefix=" " suffix="."/> | ||
| <text macro="publisher-name" prefix=" " suffix=","/> | ||
| <text macro="publisher-place" prefix=" " suffix="."/> | ||
| <group prefix=" "> | ||
| <text macro="number-of-pages"/> | ||
| <text term="number-of-pages" form="short" plural="true" text-case="lowercase" prefix=" "/> | ||
| </group> | ||
| </macro> | ||
| <macro name="entry-unpublished"> | ||
| <text macro="container-title" font-style="italic" prefix=" " suffix="."/> | ||
| <group prefix=" "> | ||
| <text macro="volume" suffix=":"/> | ||
| <text term="in press" text-case="capitalize-first"/> | ||
| </group> | ||
| </macro> | ||
| <macro name="entry-web-page"> | ||
| <text macro="url" prefix=" "/> | ||
| </macro> | ||
| <macro name="entry-fallback"> | ||
| <group prefix=" " suffix=","> | ||
| <text term="in" text-case="capitalize-first"/> | ||
| <text macro="container-title" font-style="italic" prefix=" "/> | ||
| </group> | ||
| <group prefix=" " suffix=","> | ||
| <label text-case="lowercase" variable="edition" form="short"/> | ||
| <text macro="editor-names" prefix=" "/> | ||
| </group> | ||
| <group prefix=" " suffix="."> | ||
| <label variable="page" form="short"/> | ||
| <text macro="pages" prefix=" "/> | ||
| </group> | ||
| <text macro="publisher-place" prefix=" " suffix=":"/> | ||
| <text macro="publisher-name" prefix=" "/> | ||
| </macro> | ||
| <citation collapse="citation-number"> | ||
| <sort> | ||
| <key variable="citation-number"/> | ||
| </sort> | ||
| <layout font-style="normal" vertical-align="sup" delimiter="," prefix="[" suffix="]"> | ||
| <text variable="citation-number" vertical-align="baseline"/> | ||
| </layout> | ||
| </citation> | ||
| <bibliography> | ||
| <layout> | ||
| <text variable="citation-number" prefix="[" suffix="]"/> | ||
| <text macro="entry-head" prefix=" "/> | ||
| <choose> | ||
| <if type="book" match="any"> | ||
| <text macro="entry-book"/> | ||
| </if> | ||
| <else-if type="chapter" match="any"> | ||
| <text macro="entry-book-chapter"/> | ||
| </else-if> | ||
| <else-if type="paper-conference" match="any"> | ||
| <text macro="entry-conference"/> | ||
| </else-if> | ||
| <else-if type="article-journal article-magazine" match="any"> | ||
| <choose> | ||
| <if match="any" is-uncertain-date="issued"> | ||
| <text macro="entry-unpublished"/> | ||
| </if> | ||
| <else> | ||
| <text macro="entry-journal-or-magazine-article"/> | ||
| </else> | ||
| </choose> | ||
| </else-if> | ||
| <else-if type="article-newspaper" match="any"> | ||
| <text macro="entry-newspaper-article"/> | ||
| </else-if> | ||
| <else-if type="patent" match="any"> | ||
| <text macro="entry-patent"/> | ||
| </else-if> | ||
| <else-if type="report" match="any"> | ||
| <text macro="entry-report"/> | ||
| </else-if> | ||
| <else-if type="thesis" match="any"> | ||
| <text macro="entry-thesis"/> | ||
| </else-if> | ||
| <else-if type="webpage" match="any"> | ||
| <text macro="entry-web-page"/> | ||
| </else-if> | ||
| <else> | ||
| <text macro="entry-fallback"/> | ||
| </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.
Uh oh!
There was an error while loading. Please reload this page.