FJFINN JONES
Open to opportunities
AGLC

AGLC4 Citation Tool

A formatter that rewrites legal citations in Word essays to the AGLC4 standard.

Year
2026
Role
Creator
Stack
Python · python-docx · Regex · CLI
aglc4-citation-tool01defformat(src):02rules = load("AGLC4")03forciteinparse(src):04cite.apply(rules)05returnrender(src)▊AGLC▲ BUILD OK

01Problem

The Australian Guide to Legal Citation runs to hundreds of rules, and law students hand-format every footnote by eye — slow, inconsistent, and easy to get wrong the night before a deadline.

02Approach

A Python tool that parses citations inside a Word document, matches them against AGLC4 rules, and rewrites them in place — preserving the document structure while fixing punctuation, ordering, and style.

03Outcome

Turns an hour of manual citation cleanup into a single pass, so the work goes into the argument instead of the footnotes.

COPIED TO CLIPBOARD ✓