From ad481ca91336fd5724ace368d6df89a1c7dfb62a Mon Sep 17 00:00:00 2001 From: Orestis <orestis.malaspinas@hesge.ch> Date: Tue, 24 Sep 2019 08:47:36 +0200 Subject: [PATCH] added tufte --- .gitlab-ci.yml | 4 ++++ .gitmodules | 3 +++ Makefile | 2 +- css/tufte-css | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 css/tufte-css diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9d771af..380a99d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,9 @@ image: omalaspinas/pandoc:latest +variables: + GIT_SUBMODULE_STRATEGY: recursive + + before_script: ## ## Install ssh-agent if not already installed, it is required by Docker. diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..822f448 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "css/tufte-css"] + path = css/tufte-css + url = https://github.com/edwardtufte/tufte-css.git diff --git a/Makefile b/Makefile index 47639cc..c07dc3a 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ PDFOPTIONS += --number-sections PDFOPTIONS += --template=./default.latex HTMLOPTIONS += -t html5 -HTMLOPTIONS += -c css/styling.css +HTMLOPTIONS += -c css/tufte-css/tufte.css HTMLOPTIONS += --self-contained all: base_2.pdf base_1.pdf intro.pdf index.html diff --git a/css/tufte-css b/css/tufte-css new file mode 160000 index 0000000..c414b91 --- /dev/null +++ b/css/tufte-css @@ -0,0 +1 @@ +Subproject commit c414b9117d5b39bdb747a172822333fc1043aee3 -- GitLab