On Fri, 2017-09-22 at 13:08 +0000, NagyMusic wrote: > I was able to successfully customize and modify the barline behavior. > However, once a custom barline is introduced (e.g., dotted), it is > repeated at the beginning of a new system. What would be the best way > to avoid that?
Did you find the help text for the Custom Barline command? (Right click and choose Help): Command: CustomBarline Information: Create a custom barline. These can be named, or can simply override a standard LilyPond bar line type. A bar line is defined by four forms, which describe 1) the appearance normally (during a line), 2) appearance when the barline is at the beginning or 3) end of a line , and 4) what to show when joining staffs together as with a Piano Staff. Barline forms are made of characters including |,:,.,[,],: and others in the LilyPond documentation. It would seem that for number (2) above you chose a dotted barline instead of "" a blank ... Richard > When regular (default) barline is used, the barline is not repeated > at the beginning of a new system. I attached my practice score and > Denemo file for your reference. > > > Thank you for your help! > > On Thu, Sep 21, 2017 at 4:30 AM Richard Shann > <rich...@rshann.plus.com> wrote: > > On Wed, 2017-09-20 at 19:36 +0000, NagyMusic wrote: > > While I was able to successfully create a custom barline (I > gave it a > > name and inserted the Lilypond symbol four times as > prompted), I can't > > seem to find a way to insert this newly created barline in > music > > without using Directives->Insert LilyPond. Any advice? In > other words, > > where can one find the command to insert the newly created > custom > > barline? > > Directives->Menu of Objects to Insert > > this is an empty menu until you have created a custom barline. > More > generally, if you create a Score->LilyPond Definition then you > can > insert it via this command. > > Otherwise as I wrote before: > > > 1. Move the cursor onto the Denemo Directive created in > step 4 > above (it is marked as a line with a blob on top) > 2. Right click on it and choose "Create button for clone" > 3. Select a palette from the list or create a new one > 4. Type a label for the button > 5. The button now appears in the palette you chose, > clicking it > inserts a clone of the Denemo Directive object that > inserts the > LilyPond syntax. > > You can also turn the script that the button runs into a menu > item... > > Via that route you could eventually arrive at a command with a > single > keyboard shortcut that would insert your barline. (If you were > doing all > that you would probably improve the way the barline displays > itself in > the Denemo Display, so that you could recognize it more > easily). > > Richard > > > > > > > Thank you! > > > > > > On Sun, Sep 17, 2017 at 5:52 AM Richard Shann > > <rich...@rshann.plus.com> wrote: > > > > On Sun, 2017-09-17 at 00:47 +0000, NagyMusic wrote: > > > Hello, > > > > > > > > > As a new user of Denemo with extensive Lilypond > experience, > > I'm > > > writing to ask how to create custom barlines > (e.g., dashed, > > dotted, > > > etc.) in line with all available Lilypond options: > > > > http://lilypond.org/doc/v2.19/Documentation/notation/bars > > > > > > > > > I tried creating a custom barline tool found in > the Barline > > tab, but > > > it didn't seem to work. > > > > That would be this command I guess: > > > > > Command: Custom Barline > > Create a custom barline. > > These can be named, or can simply override a > standard LilyPond > > bar line > > type. > > A bar line is defined by four forms, which describe > 1) the > > appearance > > normally (during a line), > > 2) appearance when the barline is at the beginning > or > > 3) end of a line , and > > 4) what to show when joining staffs together as with > a Piano > > Staff. > > Barline forms are made of characters including > |,:,.,[,],: > > and others in the LilyPond documentation. > > Location: Object Menu ▶ Score ▶ Typesetter > > Internal Name: CustomBarline > > > > > > I just tried it, taking all the default responses. > It created > > this > > syntax (in the LilyPond window) > > > > \defineBarLine "|-A" #'("|" "|" "|") > > BarA = \bar "|-A" > > > > I tried it out by inserting the LilyPond syntax > "\BarA" > > between two > > notes (using Directives->Insert LilyPond) and got > this > > > > f'2 f'4 \BarA \tuplet 3/2 { f'8 f' f' } > > > > > So it seems the help for this command is inadequate, > and in > > any case it > > would seem to be a good idea if the command created > a command > > to insert > > the newly-created type of barline. I have submitted > a bug > > report about > > this. > > > > Thank you for reporting this bug. If you need help > creating a > > particular > > barline please ask. > > > > Richard > > > > > > > > _______________________________________________ Denemo-devel mailing list Denemo-devel@gnu.org https://lists.gnu.org/mailman/listinfo/denemo-devel