Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/changelog-1.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## In this release

- ([#6607](https://github.com/quarto-dev/quarto-cli/issues/6607)): Add missing beamer template update for beamer theme options: `colorthemeoptions`, `fontthemeoptions`, `innerthemeoptions` and `outerthemeoptions`.
- ([#12625](https://github.com/quarto-dev/quarto-cli/pull/12625)): Fire resize event on window when light/dark toggle is clicked, to tell widgets to resize.
- ([#12657](https://github.com/quarto-dev/quarto-cli/pull/12657)): Load Giscus in generated script tag, to avoid wrong-theming in Chrome.

Expand Down
12 changes: 4 additions & 8 deletions src/resources/formats/beamer/pandoc/template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -72,30 +72,26 @@
\usetheme[$for(themeoptions)$$themeoptions$$sep$,$endfor$]{$theme$}
$endif$
$if(colortheme)$
\usecolortheme{$colortheme$}
\usecolortheme[$for(colorthemeoptions)$$colorthemeoptions$$sep$,$endfor$]{$colortheme$}
$endif$
$if(fonttheme)$
\usefonttheme{$fonttheme$}
\usefonttheme[$for(fontthemeoptions)$$fontthemeoptions$$sep$,$endfor$]{$fonttheme$}
$endif$
$if(mainfont)$
\usefonttheme{serif} % use mainfont rather than sansfont for slide text
$endif$
$if(innertheme)$
\useinnertheme{$innertheme$}
\useinnertheme[$for(innerthemeoptions)$$innerthemeoptions$$sep$,$endfor$]{$innertheme$}
$endif$
$if(outertheme)$
\useoutertheme{$outertheme$}
\useoutertheme[$for(outerthemeoptions)$$outerthemeoptions$$sep$,$endfor$]{$outertheme$}
$endif$
$font-settings.latex()$
$common.latex()$

$after-header-includes.latex()$
$hypersetup.latex()$

$if(nocite-ids)$
\nocite{$for(nocite-ids)$$it$$sep$, $endfor$}
$endif$

$before-title.tex()$

$title.tex()$
Expand Down
38 changes: 33 additions & 5 deletions src/resources/schema/document-options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,32 +274,60 @@
schema: string
tags:
formats: [beamer]
description: The Beamer color theme for this presentation.
description: The Beamer color theme for this presentation, passed to `\usecolortheme`.

- name: colorthemeoptions
schema:
maybeArrayOf: string
tags:
formats: [beamer]
description: The Beamer color theme options for this presentation, passed to `\usecolortheme`.

- name: fonttheme
schema: string
tags:
formats: [beamer]
description: The Beamer font theme for this presentation.
description: The Beamer font theme for this presentation, passed to `\usefonttheme`.

- name: fontthemeoptions
schema:
maybeArrayOf: string
tags:
formats: [beamer]
description: The Beamer font theme options for this presentation, passed to `\usefonttheme`.

- name: innertheme
schema: string
tags:
formats: [beamer]
description: The Beamer inner theme for this presentation.
description: The Beamer inner theme for this presentation, passed to `\useinnertheme`.

- name: innerthemeoptions
schema:
maybeArrayOf: string
tags:
formats: [beamer]
description: The Beamer inner theme options for this presentation, passed to `\useinnertheme`.

- name: outertheme
schema: string
tags:
formats: [beamer]
description: The Beamer outer theme for this presentation.
description: The Beamer outer theme for this presentation, passed to `\useoutertheme`.

- name: outerthemeoptions
schema:
maybeArrayOf: string
tags:
formats: [beamer]
description: The Beamer outer theme options for this presentation, passed to `\useoutertheme`.

- name: themeoptions
schema:
maybeArrayOf: string
tags:
formats: [beamer]
description: Options passed to LaTeX Beamer themes.
description: Options passed to LaTeX Beamer themes inside `\usetheme`.

- name: section
schema: number
Expand Down