I'm struggling to get the
abstract environment working with PDF book formats.
It works fine for the base Quarto PDF, but when I try to use it with a
scrbook document class, like this:
format: pdf: documentclass: book % or scrbook abstract: This is my abstract.
LaTeX Error: Environment abstract undefined.
I've tried this a number of ways as I am working with partials, etc., but can't get it to work in any configuration. Here are the minimal steps to reproduce the problem:
- Create a new Quarto document, choose type PDF
abstract: This is my abstract.to the YAML frontmatter.
- Render. The PDF is output without error and it includes the abstract.
- Change the format YAML to match the prior code block, adding
- Render. Note that the error occurs as described on
Any help would be appreciated.