Add crossref filter

This commit is contained in:
Raffaele Mignone 2020-07-06 22:07:04 +02:00
parent 3a109f966b
commit bea2cf151a
Signed by: norangebit
GPG Key ID: F5255658CB220573

View File

@ -8,9 +8,16 @@ WORKDIR /.local/share/pandoc/templates
RUN wget https://git.norangeb.it/norangebit/pancv/raw/branch/master/pancv.tex \
-O pancv.latex
WORKDIR /.local/share/pandoc/filters
RUN wget https://github.com/lierdakil/pandoc-crossref/releases/download/v0.3.6.4/pandoc-crossref-Linux-2.9.2.1.tar.xz
RUN tar -xf pandoc-crossref-Linux-2.9.2.1.tar.xz
RUN rm pandoc-crossref-Linux-2.9.2.1.tar.xz & rm pandoc-crossref.1
# drone compatibility
WORKDIR /root/.pandoc/templates
RUN cp /.local/share/pandoc/templates/*.latex /root/.pandoc/templates
WORKDIR /root/.pandoc/filters
RUN cp /.local/share/pandoc/filters/pandoc-crossref /root/.pandoc/filters
# moderncv
RUN tlmgr install moderncv \