-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Still a problem with tikz #33
Comments
Solved by installing inkscape |
That said, the github action build still fails after pushing, so there is still something that needs a fix. |
The error I see in the logs of the github action is the same I had on my computer laptop before installing/updating inkscape |
Which workflow are you using ? The one currently deployed on the templated (and used by the action on our extension) is working with tikz/inkscape. (We redesigned the whole workflow) |
What do you mean by workflow ? Do you want to know the versions of the softs I have installed ? If so, which ones ? |
I use this one name: build
on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
push:
branches: main
jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
version: pre-release
tinytex: true
- name: register tinytex globally for diagram.lua
run: |
mkdir -p ~/.local/bin
~/.TinyTeX/bin/x86_64-linux/tlmgr update --self
~/.TinyTeX/bin/x86_64-linux/tlmgr option sys_bin ~/.local/bin
~/.TinyTeX/bin/x86_64-linux/tlmgr path add
~/.TinyTeX/bin/x86_64-linux/tlmgr install libertinus-fonts
- name: Install Computo extension for Quarto
run: |
quarto add --no-prompt computorg/computo-quarto-extension
- name: Install R
uses: r-lib/actions/setup-r@v2
with:
r-version: '4.4.0'
- name: Install R Dependencies with renv
uses: r-lib/actions/setup-renv@v2
with:
cache-version: 1
- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} I never changed it after forking the template. So I guess I should change it for the one linked by Pierre and try again? |
Yes that would help, thanks! |
Solved the issue, thanks! |
Hello, I tried the workaround discussed in #20 and #24: for my two tikz diagrams I added the lines
%%| filename: ../figure-tikz/fig-tikz-01
and%%| filename: ../figure-tikz/fig-tikz-02
.But I still have a problem in html render. The execution fails in 2 to 4 secondes with the following error message:
Furthermore the folder
figure-tikz
is never created.I installed and updated pdf2svg and lua with Homebrew (I'm running on macOS 13.6.3, Apple M2 chip, R 4.4.2, last RStudio version 2024.09.1+394).
The text was updated successfully, but these errors were encountered: