Skip to content

Commit

Permalink
install latex in home directory 'doc.yml'
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenaH84 committed Apr 11, 2024
1 parent 5866e67 commit 301c0b5
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,21 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Install TeX Live and LaTeX packages
- name: Install LaTeX
run: |
sudo apt-get update
sudo apt-get install -y texlive texlive-latex-extra dvipng
mkdir -p $HOME/.local/texlive
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
echo "selected_scheme scheme-full" >> texlive.profile
echo "TEXDIR $HOME/.local/texlive" >> texlive.profile
$HOME/.local/texlive/install-tl --profile=texlive.profile
export PATH="$HOME/.local/texlive/bin/x86_64-linux:$PATH"
tlmgr install collection-latexrecommended
- name: Check LaTeX and dvipng versions
- name: Verify LaTeX installation
run: |
latex --version
dvipng --version
kpsewhich -var-value=TEXMFROOT
- name: Check LaTeX and dvipng permissions
run: |
ls -l $(which latex)
Expand Down

0 comments on commit 301c0b5

Please sign in to comment.