Melodeon.net Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the new melodeon.net forum

Pages: [1]   Go Down

Author Topic: Images and ABC...  (Read 2514 times)

0 Members and 1 Guest are viewing this topic.

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Images and ABC...
« 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

Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

syale

  • The Terrier
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 711
  • When will this MADness stop?
Re: Images and ABC...
« Reply #1 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
Logged
HA114 C/G/A/D, 2915 G/C. Liliput, Club IIB C/F Dino Baffetti Modell 22 B Twitter: @syale

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: Images and ABC...
« Reply #2 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
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

vof

  • Regular debater
  • ***
  • Offline Offline
  • Posts: 221
Re: Images and ABC...
« Reply #3 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
Logged
Vince O'Farrell
Dino BPII; Hohners: red Erica G/C; couple of 1040s in C and G project boxes.

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: Images and ABC...
« Reply #4 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
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

Pete Dunk

  • Typo Expert
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3706
Re: Images and ABC...
« Reply #5 on: January 20, 2017, 04:24:37 PM »

For those people with a Facebook account there is an ABC Notation Users group frequented by a few people who don't post here. There is also a Yahoo! group 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.
Logged
Squeezing on the Isle of Oxney, UK
Primo (Serenellini) D/G
Isis D/G
Hohner B/E, G/C, C/F, Bb/Eb G/C/F
Liliputs D/G (G scale), C/F, Bb/Eb, Albrecht Custom D/G (G scale)

Jack Campin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 764
    • Jack Campin's Home Page
Re: Images and ABC...
« Reply #6 on: January 20, 2017, 06:05:33 PM »

Anybody who signs up to Yahoo for anything needs their head read.
Logged
http://www.campin.me.uk/

I can't figure out how to quit but I will no longer check this group and have deleted all shortcuts to it.
Pages: [1]   Go Up
 


Melodeon.net - (c) Theo Gibb; Clive Williams 2010. The access and use of this website and forum featuring these terms and conditions constitutes your acceptance of these terms and conditions.
SimplePortal 2.3.5 © 2008-2012, SimplePortal