Open jocelynpb2 opened 1 year ago
From testing in bug scrub, it appears this is caused by the path in the chapter URL beginning with a number, e.g. '/2nd-chapter' or https://pressbooks.lib.vt.edu/introearthscience/chapter/2-plate-tectonics/
A workaround is updating the chapter permalink so its path does not begin with a number and linking to this updated URL.
Is this identical to https://github.com/pressbooks/pressbooks/issues/3016?
Description
In chapters titled “Chapter-#”, the PDF export results in working internal links to chapters.
If the chapter title does not take the form of “Chapter-#”, for example https://integrations.pressbooks.network/linksinpdf/chapter/3rd-chapter/, the PDF exports internal links that cannot be clicked on.
Web versions and EPUB do not appear to be affected.
Steps to Reproduce
Expected behavior: Clickable link in PDF export.
Actual behavior: Links to chapters in a book that do not follow the form "Chapter-#" are not clickable in PDF export.