Compiler-driven editorDemo

Citations show their typeset label

After a compile, each citation command in your source shows the label the PDF actually printed for it, such as Knuth [1] or [1, 2].

ShippedRecorded

How this is tested

The clip was recorded on from the end-to-end scenario that checks this feature on every pull request, with the same steps and the same checks. It shows what that scenario verified on that date.

Scenario
e2e/tests/scenarios/citationInlayHints.ts, case NUMERIC_CITATIONS
Gate
e2e/tests/citation-inlay-hints-show-typeset-label.spec.ts (fast). Every PR (browser e2e lane), including the recorded case
Recorder
e2e/tests/demo-citation-inlay-video.spec.ts, on demand: just demo-video citation-inlay

Known gaps

  • Compiling in the browser does not run BibTeX yet, so citations from a .bib file show [?] in the PDF and get no label in the editor.