> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/da/vidensbase/009-can-i-share-files-e.g.-.bib-and-some-graphics-across-my-projects.md).

# Kan jeg dele filer (f.eks. .bib og noget grafik) på tværs af mine projekter?

Ja, du kan gøre dette ved hjælp af **Fra et andet projekt** muligheden, som findes i **Tilføj filer** pop-op-vinduet:

![Tilføjelse af fil fra andet projekt](/files/96bccf8faadefaaf58693379c1f32365c29a2206)

Hvis du gerne vil bruge de samme filer på tværs af flere projekter (regelmæssigt), kan det være praktisk at bruge følgende opsætning:

1. Opret et “forældre”-projekt, der indeholder dine genanvendelige filer; f.eks., `.bib`, `.cls`, `.sty`, grafik osv.
2. I et “barn”-projekt, hvor du vil genbruge en fil, skal du følge denne fremgangsmåde:

* klik på knappen “Upload filer” (![UploadIcon.png](/files/ccaadca14d879e5c88f083d33b865555171d1dba)) øverst i fil-list-panelet. Overleaf viser **Tilføj filer** pop-op-vinduet. Her skal du gøre følgende:

  * vælg **Fra et andet projekt**;
  * under **Vælg et projekt**, vælg “forældre”-projektet, der indeholder de genanvendelige filer;
  * under **Vælg en fil**, vælg den fil, du har brug for.

  ![Uploading a file from another Overleaf project](/files/fac79ae3424ab2d5a3d2c4df39979ab4de154dfe).

Du vil nu kunne *bruger* den linkede fil i dit “barn”-projekt, men du vil *ikke kunne redigere den*. Selvom linkede filer i “barn”-projekter ikke kan redigeres, kan de opdateres (genindlæses), hvis du har ændret den oprindelige kopi af filen/filerne i forældreprojektet:

* klik på den linkede fil i “barn”-projektet;
* vælg **Opdater** for at hente ændringerne ind.

**Bemærk**: Enhver `.tex` filer importeret ved hjælp af **Fra et andet projekt** kan ikke angives som hovedfil til kompilering af “barn”-projektet.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/da/vidensbase/009-can-i-share-files-e.g.-.bib-and-some-graphics-across-my-projects.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
