quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.92k stars 324 forks source link

Update Typst to 0.11.1 to fix et. al supression #11294

Closed danieltomasz closed 4 days ago

danieltomasz commented 4 days ago

Bug description

Test file

---
title: "Hello Typst!"
format:
  typst:
    toc: true
bibliography: references.bib
bibliographystyle: "apa"
---

# my section 

@ahmad2022MechanismsMarkersNovel

@ahmad2022MechanismsMarkersNovel

Example bibliography

@article{ahmad2022MechanismsMarkersNovel,
  title = {From Mechanisms to Markers: Novel Noninvasive {{EEG}} Proxy Markers of the Neural Excitation and Inhibition System in Humans},
  shorttitle = {From Mechanisms to Markers},
  author = {Ahmad, Jumana and Ellis, Claire and Leech, Robert and Voytek, Bradley and Garces, Pilar and Jones, Emily and Buitelaar, Jan and Loth, Eva and {dos Santos}, Francisco P{\'a}scoa and Amil, Adri{\'a}n F. and Verschure, Paul F. M. J. and Murphy, Declan and McAlonan, Grainne},
  year = {2022},
  month = nov,
  journal = {Translational Psychiatry},
  volume = {12},
  number = {1},
  pages = {467},
  issn = {2158-3188},
  doi = {10.1038/s41398-022-02218-z},
  urldate = {2022-11-09}
}

results Image

Currently Quarto 1.6 is using Typst 0.11, changing to Typst 0.11.1 from 15 May should fix this https://github.com/typst/typst/issues/3699 https://typst.app/docs/changelog/0.11.1/

Steps to reproduce

No response

Expected behavior

No response

Actual behavior

No response

Your environment

No response

Quarto check output

Quarto 1.6.32
[✓] Checking environment information...
      Quarto cache location: /Users/daniel/Library/Caches/quarto
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.4.0: OK
      Dart Sass version 1.70.0: OK
      Deno version 1.46.3: OK
      Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.6.32
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: v2024.11
      Chromium: 869685

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

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

[✓] Checking Python 3 installation....OK
      Version: 3.12.7
      Path: /Users/daniel/.pyenv/versions/3.12.7/bin/python3
      Jupyter: (None)

      Jupyter is not available in this Python installation.
      Install with python3 -m pip install jupyter

[✓] Checking R installation...........OK
      Version: 4.4.2
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library
      knitr: 1.48
      rmarkdown: 2.28

[✓] Checking Knitr engine render......OK
danieltomasz commented 4 days ago

Closing because it duplicates https://github.com/quarto-dev/quarto-cli/issues/10105

gordonwoodhull commented 4 days ago

Yeah we weren’t able to take 0.11.1 because of a bug in the way it was linked. But we’ll take Typst 0.12 early in Quarto 1.7 and you can use QUARTO_TYPST to point to a different version until then.

mcanouil commented 4 days ago

Note that setting Typst to a system version does not mean Quarto and Pandoc is compatible. Doing so might create more issues.