install packages required for pandoc

This commit is contained in:
Gojko Adzic 2019-05-23 12:41:17 +02:00
parent 3675c40ee7
commit a95c66f21a

View File

@ -10,28 +10,35 @@ TEXLIVE_SOURCE=install-tl-unx.tar.gz
$(TEXLIVE_SOURCE): $(TEXLIVE_SOURCE):
curl -LO http://mirror.ctan.org/systems/texlive/tlnet/$(TEXLIVE_SOURCE) curl -LO http://mirror.ctan.org/systems/texlive/tlnet/$(TEXLIVE_SOURCE)
/usr/lib64/perl5/vendor_perl/Digest/MD5.pm: MD5_pm=/usr/lib64/perl5/vendor_perl/Digest/MD5.pm
$(MD5_pm):
yum install perl-Digest-MD5 -y yum install perl-Digest-MD5 -y
$(WGET):
yum install -y wget
# see https://wiki.archlinux.org/index.php/TeX_Live # see https://wiki.archlinux.org/index.php/TeX_Live
TLMGR=/opt/texlive/bin/x86_64-linux/tlmgr TLMGR=/opt/texlive/bin/x86_64-linux/tlmgr
$(TLMGR): $(TEXLIVE_SOURCE) /usr/lib64/perl5/vendor_perl/Digest/MD5.pm $(TLMGR): $(TEXLIVE_SOURCE) $(WGET) $(MD5_pm)
tar xf $< tar xf $<
cd install-tl* cd install-tl*
./install-tl --profile $(PROJECT_ROOT)texlive.profile ./install-tl --profile $(PROJECT_ROOT)texlive.profile
## see https://pandoc.org/MANUAL.html ## see https://pandoc.org/MANUAL.html
##
## the following packages might be needed for xelatex:
##
## fontspec polyglossia xecjk bidi mathspec upquote microtype
## csquotes natbib biblatex bibtex biber
pandoc-packages: $(TLMGR) pandoc-packages: $(TLMGR)
$(TLMGR) install xcolor amsfonts amsmath lm unicode-math \ $(TLMGR) install --repository ctan \
ifxetex ifluatex listings fancyvrb longtable booktabs \ xcolor amsfonts amsmath lm unicode-math \
graphicx grffile hyperref xcolor ulem geometry \ ifxetex ifluatex listings fancyvrb booktabs \
setspace babel upquote microtype parskip xurl \ hyperref ulem geometry setspace babel upquote \
bookmark footnotehyper footnote microtype parskip xurl oberdiek tools \
graphics footnotehyper mdwtools
all: $(TLMGR) pandoc-packages all: $(TLMGR) pandoc-packages
pandoc-xelatex-packages:
$(TLMGR) fontspec polyglossia xecjk bidi mathspec upquote microtype \
csquotes natbib biblatex bibtex biber