quarto-dev / quarto-dev/quarto-cli

Normalize path in Lua Warning

Open
#11,879 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement lua
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

On windows, when there is warning regarding Lua filter, there is a ./ in the path name.

WARNING (C:/Users/chris/DOCUME~1/DEV_R/QUARTO~1/src/resources/filters/./quarto-pre/parsefiguredivs.lua:730) Raw LaTeX table found with non-tbl label: blah
Won't be able to cross-reference this table using Quarto's native crossref system.

It would be best if there was a normalized path IMO.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Lua filter warning on Windows and trace where the displayed filter path is assembled. Confirm the affected path handling and verify that the warning no longer includes ./ while preserving the file and line location.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.