-
Notifications
You must be signed in to change notification settings - Fork 410
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
33 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
export PATH="/tmp/texlive/bin/x86_64-linux:$PATH"; | ||
|
||
XECJK_PKGS="fontspec ulem xecjk xetex"; | ||
CTEX_PKGS="cjk ctex environ everysel trimspaces zhnumber"; | ||
ALGORITHM2E_PKGS="algorithm2e ifoddpage relsize"; | ||
BIBLATEX_PKGS="biber biblatex biblatex-gb7714-2015 xstring"; | ||
NOMENCL_PKGS="nomencl koma-script xkeyval"; | ||
|
||
BIN_PKGS="latexmk l3build"; | ||
REQUIRED_PKGS="$XECJK_PKGS $CTEX_PKGS caption footmisc filehook notoccite \ | ||
multirow titlesec unicode-math"; | ||
FONT_PKGS="fandol tex-gyre xits"; | ||
EXTRA_PKGS="$ALGORITHM2E_PKGS $BIBLATEX_PKGS $NOMENCL_PKGS siunitx"; | ||
DOC_PKGS="booktabs hypdoc listings xcolor"; | ||
|
||
tlmgr install $BIN_PKGS $REQUIRED_PKGS $FONT_PKGS $EXTRA_PKGS $DOC_PKGS; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,16 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
REMOTE="https://mirrors.ctan.org/systems/texlive/tlnet"; | ||
INSTALL="/tmp/install-texlive"; | ||
|
||
# install TeX Live & remove installer | ||
mkdir -p "$INSTALL"; | ||
curl -sSL "$REMOTE/install-tl-unx.tar.gz" | tar -xz -C "$INSTALL" \ | ||
--strip-components=1; | ||
"$INSTALL/install-tl" -no-gui -repository $REMOTE \ | ||
-profile .github/workflows/texlive.profile; | ||
rm -rf "$INSTALL"; | ||
|
||
# add packages with tlmgr | ||
export PATH="/tmp/texlive/bin/x86_64-linux:$PATH"; | ||
|
||
XECJK_PKGS="fontspec ulem xecjk xetex"; | ||
CTEX_PKGS="cjk ctex environ everysel trimspaces zhnumber"; | ||
ALGORITHM2E_PKGS="algorithm2e ifoddpage relsize"; | ||
BIBLATEX_PKGS="biber biblatex biblatex-gb7714-2015 xstring"; | ||
NOMENCL_PKGS="nomencl koma-script xkeyval"; | ||
|
||
BIN_PKGS="latexmk l3build"; | ||
REQUIRED_PKGS="$XECJK_PKGS $CTEX_PKGS caption footmisc filehook notoccite \ | ||
multirow titlesec unicode-math"; | ||
FONT_PKGS="fandol tex-gyre xits"; | ||
EXTRA_PKGS="$ALGORITHM2E_PKGS $BIBLATEX_PKGS $NOMENCL_PKGS siunitx"; | ||
DOC_PKGS="booktabs hypdoc listings xcolor"; | ||
|
||
tlmgr install $BIN_PKGS $REQUIRED_PKGS $FONT_PKGS $EXTRA_PKGS $DOC_PKGS; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters