Re: adding graphics with external program

2008-07-30 Thread Valentin Villenave
2008/7/30 Hugo Ribeiro <[EMAIL PROTECTED]>:

> How to find out the ps code, after drawing in Inkscape?

You can save your drawing as PostScript file (under Inkscape), then
open it with a text editor and copy the code. You will probably have
to add a "scale" command (or modify its value if it's already there)
though, since Inkscape makes much too large drawings for LilyPond
standard output.

Cheers,
Valentin


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


Re: adding graphics with external program

2008-07-30 Thread Hugo Ribeiro

Valentin Villenave escreveu:

file, either as \epsfile or by pasting the native ps code, as in
http://lsr.dsi.unimi.it/LSR/Item?id=486


How to find out the ps code, after drawing in Inkscape?
I think is better than using \epsfile...

Hugo



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


Re: adding graphics with external program

2008-07-30 Thread Valentin Villenave
2008/7/30 luis jure <[EMAIL PROTECTED]>:

> anyone lucky using inkscape with files generated by LP?

[untested] Has anyone tried to produce svg files within LilyPond,
using the hack desribed on http://lsr.dsi.unimi.it/LSR/Item?id=334 ?

Alternatively you may want to try the other way around : produce your
graphic elements using Inkscape and then include them into your .ly
file, either as \epsfile or by pasting the native ps code, as in
http://lsr.dsi.unimi.it/LSR/Item?id=486

Cheers,
Valentin


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


Re: adding graphics with external program

2008-07-29 Thread luis jure

on 2008-07-29 at 11:31 Matthieu Jacquot wrote:

>when you've got your .pdf output from lilypond, to "print in a file" to
>generate a .ps usable in scribus.

it's funny, i tried what you suggest and the file opens, but some
elements are displaced: some noteheads, accidentals and the like are
randomly moved.

if i open a ps file generated by ghostscript directly from the LP
output, this doesn't happen, but the right edge is truncated...

BTW, i haven't been able to open pdf's with scribus, i get some "not
acceptable format" message. i'm using scribus 1.3.3.11 on linux.

i'll keep on trying with inkscape, i'm obviously having some
fonts-related problem. i should try the inkscape forum or mailing list.

anyone lucky using inkscape with files generated by LP?

best,

lj



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


Re: adding graphics with external program

2008-07-29 Thread luis jure

on 2008-07-29 at 04:38 Frederick Dennis wrote:

>Have you tried turning your pdf into bmp's using GhostScript?

not bmp's but png's, and it works, of course. but i'd like to edit the
files in a vector graphics format, if possible. i'm trying to avoid
going to bitmap graphics.

>ps have you noticed something peculiar about
>LilyPond's pdfs when you print multiple copies?

no, what are you referring to? i do have occasional problems when
printing with acroread (on linux), but not particularly with lilypond
files but just any pdf.



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


Re: adding graphics with external program

2008-07-29 Thread luis jure

on 2008-07-28 at 09:16 Stefan Thomas wrote:

>on linux, there is the program pdf-edit available. You can add there
>simple graphice.

thanks for your suggestion, stefan. i did try pdfedit, but i couldn't
make anything useful with it. the buttons to add graphics were grayed
out and i didn't spend too much time reading manuals... it also crashed
a couple of times, so i deduced the software is (still) in an early
stage. perhaps it's just that i didn't know how to use it...

i'll try to insist with inkscape...


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


Re: adding graphics with external program

2008-07-29 Thread matth
Isn´t scribus capable of including pdf files directly?

> In my opinion this would be the better way - if it´s possible.
>
> It is but my experience is that scribus seems to have more difficulties to
use .pdf than .ps (I don't know why or even if it's not just with my
version). pdf are imported as a standard image format , with a resolution
etc...
I'm not a scribus expert so I'm maybe wrong,  take it just as a personal
feedback.
Matth
(PS : hope my english is comprehensible)
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: adding graphics with external program

2008-07-29 Thread Dominic Neumann
Hi Matth,

Isn´t scribus capable of including pdf files directly?
In my opinion this would be the better way - if it´s possible.

Dominic

2008/7/29 Matthieu Jacquot <[EMAIL PROTECTED]>:
>
> Hi, I use scribus to write an essay containing a lot of little music examples
> (made with lily of course), the solution I found is, when you've got your
> .pdf output from lilypond, to "print in a file" to generate a .ps usable in
> scribus.
> Hope this help
> Matth
>
> --
> View this message in context: 
> http://www.nabble.com/adding-graphics-with-external-program-tp18683698p18718579.html
> Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
>
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>


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


Re: adding graphics with external program

2008-07-29 Thread Matthieu Jacquot

Hi, I use scribus to write an essay containing a lot of little music examples
(made with lily of course), the solution I found is, when you've got your
.pdf output from lilypond, to "print in a file" to generate a .ps usable in
scribus.  
Hope this help
Matth

-- 
View this message in context: 
http://www.nabble.com/adding-graphics-with-external-program-tp18683698p18718579.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


re: adding graphics with external program

2008-07-28 Thread Stefan Thomas
Dear Luis,
on linux, there is the program pdf-edit available. You can add there simple
graphice. And as far as I know, You can export lilypond files to other
graphic formats, like png. You can read it in the manual. But You can also
add graphics with the markup command, at least eps-files.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


adding graphics with external program

2008-07-27 Thread luis jure

dear list,

i'm mostly finished with the lilypond part of my first LP project, but
i need to add a few graphics with an external program (i gave up trying
to use LP for this).

i'm on linux and i tried both inkscape and scribus, but after fighting
the whole weekend i really can't find a way. inkscape can't open the ps
files. i can open the pdf's, but after editing and exporting, the fonts
are all wrong. with scribus the problems are rather the opposite: it's
the pdf's that i can't open, and i don't know why the ps files open but
with some parts chopped. neither inkscape nor scribus can open the svg
files.

what are the rest of you using when you need to edit the graphics of a
score generated by LP? i'm on linux, but i could eventually use a
windows machine.

any help would be greatly appreciated.

best,

lj


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