Skip to content

Update stock-assessment CSL citation formatting - #547

Draft
Schiano-NOAA with Copilot wants to merge 2 commits into
mainfrom
copilot/change-sar-citation-formatting
Draft

Update stock-assessment CSL citation formatting#547
Schiano-NOAA with Copilot wants to merge 2 commits into
mainfrom
copilot/change-sar-citation-formatting

Conversation

Copilot AI commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

What is the feature?

  • Adjust stock-assessment citations in cjfas.csl so affected @techmemo entries render with author-year in-text citations and a stock-assessment-specific reference format.
  • This changes the bibliography output to Authors. Year. Title. Publishing office. # p. Accessible at ... and removes the publisher-based in-text author surrogate.

How have you implemented the solution?

  • CSL citation behavior
    • Removed the stock-assessment override in author-short, so in-text citations now use author names and standard author-date et-al behavior.
    • Updated the stock-assessment bibliography branch to emit:
      <group delimiter=". ">
        <text macro="author"/>
        <text macro="issued-year"/>
        <text variable="title"/>
        <text variable="publisher"/>
        <text variable="number-of-pages" suffix=" p."/>
        <text macro="stock-assessment-access"/>
      </group>
  • Focused test coverage
    • Updated the existing CSL test to assert the new stock-assessment bibliography structure and confirm the old publisher-only special case is no longer present.

Does the PR impact any other area of the project, maybe another repo?

  • No expected impact outside citation rendering for the stock-assessment report path in cjfas.csl.

Copilot AI linked an issue Aug 28, 2026 that may be closed by this pull request
Co-authored-by: Schiano-NOAA <125507018+Schiano-NOAA@users.noreply.github.com>
Copilot AI changed the title [WIP] Update SAR citation formatting in cjfas.csl file Update stock-assessment CSL citation formatting Aug 28, 2026
Copilot AI requested a review from Schiano-NOAA August 28, 2026 15:13
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.

[Feature]: change SAR citation

2 participants