bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 163 in lilypond: huge (ugly) slur (both phrasing and normal)


From: Dmytro O. Redchuk
Subject: Re: Issue 163 in lilypond: huge (ugly) slur (both phrasing and normal)
Date: Mon, 4 Jul 2011 17:46:06 +0300
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon 04 Jul 2011, 17:15 I wrote:
> On Mon 04 Jul 2011, 16:17 I wrote:
> > For windows I would try to start with .cmd like this:
> This seems to work (tested under VirtualBox, WinXP):
Sorry for the noise, final ("initial") version is so far:

rem --------------8<----------------------

@echo off
rem
rem -- trimtagline.bat --
rem

rem -- Get only file name, no extension:
set LY=%~n1

IF filename%LY%==filename (
        echo Usage: %0 test[.ly].
) ELSE (
        echo \header { tagline = ##f } | lilypond -dinclude-settings=- --png 
%LY%

        rem -- This is ImageMagick's "convert.exe":
        imconvert %LY%.png -trim %LY%-trim.png
)

rem
rem -- Note, you need to copy/rename convert.exe
rem -- to something like imconvert.exe
rem -- because windows already has convert.exe in the path.
rem
rem
rem -- Note, if you can not (or do not want to) install ImageMagick,
rem -- you can use this "kind of trimming":
rem echo \header { tagline = ##f } | lilypond -dinclude-settings=- 
-dbackend=eps -dno-aux-files --png %LY%
rem
rem -- This will produce "almost as vertically trimmed as above" png,
rem -- but leave full "linewidth".
rem

rem --------------8<----------------------

I've added it to my fork and will ask Graham to pull it in some future,
I guess.

-- 
  Dmytro O. Redchuk
  Bug Squad



reply via email to

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