Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Quarto 1.8.1 and Highlight-text does not work w/o brand.yml #12679

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

Closed
Steinthal opened this issue May 5, 2025 · 5 comments
Closed

Quarto 1.8.1 and Highlight-text does not work w/o brand.yml #12679

Steinthal opened this issue May 5, 2025 · 5 comments
Labels
invalid This doesn't seem right

Comments

@Steinthal
Copy link

Steinthal commented May 5, 2025

Bug description

A simple test with just "highlight-text" does not render pdf with the color.

Steps to reproduce

---
title: "Test of Highlight-text Quarto Extension"
format:
  pdf:
    papersize: a4

filters:
  - highlight-text

#brand:
#  color:
#   palette:
#      fg: "#b22222"

keep-tex: true
---


## Font Colour

```markdown
[Red text]{colour="#b22222"}
```

[Red text]{colour="#b22222"}

Actual behavior

The example above does not render the "Red text" in red in the pdf file. The tex file just contains {Red text}. After commenting out the brand section, the text is rendered correctly in the pdf file.

Expected behavior

The filter should work w/o stating a brand section.

Your environment

  • IDE: Positron Version: 2025.04.0 (Universal) build 250; Code - OSS Version: 1.98.0
  • OS: macOS 15.5 Beta (24F5068b)

Quarto check output

quarto check

Quarto 1.8.1
[✓] Checking environment information...
      Quarto cache location: /Users/steinthal/Library/Caches/quarto
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.6.3: OK
      NOTE: Dart Sass version 1.87.0 does not strictly match 1.85.1 and strict checking is enabled. Please use 1.85.1.
      Deno version 1.46.3: OK
      Typst version 0.13.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.8.1
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Using: Installation From Path
      Path: /Library/TeX/texbin
      Version: 2024

[✓] Checking Chrome Headless....................OK
      Using: Chrome found on system
      Path: /Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge
      Source: MacOS known location

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

[✓] Checking Python 3 installation....OK
      Version: 3.10.2
      Path: /Users/steinthal/.pyenv/versions/3.10.2/bin/python
      Jupyter: 5.3.1
      Kernels: python3

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

[✓] Checking R installation...........OK
      Version: 4.5.0
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library
      knitr: 1.50
      rmarkdown: 2.29

[✓] Checking Knitr engine render......OK
@Steinthal Steinthal added the bug Something isn't working label May 5, 2025
@cscheid
Copy link
Collaborator

cscheid commented May 5, 2025

I'm going to have to ask you to give us concrete examples here. Please feel free to open a new issue after you've filled out the required information.

@cscheid cscheid closed this as not planned Won't fix, can't repro, duplicate, stale May 5, 2025
@cscheid cscheid added invalid This doesn't seem right and removed bug Something isn't working labels May 5, 2025
@Steinthal
Copy link
Author

Steinthal commented May 5, 2025

I'm going to have to ask you to give us concrete examples here. Please feel free to open a new issue after you've filled out the required information.

The format create the issue did not show the sections I just filled out. So, the issue was initially created w/o the information I wanted to give and you were quite fast to reply while I was still composing the issue.

@cscheid
Copy link
Collaborator

cscheid commented May 5, 2025

The format create the issue did not show the sections I just filled out.

This is strange. This is what I see. Do you see something different?

Screen.Recording.2025-05-05.at.9.59.49.AM.mov

@mcanouil
Copy link
Collaborator

mcanouil commented May 5, 2025

The highlight-text seems to come from a Quarto extension, possibly mine.
If that's the case, I cannot reproduce any issues with it (at least with 1.7.29): https://m.canouil.dev/quarto-highlight-text/

@Steinthal
Copy link
Author

The format create the issue did not show the sections I just filled out.

This is strange. This is what I see. Do you see something different?

Screen.Recording.2025-05-05.at.9.59.49.AM.mov

When I opened the first issue, there was a popup window in which the sections which I missed were just a heading or so. I currently can't reproduce the behavior. When I opened the second issue I got the sections as described in your screen recording.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants