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 #12681

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 · 7 comments
Closed

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

Steinthal opened this issue May 5, 2025 · 7 comments

Comments

@Steinthal
Copy link

Bug description

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

Steps to reproduce

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

filters:
  - highlight-text

#brand:
#  color:
#   palette:
#      fg: "#000000"

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

Do you mean https://github.com/mcanouil/quarto-highlight-text?

@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 and "all" formats): https://m.canouil.dev/quarto-highlight-text/

Note that I'm using tags and releases, so be sure you are using up to date extensions.
Also, issues with extensions are to be reported on the repositories hosting the extension.

I first responded on:

@mcanouil
Copy link
Collaborator

mcanouil commented May 5, 2025

I've just tried on c1c4c6f and still cannot reproduce any issues.

@cscheid
Copy link
Collaborator

cscheid commented May 5, 2025

I've confirmed with @mcanouil that this is an issue in highlight-text.

@cscheid cscheid closed this as not planned Won't fix, can't repro, duplicate, stale May 5, 2025
@cscheid cscheid removed the bug Something isn't working label May 5, 2025
@Steinthal
Copy link
Author

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 and "all" formats): https://m.canouil.dev/quarto-highlight-text/

Note that I'm using tags and releases, so be sure you are using up to date extensions. Also, issues with extensions are to be reported on the repositories hosting the extension.

I first responded on:

Yes, it's your extension. I wasn't sure if I should report the problem in the extension repository. Since I thought it might be a Quarto 1.8.1 behavior, I reported it here.

@cscheid
Copy link
Collaborator

cscheid commented May 5, 2025

I wasn't sure if I should report the problem in the extension repository.

Yeah, that's often tricky to get right! No worries at all. Though I did talk with Mickael directly, so I know it's not Quarto, in this case :)

@Steinthal
Copy link
Author

I wasn't sure if I should report the problem in the extension repository.

Yeah, that's often tricky to get right! No worries at all. Though I did talk with Mickael directly, so I know it's not Quarto, in this case :)

Okay, I'll proceed then in the Extension's repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants