quarto-dev / quarto-dev/quarto-cli
Crossreferencing "Remark" environment doesn't follow language
Open
@cscheid is already working on this.
Since Aug 19, 2025.
bug
crossref
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
I have:
- searched the issue tracker for similar issues
- installed the latest version of Quarto CLI
- formatted my issue following the Bug Reports guide
Bug description
Hello,
The translation for "Remark" in portuguese is fine and working properly, however, when I try to reference a #rem environment, it's no longer written in portuguese. The same happens in spanish.
Original environment (working correctly):
Missbehaving crossref:
Steps to reproduce
---
lang: pt-BR
format:
pdf:
documentclass: article
---
:::{#rem-example}
This is a remark, it writes "Comentário" as it should.
:::
I'm crossreferencing a @rem-example (remark) here. It writes "Remark 1.1" Instead of "Comentário 1.1", which is the intended behavior. This also happens in the languages (as far as I've tested) pt and es.
Actual behavior
Missbehaving crossref:
Expected behavior
The corssref should be spelled the same as the original environment:
Your environment
- IDE: Neovim
- OS: NixOs unstable (25.11)
Quarto check output
quarto check
Quarto 1.7.32
[✓] Checking environment information...
Quarto cache location: /home/minze/.cache/quarto
[✓] Checking versions of quarto binary dependencies...
NOTE: Pandoc version 3.6.0 does not strictly match 3.6.3 and strict checking is enabled. Please use 3.6.3.
NOTE: Dart Sass version 1.90.0 does not strictly match 1.85.1 and strict checking is enabled. Please use 1.85.1.
NOTE: Deno version 2.4.3 does not strictly match 1.46.3 and strict checking is enabled. Please use 1.46.3.
NOTE: Typst version 0.13.1 does not strictly match 0.13.0 and strict checking is enabled. Please use 0.13.0.
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.7.32
Path: /nix/store/pydxyijnywsfb4y13rypxgg5wh806m23-quarto-1.7.32/bin
[✓] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: Installation From Path
Path: /etc/profiles/per-user/minze/bin
Version: undefined
[✓] Checking Chrome Headless....................OK
Chrome: (not detected)
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.13.5
Path: /nix/store/a0yp7h1n8rxh88hgmhvn3pbxlv2qcjwn-python3-3.13.5-env/bin/python3.13
Jupyter: 5.8.1
Kernels: julia-1.11, python3
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........OK
Version: 4.5.1
Path: /nix/store/amji8bndb45csa2y0j350rq1fmnmwb58-R-4.5.1/lib/R
LibPaths:
- /nix/store/w06imad7kk4a4wy9yjflhd8rg96bkijf-r-boot-1.3-31/library
- /nix/store/7w083i5gnsm1ndk36zl8797v5mpyayvn-r-class-7.3-23/library
- /nix/store/if2z3g1nmz0czzai3p1fvsar8664jn50-r-MASS-7.3-65/library
- /nix/store/mghgf806agyl21j4rivaafv8swig26dl-r-cluster-2.1.8.1/library
- /nix/store/lwc604cr29ggargisapp7aipq61rz439-r-codetools-0.2-20/library
- /nix/store/wk3z46lhdwz07frj65wvf0jc2ha5kkba-r-foreign-0.8-90/library
- /nix/store/a4p6lkmi1702xbcmxcvxhrzq69zadf52-r-KernSmooth-2.23-26/library
- /nix/store/390zw6ill66svkmvk4da1vpqrk6wzgj3-r-lattice-0.22-7/library
- /nix/store/yagsd1dj7wsbwnp2xf6n459jszssfqf7-r-Matrix-1.7-3/library
- /nix/store/xmc3lzdacg6cp28nd2ym9s4ryb41x4zx-r-mgcv-1.9-3/library
- /nix/store/cf69pjb2fpa7zb72c5439mgykg6ngx59-r-nlme-3.1-168/library
- /nix/store/nsii9dvc2q0q26xwy18jy4ivg6mk83zl-r-nnet-7.3-20/library
- /nix/store/lq76fji44nlj8rdf56iz3qrbpfdd9mlv-r-rpart-4.1.24/library
- /nix/store/3w5f7jmdvhkyyk1i23drfhv0z4rxggc5-r-spatial-7.3-18/library
- /nix/store/mzv34i8n2rkvr7a0wnbjwdccm2vg79jn-r-survival-3.8-3/library
- /nix/store/yb8yf7r9xyjxlc71dzgd87rpw49f8vfx-r-rmarkdown-2.29/library
- /nix/store/1fgn4gilf76d3w9bbnqil3h07hnmvfk7-r-bslib-0.9.0/library
- /nix/store/bkgxps9zfijl54vhq7mh84ggm9wsm27c-r-base64enc-0.1-3/library
- /nix/store/3pbbfsy0r2cvc238j24kl4x72nhiy606-r-cachem-1.1.0/library
- /nix/store/1hyaivhbknc15qypn5xd42bygk5kh1a5-r-fastmap-1.2.0/library
- /nix/store/fyy98vcdcccg658gqv7s2apbwqdra65n-r-rlang-1.1.6/library
- /nix/store/83mw9czb4b6x6sxnf8lgf1qcvpkpps99-r-htmltools-0.5.8.1/library
- /nix/store/xncd6gacvmi6cdb5i5xwmm2vxjhkymh8-r-digest-0.6.37/library
- /nix/store/3x1lkqk79dpaf5ffw8pj4ba8pnp0vilf-r-jquerylib-0.1.4/library
- /nix/store/k0gpcmdlvdz604bx34bb0lqy31h41lrs-r-jsonlite-2.0.0/library
- /nix/store/plnsm0ngig4i0cns0nk4p20wzils177n-r-lifecycle-1.0.4/library
- /nix/store/43vk2b72wa33xgf7dmpc3nmn1isnfc84-r-cli-3.6.5/library
- /nix/store/id23i716k3jpdiyw75p3v0sn7kg4j2ss-r-glue-1.8.0/library
- /nix/store/nxcbhpadlqcxgk60a1pddc2dkdrzszp5-r-memoise-2.0.1/library
- /nix/store/14vdwv9q03yvvjihh1qv6siw17a46xsi-r-mime-0.13/library
- /nix/store/7zxpr08vjzk1shs050lbn1ps436x90s9-r-sass-0.4.10/library
- /nix/store/yxqz3q5y72pw460cvmxsb9cf969gjg94-r-R6-2.6.1/library
- /nix/store/3qzh03pkzvznwqxjcfikk1i5zrcxyq9z-r-fs-1.6.6/library
- /nix/store/243l4kfy196qyzycy7b0anp9nrbznzsp-r-rappdirs-0.3.3/library
- /nix/store/p9k9lxdbj706vgwh7lbn7d2r1fw3j2s7-r-evaluate-1.0.3/library
- /nix/store/2mf46fch0p18wr574r5x32wsh98rj7jz-r-fontawesome-0.5.3/library
- /nix/store/cpp11a8a3mk2y2dw3m0mnbd9nkgsvpl3-r-knitr-1.50/library
- /nix/store/g9lsbzxm33cca3ickqs1rzvqjm6p4h2h-r-highr-0.11/library
- /nix/store/igyqdczpni3hvgcp095l5xiyycpp242y-r-xfun-0.52/library
- /nix/store/9prz0pvlq3fg1cc3krkhxnc7bfyv16s9-r-yaml-2.3.10/library
- /nix/store/zb3lwsqigbwd890kqylq7k3c6r4lfcxv-r-tinytex-0.57/library
- /nix/store/amji8bndb45csa2y0j350rq1fmnmwb58-R-4.5.1/lib/R/library
knitr: 1.50
rmarkdown: 2.29
[✓] Checking Knitr engine render......OK
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.