Skip to content

Conversation

@lucienshawls
Copy link

@lucienshawls lucienshawls commented Dec 16, 2025

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:

  • CODEN: TARGGE
  • DOI Prefix: 10.48130

Citation Example

Entries are imported into Zotero with these dois according to REQUESTING.md:

Inline

[1]
[2]

Bibliography

[1] Mares I. 2001. Firms and the Welfare State: When, Why, and How Does Social Policy Matter to Employers? In Varieties of Capitalism, ed. Hall PA, Soskice D, 184–212. Oxford University Press.
[2] Campbell JL, Pedersen OK. 2007. The Varieties of Capitalism and Hybrid Success: Denmark in the Global Economy. Comparative Political Studies 40(3):307–32

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

  • Check that you've added a link to the style you used as a template in the <info> block at the beginning of the file with rel="template".
  • Check that you've added a link to the style guidelines with rel="documentation".
  • Check that you've added yourself as the <author> of the style or <contributor> for a style update.
  • Check that you've used the correct terms or labels instead of hardcoding into affixes (e.g., <text variable="page" prefix="pp. "/>).
  • Check that you've not used <text value="... if not absolutely necessary.
  • Check that you've not changed line 1 of the style.

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.
@github-actions
Copy link

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.

@github-actions
Copy link

😟 There are some issues with your submission.

4 tests failed

targetome-numeric-2025: must have a "self" link

expected `#<CSL::Style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" default-locale="en...age-range-format="minimal-two" demote-non-dropping-particle="never" sort-separator=" " children=[4]>.has_self_link?` to be truthy, got nil

targetome-numeric-2025: "template" link must point to an existing independent style

expected "https://www.zotero.org/styles/elsevier-vancouver" to match /^http:\/\/www.zotero.org\/styles\//
Diff:
@@ -1 +1 @@
-/^http:\/\/www.zotero.org\/styles\//
+"https://www.zotero.org/styles/elsevier-vancouver"

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")

expected: "http://www.zotero.org/styles/targetome-numeric-2025"
     got: "https://www.zotero.org/styles/targetome-numeric-2025"

(compared using ==)

targetome-numeric-2025: must have a <rights> element

expected `#<CSL::Info children=[8]>.has_rights?` to be truthy, got false

Please check the test report for details.

@github-actions
Copy link

😟 There are some issues with your submission.

1 test failed

targetome-numeric-2025: must have the correct Creative Commons BY-SA license text

expected: "This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License"
     got: "\n      This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License\n    "

(compared using ==)

Diff:
@@ -1,3 +1,5 @@
-This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License
+
+      This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License
+

Please check the test report for details.

Removed line breaks in the rights section for clarity.
@github-actions
Copy link

😃 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]
[3,4]

[1] Hancké B, Rhodes M, Thatcher M, 2007. Beyond varieties of capitalism: Conflict, contradictions, and complementarities in the European economy, Oxford: Oxford University Press. 438 pp.
[2] 2012. CSL search by example. http://editor.citationstyles.org/searchByExample/
[3] Mares I. 2001. Firms and the welfare state: When, why, and how does social policy matter to employers? In Varieties of capitalism: The institutional foundations of comparative advantage, Hall PA, Soskice D, 184–212. Oxford: Oxford University Press.
[4] Fenner M, Crosas M, Grethe JS, Kennedy D, Hermjakob H, et al. 2019. A data citation roadmap for scholarly data repositories. Scientific Data 6(1):28

<?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>
Copy link
Contributor

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>
Copy link
Contributor

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"/>
Copy link
Contributor

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">
Copy link
Contributor

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">
Copy link
Contributor

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=":"/>
Copy link
Contributor

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."/>
Copy link
Contributor

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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants