-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
44 lines (38 loc) · 1.65 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: generic
cache:
directories:
- /tmp/texlive
install:
- export PATH="/tmp/texlive/bin/x86_64-linux:$PATH";
- |
if ! command -v tlmgr > /dev/null; then
REMOTE="http://mirror.ctan.org/systems/texlive/tlnet";
INSTALL="/tmp/install-texlive";
mkdir -p $INSTALL;
curl -sSL $REMOTE/install-tl-unx.tar.gz | tar -xzv -C $INSTALL \
--strip-components=1;
echo "selected_scheme scheme-basic" >> $INSTALL/tl.profile;
echo "TEXDIR /tmp/texlive" >> $INSTALL/tl.profile;
echo "TEXMFLOCAL /tmp/texlive/texmf-local" >> $INSTALL/tl.profile;
echo "TEXMFSYSCONFIG /tmp/texlive/texmf-config" >> $INSTALL/tl.profile;
echo "TEXMFSYSVAR /tmp/texlive/texmf-var" >> $INSTALL/tl.profile;
echo "tlpdbopt_autobackup 0" >> $INSTALL/tl.profile;
echo "tlpdbopt_install_docfiles 0" >> $INSTALL/tl.profile;
echo "tlpdbopt_install_srcfiles 0" >> $INSTALL/tl.profile;
$INSTALL/install-tl -profile $INSTALL/tl.profile;
fi
- tlmgr update --self --all −−no−auto−install;
- tlmgr install latexmk
fontname fontspec l3kernel l3packages xetex
cjk ctex environ ms trimspaces ulem xecjk zhnumber
fandol tex-gyre xits
booktabs caption diagbox enumitem eso-pic etoolbox filehook float footmisc
fp multirow notoccite ntheorem pdfpages pict2e unicode-math xcolor zapfding
fontaxes kastrup listings lm metalogo newpx newtx palatino pxfonts thumbpdf
txfonts xkeyval
before_script:
- sed -i 's/\[RawFeature={vertical:}\]{FangSong}/\[Extension=.otf,RawFeature={vertical:}\]{FandolFang-Regular}/' shuji.tex
script:
- make thesis
- make shuji
- make doc