Skip to content

Conversation

@dosumis
Copy link
Contributor

@dosumis dosumis commented Dec 16, 2025

No description provided.

dosumis and others added 2 commits December 16, 2025 18:55
…erly

Changes:
- Remove double numbering in markdown bibliography rendering
  Compact entries from url2ref already include citation numbers like [1],
  so adding {idx}. before them created "1. [1]" double numbering
- Add citeproc-py as explicit dependency for high-quality Vancouver-style citations
- Add test to verify compact bibliographies render without double numbering

Fixes bibliography output from:
  "1. 1. Author et al..." (broken)
To:
  "[1] Author et al..." (correct)

Files modified:
- src/langpa/services/markdown_reporter.py (lines 95-98)
- pyproject.toml (add citeproc-py>=0.6.0)
- tests/unit/test_markdown_reporter.py (new test)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@dosumis dosumis merged commit 05ecc72 into main Dec 16, 2025
4 checks passed
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