### Bug description

Hi there,
I just figured out that if you want to render a PDF with documentclass `moderncv` you need to comment-out these lines in the latex-template:

```
% % Allow footnotes in longtable head/foot
% \IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}
% \makesavenoteenv{longtable}
```
If you do not, you will get the error message

`undefined control sequence \begin{document}`

....just sayin... took me a while to find out... ;)

### Checklist

- [ ] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [ ] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [ ] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [ ] Please document the operating system you're running. If on Linux, please provide the specific distribution.
2022-09-22T13:53:22Z
produnis
enhancement third-party
closed
documentclass moderncv needs "footnotes in longtable" to be disabled
https://github.com/quarto-dev/quarto-cli/issues/2553