File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ FROM alpine-latex as alpine-extra
155
155
COPY common/extra/packages.txt /root/extra_packages.txt
156
156
COPY common/extra/requirements.txt /root/extra_requirements.txt
157
157
158
- # The option `--break-system-packages` sounds bad but this is not
158
+ # The option `--break-system-packages` sounds bad but this is not
159
159
# really a problem here because we are not using Python apk packages
160
160
# anyway.
161
161
RUN apk --no-cache add py-pip \
@@ -174,3 +174,10 @@ RUN mkdir -p ${TEMPLATES_DIR} && \
174
174
ARG EISVOGEL_REPO=https://raw.githubusercontent.com/Wandmalfarbe/pandoc-latex-template
175
175
ARG EISVOGEL_VERSION=v2.4.0
176
176
RUN wget ${EISVOGEL_REPO}/${EISVOGEL_VERSION}/eisvogel.tex -O ${TEMPLATES_DIR}/eisvogel.latex
177
+
178
+ # Lua filters
179
+ ARG LUA_FILTERS_REPO=https://github.com/pandoc/lua-filters/releases/download
180
+ ARG LUA_FILTERS_VERSION=v2021-11-05
181
+ RUN wget ${LUA_FILTERS_REPO}/${LUA_FILTERS_VERSION}/lua-filters.tar.gz \
182
+ && tar xzf lua-filters.tar.gz --strip-components=1 --one-top-level=/.pandoc \
183
+ && rm -f lua-filters.tar.gz
Original file line number Diff line number Diff line change @@ -202,6 +202,12 @@ output/beamertheme-metropolis.pdf: beamertheme-metropolis.md
202
202
--variable=theme:metropolis \
203
203
--variable=themeoptions:numbering=none
204
204
205
+
206
+ output/lua.html : eisvogel.md
207
+ $(EXTRA_CMD ) $< \
208
+ --output=$@ \
209
+ --lua-filter=pagebreak.lua
210
+
205
211
# ____ _
206
212
# / ___| | ___ __ _ _ __
207
213
# | | | |/ _ \/ _` | '_ \
Original file line number Diff line number Diff line change @@ -194,3 +194,10 @@ RUN mkdir -p ${TEMPLATES_DIR} && \
194
194
ARG EISVOGEL_REPO=https://raw.githubusercontent.com/Wandmalfarbe/pandoc-latex-template
195
195
ARG EISVOGEL_VERSION=v2.4.0
196
196
RUN wget ${EISVOGEL_REPO}/${EISVOGEL_VERSION}/eisvogel.tex -O ${TEMPLATES_DIR}/eisvogel.latex
197
+
198
+ # Lua Filters
199
+ ARG LUA_FILTERS_REPO=https://github.com/pandoc/lua-filters/releases/download
200
+ ARG LUA_FILTERS_VERSION=v2021-11-05
201
+ RUN wget ${LUA_FILTERS_REPO}/${LUA_FILTERS_VERSION}/lua-filters.tar.gz \
202
+ && tar xzf lua-filters.tar.gz --strip-components=1 --one-top-level=/.pandoc \
203
+ && rm -f lua-filters.tar.gz
You can’t perform that action at this time.
0 commit comments