Re: MsLily - LilyPond Add-In for Word

2017-07-18 Thread Denton Thomas
Hi, Karlin, Brian, Martin -

TLDR;
"c d e f" is placed inside \score { \relative c { ... } }. All the other
stock \paper, \layout, and \version code is added, also.

Long version:

Re the lack of brackets, I guess I need to change the Free Version to at
least let you see what's in the Advanced tab - I'm just about to head off
for work, so not certain you have the boilerplate code. I've pasted that
below.  Obviously, the placeholder "%% MSLily_Placeholder_SimpleCode" is
replaced with the Simple Editor text.

Just as a quick mock-up, a piano entry would use something like:

\new PianoStaff {
<<
\new Staff { c d e f } % here, "\new Staff" is redundant ...
\new Staff { \clef bass c,2 g' }
>>
}

The brief goal was to remove all of the re-usable code and get down to
writing pitches/rhythms. The "Simple Editor" is meant to be just that - a
soft entry for my coworkers who don't type, nonetheless code.

In the Settings Dialog, I've called this boilerplate text a "Code Wrapper".
In the Free Version, the basic idea is that you can't edit this. It's
completely edit-able in SE, and I'd like to add the option for users to
save/load/edit various Wrappers for whatever they're currently doing. Just
haven't coded that part yet.

Actually, I'd be interested in advice on whether I have provided the
correct boilerplate ... it works, but I don't know that it is
technically/stylistically correct.

Cheers ~

Denton

Advanced Tab wrapper content:

% MsLily formatting for small, inline images
\version "2.18.2"

\paper {
indent = 0\mm
oddFooterMarkup =##f
oddHeaderMarkup =##f
bookTitleMarkup = ##f
scoreTitleMarkup = ##f
}

\layout {
line-width = 180\mm
ragged-right = ##t
}

#(set-global-staff-size 22)
\pointAndClickOff

\score { { \relative c' {
%% MSLily_Placeholder_SimpleCode
} } }




On Wed, Jul 19, 2017 at 12:19 AM, Karlin High  wrote:

> On 7/18/2017 9:10 AM, Brian Barker wrote:
> > At 15:28 18/07/2017 +0200, Martin Tarenskeen wrote:
> >> And instead of "c d e f"
> >> I'd rather see "{c d e f}"
> >
> > Surely "{ c d e f }" ?
> >
> > Brian Barker
>
> And perhaps a version statement yet? :) Okay, now I'm having knee-jerk
> nitpicks.
> --
> Karlin High
> Missouri, USA
>



-- 
---
Trombones, Composition, & Instruction
den...@dentonlt.com / www.dentonlt.com
MM, DMA - The University of Texas at Austin
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MsLily - LilyPond Add-In for Word

2017-07-18 Thread Karlin High
On 7/18/2017 9:10 AM, Brian Barker wrote:
> At 15:28 18/07/2017 +0200, Martin Tarenskeen wrote:
>> And instead of "c d e f"
>> I'd rather see "{c d e f}"
>
> Surely "{ c d e f }" ?
>
> Brian Barker

And perhaps a version statement yet? :) Okay, now I'm having knee-jerk 
nitpicks.
--
Karlin High
Missouri, USA
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MsLily - LilyPond Add-In for Word

2017-07-18 Thread Brian Barker

At 15:28 18/07/2017 +0200, Martin Tarenskeen wrote:

And instead of "c d e f"
I'd rather see "{c d e f}"


Surely "{ c d e f }" ?

Brian Barker 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MsLily - LilyPond Add-In for Word

2017-07-18 Thread Martin Tarenskeen


I just downloaded and tried the betaversion. Nice :-)

Some quick remarks:

The opening example in the editor shows says something like

%use letters as pitches
c d e f


I assume someone installing and using this plugin
- has some basic knowledge of LilyPond syntax

Or at least:
- soon will need and want to know something about LilyPond syntax

Instead of "%use letters as pitches" I'd rather read "%your LilyPond code 
starts here"


And instead of "c d e f"
I'd rather see "{c d e f}"

I can't see what code is hidden behind the screens of MsLily's template 
but outside of your plugin "c d e f" is not functional LilyPond syntax and 
"{c d e f}" is.


I experimented a little with some simple LilyPond coding but I do not 
understand what LilyPond code MsLily creates automatically behind 
the screens, and what LilyPond code I have to type myself. The result is 
that several attempts that would compile perfectly outside MsLily 
will fail inside MsLily, and incorrect or incomplete code that would fail 
if compiled with LilyPond directly - like the minimal "c d e f" from the 
opening screen - compiles fine with MsLily.


It's a good thing if MsLily does some things automatically. Inserting a 
snippet of music into a Word document is a different task than creating 
full pages of sheetmusic. But the syntax to type in the editor should not 
be too much different from normal LilyPond syntax. For example: I have not 
succeeded creating a simple PianoStaff inside MsLily yet.


I think things could be improved here. Maybe I should try and buy the full 
version?


--

MT

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MsLily - LilyPond Add-In for Word

2017-07-18 Thread Denton Thomas
Definitely. When you insert an image, your code travels with your image.

---
BM, MM, DMA
www.dentonlt.com

On 18 Jul 2017 18:54, "Martin Tarenskeen"  wrote:

>
>
> On Tue, 18 Jul 2017, Denton Thomas wrote:
>
> Thanks for asking, Helge.
>>
>> I would certainly be happy to hear feature requests.
>>
>
> Hi,
>
> One thing I like about OOoLilyPond + OpenOffice/LibreOffice is that the
> LilyPond code for inserted music snippets can still be edited and modified
> after saving and re-loading the document. Is this possible with MsLily also?
>
> --
>
> MT
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MsLily - LilyPond Add-In for Word

2017-07-18 Thread Martin Tarenskeen



On Tue, 18 Jul 2017, Denton Thomas wrote:


Thanks for asking, Helge.

I would certainly be happy to hear feature requests.


Hi,

One thing I like about OOoLilyPond + OpenOffice/LibreOffice is that the 
LilyPond code for inserted music snippets can still be edited and modified 
after saving and re-loading the document. Is this possible with MsLily 
also?


--

MT

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MsLily - LilyPond Add-In for Word

2017-07-17 Thread Denton Thomas
Thanks for asking, Helge.

I would certainly be happy to hear feature requests. So far, the big
request is a Word-for-Mac port. I'm doing this between full-time teaching
and family time, though ... so I'd like to know there is significant
interest before I put the time in.

The Free version currently cuts back the Settings Dialog: access to
commandline options for LilyPond, resolution settings, default image
transparency, and editor customizations (like font and pretty print, or
hiding the panel by default on startup), logging, document inspection (list
all the MsLily images, etc). As well, the Free edition blocks out the
Advanced editor. That editor provides stock wrapper/boilerplate code
(\page, \layout, etc) for margins, line width, ragged-right, etc. All that
can be modified in the current Standard Edition.

Long-term, these two are started but incomplete in the Stndard Edition (SE):
* Full capacity Templates menu: this is a Ribbon button that provides a way
to collect and quickly re-use common code excerpts. Both editions include
some stock templates (a blank staff, a clef, etc), but I expect the
Standard Edition to have a user modify-able menu and load-able code
collections. The goal is to let others write and distribute their own code
collections for use in MsLily.
* insert image with MIDI using OLE

I'm expecting a free-mium-like model, where the Free Edition is always
free, but SE helps direct what is created next ...

Admittedly, it would be good to have a few drops put in the grad school
loan buckets!

Cheers from Melbourne ~

Denton

---
BM, MM, DMA
www.dentonlt.com

On 18 Jul 2017 2:27 PM, "Helge Kruse"  wrote:

The website announces a free and a standard edition. What are your plans
for difference between these two editions?

Best regards
Helge
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MsLily - LilyPond Add-In for Word

2017-07-17 Thread Helge Kruse
The website announces a free and a standard edition. What are your plans
for difference between these two editions?

Best regards
Helge
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MsLily - LilyPond Add-In for Word

2017-07-17 Thread Michael Rivers
That's fantastic! I'm installing it now. Thank you so much.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/MsLily-LilyPond-Add-In-for-Word-tp204473p204478.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MsLily - LilyPond Add-In for Word

2017-07-17 Thread Martin Tarenskeen



On Mon, 17 Jul 2017, Denton Thomas wrote:


Shameless self-promotion:
I didn't have a light/fast tool for inserting music excerpts in Word ... so 
I've written a LilyPond Add-In. There are still bugs, but now pretty
stable!

Free edition now public at dentonlt.com/mslily


That's cool!
I'm quite happy with the LibreOffice + OOoLilyPond combination but having 
something similar also for MS Word is really cool.


--

MT


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user