texi2html: $element->{'target'} is the proper thing to override for the anchor
$element->{id} is used for the name in <a name=id> of the section,
while $element->{target} is used in the href of links to this section.
So, we need to override both and set them to the same value!
Also, set the target/id of the top node to "Top" instead of the default
"SEC_Top" of texi2html.
texi2html: Properly extract sectioning and node commands
-) Don't match quoted commands, i.e. @@node inside an @example section.
-) Properly use multiline matching, so we can use ^ and $ to detect the
start/end of each line
This fixes the problem that the xlatex node was not detected
John Mandereau [Sun, 24 Aug 2008 11:38:35 +0000 (13:38 +0200)]
Merge branch 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond into lilypond/translation
* 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond:
Fix "make uninstall"
Markup command name changes.
Docs: Some more link fixing
Add tweaking the ellipse around harp pedals
Add ly:round-filled-polygon scheme function to create a filled rounded polygon
Doc: Insert appendix #f directly into the doc node, not needed in dump any more
Doc: use @subheading for FDL addendum instead of @unnumberedsubsec
texi2html: Use an appendix for indices in IR
Doc/texi2html: For big-page link to ../bibliography instead of ../../bibliography
Docs: There is no Melisma_translator, so remove IR references to it
IR: Fix index node hierarchy
Cadenza changes to rhythms.itely
John Mandereau [Sat, 23 Aug 2008 16:37:11 +0000 (18:37 +0200)]
Merge branch 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond into lilypond/translation
* 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond:
Fix configure and compilation issues with CPPFLAGS
Change harp pedal outlines to ellipses
GDP NR 5.3 Modifying properties
texi2html: use @subsubheading for interface property headings in the IR
Adjust the .css file so subsubheadings look like unnumberedsubsubsec.
The problem with @unnumberedsubsubsec is that it (1) generates an entry
in the TOC and (2) messes up the internal navigation buttons, since they
don't have their own @node, so texi2html uses #SECxx as anchor, which does
not exist...
Docs: fix most of the broken links in translations that linklint found.
In most cases, I simply did the same changes as in the English version, so
that the translated versions are the smae as the English version.
In particular, the issues are:
-) Lot of @subsubsections -> @unnumberedsubsubsec, which were done in
master, but no in the languages. There are lots more to be done, but
these cause broken links.
-) Gregorian_ligature_engraver -> Vaticana_ligature_engraver
-) "Fret diagrams" node -> "Fret diagram markups"
-) Engraver_group does not have an IR section, so @rinternals -> @code
-) FingerEvent -> Fingering Event
-) @rlsr{Figured Bass} -> @rlsr{Chords}
-) fontSize, font-size does not have an IR section -> remove from IR links
-) MultiMeasureRestMusicGroup, VocalName do not exist in IR -> remove IR link
-) Removed @untranslated sections, which no longer appear in the English
docs ("Guitar tablatures", "Half-holes")
-) added new @untranslated sections for news sections in English docs
("Indicating harmonics and dampened nodes", "Fingerings")
-) Fix IR link "Engravers" -> "Engravers and Performers", similar for
"Engravers and performers" (case IS relevant in @rinternals!)
-) text-balloon-interface -> balloon-interface
-) broken link to "Octave check" in fr (was "Octavecheck")
-) unnumbered sections (except at top-level) now completely ignore the
file name from the .xref-map file and are instead simply put into
the same file as the previous numbered section (this fixes the
problem with user/internal property pages for the interfaces in the
IR)
-) add a lilypond_node_file_name function, which modifies also the
anchors for the nodes (split_at_numbered_sections already
modified the anchors for sections).
John Mandereau [Fri, 22 Aug 2008 12:51:12 +0000 (14:51 +0200)]
Merge branch 'master' into lilypond/translation
* master:
Partially update French docs
Docs: Use @rlsrnamed for link to snippets Top
Update for Staff
MusicXML: Implement harp-pedals, now that it's available in lilypond
GDP NR Appendices: Add descriptions of indices
New markup commands: \left-column and \right-column.
Harp pedals: Cleanup
Spanish docs: Fix link to IR / BassFigure (no longer NewBassFigure)
Markup command indexing: don't use internal function names.
Bump version.
Compile fix...
New regression tests should have 2.11.57...
Docs: Add fret and harp pedal diagrams to markup category instrument-specific-markup
Add instrument-specific-markup-interface, assign to TextScript and add (fret-board|harp-pedal)-details to it
Feature: Add Harp pedal diagrams, i.e. a \harp-pedal markup function
Add a make-line-stencil function, which correctly sets stencil extents
Fix dangling links (citeseer, personal homepages, email Adresses) in the docs
John Mandereau [Wed, 20 Aug 2008 13:19:59 +0000 (15:19 +0200)]
Clean up .xref-map files generation
- write these files in (top-build-dir)/out/xref-maps/, with language
used as name suffix if different from English: this is cleaner than
writing them in out-www subdirectories and creating symlinks, mainly
because it avoids hardcoding manual names in a bunch of makefiles;
- buildscripts/extract_texi_filenames.py: write "@documentlanguage" as
output file suffix if not "en", create output directory if necessary,
and fix minor nitpicks;
-) Remove FIXME, which has been implemented
-) Move commented-out code away from the top
-) Add short documentation for each function
-) Call a (revert stencils) a little earlier
Docs: Add fret and harp pedal diagrams to markup category instrument-specific-markup
-) Harp pedal diagrams and Fret boards will now appear in the same appendix section of
the NR, titled "Instrument Specific Markup".
-) The function to create those titles from the markup category didn't globally
replace "-" by " ". This commit fixes that problem, too.
Add instrument-specific-markup-interface, assign to TextScript and add (fret-board|harp-pedal)-details to it
Harp Pedal diagrams and fret board diagrams can be tweaked using the
fret-board-details and harp-pedal-details property alists of TextScript.
However, so far they were not "officially" assigned to any interface of
TextScript, so they didn't appear in the auto-generated documentation...