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

Typst fail to render label in filter block #8539

Closed
stevengogogo opened this issue Feb 1, 2024 · 2 comments
Closed

Typst fail to render label in filter block #8539

stevengogogo opened this issue Feb 1, 2024 · 2 comments
Assignees
Labels
crossref enhancement New feature or request typst
Milestone

Comments

@stevengogogo
Copy link

Bug description

The lemma label in filter box cannot be tracked by Typst

Steps to reproduce

---
title: "Typst tutorial"
date: today
format: typst
---

# Intro
 
:::{#lem-a}
## theory

$a$
:::

@lem-a

Expected behavior

A PDE file with lemma 1 rendered.

Actual behavior

[typst]: Compiling test.typ to test.pdf...error: cannot reference block
    ┌─ test.typ:253:0
    │
253 │ @lem-a
    │ ^^^^^^

Your environment

  • IDE: VScode1.85.2 MacOS: Sonoma14.2.1

Quarto check output

Quarto 1.4.549
[✓] 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.549
      Path: /Applications/quarto/bin

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

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

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

[✓] Checking Python 3 installation....OK
      Version: 3.11.2
      Path: /usr/local/opt/python@3.11/bin/python3.11
      Jupyter: 5.3.0
      Kernels: probnum, python3, julia-1.8, r, jaxmetal, tfjax, gpjax, xpython, xpython-raw

(|) Checking Jupyter engine render....Traceback (most recent call last):
  File "/Applications/quarto/share/jupyter/jupyter.py", line 21, in <module>
    from notebook import notebook_execute, RestartKernel
  File "/Applications/quarto/share/jupyter/notebook.py", line 14, in <module>
    from yaml import safe_load
ModuleNotFoundError: No module named 'yaml'
[✓] Checking Jupyter engine render....OK
@stevengogogo stevengogogo added the bug Something isn't working label Feb 1, 2024
@cscheid cscheid self-assigned this Feb 1, 2024
@cscheid cscheid added the typst label Feb 1, 2024
@cscheid cscheid added this to the v1.5 milestone Feb 1, 2024
@cscheid
Copy link
Collaborator

cscheid commented Feb 1, 2024

Theorems/lemmas are not supported in typst yet. (They will be, soon!)

@cscheid cscheid added enhancement New feature or request crossref and removed bug Something isn't working labels Feb 2, 2024
@gordonwoodhull
Copy link
Contributor

Now available on main, implemented in #8825

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crossref enhancement New feature or request typst
Projects
None yet
Development

No branches or pull requests

3 participants