-
-
Notifications
You must be signed in to change notification settings - Fork 4k
chore: Add Targetome Numeric citation style for 2025 #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
base: master
Are you sure you want to change the base?
Conversation
This file defines a CSL citation style for Targetome references in numeric format for the year 2025. It includes macros for various citation types and formatting rules.
Added links for Elsevier Vancouver template and Maxapress documentation.
|
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, click on the ellipsis button in the top-right corner of your style, and then select "Edit file" 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. |
|
😟 There are some issues with your submission. 4 tests failedtargetome-numeric-2025: must have a "self" link targetome-numeric-2025: "template" link must point to an existing independent style targetome-numeric-2025: style ID must be of the form "http://www.zotero.org/styles/" + style file name (without ".csl" extension, e.g. "http://www.zotero.org/styles/apa") targetome-numeric-2025: must have a <rights> element Please check the test report for details. |
|
😟 There are some issues with your submission. 1 test failedtargetome-numeric-2025: must have the correct Creative Commons BY-SA license text Please check the test report for details. |
Removed line breaks in the rights section for clarity.
|
😃 Your submission passed all our automated tests. Below are some sample citations generated based on your proposed changes: targetome-numeric-2025.csl (new)[1,2] |
| <?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> |
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.
Let's just call this "Targetome".
The Numeric we'd only add if there is different styles and the 2025 we'd never want.
Please adapt your ID, self link and style file name to match.
| <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> |
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.
You should use "publisher-place" for the location. That's very standard.
| <choose> | ||
| <if type="book" match="all" variable="editor"> | ||
| <group suffix=","> | ||
| <text macro="editor-names"/> |
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.
Calling a names variable and its label in two different places isn't really ideal. Please put them together.
| <macro name="genre"> | ||
| <text variable="genre"/> | ||
| </macro> | ||
| <macro name="url"> |
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.
I'm not a fan of uni-variable macros that just call the variable. Please reduce those.
| <macro name="number-of-pages"> | ||
| <text variable="number-of-pages"/> | ||
| </macro> | ||
| <macro name="edition"> |
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.
Editions we generally have something like this to account for editions that are not just a number, but something like "2nd revised edition".
<macro name="edition"> <choose> <if is-numeric="edition"> <group delimiter=" "> <number variable="edition" form="ordinal"/> <label variable="edition" form="short"/> </group> </if> <else> <text variable="edition"/> </else> </choose> </macro>
| <text term="volume" form="short" plural="true" text-case="capitalize-first"/> | ||
| <text macro="volume" prefix=" "/> | ||
| </group> | ||
| <text macro="publisher-place" prefix=" " suffix=":"/> |
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.
It's funny, the one thing where a macro makes sense you're not using it.
Make a macro called "publisher" witha group and the two variables publisher and publisher-place. Then you can call that throughout your style.
| </macro> | ||
| <macro name="entry-conference"> | ||
| <group font-style="italic" prefix=" " suffix=","> | ||
| <text value="Proc."/> |
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.
Please do not use value.

This file defines a CSL citation style for Targetome references in numeric format for the year 2025. It includes macros for various citation types and formatting rules.
Metadata
Journal Info: Targetome
Home: https://www.maxapress.com/targetome
Information: https://www.maxapress.com/targetome/journal_information
Publication Identifiers:
TARGGE10.48130Citation Example
Entries are imported into Zotero with these dois according to
REQUESTING.md:10.1177/001041400628654210.1093/0199247757.003.0005Inline
[1]
[2]
Bibliography
CSL Styles Pull Request Template
You're about to create a pull request to the CSL styles repository.
If you haven't done so already, see https://github.com/citation-style-language/styles/blob/master/CONTRIBUTING.md for instructions on how to contribute, and https://github.com/citation-style-language/styles/blob/master/STYLE_REQUIREMENTS.md for the requirements a style must meet before acceptance.
In addition, please fill out the pull request template below.
Description
(Briefly describe the style or changes you're proposing.)
Checklist
<info>block at the beginning of the file withrel="template".rel="documentation".<author>of the style or<contributor>for a style update.<text variable="page" prefix="pp. "/>).<text value="...if not absolutely necessary.