Bertalan Fodor wrote:

> > 1) my LY file path contains spaces, but I don't 
> >    want to move myfile.ly out of \My Documents\ 
> >    Any workaround for external PDF viewing?
> >  
> Yes, I found one, will include it in the real release. 
> ... LilyPondTool.jar, in lilymenu.xml ...
> change this line to this:

<macro label="LilyMenu.viewPdfWithExternal" macro='runInSystemShell(view, 
(lilytool.LilyToolPlugin.isWindows()?"start " : "") 
+"\""+jEdit.getProperty(lilytool.LilyToolPlugin.OPTION_PREFIX+"pdf-viewer")+"\"\""+MiscUtilities.constructPath(buffer.getDirectory(),MiscUtilities.getFileNameNoExtension(buffer.getPath())+".pdf\"&"));'/>

Awesome. Works as promised.

- Mark


      


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to