I have a question about using bibliographies in subfiles in the latest version 0.12.0.
The lastest update broke my code with the changes to locate. How can I cite my bibtex file from the subfile without making producing the references at the end of the subfile?
Before the latest update I had a main file for my thesis and included a chapter with #include "chapt_validation.typ". Inside chapt_validation.typ I reference papers from my bibtex file with #cite(<paper_name>, form:"author") and #locate(loc => bib_state.at(query(<here_is_valid_chapt>, loc).first().location())) at the end of the subfile, which only produced a reference section in the main file.
How can I convert this typst code to the new version?
Thanks for the help.
With your direction I managed to fix the issue by replacing: #locate(loc => bib_state.at(query(<here_is_intro_chapt>, loc).first().location()))
with #context {bib_state.at(query(<here_is_intro_chapt>).first().location()) }