> For the complete documentation index, see [llms.txt](https://docs.deepwriter.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.deepwriter.com/advanced-strategies/editing-outputs.md).

# Editing outputs

DeepWriter works natively in **LaTeX**, a high-quality typesetting system that is the standard for producing scientific and academic documents. LaTeX is especially well-suited for documents that include complex mathematical equations, citations, tables, figures, and professional layouts. It separates content from styling, letting you focus on what you're writing—not how it looks.

You can access the LaTeX file in the **Additional download options** under the main download section in the Review tab.

<figure><img src="/files/aIuOaaVxWlnCxB3sOaV0" alt="" width="563"><figcaption></figcaption></figure>

Download the `.tex` file (the source code for your document) and open it in any LaTeX editor of your choice, such as **TeXstudio**, **TeXmaker**, or **Overleaf.** For convenience, every generation includes a link to edit the output directly in Overleaf, a popular online LaTeX editor. Overleaf supports free usage with a sign-in (including Google authentication):

<figure><img src="/files/Gyy3c0OY7epauVkm4u4S" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
**Important:**  DeepWriter is not affiliated with Overleaf and cannot be held responsible for your data once it is transferred to Overleaf.com.
{% endhint %}

Each project also comes with an unlocked PDF version that you can download. While editing PDFs requires third-party software like Adobe Acrobat, they are ideal for sharing and printing.

Downloading the raw `.tex` file gives you full ownership of your content and the freedom to work on any platform. Many competitors restrict your output to proprietary HTML editors and don’t allow full access to the source, which we believe falls short of the academic integrity and ownership standards we uphold at DeepWriter.

{% hint style="info" %}
**Pro tip:** Always prefer `.tex` over `.pdf` when editing or reusing content. The TEX file contains embedded code and comments (such as diagram instructions) that the PDF hides.
{% endhint %}


---

# 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://docs.deepwriter.com/advanced-strategies/editing-outputs.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.
