How to add a clickable table of contents in word
![how to add a clickable table of contents in word how to add a clickable table of contents in word](https://www.free-power-point-templates.com/articles/wp-content/uploads/2018/03/create-automatic-table-of-contents-with-customized-heading-levels.png)
- #How to add a clickable table of contents in word how to
- #How to add a clickable table of contents in word for mac
- #How to add a clickable table of contents in word pdf
- #How to add a clickable table of contents in word code
Please read the homepage for the details on how to use this toolset.
#How to add a clickable table of contents in word pdf
Save it as recipe.toml, and use the pdftocgen command to automatically generate an outline $ pdftocgen onlisp.pdf tocĪnd import it to the PDF file using pdftocio: $ pdftocio -o output.pdf onlisp.pdf < toc You could use the pdfxmeta tool to build a "recipe" file ] It uses the embedded font attributes and position information of headings to generate a table of contents automatically.įor example, for the PDF version Paul Graham's On Lisp, available for download on his website but comes without a table of contents. I wrote an open source command line toolset called pdf.tocgen just for doing this.
![how to add a clickable table of contents in word how to add a clickable table of contents in word](https://www.wikihow.com/images/c/c9/Insert-a-Hyperlink-in-Microsoft-Word-Step-23-Version-2.jpg)
In the Table of Contents dialog, keep Show page numbers, Right align page numbers and Use hyperlinks instead of page numbers options checked, click Options. (although Emacs's amazing PDF-tools and Zathura are my favorite PDF editor and viewer respectively). Now place the cursor at the position you want to insert the table of linkable contents, click References > Table of Contents > Custom Table of Contents. It works well under wine.Īlthough not related to the question, I just would like to add that at the moment PDF X-Change viewer appears to me to be the most powerful PDF editor/viewer on linux. The table of contents appears wherever youve clicked in the document, so make sure you place your cursor where you want to add the table of contents. Click Table of contents from the Insert menu. If these options do not work, then I would also like to recommend PDF-XChange Viewer as a very powerful bookmark/contents extractor (selected text can be easily added to the bookmarks). You can create a table of Contents in Google Docs Add headings to your document by clicking Format > Paragraph styles in the toolbar, and selecting a heading. However, I would suggest you try the python script called document-contents-extractor to extract the contents. (Not enough reputation points to comment) Like the answer by Patrick Bourdon, I would also recommend HandyOutliner ( ). In case this package's functionality is not sufficient or using Emacs is no option then the remaining part of this answer remains valid. It includes options to extract the TOC via OCR. Using this package becomes even easier with the toc-mode package for (Spac)Emacs described next.įor all other PDF and DJVU documents there is a new package called toc-mode for Emacs, which in my opinion provides the easiest way to add Table of Contents to documents (for linux and possibly also for different OS's).
![how to add a clickable table of contents in word how to add a clickable table of contents in word](https://www.kayfranklin.com/wp-content/uploads/2014/09/creating_clickable_table_in_open_office-700x356.png)
PDF's not created from scans, I recommend to use (and upvote the answer by Krasjet) pdf.tocgen. Refer to this Word MVP summary to see all of the differences.For 'software-generated' PDF-files, i.e. The "show all field codes" shortcut Alt-F9 in Windows is Option-F9 in the Mac version. * Mac Word uses some slightly different keyboard shortcuts than for Word in Windows.
#How to add a clickable table of contents in word code
Now press Alt-F9 to toggle the view back to field code results and press F9 to recalculate (or rebuild) the table of contents. A typical simple table of contents is generated by a field code that will look something like this:
#How to add a clickable table of contents in word for mac
To edit a TOC field code, press Alt-F9 (Option-F9 for Mac Word\)* to change all field code results to the actual code with its switches.
![how to add a clickable table of contents in word how to add a clickable table of contents in word](https://content.linkedin.com/content/dam/me/learning/blog/2016/article-center-posts/table-contents-word/Word-5.jpg)
The ToC lines will then all be hyperlinks and should be retained in the PDF. If your ToC does not appear with the hyperlinks in the Word version, you can edit the TOC field code to add the \h switch and then rebuild the table of contents. Do you want to know how to create table of contents with ease This article gives you a step-by-step guide on how to create a table of contents in Word. In the Windows version of Word, if your document is set up with hyperlinks in the ToC, they will be retained when you use Save As to choose the PDF file format and either of the "Optimize for" options available.