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
2
votes
0 answers

Is there anything complicated about updating a table of contents using VSC in your working branch?

I found the TOC I need to update and have added the new topic heading and the path to it. Is there anything else I need to do to make the update other than add, commit, and push it along with the new page? I am using VSC 2022 to update TOC and add…
2
votes
1 answer

I would like to create table of contents in this github webpages site

I would like to create a table of contents on the left side of this GitHub pages site https://abenjamin09.github.io/Bellabeat-Capstone-1/. Any help would be appreciated! The section in the table of contents would ideally look like…
Stackstudent_09
  • 131
  • 1
  • 9
2
votes
1 answer

Strange interaction between multi-page \tableofcontents and \pagenumbering{roman}

Take this document: \documentclass{report} \usepackage[utf8]{inputenc} \usepackage{blindtext} \title{\LaTeX\ page numbering repro} \author{Hendrik} \begin{document} %\pagenumbering{roman} \maketitle \begin{abstract} …
Hendrikto
  • 513
  • 4
  • 14
2
votes
2 answers

Long chapter name second line indent in the TOC

I'm LaTeX newbe and trying to make a document with some requirements. Searching for similiar issues here and through whole internet gave me no result. The point is to remove the long chapter name second (third, fourth...) line indent within the…
d_buch
  • 19
  • 3
2
votes
2 answers

R Markdown - Table of contents is empty when rendering from script

When i use the function rmarkdown::render("./test.Rmd") to generate my report the table of contents only has the title but nothing inside. Instead, when i use the knit button it works fine. Is there a way to solve this issue? I have to use the…
Franco
  • 23
  • 5
2
votes
7 answers

Creating hierarchically numbered section headings counts subsections incorrectly

a_lst = [ '# title', '## subtitle', '## s2 ', '## S3', '# t2', '# t4', '## s1', '## s2' ] I want to convert the above list into this list: req_lst = [ '1. title', '1.1. subtitle', '1.2. s2 ', '1.3.…
Arya Stark
  • 205
  • 1
  • 11
2
votes
1 answer

A Table of Content (TOC) under each heading 2 showing only the subheadings thereof

I have used 90 times heading 2 in my Word document of + 1000 pages. Every heading two has numerous subheadings. The end goal is to add a separate Table Of Content (TOC) under each heading 2 which shows only the subheadings under that specific…
Willem
  • 35
  • 4
2
votes
1 answer

TOC problem when knitting Rmarkdown document with images

Finished and published on github my first website using Distill package in RStudio: https://crlnp.github.io/3-objets.html On this particular page I include several images in my rmarkdown document and it causes problems with the table of contents:…
2
votes
0 answers

Table of Contents for Appendicies

I want to create a second table of content for my appendicies. I try to do it with minitoc but it doesn't work. Maybe anybody has another idea or a solution with minitoc. The example: …
Christian01
  • 307
  • 1
  • 5
  • 19
2
votes
1 answer

How to generate TOC from HTML in phpword

I am using PHPWord library to convert my HTML document to Docx file. I have issue in generating TOC(Table of contents) correctly in Word document. In HTML, TOC is created by # linking of anchor tags with divs and working perfectly. How can i convert…
Khushbu
  • 655
  • 7
  • 17
2
votes
1 answer

Adding Table of Content with pdfHTML in iText7

Using HTML file, I generated PDF file using iText pdfHTML. Now I want to add table Of Content(TOC) to the 2nd page. I saw the same question adding-toc-dynamically . But no answer for this. I tried the same scenarios as he followed. I want to know…
RedWhite
  • 29
  • 2
2
votes
1 answer

Sphinx: customize sidebar section titles

I am documenting my Python project with Sphinx. As some of my documentation pages are rather long, I would like to have both a local and a global table of contents in the sidebar. I achieve achieve this via html_sidebars = { '**': ['localtoc.html',…
Samufi
  • 2,465
  • 3
  • 19
  • 43
2
votes
1 answer

Word html format: insert a custom TOC via field code

I am generating Word docs from html. Basically, I build a file with html and save it as a .doc. Then I open it in Word and apply a template. All good so far. I would like to automatically generate a custom TOC via the HTML ie when I am building the…
Murrah
  • 1,508
  • 1
  • 13
  • 26
2
votes
1 answer

How to exclude some entries from TOC

I'm using the wkhtmltopdf to create some documents that require a TOC; this is done using Hx tags and it works properly (including a modified XSL file). The input HTML is generated by my own code, so I have full control over it. Now, I need to…
stefanu
  • 197
  • 2
  • 13
2
votes
1 answer

Get lengths of intermediate concatenated files in ffmpeg filter-complex

I'm writing a media Electron app that occasionally needs to individually trim => individually normalize => concatenate => convert a varying number of WAV files into MP3. I've successfully used FFMPEG (via Fluent-ffmpeg) to do so (command wrapped for…