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

Cross references broken inside math #3764

Closed
4 tasks done
fulem opened this issue Dec 26, 2022 · 1 comment
Closed
4 tasks done

Cross references broken inside math #3764

fulem opened this issue Dec 26, 2022 · 1 comment
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@fulem
Copy link

fulem commented Dec 26, 2022

Bug description

The cross reference system is broken inside math mode when we want to do theorem proving by equation chaining.

Reproduce:

# Test math and theorem proving

::: {#def-mydef}
This definition says that $A = B$.
:::

$$
  B = C 
$$ {#eq-myeq}

$$
\begin{align} 
     A \ &= B   &&, \text{ by } @def-mydef \\
         &= C   &&, \text{ by } @eq-myeq \\
\end{align}
$$

Outside math, references to @def-mydef and @eq-myeq work as expected.

More info:

  • Quarto 1.2.280
  • R studio 2022.12.0 Build 353
  • Windows 11 Pro 22H2

Checklist

  • Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
  • Please format your issue so it is easier for us to read the bug report.
  • Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • Please document the operating system you're running. If on Linux, please provide the specific distribution.
@fulem fulem added the bug Something isn't working label Dec 26, 2022
@cscheid cscheid added this to the v1.3 milestone Dec 26, 2022
@cscheid cscheid added enhancement New feature or request and removed bug Something isn't working labels Dec 26, 2022
@cscheid cscheid self-assigned this Dec 26, 2022
@cscheid cscheid modified the milestones: v1.3, v1.4 Feb 27, 2023
@cscheid
Copy link
Collaborator

cscheid commented May 23, 2023

Duplicate of #2275

@cscheid cscheid marked this as a duplicate of #2275 May 23, 2023
@cscheid cscheid closed this as completed May 23, 2023
@cscheid cscheid closed this as not planned Won't fix, can't repro, duplicate, stale May 23, 2023
@cscheid cscheid added the duplicate This issue or pull request already exists label May 23, 2023
@mcanouil mcanouil removed this from the v1.4 milestone Mar 20, 2024
@mcanouil mcanouil removed enhancement New feature or request crossref labels Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants