We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0531a7d + 9cb30d0 commit 2df33aaCopy full SHA for 2df33aa
scripts/update_bibliography.sh
@@ -246,6 +246,13 @@ fi
246
showInfo 1 "Got $(jq '. | length' <<< "$items") items"
247
248
# Piece-wise processing for debugging:
249
+items=$(jq 'include "./bib-fns";walk(if type == "object" then removeEmptyKeys end)' <<< $items)
250
+showInfo 8 "Remove all empty fields and the keys."
251
+if $debugFiles ; then
252
+ dfn=$(debugFileName "removeEmptyKeys" $dfn)
253
+ echo "$items" > "$dfn"
254
+fi
255
+
256
items=$(jq 'include "./bib-fns";map(semiflatten)' <<< "$items")
257
showInfo 8 "Elevate fields in .csljson and .data to the item level."
258
if $debugFiles ; then
0 commit comments