|
From: | Gilles THIBAULT |
Subject: | Re: How to use the table of contents |
Date: | Sun, 21 Oct 2007 22:37:40 +0200 |
why i cannot change the title to have it in french. what's wrong with the following text?thanks for your help. my english is not so good so if you can use simple word iwill appreciate
I didn't know this feature (Thanks you for leting me discover it). But i think you missed some "{" This code seems to work : %%%%%%%%%%%%%%%%%%% \version "2.11.34" \paper { #(define dump-extents #t) indent = 0\mm line-width = 11.0\cm force-assignment = #"" line-width = #(- line-width (* mm 3.000000)) } \layout { } \sourcefileline 862 \header { tagline = ##f } \paper { tocTitleMarkup = \markup {\huge \column { \fill-line { \null "Table des matières" \null } \hspace #1 } } tocActMarkup = \markup {\large \column { \hspace #1 \fill-line { \null \italic \fromproperty #'toc:text \null } \hspace #1 } } } tocAct = #(define-music-function (parser location text) (markup?) (add-toc-item! 'tocActMarkup text)) \book { \markuplines \table-of-contents \tocAct \markup { Livre Premier } \tocItem \markup { Canon Pachelbel } \tocItem \markup { Lucie Obispo } \tocItem \markup { Mistral gagnant Renaud } \tocItem \markup { Prélude n°1 J.S. Bach } \tocItem \markup { Lettre à Elise L. Beethoven } \tocItem \markup { Sonate n°1 W.A. Mozart } \tocItem \markup { Invention n°12 J.S. Bach } \tocItem \markup { Invention n°13 J.S. Bach } \markup \null } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Gilles
[Prev in Thread] | Current Thread | [Next in Thread] |