Page MenuHomePhabricator

Autonumbering of section titles in TOC fails on printout
Open, Needs TriagePublic

Description

Turning on autonumbered section titles works in ordinary page view, but fails on printout.

Given I have turned on Appearance – "Advanced options" – "Auto-number headings" is checked
When I print out or make an PDF
Then I expect the section title and the TOC to be numbered

In the downloaded PDF (sidebar) there are no numbering at all, and in the print out there are only numbers for the sections and not in the TOC. This is on Firefox.

Event Timeline

jeblad created this task.Jan 12 2019, 6:04 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 12 2019, 6:04 AM
jeblad renamed this task from Autonumbered section titles fails on printout to Autonumbering of section titles in TOC fails on printout.Jan 12 2019, 6:10 AM

Current print styles seem to intentionally hide the numbering in the TOC, regardless of the preference. Perhaps it should be shown if the preference is enabled.

I suspect the downloaded PDF is generated using Parsoid, which currently doesn't take your preferences into account at all. This also affects e.g. preferences about thumbnail size.

jeblad removed a subscriber: jeblad.Feb 5 2019, 3:49 PM
ovasileva moved this task from Triage to Tracking on the Proton board.Feb 22 2019, 3:03 PM
ovasileva edited projects, added PDF-Rendering; removed Proton.Feb 25 2019, 4:46 PM