text icon indicating copy to clipboard operation
text copied to clipboard

printing to pdf: no table of content automatically created

Open alexanderdd opened this issue 4 months ago • 1 comments

To Reproduce Steps to reproduce the behavior:

  1. have multi-page markdown document with different headings and -levels
  2. ctrl + p
  3. print to pdf
  4. in a pdf reader, go to sidebar > contents, see that no content overview is created, only page previews

Expected behavior

  • using the headings, a table of contents inside the pdf is automatically created (most pdf viewers show this in the left sidebar)

Server details:

  • Nextcloud version: "31.0.8"
  • cloud.nextcloud.com

Client details:

  • OS: Linux Mint
  • Browser: Firefox 141.0.3
  • Device: laptop

alexanderdd avatar Aug 19 '25 14:08 alexanderdd

@alexanderdd to my knowledge printing with the browser never creates a table of contents in the PDF. I guess we'd have to generate the PDF ourself to be able to have a table of contents in it.

mejo- avatar Oct 07 '25 09:10 mejo-