> For the complete documentation index, see [llms.txt](https://docs.laws.africa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.laws.africa/how-tos/documents-and-document-settings/importing-a-document.md).

# Importing a document

Follow these tips for getting the best results when importing documents:

* Prefer Word (.docx) documents; use PDFs only as a last resort.
* Make sure the document uses manual, not automatic, numbering.
* Remove the Table of Contents / Arrangement of Sections at the start of the document.
  * This should no longer be required, but can help if you're having issues.
* Make sure that the text isn't in images or text boxes in the input file.
* Make sure tables are correct, and haven't for example been marked up only using tabs in the input file.

## Importing a Word document

1. Assign the task to yourself: click 'Assign to' and select your name from the list.
2. Follow the link given in the task's instructions, find the correct Word document, and download it.
3. Follow the link to the work overview, which is right under the task title.
4. On the work overview page, click **Manage points in time**.
5. At the consolidation date, click **Import document**. (If you're not sure of the date, see the instructions on the task.)
6. On the 'Import a document' page:
   1. Choose a language.
   2. Choose the file you downloaded earlier.
   3. To determine what the section titles look like, open the document. Choose from the options given under 'What do section titles look like?'
   4. Go for it!
7. See [The importer](/how-tos/documents-and-document-settings/importing-a-document/the-importer.md) for details on how a document is expected to be imported. If the document does not import cleanly, alert the team and pause work on it.
8. Once imported, the document will open and will be ready for [clean-up](/editors/cleaning-up-an-import.md).
9. After the imported document has been cleaned up, click **Submit for review** on the task. The content will be reviewed by a second editor. They may return it to you for changes or approve the task and publish the document – you will get an email notification either way.

![](/files/-MaT-oKzRKQopAMKOYhl)

![](/files/-MaT0CHBqDuBP1IUvYUJ)

![](/files/-MaT0fkQHm5R1v_5Z6Lp)

![](/files/-MaT0l8zFLoD7lUXFQ3l)

![](/files/-MaT10y-x9tr_nJIy99k)

![](/files/-MaT1AycnD1f3GVUU7sR)

## Importing a Gazette PDF

1. Assign the task to yourself: click 'Assign to' and select your name from the list.
2. Follow the link to the work overview, which is right under the task title.
3. Download the gazette from the work overview by clicking the link ending in `.pdf`.
4. On the work overview page, click **Manage points in time**.
5. At the publication date, click **Import document**.
6. On the 'Import a document' page:
   1. Choose a language.
   2. Choose the file you downloaded earlier.
   3. Choose the pages to import –  make sure you don't skip the start or end of the legislation you're importing.
   4. Drag the corners of the blue box to exclude running headers and footers (but don't exclude any text).
   5. To determine what the section titles look like, scroll sideways until you find a section heading, and choose from the options given at the bottom.
   6. Go for it!
7. Once imported, the document will open and will be ready for [clean-up](/editors/cleaning-up-an-import.md).
8. After the imported document has been cleaned up, click **Submit for review** on the task. The content will be reviewed by a second editor. They may return it to you for changes or approve the task and publish the document – you will get an email notification either way.

![](/files/-LuCUD2CSCcHgaGs9jtk)


---

# 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.laws.africa/how-tos/documents-and-document-settings/importing-a-document.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.
