aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-12-22 17:30:44 -0800
committerJohn MacFarlane <[email protected]>2022-12-22 17:30:44 -0800
commit6c96340bf63df36c91d11d405af96da8b736eb56 (patch)
tree2a08e6fb24d0942a2322f2a77f9c25a3413bece6 /test/command
parentee6cf1b8bfecd743de6f5c605c7fccf33bee0088 (diff)
Support "software" type in biblatex <-> CSL conversions.
Closes #8504.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/8504.md90
1 files changed, 90 insertions, 0 deletions
diff --git a/test/command/8504.md b/test/command/8504.md
new file mode 100644
index 000000000..582304f31
--- /dev/null
+++ b/test/command/8504.md
@@ -0,0 +1,90 @@
+```
+% pandoc -f markdown -s -t biblatex
+---
+references:
+- id: Larsson_2016
+ author:
+ - family: Larsson
+ given: Johan
+ citation-key: Larsson_2016
+ issued:
+ - year: 2016
+ medium: Windows
+ title: 'qualpalr: Automatic Generation of Qualitative Color Palettes'
+ type: software
+ URL: https://cran.r-project.org/package=qualpalr
+ version: 0.3.1
+...
+^D
+@software{Larsson_2016,
+ author = {Larsson, Johan},
+ title = {Qualpalr: {Automatic} {Generation} of {Qualitative} {Color}
+ {Palettes}},
+ version = {0.3.1},
+ date = {2016},
+ url = {https://cran.r-project.org/package=qualpalr}
+}
+```
+
+```
+% pandoc -f markdown -s -t bibtex
+---
+references:
+- id: Larsson_2016
+ author:
+ - family: Larsson
+ given: Johan
+ citation-key: Larsson_2016
+ issued:
+ - year: 2016
+ medium: Windows
+ title: 'qualpalr: Automatic Generation of Qualitative Color Palettes'
+ type: software
+ URL: https://cran.r-project.org/package=qualpalr
+ version: 0.3.1
+...
+^D
+@misc{Larsson_2016,
+ author = {Larsson, Johan},
+ title = {Qualpalr: {Automatic} {Generation} of {Qualitative} {Color}
+ {Palettes}},
+ year = {2016},
+ url = {https://cran.r-project.org/package=qualpalr}
+}
+```
+
+```
+% pandoc -f biblatex -s -t csljson
+@software{Larsson_2016,
+ author = {Larsson, Johan},
+ title = {Qualpalr: {Automatic} {Generation} of {Qualitative} {Color}
+ {Palettes}},
+ version = {0.3.1},
+ date = {2016},
+ url = {https://cran.r-project.org/package=qualpalr}
+}
+^D
+[
+ {
+ "URL": "https://cran.r-project.org/package=qualpalr",
+ "author": [
+ {
+ "family": "Larsson",
+ "given": "Johan"
+ }
+ ],
+ "id": "Larsson_2016",
+ "issued": {
+ "date-parts": [
+ [
+ 2016
+ ]
+ ]
+ },
+ "title": "Qualpalr: Automatic Generation of Qualitative Color Palettes",
+ "title-short": "Qualpalr",
+ "type": "software",
+ "version": "0.3.1"
+ }
+]
+```