Skip to content

Commit

Permalink
set latex environment variables 'doc.yml'
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenaH84 committed Apr 11, 2024
1 parent e5ed1f3 commit fff35e7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@ jobs:
- name: Install LaTeX
run: |
mkdir -p $HOME/.local/texlive
echo "export TEXLIVE_INSTALL_PREFIX=$HOME/.local/texlive" >> $GITHUB_ENV
echo "export TEXLIVE_INSTALL_TEXDIR=$HOME/.local/texlive/2014" >> $GITHUB_ENV
wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
tar -xzf install-tl-unx.tar.gz --strip-components=1 -C $HOME/.local/texlive
cd $HOME/.local/texlive
echo "selected_scheme scheme-full" >> texlive.profile
echo "TEXDIR $HOME/.local/texlive" >> texlive.profile
echo "TEXMFHOME $HOME/texmf" >> texlive.profile
$HOME/.local/texlive/install-tl --profile=texlive.profile
./install-tl --profile=texlive.profile
export PATH="$HOME/.local/texlive/bin/x86_64-linux:$PATH"
tlmgr install collection-latexrecommended
Expand Down

0 comments on commit fff35e7

Please sign in to comment.