> For the complete documentation index, see [llms.txt](https://fulstech.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fulstech.gitbook.io/docs/latex/latex-beautiful-math-for-confluence/confluence-data-center-and-confluence-server/troubleshooting-unknown-macro-error.md).

# Troubleshooting "Unknown macro" error

When the addon was created, the macro names contained space characters. With recent versions of Confluence Server and Confluence Data Center, the macro editor will be displayed with the "Unknown macro" message.

<figure><img src="/files/LJoOGOvSdH4qRuujpO0f" alt=""><figcaption></figcaption></figure>

The macros still correctly render the LaTeX content, for example: <img src="/files/f61v190XQyTqcoKyBco6" alt="" data-size="line">.

To resolve the issues, from version 4.0.0, a new set of macro names are used.

<figure><img src="/files/m42deFnJIP2wdmQnRQ51" alt=""><figcaption></figcaption></figure>

The existing macros still work and you can edit the LaTeX content of the old macros. You only need to replace the old macros with the new ones when you want to use new functions such as adding reference numbers to the LaTeX content.

If you want to migrate all old macros to the new ones, please follow the same instructions at [Migrate to Confluence Cloud](/docs/latex/latex-beautiful-math-for-confluence/confluence-data-center-and-confluence-server/migrate-to-confluence-cloud.md).


---

# 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://fulstech.gitbook.io/docs/latex/latex-beautiful-math-for-confluence/confluence-data-center-and-confluence-server/troubleshooting-unknown-macro-error.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.
