Skip to content

Commit 8d43c6a

Browse files
committed
Update etoc package in .travis.yml
1 parent 6336764 commit 8d43c6a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.travis.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,21 @@ addons:
1717
- "texlive-science"
1818

1919
install:
20-
# update KOMA-Script package as TeX Live 2017 is too old
20+
# update KOMA-Script and etoc packages as TeX Live 2017 is too old
2121
- "mkdir tmp && cd tmp"
2222
- "wget https://svwh.dl.sourceforge.net/project/koma-script/KOMA-Script/koma-script-3511.zip"
2323
- "unzip koma-script-3511.zip"
2424
- "rm koma-script-3511.zip"
2525
- "sudo mv * /usr/local/share/texmf/"
26+
- "wget http://mirrors.ctan.org/macros/latex/contrib/etoc.zip"
27+
- "unzip etoc.zip"
28+
- "cd etoc"
29+
- "etex etoc.dtx"
30+
- "sudo mkdir -p /usr/local/share/texmf/tex/latex/etoc"
31+
- "sudo mv etoc.sty /usr/local/share/texmf/tex/latex/etoc/"
32+
- "cd .. && rm -r etoc"
2633
- "sudo texhash"
27-
- "cd .. && rmdir tmp"
34+
- "cd .. && rm -r tmp"
2835

2936
script:
3037
- "/usr/bin/env python3 $(which scons) -j $(nproc)"

0 commit comments

Comments
 (0)