diff --git a/.travis.yml b/.travis.yml index 4159286..31887cd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,42 +1,19 @@ language: c sudo: false +env: + - PATH="$HOME/texlive/bin/x86_64-linux:$PATH" + before_install: - true -addons: - apt: - packages: - - texlive-latex-base - - texlive-fonts-extra - - texlive-fonts-recommended - - texlive-latex-extra - # on 12.04: texlive-latex3, but use texlive-latex-recommended on more recent versions of Ubuntu. - - texlive-latex3 - - texlive-latex-recommended - - pgf - - latex-xcolor - - lmodern - - texlive-math-extra - install: - - echo "LaTeX extra packages:" - - latex_home=$(kpsewhich -var-value=TEXMFHOME) - - curl -L -o newunicodechar.ins http://mirrors.ctan.org/macros/latex/contrib/newunicodechar/newunicodechar.ins - - curl -L -o newunicodechar.dtx http://mirrors.ctan.org/macros/latex/contrib/newunicodechar/newunicodechar.dtx - - latex newunicodechar.ins - - mkdir -p "$latex_home/tex/latex/newunicodechar" - - mv newunicodechar.sty "$latex_home/tex/latex/newunicodechar" - - curl -L -o mathpartir.dtx http://mirrors.ctan.org/macros/latex/contrib/mathpartir/mathpartir.dtx - - curl -L -o mathpartir.ins http://mirrors.ctan.org/macros/latex/contrib/mathpartir/mathpartir.ins - - latex mathpartir.ins - - mkdir -p "$latex_home/tex/latex/mathpartir" - - mv mathpartir.sty "$latex_home/tex/latex/mathpartir" - - curl -L -o pgf.zip https://downloads.sourceforge.net/project/pgf/pgf/version%203.0.1/pgf_3.0.1.tds.zip - - unzip -d "$latex_home" pgf.zip - - curl -L -o pgfplots.zip https://downloads.sourceforge.net/project/pgfplots/pgfplots/1.15/pgfplots_1.15.tds.zip - - unzip -d "$latex_home" pgfplots.zip - - echo "Finished installing extra latex packages." + - echo "Installing LaTeX and LaTeX packages." + - curl -L -o texlive.tar.gz https://github.com/yihui/ubuntu-bin/releases/download/latest/texlive.tar.gz + - tar -C "$HOME/" -zxf texlive.tar.gz + - tlmgr update --self + - tlmgr install newunicodechar mathpartir pgf pgfplots bera float cancel pgfopts elocalloc environ savesym bbding wasy wasysym epigraph + - echo "Finished installing LaTeX and LaTeX packages." # ################## # # Actual LaTeX build # # ################## # diff --git a/forest-compat.sty b/forest-compat.sty old mode 100755 new mode 100644 diff --git a/forest-doc.sty b/forest-doc.sty old mode 100755 new mode 100644 diff --git a/forest-lib-edges.sty b/forest-lib-edges.sty old mode 100755 new mode 100644 diff --git a/forest-lib-linguistics.sty b/forest-lib-linguistics.sty old mode 100755 new mode 100644 diff --git a/forest.sty b/forest.sty old mode 100755 new mode 100644 diff --git a/growingwave.sty b/growingwave.sty old mode 100755 new mode 100644 diff --git a/justtrees.sty b/justtrees.sty old mode 100755 new mode 100644 diff --git a/oni-tree-defaults.sty b/oni-tree-defaults.sty old mode 100755 new mode 100644 diff --git a/oni-trees.sty b/oni-trees.sty old mode 100755 new mode 100644 diff --git a/tikzlibrarydecorations.growingwave.code.tex b/tikzlibrarydecorations.growingwave.code.tex old mode 100755 new mode 100644 diff --git a/tikzlibraryoni-squiggly.code.tex b/tikzlibraryoni-squiggly.code.tex old mode 100755 new mode 100644 diff --git a/tikzlibrarytree-triangle-fit.code.tex b/tikzlibrarytree-triangle-fit.code.tex old mode 100755 new mode 100644 index ec20300..bf4f6b9 --- a/tikzlibrarytree-triangle-fit.code.tex +++ b/tikzlibrarytree-triangle-fit.code.tex @@ -9,6 +9,7 @@ % } % %%%%%%% +\ifx\pgfmathsign\relax% \tikzmath{ function sign(\x) { if (\x < 0) then { @@ -22,6 +23,7 @@ }; }; } +\fi% \newif\iftrianglefitisosceles \newif\iftrianglefitbackground diff --git a/tikzlibrarytriangle-fit.code.tex b/tikzlibrarytriangle-fit.code.tex old mode 100755 new mode 100644 index ac5d7c2..929bd61 --- a/tikzlibrarytriangle-fit.code.tex +++ b/tikzlibrarytriangle-fit.code.tex @@ -9,6 +9,7 @@ % } % %%%%%%% +\ifx\pgfmathsign\relax% \tikzmath{ function sign(\x) { if (\x < 0) then { @@ -22,6 +23,7 @@ }; }; } +\fi% \newif\iftrianglefitisosceles \newif\iftrianglefitbackground