Melodeon.net Forums

Discussions => Tunes => ABC => Topic started by: Roger Hare on January 19, 2017, 12:38:14 PM

Title: Images and ABC...
Post by: Roger Hare on January 19, 2017, 12:38:14 PM
I'm using EasyABC, and am generating a 'PDF book' from a large(ish) ABC file.

I want to include an illustration. I have converted the relevant JPG file to EPS using GIMP, and
then used the:

%%EPS E:\WORKINPROGRESS\file.eps

directive in an attempt to get the image into the output PDF file (E:\WORKINPROGRESS\file.eps
is the complete specification of the image file).

Result - zilch - no image - but no mangled output either. Output is produced just as if the %%EPS
directive weren't there....

Does anyone out there know if the %%EPS directive will work within EasyABC, or have I got to
explicitly use abcm2ps in command line mode (and then worry about converting PostScript to PDF)?

I've looked at GG's manual and at the relevant web pages, and as far as I can see, what I am
doing is correct. Any advice gratefully received.

Thank you.

Roger

Title: Re: Images and ABC...
Post by: syale on January 19, 2017, 05:59:02 PM
Try putting the image in the same folder as the ABC file and using a path like this %%EPS ..\file.eps
Title: Re: Images and ABC...
Post by: Roger Hare on January 19, 2017, 06:27:06 PM
Try putting the image in the same folder as the ABC file and using a path like this %%EPS ..\file.eps

Already tried that - no joy. I'll look at it again tomorrow. I think I must be doing something really dumb,
and just need to sleep on it...

Thanks.

Roger
Title: Re: Images and ABC...
Post by: vof on January 19, 2017, 09:55:41 PM
I use ABCexplorer on Windows but have a recent installation of EasyABC 1.3.7.6 on my Linux workstation. I successfully inserted the example EPS file sample3.eps supplied in the abcm2ps documentation into an exported PDF file but it was necessary to specify the full hierarchic path to the file in the %%EPS command because I could not identify which folder abcm2ps was using as its default. A unfortunate side effect of this is that it is likely that your abc file becomes platform-specific because Windows and Linux/UNIX/MacOS pathnames have different syntax.

Have you checked that your EPS file is valid? It's probably worth experimenting with sample3.eps if you can find it in your abcm2ps folders.

Vince
Title: Re: Images and ABC...
Post by: Roger Hare on January 20, 2017, 07:24:37 AM
...have a recent installation of EasyABC 1.3.7.6 on my Linux workstation. I successfully inserted the example EPS
file sample3.eps supplied in the abcm2ps documentation into an exported PDF file but it was necessary to specify
the full hierarchic path...unfortunate side effect of this is that it is likely that your abc file becomes platform-specific
because Windows and Linux/UNIX/MacOS pathnames have different syntax.

Have you checked that your EPS file is valid? It's probably worth experimenting with sample3.eps if you can find it in
your abcm2ps folders.

Thanks for all that. I'm a Windoze only user at the moment, so the path problem
isn't important, but the point is well-made!

I went back to basics, copied the example from the manual, used the sample3.eps
file and it worked! I substituted my own file for sample3.eps and it worked! So, the
problem is something not immediately obvious in the syntax of my ABC script. I'll
get 1t sorted later today.

Thanks very much!

Roger
Title: Re: Images and ABC...
Post by: Pete Dunk on January 20, 2017, 04:24:37 PM
For those people with a Facebook account there is an ABC Notation Users group (https://www.facebook.com/groups/498671610282070/) frequented by a few people who don't post here. There is also a Yahoo! group (https://groups.yahoo.com/neo/groups/abcusers/info) that I'm a member of, but that is geek central and much of it goes over my head. That said, this was quite a technical query so perhaps the Yahoo! group would be of interest to a few people here.
Title: Re: Images and ABC...
Post by: Jack Campin on January 20, 2017, 06:05:33 PM
Anybody who signs up to Yahoo for anything needs their head read.
SimplePortal 2.3.5 © 2008-2012, SimplePortal