Open TaWeiYeh opened 1 month ago
Quarto supports TinyLatex.
You can install TinyLatex from here
You might need to install some R package as well. When you can R package not found error, enter 'r' in command line and use package install
I think the problem is the tikz package.
The figure below shows the error when converting fig-tikz figure. Though the final error message is different, it should come from the same root issue. Also, though the file name is different in the current and the previous attached picture, they are all the same template.qmd file from this repo.
After I commented out Line 133 to 359, my quarto could compile the template.qmd. So the problem would be, what package should we install for tikz figures? https://github.com/stevengogogo/neurips-quarto-extension/blob/f1e57cb90f04dd648b9520cdd94004f659c06b6b/template.qmd#L333-L356
Did you find error message?
On Mon, May 13, 2024, 4:24 PM TaWeiYeh @.***> wrote:
After I commented out Line 133 to 359, my quarto could compile the template.qmd. So the problem would be, what package should we install for tikz figures?
— Reply to this email directly, view it on GitHub https://github.com/stevengogogo/neurips-quarto-extension/issues/3#issuecomment-2108825038, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG5KP2UWZYMYSSF6I5WTDQTZCEVQRAVCNFSM6AAAAABHRJFK3OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBYHAZDKMBTHA . You are receiving this because you commented.Message ID: @.***>
Did you find error message? … On Mon, May 13, 2024, 4:24 PM TaWeiYeh @.> wrote: After I commented out Line 133 to 359, my quarto could compile the template.qmd. So the problem would be, what package should we install for tikz figures? https://github.com/stevengogogo/neurips-quarto-extension/blob/f1e57cb90f04dd648b9520cdd94004f659c06b6b/template.qmd#L333-L356 — Reply to this email directly, view it on GitHub <#3 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG5KP2UWZYMYSSF6I5WTDQTZCEVQRAVCNFSM6AAAAABHRJFK3OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBYHAZDKMBTHA . You are receiving this because you commented.Message ID: @.>
The error shows up when quarto is trying to convert a dvi file to a svg file. This probably caused by missing an installed package. However, I can't tell which package to install from the repo readme file. Here is the error message I get now without installing any packages from the previous reply. It is mostly the same error message from the previous reply but with more error messages. error_msg.txt
Installing dviscgm might help: https://dvisvgm.de/Downloads/
Also, the CI contains complete setup to run on Github Action: https://github.com/stevengogogo/neurips-quarto-extension/blob/main/.github/workflows/build.yml
After the installation of RScript in #2, I ran the command again,
quarto render reports.qmd --to neurips-html
. This time the error shows,Should I install a latex package?
The screenshot is attached as below.![image](https://github.com/stevengogogo/neurips-quarto-extension/assets/15456906/f78e34e8-d377-4025-91bb-b6b84bb57c7c)