diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f16da29887180ab18672a6e8c17c155138230a2b..ac6fffc15120bec849fe25f584d4eb894948be13 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,9 @@ stages: - check - deploy +variables: + GIT_SUBMODULE_STRATEGY: recursive + check: stage: check tags: diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000000000000000000000000000000000000..51482d4d2c93f264654c33f83aa12062710e02cc --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "bibliography"] + path = bibliography + url = ../../publishing/bibliography.git diff --git a/Makefile b/Makefile index 0f1afa7d5642206e8c56661b9d769526ec160401..59a5cb740eb8aab75fad82ff78bdca15a6724d26 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ PANDOC = pandoc PANDOCFLAGS = \ --standalone \ + --filter pandoc-citeproc \ --pdf-engine=xelatex \ SOURCES_CSV = $(wildcard *.csv) diff --git a/bibliography b/bibliography new file mode 160000 index 0000000000000000000000000000000000000000..9fd9bc22bee5df7c13916bb5878e4107cc278955 --- /dev/null +++ b/bibliography @@ -0,0 +1 @@ +Subproject commit 9fd9bc22bee5df7c13916bb5878e4107cc278955 diff --git a/chapter-2-methods.md b/chapter-2-methods.md index 6db57396684d3a842440607ab1132bdfd83e1deb..f235c9dac9b335da862f9bcf30b8e9c3a4e9ddbf 100644 --- a/chapter-2-methods.md +++ b/chapter-2-methods.md @@ -78,7 +78,8 @@ You can add footnotes to your text like this.[^1] Bibliography ------------ -This one is often cited [see @WatsonCrick1953]. +This one is often cited [@WatsonCrick1953]. You can also cite @WatsonCrick1953 +like that. Images ------ diff --git a/idiv.bib b/idiv.bib deleted file mode 100644 index 1b925130a3c001eae6dc259c2d8fde95b7ea3493..0000000000000000000000000000000000000000 --- a/idiv.bib +++ /dev/null @@ -1,9 +0,0 @@ -@article{ WatsonCrick1953, - Author = {Watson, J. D. and Crick, F. H. C.}, - Title = {Molecular Structure of Nucleic Acids: A Structure for Deoxyribose Nucleic Acid}, - Journal = {Nature}, - Volume = {171}, - Number = {4356}, - Pages = {737-738}, - Year = {1953} -} diff --git a/metadata.yml b/metadata.yml index 9c6c06132a72bd8600c7fd175f2c94752a02e3a8..77e4636df7cb523032964316130b07f4dfbc6eba 100644 --- a/metadata.yml +++ b/metadata.yml @@ -30,7 +30,7 @@ geometry: left=24.1mm geometry: right=24.1mm geometry: bottom=4.5cm -bibliography: idiv.bib -link-citations: yes +bibliography: bibliography/references.bib reference-section-title: References +link-citations: yes ...