Skip to content

Document IfPlural handling of braced organizations - #725

Merged
Siedlerchr merged 1 commit into
mainfrom
docs/ifplural-braced-organizations
Nov 14, 2026
Merged

Siedlerchr merged 1 commit into
mainfrom
docs/ifplural-braced-organizations

Conversation

@Siedlerchr

@Siedlerchr Siedlerchr commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Pull Request Description

Summary

Clarify that IfPlural counts a braced organization containing and as one editor. Add examples showing singular and plural labels for individuals and organizations in the custom export filters reference.

Steps to test

  1. Preview en/collaborative-work/export/customexports.md and find the IfPlural formatter. Confirm that the table renders within its list item.
  2. With the fix from Count braced organizations as one editor jabref#17781, export using \format[IfPlural(Eds.,Ed.)]{\editor} and each editor field from the table.
  3. Confirm that a single braced organization produces Ed., while the same organization followed by and Jane Doe produces Eds..

Validation: Markdown lint, textlint on the changed page, and git diff --check passed. Examples were checked against the linked implementation and test cases. Manual JabRef testing and the rendered GitBook preview remain pending.

Related issues and pull requests

Documents JabRef/jabref#17781
Related bug: JabRef/jabref#17780

AI usage

Codex (GPT-6; the exact model ID is not exposed in this session) drafted the documentation and PR description and ran the checks. Human review and ownership confirmation remain pending; this PR is a draft.

Checklist

  • I reviewed and take ownership of all content in this PR, including any AI-assisted text
  • I opened JabRef and followed these instructions myself to confirm they still work (tested on version: pending)
  • [/] Any links I added or changed work (no 404s) — no documentation links changed
  • Any images or tables I added display correctly
  • I checked spelling/grammar

@github-actions github-actions Bot added jabref-pr: ready Referenced JabRef PR is open jabref-pr: merged Referenced JabRef PR is merged and removed jabref-pr: ready Referenced JabRef PR is open labels Nov 13, 2026
@Siedlerchr
Siedlerchr marked this pull request as ready for review November 14, 2026 10:40
@Siedlerchr
Siedlerchr merged commit e1b8e3f into main Nov 14, 2026
9 checks passed
@Siedlerchr
Siedlerchr deleted the docs/ifplural-braced-organizations branch November 14, 2026 10:41
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can ask Qodo to dismiss a finding you disagree with, with your reason on record

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Summary by Qodo

Clarify IfPlural behavior for braced organizations

📝 Documentation 🕐 Less than 5 minutes

Grey Divider

AI Description

• Clarifies that a braced organization counts as one editor, even when its name contains and.
• Adds examples showing when individual and organization editor fields produce Ed. or Eds..
Diagram

graph TD
  Input["Editor field"] --> Count["Count editors"] --> Multiple{"Two or more?"} -->|Yes| Plural["Eds."]
  Multiple -->|No| Singular["Ed."]
Loading
High-Level Assessment

Keep the explanation and examples beside the IfPlural reference entry, where readers need them. A separate guide would add navigation without improving this focused clarification.

Files changed (1) +11 / -1

Documentation (1) +11 / -1
customexports.mdExplain IfPlural counts and editor-label outcomes +11/-1

Explain IfPlural counts and editor-label outcomes

• Clarifies that a braced organization is one editor even when its name includes 'and', and that editors are separated with ' and ' outside the braces. Adds a table of singular and plural outputs for individual and organization editor fields.

en/collaborative-work/export/customexports.md

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

Labels

jabref-pr: merged Referenced JabRef PR is merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant