Skip to content
Discussion options

You must be logged in to vote

Currently books have their own mechanism for advertising alternative formats of the book (since it is a top level concept in books [e.g. a PDF of the whole book is produced, not individual pages], it is slightly different than 'other formats'). You can control this using downloads like so:

project:
  type: book

book:
  title: "Book"
  author: "Norah Jones"
  date: "10/3/2023"
  chapters:
    - index.qmd
    - intro.qmd
    - summary.qmd
    - references.qmd
  downloads: [pdf]

bibliography: references.bib

format:
  html:
    theme: cosmo
  pdf:
    documentclass: scrreprt

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by n8craig
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants