Hello, I am working on an academic paper and I want to refer to a specific section from an appendix. I can not use include as I also have a bibliography.
Is there a way to reference a label from another document another way? Or perhaps a workaround for the multiple bibliographies not supported issue?
Currently I add appendices like this:
#bibliography("./assets/references.yml", style: "ieee")
#show: appendix
#set text(size: 0pt) // These are for reference only
= Requirements <requirements>
= Glue dispenser tests <glue-dispenser-tests>
= Calculations <calculations>
= FAT <fat>
I then intend to later just manually append them to the generated .pdf. Although not ideal I haven’t found a better solution for this yet.
Are you generating the other document yourself with typst, or is it external? If external, I don’t think there is a way for typst to extract that kind of information.
If you are generating the file yourself, I am confused about the workflow. You say you cannot use include as you also have a bibliography, but I don’t see how that should be an issue. This file compiles just fine, for example:
#set heading(numbering: "1.")
We expand upon @knuth1998art in @appendix
#bibliography(bytes(
```
@book{knuth1998art,
title={The Art of Computer Programming: Sorting and Searching, volume 3},
author={Knuth, Donald E},
year={1998},
publisher={Addison-Wesley Professional}
}
```.text,
))
#include "appendix.typ"
Appendix.typ:
= Appendix <appendix>
appendix
Thank you for the reply. I am generating the document with typst.
I guess an important part I forgot to mention was the fact that my appendices also have bibliographies.
Have you looked into using alexandria? It was pretty much made for this exact use case, and allows you to use multiple bibliographies.