Update to lastest citeproc
This commit is contained in:
parent
7d97bf7a8c
commit
27b4c21f72
5 changed files with 7 additions and 6 deletions
|
@ -7,5 +7,6 @@ package pandoc
|
|||
source-repository-package
|
||||
type: git
|
||||
location: https://github.com/jgm/citeproc
|
||||
tag: 1412868a711ad12c2cb5cfc0d6bbba11c7612ce6
|
||||
tag: 342a1d3bc2fcd5b4a1586962aedada5f31db606a
|
||||
|
||||
constraints: base16-bytestring < 1
|
||||
|
|
|
@ -97,6 +97,7 @@ dateToMetaValue date =
|
|||
| y < -1 -> printf "%05d-%02d" (y+1) m
|
||||
| otherwise -> printf "%04d-%02d" y m
|
||||
(y:[])
|
||||
| y == 0 -> printf "" -- used for open range
|
||||
| y < -1 -> printf "%05d" (y+1)
|
||||
| otherwise -> printf "%04d" y
|
||||
_ -> mempty
|
||||
|
|
|
@ -7,7 +7,7 @@ packages:
|
|||
- '.'
|
||||
extra-deps:
|
||||
- git: https://github.com/jgm/citeproc
|
||||
commit: 1412868a711ad12c2cb5cfc0d6bbba11c7612ce6
|
||||
commit: 342a1d3bc2fcd5b4a1586962aedada5f31db606a
|
||||
- pandoc-types-1.22
|
||||
- texmath-0.12.0.3
|
||||
- rfc5051-0.2
|
||||
|
|
|
@ -35,7 +35,6 @@ references:
|
|||
issued: '2004-04-05'
|
||||
type: 'article-journal'
|
||||
- id: 'item5-1'
|
||||
issued: 0000
|
||||
type: 'article-journal'
|
||||
- id: 'item5-2'
|
||||
issued: '-0876'
|
||||
|
|
|
@ -24,9 +24,9 @@ Test 2.[^2]
|
|||
|
||||
Test 3.[^3]
|
||||
|
||||
[^1]: 93--101, <https://johnmacfarlane.net/vagueness.pdf>.
|
||||
[^1]: N.d., 93--101, <https://johnmacfarlane.net/vagueness.pdf>.
|
||||
|
||||
[^2]: 93--101, <https://pandoc.org>.
|
||||
[^2]: N.d., 93--101, <https://pandoc.org>.
|
||||
|
||||
[^3]: 93--101, <https://johnmacfarlane.net>.
|
||||
[^3]: N.d., 93--101, <https://johnmacfarlane.net>.
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue