lilypond-user
[Top][All Lists]
Advanced

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

Re: PDF Viewing / Updating a score


From: Mats Bengtsson
Subject: Re: PDF Viewing / Updating a score
Date: Wed, 14 Sep 2005 10:09:57 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

In Linux, you can view the Postscript file if you use a
recent version of Ghostscript (note that GSView in Windows
and gv and ghostview in Linux just are interface programs
that internally use ghostscript to actually show the postscript).
So, I tried to upgrade ghostscript (and the corresponding GSView)
in Windows, but it didn't help. I tried both AFPL version 8.51 and
GPL version 8.15 but both give error messages (included below).
Finally, I tried to let GSView use the ghostscript included in
the LilyPond package, but still got similar error messages.

I don't realize why one and the same ghostscript version works
well in Linux but fails in Windows for the LilyPond generated PS
files. Can anyone provide a hint?

The error message when using AFPL version 8.51 was:

GSview 4.7 2005-03-26
Unknown in Comments section at line 7:
  %%DocumentSuppliedResources: font CenturySchL-Bold

Unknown in Comments section at line 8:
  %%DocumentSuppliedResources: font CenturySchL-Roma

Unknown in Comments section at line 9:
  %%DocumentSuppliedResources: font PFAEmmentaler-20

Unknown in Prolog section at line 14:
  %%Title: CenturySchL-Bold

Unknown in Prolog section at line 15:
  %%CreationDate: Fri Nov 22 10:58:25 2002

Unknown in Prolog section at line 16:
  %%Creator: frob

Unknown in Prolog section at line 17:
  %%DocumentSuppliedResources: font CenturySchL-Bold

Unknown in Prolog section at line 27:
  %%EndComments

Unknown in Prolog section at line 3699:
  %%Title: CenturySchL-Roma

Unknown in Prolog section at line 3700:
  %%CreationDate: Fri Nov 22 10:58:15 2002

Unknown in Prolog section at line 3701:
  %%Creator: frob

Unknown in Prolog section at line 3702:
  %%DocumentSuppliedResources: font CenturySchL-Roma

Unknown in Prolog section at line 3712:
  %%EndComments

Unknown in Prolog section at line 7319:
  %%DocumentSuppliedResources: font PFAEmmentaler-20

Unknown in Prolog section at line 7320:
  %%Title: PFAEmmentaler-20

Unknown in Prolog section at line 7321:
  %%Version: @TOPLEVEL_VERSION@

Unknown in Prolog section at line 7322:
  %%CreationDate: Thu Aug  4 21:39:14 2005

Unknown in Prolog section at line 7323:
  %%Creator: Jan Nieuwenhuizen,,,

Unknown in Prolog section at line 7332:
  %%EndComments


DSC Information
At line 7347:
/Notice (This font is distributed under the GNU General Public License. As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause th

Lines in DSC documents must be shorter than 255 characters.
AFPL Ghostscript 8.51 (2005-04-18)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying DSC file C:/Documents and Settings/mabe/Desktop/a.ps
Displaying page 1
%GSVIEW_PDF_MARK: /ANN /Subtype /Link /Action -dict- /Border Error: /typecheck in --length--
Operand stack:
--nostringval-- Rect --nostringval-- --nostringval-- 0.0 0.0 0.0 4.98132 0 0
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- 1 --nostringval-- %repeat_continue --nostringval--
Dictionary stack:
   --dict:1129/1686(ro)(G)--   --dict:0/20(G)--   --dict:125/200(L)--
Current allocation mode is local
Last OS error: No such file or directory

--- Begin offending input ---
ace glyphshow
 /L glyphshow
 /i glyphshow
 /l glyphshow
 /y glyphshow
 /P glyphshow
 /o glyphshow
 /n glyphshow
 /d glyphshow
 grestore } place-box
061.8237 -163.0777 { gsave 1 output-scale div 1 output-scale div scale
  /CenturySchL-Roma  findfont 3.865234375 scalefont setfont
 /two glyphshow
 /period glyphshow
 /six glyphshow
 /period glyphshow
 /three glyphshow
 grestore } place-box
067.2038 -163.0777 { gsave 1 output-scale div 1 output-scale div scale
  /CenturySchL-Roma  findfont 3.865234375 scalefont setfont
 /emdash glyphshow
 grestore } place-box
069.9890 -163.0777 { gsave 1 output-scale div 1 output-scale div scale
  /CenturySchL-Roma  findfont 3.865234375 scalefont setfont
 /w glyphshow
 /w glyphshow
 /w glyphshow
 /period glyphshow
 /l glyphshow
 /i glyphshow
 /l glyphshow
 /y glyphshow
 /p glyphshow
 /o glyphshow
 /n glyphshow
 /d glyphshow
 /period glyphshow
 /o glyphshow
 /r glyphshow
 /g glyphshow
 grestore } place-box
} stop-system
showpage

--- End offending input ---
file offset = 0
gsapi_run_string_continue returns -101



   /Mats


Trent J wrote:
Hi Bertalan,

Thanks for your reply.

Using the PDF file is not possible for updating since Lilypond deletes the old PDF before writing the new one which means closing the pdf before running lilypond. So viewing the postscript file is the way to go. As I said before gsview for some reason is unable to display lilypond .ps files and as far as I can see is really the only postscript viewer for windows.

VSD replied earlier saying there was a view postscript command in lily4jedit which I use with lilypond. He said that this is doesn't work with the latest lily4jedit version (0.2.8-6) which I'm also using... with windows native version 2.7 of lilypond.

Regards,

Trent

    ------------------------------------------------------------------------
    From:  /Bertalan Fodor <address@hidden>/
    To:  /VSD <address@hidden>/
    CC:  /Trent J <address@hidden>, address@hidden/
    Subject:  /Re: PDF Viewing / Updating a score/
    Date:  /Tue, 13 Sep 2005 19:47:15 +0200/
    Regarding PDF viewing, I'm trying to embed multivalent
    (www.sourceforge.net/projects/multivalent) into lily4jedit, but its
    developer just don't release his latest version, which I would need.
    Perhaps you should write some feature request or into the general
    discussion forums, to make him release.

    Another possible solution is to use gsview (GhostScript viewer) to
    view the PDF (setting it as the external PDF viewer in lily4jedit).
    However, I don't know how to configure it to use point-and-click.
    (It would be very-very good if someone gave a  hint.)

     >Unfortunately this seems to be broken in the last lily4jedit version
     >  (0.2.8-6), at least with lily 2.7.X windows native, because it
     >seems to  mix cygwin paths (using "/" and prefixed with
     >"/cygdrive/") in the call to  the ghostscript which comes with
     >lilypond.

    Please make a bug tracker at www.sourceforge.net/projects/lily4jedit

    Bert


------------------------------------------------------------------------

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

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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