Overview
Comment:change the way the bibliography is generated
Timelines: family | ancestors | descendants | both | revise-for-2023
Files: files | file ages | folders
SHA3-256: 787d6651d35d4586bb8b0963ed2fc4c1967f763b19d30638aed4a473703ec900
User & Date: jboy on 2023-04-14 10:18:23
Other Links: branch diff | manifest | tags
Context
2023-04-14
10:18
enable PDF generation check-in: 8932f74054 user: jboy tags: revise-for-2023
10:18
change the way the bibliography is generated check-in: 787d6651d3 user: jboy tags: revise-for-2023
08:31
fix phrasing of week 2 homework check-in: c36b624848 user: jboy tags: revise-for-2023
Changes

Modified Makefile from [c047ab90f6] to [06110670ad].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

23
24
25
26
27
REFS=refs.bib
RAWBIB=refs.md
PROCBIB=docs/bib.md

.PHONY: publish clean serve purge
site: build

build: clean $(PROCBIB)
	mkdocs build
publish: build
	fossil uv add `find site`
	fossil uv sync
clean: 
	rm -f $(PROCBIB)
	find -name '*~' | xargs -r rm
serve:
	mkdocs serve
purge:
	fossil uv ls | xargs fossil uv rm {}
	rm -rf site/

$(PROCBIB): $(REFS) $(RAWBIB)

	pandoc -C \
	    --bibliography=$(REFS) \
	    $(RAWBIB) \
	    -t markdown_strict \
	    -o $@

<



















|
>
|
<
<
|
<
1

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23


24

REFS=refs.bib

PROCBIB=docs/bib.md

.PHONY: publish clean serve purge
site: build

build: clean $(PROCBIB)
	mkdocs build
publish: build
	fossil uv add `find site`
	fossil uv sync
clean: 
	rm -f $(PROCBIB)
	find -name '*~' | xargs -r rm
serve:
	mkdocs serve
purge:
	fossil uv ls | xargs fossil uv rm {}
	rm -rf site/

$(PROCBIB): $(REFS)
	echo -e "# References\n" > $@
	pandoc -C $(REFS) \


	    -t markdown_strict >> $@