On Wed, 2017-02-08 at 14:53 +0000, Joe Wilkinson wrote: > > On 08/02/2017 14:23, Richard Shann wrote: > > On Wed, 2017-02-08 at 13:55 +0000, Joe Wilkinson wrote: > >> Hi Richard. > >> > >> As suggested I have created a button in a MyPalette to inset both the > >> AllowLineBreak and LineBreak Directives to be inserted as one. > >> > >> Two issues, neither desperately important: > >> > >> 1 Is there any way of suppressing the window telling me that the Line > >> Break will not work (!) > > You need to insert the AllowLineBreak first, then the LineBreak does not > > complain (in fact, it does not complain if there is *any* directive at > > the cursor, since it cannot tell what that directive might do) > I did. The AllowLineBreak code was before the (single line) LineBreak code. > And the LineBreak L is after the AllowLineBreak Directive, each time. > :-) > > Joe > > (d-Directive-standalone "AllowLineBreak") > (d-DirectivePut-standalone-minpixels "AllowLineBreak" 10) > (d-DirectivePut-standalone-override "AllowLineBreak" 0) > (d-DirectivePut-standalone-gy "AllowLineBreak" 0) > (d-DirectivePut-standalone-gx "AllowLineBreak" 0) > (d-DirectivePut-standalone-graphic "AllowLineBreak" " > | > Denemo > 24") > (d-DirectivePut-standalone-ty "AllowLineBreak" 0) > (d-DirectivePut-standalone-tx "AllowLineBreak" 0) > (d-DirectivePut-standalone-postfix "AllowLineBreak" "\\bar \"\"") > (d-RefreshDisplay)
> (d-MoveCursorRight) this is your problem, it is moving the cursor right, off the AllowLineBreak directive. If you delete that all will be well. > (d-LineBreak) > Richard _______________________________________________ Denemo-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/denemo-devel
