Comment #29 on issue 1663 by [email protected]: Images missing on web site
http://code.google.com/p/lilypond/issues/detail?id=1663

OK. This is the same sort of problem with the ../pictures problem above, except these images are in the ly-examples directory. big-page and the split-page files have the same relative link to these images, but big-page is in /Documentation, and split pages are in /Documentation/web. The links therefore need to be fixed up in the same way that the /pictures ones are, in postprocess-html.py.

It will require 2 changes: 1 to macros.itexi:

@macro exampleImage{IMAGE-FILE}
@html
<div class="float-center">
  <a class="clickable" href="ly-examples/\IMAGE-FILE\.png">
    <img src="ly-examples/\IMAGE-FILE\-small.png" alt="\IMAGE-FILE\">
  </a>
  <p style="text-align: center">
    (click to enlarge)
  </p>
</div>
@end html

I believe we will need to change ly-examples to ../ly-examples, but would need to check and test this. We would also need a regex search-and-replace for ../ly-examples in postprocess-html.py, similar to the one for pictures.


_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to