How to edit, update and batch modify PDF catalogs

Explain how to deal with typos, overall offset of page numbers, and misaligned items in the PDF table of contents, including modifying them one by one in the PDF editor, updating page numbers after page adjustments, and regenerating the table of contents from the source file.

Key points of this article

  • The PDF table of contents is usually just ordinary text plus page numbers, and will not be automatically updated with the text. Before making changes, first determine whether it is a text error, page number offset, or formatting problem.
  • Only change a few text or page numbers, and modify them one by one directly in the PDF editor to save trouble.
  • If the page number is overall shifted after adding, deleting or replacing pages, go back to the source file and regenerate the directory before exporting, which is more stable than manual modification one by one.
  • The root cause of alignment problems is often the tab stop setting of the source file. Using spaces in the PDF will often cause misalignment again.

After the paper, tender document or product manual is finalized, it is often found that the page numbers of the table of contents do not match, or a chapter has been deleted but the table of contents has not been changed accordingly. PDF is not like Word that can automatically generate a table of contents at any time. In most cases, the table of contents is just a piece of ordinary text plus page numbers, so before making changes, you must first figure out which layer the problem is.

This article is for those who need to modify an existing PDF table of contents. After reading, you'll be able to decide whether to change the PDF directly or go back to the source file and redo it, know how to update page numbers, and realign entries.

I want to change the PDF directory, how to choose? One sentence conclusion

Directly modifying the PDF is suitable for small text and page number errors; when the number of pages is added or deleted or there are many entries, go back to the source file, redo the directory and then export, the result will be more reliable.

your situationRecommended practicesreason
There are only a few typos in the title or wrong page numbers.Modify text directly in the PDF editor of the OmniDoc desktop clientThe table of contents is ordinary text, and modifications one by one will not affect other content.
A page was inserted or deleted previously, and the page number is overall offset.First adjust the page in the PDF, then check and modify the page number; if the number of pages changes significantly, go back to the source file and redo it.It’s easy to miss out if you manually edit items one by one, but source files are more stable when rearranged.
There are many entries, left and right alignment or inconsistent guide pointsRe-export the PDF after setting tab stops and guide lines in the source fileUse spaces to align the PDF, and if you change a word, it will be misaligned again.
The catalog is a scanned picture, and text cannot be selected.Use OCR to identify the directory page first, and then edit itThe text in the image cannot be modified directly
The catalog has been finalized, just needs to be sent outAfter the modification is completed, export it and check it page by page.Reduce the risk of changes after issue

Before you start: Confirm these points first

Make a few judgments before taking action to avoid having to rework after making changes for a long time.

  • Confirm whether the directory is a text layer. Select a piece of text on the catalog page. If you can select it and enter editing, it is the text layer and can be changed directly. If it doesn't select, it's most likely a scan or image that needs to be OCRed first.
  • Confirm whether the text will be changed. If the content is still being revised, do not change the table of contents yet, otherwise it will have to be revised again when the final version is finalized.
  • Confirm how page numbers are calculated. Table of contents page numbers usually refer to the printed page numbers of the main text. Some documents have a cover, table of contents and preface at the front. They may use Roman numerals or may not be included in the page numbers. First figure out which one your document uses.
  • Confirm whether files need to be merged. If the chapters are separate PDFs, merge them into one file first, and then check the page numbers together, otherwise it is easy to make miscalculations.
  • Confirm if the original file is still there. If the source file (Word, LaTeX, etc.) can still be found, modifications will be made in the source file first, and PDF will only be used as the final output.

Steps to modify table of contents text and page numbers in OmniDoc

The following steps apply when the table of contents in the PDF is editable text.

  1. Open the PDF that needs to be modified in the OmniDoc desktop client and enter the PDF editing function.
  2. Turn to the table of contents page, click on a piece of table of contents text, and confirm that it can be edited. If not, perform OCR on the file first, and then proceed with subsequent operations.
  3. If there are additions, deletions, or order changes in the previous pages, first use page operations (insertion, deletion, order change) to adjust the text to the final structure, and then process the table of contents.
  4. Turn to the starting page of the text chapter by chapter, record the actual page number of each chapter, write it on paper or save a list as a basis for revision.
  5. Modify the title text and page numbers one by one in the editing function. Every time you modify an item, check it against the list.
  6. Check whether the page number positions in the same column are consistent. If a page number is obviously offset, delete the extra spaces and re-enter to avoid leaving hidden blanks.
  7. Save the modification results, then turn to the contents page and several key chapters to confirm that the modified content is consistent with the text.

Check each item after completion

After getting the modified PDF, it is recommended to check it item by item according to the table, especially the page numbers and chapter titles.

Check itemsHow to seeWhat to do if there is a problem
Is the page number consistent with the text?Randomly select 5 chapters, turn to the page number written in the table of contents, and see if the title is at the top of the pageRe-record the actual page numbers and correct them one by one.
Entry order and hierarchyCompare the title of the text to see if the first and second level titles are indented correctly.Return to the source file to adjust the level, or adjust the text in the editor and then check
title textCompare word for word, pay attention to full width and half width, punctuation and English capitalizationAfter correction, search for keywords again to confirm that nothing is missing.
Alignment and guidanceCheck whether the page numbers are in the same vertical column and whether the leading points are consistentRe-export after setting tab stops in source file
final page countCheck whether the number of pages in the table of contents and the starting page of the text have been updatedIf the number of pages changes, recheck steps 3 and 4

🎯 Which method is suitable for you?

  • Less changes, shorter files: Modify them one by one directly in the PDF editor, which can be completed in a few minutes. It is suitable for one or two typos or page number errors.
  • Many chapters, often changing structure: Maintain the directory in the source file, regenerate and export it after each finalization, suitable for documents such as papers, tenders and manuals that require repeated revisions.
  • Finalize only for sending: Export a read-only version after modification and check it once before sending, suitable for files that no longer need to be changed.

❓ Frequently Asked Questions (FAQ)

1. Can the PDF table of contents automatically update page numbers?

The table of contents in a normal PDF is just text and will not be automatically updated with the main text. If you want to update automatically, you need to generate a table of contents in the source file (such as Word) and then export the PDF, and regenerate it after each modification.

2. The page numbers in the table of contents are not aligned, what should I do?

The misalignment is usually caused by using spaces to make up the position, and the font will be staggered if the font is slightly changed. A more reliable method is to set tab stops and leading lines in the source file so that the page numbers are arranged at a fixed position, and then re-export.

3. Can the table of contents of the scanned PDF be edited?

Yes, but you must first recognize the text on the table of contents page through OCR. The recognition results need to be checked item by item, especially numbers and punctuation, because OCR may misread.

4. What method should be used to modify directories in batches?

There is no universal way to replace the table of contents in PDF. You need to modify it one by one, or make batch adjustments in the source file and then re-export it. If there are many entries, it is recommended to return to the source file first.

5. After changing the directory, do you want to recheck the entire document?

want. Table of contents page numbers depend on the text structure. If you have also adjusted the page order, it is recommended to at least randomly check the key chapters to confirm that the titles and page numbers are in the correct positions.

📝 Summary

To modify the PDF table of contents, you must first determine whether the problem is text, page number, or format, and then choose to edit it directly or go back to the source file and redo it. Follow the steps in this article to check page numbers and alignment to keep the PDF table of contents consistent with the main text.

Open OmniDoc and use the PDF editor to work with your document

Updated 2026-11-11