From 3e137eb2d4adbdc7fc98e658d412e6399747bdfe Mon Sep 17 00:00:00 2001 From: TheEvilSloth Date: Wed, 17 Jan 2018 21:17:26 +0800 Subject: [PATCH 1/9] Update aglcv3.cbx Calling \printnames[surname] as the naming convention for fields has changed. Amending lines 22 and 23 from 'surname' to 'last' to match new biblatex naming conventions. --- aglcv3.cbx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aglcv3.cbx b/aglcv3.cbx index 1fece21..42d5140 100644 --- a/aglcv3.cbx +++ b/aglcv3.cbx @@ -15,12 +15,12 @@ \DeclareNameFormat{surname}{\ifthenelse{\value{listcount}=1}{#1}{}} \DeclareNameFormat{firstname}{\ifthenelse{\value{listcount}=1}{#3}{}} -% for surnames +% for surnames - changed to 'last' 17/01/19 \newbibmacro{author/editor:surname}{% \ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}}% - {\ifuseauthor{\printnames[surname]{author}}{}}% - {\ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}{\printnames[surname]{editor}}{}}} + {\ifuseauthor{\printnames[last]{author}}{}}% + {\ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}{\printnames[last]{editor}}{}}} % for reported cases with a venue @@ -250,4 +250,4 @@ \DeclareMultiCiteCommand{\asinsertedby}[\mkbibfootnote]{\cite}{, as inserted by } \DeclareMultiCiteCommand{\inserting}[\mkbibfootnote]{\cite}{, inserting } -\endinput \ No newline at end of file +\endinput From ab3dfe98cbc111304199cace9850b8bea7c81450 Mon Sep 17 00:00:00 2001 From: TheEvilSloth Date: Thu, 18 Jan 2018 13:56:11 +0800 Subject: [PATCH 2/9] Fix Chapter citation issue Bug: Chapter citation not showing space between Publisher and Year. Fix: Insert \addspace% on line 378. --- aglcv3.bbx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aglcv3.bbx b/aglcv3.bbx index fe9357e..58f2a22 100644 --- a/aglcv3.bbx +++ b/aglcv3.bbx @@ -375,6 +375,7 @@ \addspace% \printtext{(}% \printlist{publisher}% + \addspace% \printfield{origyear}% \usebibmacro{edition}% \printfield{year}% @@ -1515,4 +1516,4 @@ \DeclareFieldFormat[case-us-unreported]{number}{#1} -\endinput \ No newline at end of file +\endinput From 4518751224c33dd41dc8e91dfbfe5aefc56467f8 Mon Sep 17 00:00:00 2001 From: TheEvilSloth Date: Thu, 18 Jan 2018 15:09:06 +0800 Subject: [PATCH 3/9] Update aglcv3.bbx Issue: BibliographyDriver{article} fails to put a space between volume/issue and journaltitle. Fix: Insert \addspace% on line 332 --- aglcv3.bbx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aglcv3.bbx b/aglcv3.bbx index fe9357e..a56b725 100644 --- a/aglcv3.bbx +++ b/aglcv3.bbx @@ -329,6 +329,7 @@ \addspace% \printfield{volume}% \printfield{issue}% + \addspace% \printfield{journaltitle}% \printfield{pages}% \printfield{note}% @@ -1515,4 +1516,4 @@ \DeclareFieldFormat[case-us-unreported]{number}{#1} -\endinput \ No newline at end of file +\endinput From 1a69ade26498e432f41ae7bdc19e0160041c29b3 Mon Sep 17 00:00:00 2001 From: TheEvilSloth Date: Wed, 24 Jan 2018 06:48:55 +0000 Subject: [PATCH 4/9] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a4b7195..34117d9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ # AGLCLaTeX + +Forked from original code by McJones: https://github.com/McJones/ + A Biblatex style implementing version 3 of the Australian Guide to Legal Citation The Australian Guide to Legal Citation ('AGLC') is in my opinion one of the best and most flexible citation systems ever devised. This is despite its many detailed rules; in fact, it is probably the detail that contributes most to its flexibility, as it is very easy to find a close match for any source type. @@ -1737,4 +1740,4 @@ Title = {Red Hat Inc v The SCO Group Inc}, Venue = {D Del}, Number = {Civ No 03-772-SLR}, Date = {2004-04-06}} -``` \ No newline at end of file +``` From e26ea69f43ae009474016fc6c9e80cada8d647a6 Mon Sep 17 00:00:00 2001 From: TheEvilSloth Date: Thu, 25 Jan 2018 13:51:46 +0800 Subject: [PATCH 5/9] Create LICENCE.md --- LICENCE.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 LICENCE.md diff --git a/LICENCE.md b/LICENCE.md new file mode 100644 index 0000000..a68a683 --- /dev/null +++ b/LICENCE.md @@ -0,0 +1,2 @@ +CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/) +Forked from https://github.com/McJones/AGLCLaTeX in Jan 2018 From f8317dedb9dd4340acbd043009af7c2d7bfb5ed0 Mon Sep 17 00:00:00 2001 From: TheEvilSloth Date: Thu, 25 Jan 2018 13:54:53 +0800 Subject: [PATCH 6/9] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 34117d9..fcede04 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Forked from original code by McJones: https://github.com/McJones/ A Biblatex style implementing version 3 of the Australian Guide to Legal Citation -The Australian Guide to Legal Citation ('AGLC') is in my opinion one of the best and most flexible citation systems ever devised. This is despite its many detailed rules; in fact, it is probably the detail that contributes most to its flexibility, as it is very easy to find a close match for any source type. +The Australian Guide to Legal Citation ('AGLC') is in my opinion one of the best and most flexible citation systems ever devised. This is despite its many detailed rules; in fact, it is probably the detail that contributes most to its flexibility, as it is very easy to find a close match for any source type.* It is the citation system I learned when I was in law school, and it is currently the most widely used system for legal citations in Australia. The AGLC is published by the Melbourne University Law Review Association, and is available from the [University of Melbourne website](http://law.unimelb.edu.au/mulr/aglc/about) as a read-only PDF and to purchase in hard or soft copy. @@ -12,6 +12,9 @@ Almost all of this is original work, built from scratch simply by following the The decision to create an entirely new style from scratch was due to the complexity of the AGLC. None of the existing styles was particularly suitable to modify, and while I could have built upon one and _heavily_ modified it, it seemed easier to simply take full control. This allowed me to learn the workings of Biblatex in some considerable detail. Additionally, as far as I could tell, Will was the only other person to attempt this and publish the result, but he was working with version 2 of the AGLC rather than version 3 (and there have been significant changes and expansions), and did not attempt a 'complete' solution. +*Note, this is the opinion of the code's original author, McJones. The current maintainers of the code differ wildly on the relative merits of the AGLC3. Regardless, standards are standards... + + ## Contents - [General](#general) From ca49215f8dfea00926e9f036e608b02af32b88bf Mon Sep 17 00:00:00 2001 From: TheEvilSloth Date: Thu, 5 Apr 2018 14:37:57 +0800 Subject: [PATCH 7/9] Update aglcv3.bbx --- aglcv3.bbx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/aglcv3.bbx b/aglcv3.bbx index fe9357e..e8b910d 100644 --- a/aglcv3.bbx +++ b/aglcv3.bbx @@ -375,11 +375,12 @@ \addspace% \printtext{(}% \printlist{publisher}% + \newunit% \printfield{origyear}% + \newunit% \usebibmacro{edition}% \printfield{year}% - \printtext{)}% - \printfield{volume}% + \printtext{)}% \printfield{volume}% \printfield{pages}% } @@ -1515,4 +1516,4 @@ \DeclareFieldFormat[case-us-unreported]{number}{#1} -\endinput \ No newline at end of file +\endinput From 554aa1c60e9de6714f9460932785f0b0df69822c Mon Sep 17 00:00:00 2001 From: TomasFitz Date: Mon, 17 Sep 2018 16:33:27 +0800 Subject: [PATCH 8/9] Update aglcv3.bbx --- aglcv3.bbx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/aglcv3.bbx b/aglcv3.bbx index 4066ab0..040eed1 100644 --- a/aglcv3.bbx +++ b/aglcv3.bbx @@ -405,10 +405,8 @@ \printfield{volume}% \iffieldundef{postnote}{% \addspace% - \printtext{[trans of:}% - \addspace% - \printfield{origtitle}% - \addspace\printtext{(}% + \printtext{[}% + \ifthenelse{\iffieldequals{title}{origtitle}}{}{\printtext{trans of:}\addspace\printfield{origtitle}\addspace\printtext{(}}% \printtext{first published}\addspace\printfield{origyear}% \printtext{)]}}{}% } From e15896ad1735451f383fbf588a5425378b1d481e Mon Sep 17 00:00:00 2001 From: TomasFitz Date: Mon, 17 Sep 2018 16:53:37 +0800 Subject: [PATCH 9/9] Update aglcv3.bbx --- aglcv3.bbx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/aglcv3.bbx b/aglcv3.bbx index 040eed1..3be13df 100644 --- a/aglcv3.bbx +++ b/aglcv3.bbx @@ -406,9 +406,11 @@ \iffieldundef{postnote}{% \addspace% \printtext{[}% - \ifthenelse{\iffieldequals{title}{origtitle}}{}{\printtext{trans of:}\addspace\printfield{origtitle}\addspace\printtext{(}}% - \printtext{first published}\addspace\printfield{origyear}% - \printtext{)]}}{}% + \iffieldundef{origtitle}{\printtext{first published}\addspace\printfield{origyear}% + \printtext{]}}{% + \printtext{trans of:}\addspace\printfield{origtitle}\addspace\printtext{(}% + \printtext{first published}\addspace\printfield{origyear}% + \printtext{)]}}}{}% } \DeclareFieldFormat[book,chapter]{origyear}{first\addspace{published}\addspace#1}