> 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/sv/kunskapsbas/009-can-i-share-files-e.g.-.bib-and-some-graphics-across-my-projects.md).

# Kan jag dela filer (t.ex. .bib och vissa bilder) mellan mina projekt?

Ja, du kan göra detta med hjälp av **Från ett annat projekt** alternativet som finns i **Lägg till filer** popup-fönstret:

![Lägga till fil från annat projekt](/files/04d634594c5023b92f895d060c0c9de9675cade9)

Om du vill använda samma filer (regelbundet) i flera projekt kan det vara praktiskt att använda följande upplägg:

1. Skapa ett "föräldraprojekt" som innehåller dina återanvändbara filer; t.ex. `.bib`, `.cls`, `.sty`, grafik osv.
2. I ett "barn"-projekt, där du vill återanvända en fil, följ denna procedur:

* klicka på knappen "Ladda upp filer" (![UploadIcon.png](/files/34e99af864cab18798267917225b8883c6ebc8f5)) högst upp i panelen med fillistan. Overleaf visar **Lägg till filer** popup-fönstret. Här behöver du göra följande:

  * välj **Från ett annat projekt**;
  * under **Välj ett projekt**, välj det "föräldraprojekt" som innehåller de återanvändbara filerna;
  * under **Välj en fil**, välj den fil du behöver.

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

Du kommer nu att kunna *använder* den länkade filen i ditt "barn"-projekt, men du kommer *inte att kunna redigera den*. Även om länkade filer i "barn"-projekt inte kan redigeras, kan de uppdateras (synkroniseras) om du har ändrat originalkopian av filen/filerna i föräldraprojektet:

* klicka på den länkade filen i "barn"-projektet;
* välj **Uppdatera** för att hämta in ändringarna.

**Obs**: Alla `.tex` filer som importerats med **Från ett annat projekt** kan inte anges som huvudfil för att kompilera "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/sv/kunskapsbas/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.
