Il 26/01/2013 20:26, Richard Shann ha scritto:
On Sat, 2013-01-26 at 19:56 +0100, Federico Bruni wrote:Hi thereI'm playing with the Score Layout. AFAICS editing it in "graphical mode" is not that easy. For example, I don't know how to add a Staff. So I'm using the Lilypond text mode, which works great. But I have a few questions. 0) Where can I save my own templates?File->Save->Save Template will save it for you (somewhere under .denemo-xxx).
Well, pretty easy
Currently I have this: ls ~/.denemo-1.0.0~rc8/ actions autosave.denemo denemohistory denemorc state.ini
You are allowed to choose the directory, but I see that after opening Save>Save template a template subdir has been automatically added to .denemo-xxx
$ ls ~/.denemo-1.0.0~rc8/ actions autosave.denemo denemohistory denemorc state.ini templates
Actually, it seems that I cannot edit the default layout.Correct. The default layouts are those Denemo generates (full score, movement, part). Custom layouts are generated by the user and are saved to disk with the file. I think at the moment there is nothing to say open this file and select custom layout <name>, but you can do this. You would have a short scheme script in your case it could be simply: (d-SelectFirstCustomLayout) If you put this in the scheme window and then save the file then it will be run each time the file is opened. (There are further commands to iterate through the layouts, get the names etc, which are used for printing all layouts).
I've tried this (see attached image), but it doesn't work.I still have to open View>Score layout, click on lilypond text and then click typeset in the print window.
When I do, a custom layout is automatically created. I've looked some template file included in denemo and I've seen that they have just the default layout.Mostly they are ancient...I wonder if this is going to be a problem (see next point) 2) (maybe related to the previous point) Try the attached template. When you start entering notes, in the print window you'll see just the Staff. You have to click on Typeset in the print window and only then the TabStaff will appear.So if you use the above script it should typeset the selected layout from the start. (I haven't tried this...)
As said above, it seems that it doesn't work. What can I try? -- Federico
<<attachment: denemo-scheme-script.png>>
_______________________________________________ Denemo-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/denemo-devel
