You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really love the look of the memor template, but I can't get it to knit to pdf_memo. The following issue is consistently output:
"! Missing $ inserted.
$
l.318 N
ote that the \texttt{echo\ =\ FALSE} parameter was added to the code
Try to find the following text in test.Rmd:
N
You may need to add $ $ around a certain inline R expression r in test.Rmd (see the above hint). See rstudio/rmarkdown#385 for more info.
Error: LaTeX failed to compile test.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See test.log for more info.
Execution halted"
I have even tried with the template .Rmd file that RStudio gives when you open a new file (see copy of code below).
Can you suggest any fixes?
Cheers
The text was updated successfully, but these errors were encountered:
So sorry for the delay! Looks like the error is being caused by the special character underscore "_" in the example on line 12 of the yaml, here is a corrected version (also use_profile is true/false):
--- title: "test" author: "JESS" date: "20/05/2021" output: memor::pdf_memo: use_profile: false company: name: Your company's name address: Your address phone: 888.888.8888 email: [email protected] short_title: short title footer_on_first_page: yes toc: yes lot: yes lof: yes number_sections: yes latex_engine: xelatex ---
If you need to use a special character like an underscore or colon within the YAML header, you'd need to escape the symbol as follows: your$\[email protected] or $\colon$
Hi,
I really love the look of the memor template, but I can't get it to knit to pdf_memo. The following issue is consistently output:
"! Missing $ inserted.
$
l.318 N
ote that the \texttt{echo\ =\ FALSE} parameter was added to the code
Try to find the following text in test.Rmd:
N
You may need to add $ $ around a certain inline R expression
r
in test.Rmd (see the above hint). See rstudio/rmarkdown#385 for more info.Error: LaTeX failed to compile test.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See test.log for more info.
Execution halted"
I have even tried with the template .Rmd file that RStudio gives when you open a new file (see copy of code below).
Can you suggest any fixes?
Cheers
The text was updated successfully, but these errors were encountered: