denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] a couple of things


From: Richard Shann
Subject: Re: [Denemo-devel] a couple of things
Date: Wed, 05 Feb 2014 13:08:09 +0000

On Wed, 2014-02-05 at 06:23 -0500, Bric wrote:
> (1) Is there anyway to stop denemo from including my home directory and 
> my linux user name in the lilypond and PDF output, by default (!??).
that would be the tagline field you are talking about. See Score->Titles
> 
> (2) Is there a way to make denemo automatically include important 
> lilypond directives such as
> 
>              \set Score.barNumberVisibility = #all-bar-numbers-visible
> 
> or modify whatever document-wide directives it already includes?
> 
> (the example is to show all the bar numbers, rather than just the ones 
> for the first bar in in a line)
> 
> It would really help, because right now I have to export to lilypond, 
> then edit the lilypond, then generate the pdf... just to get the above 
> basics and the like.

The "automatically" bit can be done in several ways. You can create a
template (if you call it Default then you can use Ctrl-n to open it), or
you can put the Denemo commands you want to be run on starting a new
file in ~/.denemo-1.1.?/actions/denemo.scm
You can generate the commands by recording ones that you issue using the
Scheme window record button.
The example you give (bar numbering) is already in Denemo 1.1.2 (under
Score->Typesetting->Bar Numbering menu), but more generally you need
Score->LilyPond Score Block Prolog to add stuff at the start of the
score block. So e.g. hopefully, in denemo.scm you could put

(d-ScoreBlockProlog "\\set Score.barNumberVisibility = 
#all-bar-numbers-visible")

(UNTESTED)

HTH

Richard




> 
> thanks
> 
> 
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/denemo-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]