> For the complete documentation index, see [llms.txt](https://knowledgebase.qommentary.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.qommentary.com/qommentary-insights/ad-hoc-reporting.md).

# Ad-hoc reporting

When exporting a commentary to PDF format, a document will be instantly generated which will contain the full commentary together with any associated visualizations.

Commentary exporting can be enabled or disabled if desired. To enable or disable commentary exporting please follow these steps:

1\. Edit the sheet and select your Qommentary Insights extension\
2\. Expand *Commentary > General* section in the properties panel\
3\. Click on the *Allow export* switch control to enable or disable commentary export

<div align="left"><img src="/files/-MfVn_wSebuihRKHB5vq" alt=""></div>

To export a commentary to PDF, please follow these steps:

1. Click on the <img src="/files/-MbevPjAonlLHI8wiLTd" alt="" data-size="line"> icon

![](/files/-MbeyI7wZLfmBc9LZITS)

2\. A commentary report will be generated on the fly

![](/files/-MbeyrY6pdzUvrszheIR)


---

# 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://knowledgebase.qommentary.com/qommentary-insights/ad-hoc-reporting.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.
