> 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/knowledge-base/161-which-file-types-should-not-be-uploaded-to-overleaf.md).

# Which file types should not be uploaded to Overleaf?

Before packaging your local project's files into a .zip file for uploading to Overleaf (to create a new project) you need to make sure that none of those files/file types will conflict with Overleaf's LaTeX compilation/build process.

### Before uploading your ZIP file...

If the uploaded .zip file contains a `main.tex` file and a `main.pdf` file, then the file "main.pdf" shown in your Overleaf project *file list* is always the file that you've *uploaded* into the project—it won't be updated to show what you've worked on in your project: i.e., it's considered as an "input file" because it was uploaded by a user.

To avoid confusion we recommend that PDF files with the same name as your local project's main `.tex` file be removed from your local project prior to upload. You can download the up-to-date PDF by clicking on the "Download PDF" button near the "Recompile button" or, alternatively, click on the Overleaf menu on the upper-left and then "Download PDF".

### Local project files to remove before uploading a ZIP file to Overleaf

The following file extensions are auxiliary files generated by the compilation process, and should also be removed from your project file list prior to uploading to Overleaf:

* `*.aux` (unless you're using the `xr` package)
* Table of contents, list of figures/tables:`*.toc`, `*.lof`, `*.lot`
* References and citations auxiliary and output files `*.bbl` (unless you are *not* using a `.bib` file and rely on the `.bbl` only), `*.bcf`, `*.blg`
* Beamer auxiliary files `*.snm`, `*.out`, `*.nav`, `*.vrb`
* Glossaries/nomenclature/acronyms `*.ind`, `*.ilg`,`*.ist` (unless it's your custom index style file), `*.glg`,`*.gls`, `*.glo`, `*.acn`, `*.acr`, `*.alg`
* SyncTeX file `*.synctex.gz`
* `latexmk` auxiliary files files`*.run.xml`, `*.fls`
* Other generated file extensions created by various packages.

Manually uploading these files into your project list may cause problems with the build tool, especially `*.run.xml`!


---

# 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/knowledge-base/161-which-file-types-should-not-be-uploaded-to-overleaf.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.
