faustedition / faust-gen-html

Pipelines to generate HTML for the Faust edition's reading texts and prints.
1 stars 4 forks source link

Line synopsis for Land Strase, 1 H.5 links on wrong scene #620

Closed gerritbruening closed 5 years ago

gerritbruening commented 6 years ago

wenn ich aus dem Variantenparadigma der Textdarstellung von H P 6 (die jetzt I H 5 verzeichnet - das ist prima, ganz vielen DANK!) auf I H 5 klicke, lande ich dort irgendwo. Wäre es möglich, den Link so zu setzen, dass man bei dem entsprechenden Vers (oder am Anfang der Szene) in I H 5 landet?

When you are in H P6, open the line synopsis, and change to 1 H.5, you are in the wrong scene: http://dev.faustedition.net/document?sigil=1_H.5&page=35&view=print#lu_455

weil die land strase auch auf S. 35 steht

thvitt commented 6 years ago

it’s a conceptual issue.

Land Straſe begins on p.35 which also contains content from the previous scene. The link goes to &page=35, and the document viewer loads the scene associated with that page (which is the scene before page 35).

A link to the section alone wouldn’t work, either: (a) because we don’t find the page for the section since the map is page → section, and (b) because the links for longer scenes should have page precision so we don’t jump to the beginning of the scene.

So,

  1. we should link to &page=…&section=… from the synopsis
  2. the section ↔ page map should allow for several sections on one page
thvitt commented 5 years ago

618