Export the handbook 2.0 to HTML and PDF

• Feb 17, 2015 - 10:09
Type
Wording/Translation
Severity
S4 - Minor
Status
closed
Project

For 2.0, we are dropping the addition of PDF files of the handbook or each locale. Instead we we will add an HTML version of the handbook. This will reduce space usage with more than 30%.

Currently we have a turn key solution already to make a print friendly version of the handbook in one page but work is needed:
* Add a TOC
* Process the links and turn them into anchored links

This work can be done with Javascript. The final result will be one HTML page with css and images. (no javascript)


Comments

With that you mean those intra-page links, and lings into a pages using those #name anchors, right?
Guess the difficult part about those is to make them unique.

Yes it comes in two steps: make them unique first using the node id (nid), next rewrite the node/nid urls to point to the unique anchors.

change of plans? In #1 you wrote that we're not going to create and distribute a PDF, but instead a one page HTML?
Then again the single page HTML (actually mht) is 11.3 MB, the PDF just 5.7, so the 'save space' argument seems mute...

Title Export the handbook 2.0 to HTML Export the handbook 2.0 to HTML and PDF

First goal was to export to HTML, second goal to create a PDF which people can download from the website. If we were going to include something in MuseScore, it would be HTML which get loaded in the Qt Help system. But that will be for some time after the 2.0 release. Users will either have to consult the online handbook in chapters, or in one page or download the PDF.

Looking for this?

As an example specifying --header-right "Page [page] of [toPage]", will result
in the text "Page x of y" where x is the number of the current page and y is
the number of the last page, to appear in the upper left corner in the
document.

Is it possible to have it on the outer side, i.e. left on even, right on odd pages?
If that isn't possible (and I don#t see how), wouldn't it make more sense to center the page number?