I use Rstudio new Project to generate a book sample, and I've installed mactex, plugin tinyvex ,latest quarto et al., when I render to generate a book, there are somethings wrong, I can not figure out , anyone can help?
Command and Errors as follow:
quarto_render("index.qmd")
[1/4] index.qmde[39me[22m
e[31m
processing file: index.qmd
e[39m1/3
2/3 [unnamed-chunk-1]
3/3
e[31moutput file: index.knit.md
e[39me[31m
processing file: index.qmd
e[39m1/3
2/3 [unnamed-chunk-1]
3/3
e[31moutput file: index.knit.md
[2/4] intro.qmde[39me[22me[22m
e[31m
processing file: intro.qmd
e[39m1/3
2/3 [unnamed-chunk-1]
3/3
e[31moutput file: intro.knit.md
[3/4] summary.qmde[39me[22m
e[31m
processing file: summary.qmd
e[39m1/3
2/3 [unnamed-chunk-1]
3/3
e[31moutput file: summary.knit.md
[4/4] references.qmde[39me[22m
e[1mpandoc e[22m
to: latex
output-file: index.tex
standalone: true
toc: true
number-sections: true
top-level-division: chapter
pdf-engine: xelatex
variables:
graphics: true
tables: true
default-image-extension: pdf
e[1mmetadatae[22m
crossref:
chapters: true
documentclass: scrreprt
papersize: letter
classoption:
- DIV=11
- numbers=noendperiod
header-includes:
- '\KOMAoption{captions}{tableheading}'
block-headings: true
bibliography:
- references.bib
editor: visual
title: book
author: Norah Jones
date: 6/13/2024
e[1me[34m
Rendering PDFe[39me[22m
e[1me[34mrunning xelatex - 1e[39me[22m
This is XeTeX, Version 3.141592653-2.6-0.999996 (TeX Live 2024) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
e[1me[34mupdating tlmgre[39me[22m
e[1me[34mupdating existing packagese[39me[22m
e[1me[34mfinding package for fontenc.stye[39me[22m
e[1me[34m> 2 packages to installe[39me[22m
e[1me[34m> installing latex (1 of 2)e[39me[22m
Error in quarto_render()
:
Error running quarto cli.
Caused by error:
! System command 'quarto' failed
Run rlang::last_trace()
to see where the error occurred.
22m
last_trace()
Error in last_trace() : could not find function "last_trace"
rlang::last_trace()
<error/rlang_error>
Error inquarto_render()
:
Error running quarto cli.
Caused by error:
! System command 'quarto' failed
Backtrace:
▆
- └─quarto::quarto_render("index.qmd")
- └─quarto:::quarto_run(args, echo = TRUE, quarto_bin = quarto_bin)
Run rlang::last_trace(drop = FALSE) to see 6 hidden frames.