summaryrefslogtreecommitdiff
path: root/meta/styletest/src.md
diff options
context:
space:
mode:
Diffstat (limited to 'meta/styletest/src.md')
-rwxr-xr-xmeta/styletest/src.md24
1 files changed, 23 insertions, 1 deletions
diff --git a/meta/styletest/src.md b/meta/styletest/src.md
index 7cbe125..eacf4e4 100755
--- a/meta/styletest/src.md
+++ b/meta/styletest/src.md
@@ -73,5 +73,27 @@ Within one stem; And dreadfully distinct | against the dark, a tall white founta
- [Chicago-like](https://www.scribbr.com/chicago-style/citation-examples/)
```
-[Author[[, Author[, ...]] & Author]. ]“Title.”[ YYYY[-MM-DD].][ Medium[, details].][ Notes.]
+citation = author-field, ' ', title-field, (' ', date-field)?, (' ', medium-field)?, (' ', note, '.')*
+
+author-field = (author
+ | author-pair
+ | author-list), '.'
+
+author-pair = author, ' & ', author
+
+author-list = author, (', ', author)+
+
+title-field = '“', title, '.”'
+
+date-field = year, ('-', month, '-', day)?, '.'
+
+year = [0-9]{4} /* 0000-9999 */
+
+month = [0-9]{2} /* 01-12 */
+
+day = [0-9]{2} /* 01-31 */
+
+medium-field = medium, (', ', details)?, '.'
```
+
+Values of `author`, `title`, `medium`, `details`, and `note` are specific to the works they describe.