So I’ve just been able to get some time to try this. I’ve downloaded the template from GitHub, imported it as a template into Scrivener, and then created a new test project from the Template chooser.
When I Compile, one Project Format is selectable, Quarto Publish PDF. Selecting that and choosing Compile resulted in an error. To get it to work, I had to install a few packages in R:
> install.packages("markdown")
> install.packages("tidyverse")
> install.packages("kableExtra")
and then in a terminal I did:
brew install font-code-new-roman-nerd-font
and also installed the .otf
files separately as at first I thought the brew
command hadn’t worked (I think it actually installs slightly different fonts, so I’m not sure which one worked).
I now get a different LaTeX failure, and the relevant part of the output log seems to be this:
LaTeX Warning: Reference `fig-castle' on page 5 undefined on input line 640.
[5]
LaTeX Warning: Reference `fig-scriv158' on page 6 undefined on input line 692.
<quarto-book-test_files/figure-pdf/fig-scriv158-1.pdf, id=159, 387.4475pt x 242
.9075pt>
File: quarto-book-test_files/figure-pdf/fig-scriv158-1.pdf Graphic file (type p
df)
<use quarto-book-test_files/figure-pdf/fig-scriv158-1.pdf>
Package luatex.def Info: quarto-book-test_files/figure-pdf/fig-scriv158-1.pdf
used on input line 708.
(luatex.def) Requested size: 387.44655pt x 242.90689pt.
[6<./Elephant2.jpg>]
Package marginnote Info: right page because not two side mode on input line 722
.
Package marginnote Info: xpos seems to be \@mn@currxpos on input line 722.
! LaTeX Error: Not in outer par mode.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.733 \caption
{This table uses Section Type \texttt{{[}Code\ R{]}} to insert the
Here is how much of LuaTeX's memory you used:
46452 strings out of 478278
100000,1977958 words of node,token memory allocated
9285 words of node memory still in use:
55 hlist, 12 vlist, 20 rule, 60 disc, 11 local_par, 3 dir, 2 math, 204 glue,
65 kern, 37 penalty, 4 margin_kern, 602 glyph, 359 attribute, 94 glue_spec, 123
attribute_list, 2 temp, 1 if_stack, 5 write, 1 save_pos, 1 user_defined, 4 pdf_d
est, 6 pdf_action, 11 pdf_colorstack, 1 pdf_setmatrix, 1 pdf_save, 1 pdf_restore
nodes
avail lists: 1:2,2:2845,3:816,4:184,5:550,6:39,7:6384,8:36,9:428,10:9,11:562,
12:1
65002 multiletter control sequences out of 65536+600000
170 fonts using 65343063 bytes
108i,9n,123p,10610b,1126s stack positions out of 10000i,1000n,20000p,200000b,200000s
! ==> Fatal error occurred, no output PDF file produced!
Any thoughts on this?
I figured out how to get an HTML output file, but that shows up with a very plain style:
Is there something I need to do to get the normal Quarto HTML styling?