the Fiddler's picture

Fix table of contents links in Manual.pdf

Project:The Open Toolkit library
Version:all versions
Component:Documentation
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (invalid)
Description

Manual.pdf is generated by exporting the printer-friendly docs into a pdf file. However, the table of contents contains links that lead to the regular, non-printer-friendly documentation, which are exported as-is.

We need to find a way to fix those links so they link to the correct chapters and sections inside the pdf. Ideas:

  • See if this is possible to fix through drupal (we need to detect whether we are in "printer-friendly" mode and change the link path to point inside the current page).
  • Try to write a script that downloads the webpage (trivial) and modifies the TOC to point to the correct place (not so trivial, since we need to parse the TOC links, find out the correct sections and modify the links to point at those).
  • Try to think of something else entirely.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

#1

Version:1.0-beta-3» all versions
Status:open» closed (invalid)

The real issue here is Drupal itself.