Questions tagged [tableofcontents]

Use tableofcontents for questions related to the programmatic creation or editing of a table of contents via an API or formatting system

References

481 questions
673
votes
41 answers

Markdown to create pages and table of contents?

I started to use markdown to take notes. I use marked to view my markdown notes and its beautiful. But as my notes get longer I find it difficult to find what I want. I know markdown can create tables, but is it able to create table of contents,…
resting
  • 16,287
  • 16
  • 59
  • 90
244
votes
20 answers

Automatic TOC in github-flavoured-markdown

Is it possible to generate an automatic Table of Contents using Github Flavoured Markdown?
Roberto Aloi
  • 30,570
  • 21
  • 75
  • 112
69
votes
2 answers

How to include a local table of contents into Sphinx doc?

How to include a local table of contents into Sphinx doc? I tried .. toc:: But that doesn't seem to have any effect: nothing is inserted in the document. Basically I need links to the sections in the current page to be placed at a certain…
Edy Bourne
  • 5,679
  • 13
  • 53
  • 101
59
votes
4 answers

Remove boxes from hyperlinked ToC in LaTeX

How do I remove the red boxes from my hyperlinked table of contents created by using the hyperref package in LaTeX.
alamodey
  • 14,320
  • 24
  • 86
  • 112
51
votes
3 answers

hide an entry from Toc in latex

I would like to know how I can hide a section from the table of contents but without loosing the section number in the body of the document. For example, in this tex file I loose the number for hide, and all the sequences are…
mjsr
  • 7,410
  • 18
  • 57
  • 83
49
votes
5 answers

Google Docs - Table of contents with paging

I am working on my Google Docs file and wondering if someone knows how it is possible to make a table of contents with page numbering ? The built-in table of contents won't show numbering. Thanks a lot.
user3580316
34
votes
15 answers

Is there a JavaScript solution to generating a "table of contents" for a page?

I have headers in

through

tags. Is there a way that I can use JavaScript to generate a table of contents for the contents that serves as anchor tags as well? I would like the output to be something like:
  1. Header 1
Thomas Owens
  • 114,398
  • 98
  • 311
  • 431
28
votes
4 answers

Pandoc - Inserting pages before generated Table of Contents

I've been playing around with Pandoc. Is there anyway to insert pages before the generated Table of Contents? For example: Title Page Insert Custom Page 001 Insert Custom Page 002 (Generated) Table of Contents Many thanks in advance!
Andrew Vink
  • 321
  • 1
  • 4
  • 7
23
votes
2 answers

Creating Table of Contents in VS code Jupyter Notebook

I am using the Jupyter extension in Visual Studio Code to maintain a notebook on python programming and I want to add a table of contents inside it. I want to add the TOC as the notebook is becoming very big and is becoming difficult to navigate. I…
23
votes
3 answers

Google docs - automated List of tables

Is it possible to add captions to tables in Google docs? I would like to be able to produce an automated list of tables. For example something like this : Any idea ?
giac
  • 4,261
  • 5
  • 30
  • 59
22
votes
5 answers

How to make 'appendix' appear in toc in Latex?

How to make word 'appendix' appear in the table of contents? Right now toc looks like this: 1 ...... 2 ...... . . A ..... B ..... I would like it to be: 1 ...... 2 ...... . . Appendix A ..... Appendix B ..... My latex source…
chriss
  • 4,349
  • 8
  • 29
  • 36
20
votes
6 answers

Creating table of contents in html

Is it possible to create an ordered list like the following? I like this for a table of contents I'm creating. Into Section1 2.1 SubSection1 2.2 SubSection2 Section2 ..... I have the following but each subsection restarts from 1.
Thomas Buckley
  • 5,836
  • 19
  • 62
  • 110
17
votes
3 answers

How to get Table Of Content in document view for Xcode 6.2?

After updating Xcode to 6.2, the table of content in document viewer is missing for most of the UI classes references. Is any one else experiencing this issue? Is there any way to show the table of content in document viewer just like what it used…
HioChao
  • 215
  • 1
  • 7
15
votes
2 answers

How to generate a Table of Contents (ToC) on a rendered Github Pages README.md?

Is there a way to generate a ToC on a rendered README.md hosted on Github Pages that doesn't require the use of local Jekyll plugins to generate it prior to uploading it to Github Pages?
orschiro
  • 19,847
  • 19
  • 64
  • 95
12
votes
2 answers

Sphinx doesn't generate sidebar table of contents for headers

I'm struggling with sidebar table of contents in Sphinx's generated documentation. I just want to have kind of automatically generated index tree by the left side of my documentation. Instead, I see only blank headers: (I hope you don't mind target…
Asmoox
  • 592
  • 8
  • 23
1
2 3
32 33