Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different revealjs formats in a Quarto website don't work as expected #8383

Closed
Nenuial opened this issue Jan 22, 2024 · 3 comments
Closed

Different revealjs formats in a Quarto website don't work as expected #8383

Nenuial opened this issue Jan 22, 2024 · 3 comments
Assignees
Labels
bug Something isn't working revealjs Issues with the revealjs format websites Issues creating websites
Milestone

Comments

@Nenuial
Copy link

Nenuial commented Jan 22, 2024

Bug description

I have multiple revealjs presentations that are included in a quarto website. I use different formats (using extensions) to have different templates.

I have observed that when you render the website, all presentations have the same template. quarto render probably generates only one css file for all quarto presentations and all presentations end up with the same template.

Steps to reproduce

To reproduce this:

Live example: https://test.nenuial.org
The vignettes show the desired theme.

Expected behavior

Each revealjs presentation with a different format should have its own css file.

Actual behavior

All revealjs presentations have the same css file.

Your environment

  • IDE: RStudio Version 2023.12.0+369 (2023.12.0+369)
  • MacOS Sonoma 14.2.1

Quarto check output

Quarto 1.4.545
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.11: OK
Dart Sass version 1.69.5: OK
Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.4.545
Path: /Applications/quarto/bin

[✓] Checking tools....................OK
TinyTeX: v2023.12
Chromium: 869685

[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /Users/admin/Library/TinyTeX/bin/universal-darwin
Version: 2023

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
Version: 3.11.4 (Conda)
Path: /opt/homebrew/Caskroom/miniconda/base/bin/python
Jupyter: 5.3.1
Kernels: python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........OK
Version: 4.3.2
Path: /Library/Frameworks/R.framework/Resources
LibPaths:
- /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library
knitr: 1.45
rmarkdown: 2.25

[✓] Checking Knitr engine render......OK

@Nenuial Nenuial added the bug Something isn't working label Jan 22, 2024
@cderv cderv added revealjs Issues with the revealjs format websites Issues creating websites labels Jan 22, 2024
@cderv cderv added this to the v1.5 milestone Jan 22, 2024
@cderv
Copy link
Collaborator

cderv commented Jan 22, 2024

Yes I think you're right. The revealjs SCSS theme is built and mixed by SASS with the quarto revealjs theme in _site\site_libs\revealjs\dist\theme\quarto.css and so the last presentation rendering is overriding the first.

Not great at all... sorry for this.

@dyavorsky
Copy link

I'm reporting the same issue when multiple revealjs presentations are included on a website and only one references a custom scss theme. The scss theme was "not registering" leading me to believe it is being assigned the "default theme" per this issue.

@cscheid
Copy link
Collaborator

cscheid commented Aug 27, 2024

This should be fixed in https://github.com/quarto-dev/quarto-cli/releases/tag/v1.6.7.

@cscheid cscheid closed this as completed Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working revealjs Issues with the revealjs format websites Issues creating websites
Projects
None yet
Development

No branches or pull requests

4 participants