The key thing to note is that 'make doc' is not designed to produce PNG output: 
these are at best intermediate files and at worst built as a by-product.  The 
only thing it is designed to create is PDF and HTML output: so the question is, 
as before: what does that look like?

--
Phil Holmes


  ----- Original Message ----- 
  From: Federico Bruni 
  To: Aymeric 
  Cc: lilypond-user Mailinglist 
  Sent: Friday, June 27, 2014 1:06 PM
  Subject: Re: Building documentation: bad PNG output


  Helping you is a hard job and I've just run out of time.

  You are not telling us which source you are using. From a linux distro 
repository? From lilypond git repository?

  You should use git and checkout the 2.18.2 branch, otherwise you won't get 
much help from this list probably.



  And the logs of 'make doc'?


  I give up... Good luck!



  2014-06-27 13:27 GMT+02:00 Aymeric <ejisn...@gmail.com>:

    I’m trying to build 2.18.2, with… LilyPond 2.18.2, so there should be no 
problem, and, as I said, I can generate PNG files from my own scores. I even 
tried with the file you mentioned:

    aymeric[snippets]$ lilypond -dbackend=eps -dno-gs-load-fonts 
-dinclude-eps-fonts --png pitches-headword.ly
    GNU LilyPond 2.18.2
    Processing `pitches-headword.ly'
    Parsing...
    Interpreting music...[8]
    Preprocessing graphical objects...
    Finding the ideal number of pages...
    Fitting music on 1 page...
    Drawing systems...
    Layout output to `pitches-headword.eps'...
    Converting to PNG...
    Layout output to `pitches-headword-1.eps'...
    Writing pitches-headword-systems.texi...
    Writing pitches-headword-systems.tex...
    Writing pitches-headword-systems.count...
    Success: compilation successfully completed

    And here’s the output.



    On 06/27/2014 01:18 PM, Federico Bruni wrote:

      BTW, what's the purpose of building the current stable doc (2.18.2)?
      Which source are you using?



      2014-06-27 13:16 GMT+02:00 Federico Bruni <fedel...@gmail.com

      <mailto:fedel...@gmail.com>>:


          Ok, finally I see what's the problem. I never had such a problem and
          I cannot make a guess. You got no error when running make doc?
          You should check the log files in Documentation:

          ./Documentation/notation.texi2pdf.log
          ./Documentation/notation.bigtexi.log
          ./Documentation/notation.splittexi.log
          ./Documentation/notation.makeinfo.log

          That file is ./Documentation/snippets/pitches-headword.ly

          <http://pitches-headword.ly>

          It seems that the lilypond version you are using cannot compile it.
          Perhaps a version mismatch?





          2014-06-27 13:10 GMT+02:00 Aymeric <ejisn...@gmail.com

          <mailto:ejisn...@gmail.com>>:


              No, I can see the score.

              Here’s a screenshot of how it looks like with my build.



              On 06/27/2014 01:06 PM, Federico Bruni wrote:

                  Those files names are randomly generated. We don't have them!
                  Can you see the same issue on the lilypond website?

                  http://lilypond.org/doc/v2.18/__Documentation/notation/pitches

                  <http://lilypond.org/doc/v2.18/Documentation/notation/pitches>

                  Or send us a screenshot of your web page.


                  2014-06-27 12:58 GMT+02:00 Aymeric <ejisn...@gmail.com
                  <mailto:ejisn...@gmail.com>

                  <mailto:ejisn...@gmail.com <mailto:ejisn...@gmail.com>>>:



                       For example, in the HTML documentation:


                  
file:///usr/doc/lilypond-doc-____2.18.2/html/Documentation/____notation/pitches.html

                  
file:///usr/doc/lilypond-doc-____2.18.2/html/Documentation/eb/____lily-bd76d922.png


                       looks the same as the image I sent before.



                       On 06/27/2014 12:50 PM, Federico Bruni wrote:

                           Don't look there, it's different from what we have.
                  Also, why
                           caring for
                           images in the directories?
                           I'm asking: have you seen that image on the html
                  manual? If so,
                           where?
                           (manual, section, parapraph)


                           2014-06-27 12:39 GMT+02:00 Aymeric
                  <ejisn...@gmail.com <mailto:ejisn...@gmail.com>
                           <mailto:ejisn...@gmail.com 
<mailto:ejisn...@gmail.com>>

                           <mailto:ejisn...@gmail.com
                  <mailto:ejisn...@gmail.com> <mailto:ejisn...@gmail.com

                  <mailto:ejisn...@gmail.com>>>>:

                                lilypond-2.18.2/Documentation/______out-www/00



                                But all the PNG images look the same. I tried
                  to export
                           some PNG
                                myself with LilyPond from my own .ly files,
                  and I don’t
                           have this error.


                                On 06/27/2014 12:31 PM, Federico Bruni wrote:
                                 >
                                 > 2014-06-27 12:19 GMT+02:00 Aymeric
                  <ejisn...@gmail.com <mailto:ejisn...@gmail.com>
                           <mailto:ejisn...@gmail.com 
<mailto:ejisn...@gmail.com>>
                                <mailto:ejisn...@gmail.com
                  <mailto:ejisn...@gmail.com> <mailto:ejisn...@gmail.com
                  <mailto:ejisn...@gmail.com>>>
                                 > <mailto:ejisn...@gmail.com
                  <mailto:ejisn...@gmail.com> <mailto:ejisn...@gmail.com
                  <mailto:ejisn...@gmail.com>>
                           <mailto:ejisn...@gmail.com
                  <mailto:ejisn...@gmail.com> <mailto:ejisn...@gmail.com

                  <mailto:ejisn...@gmail.com>>>>>__:



                                 >
                                 >     I’m tring to build the LilyPond
                  documentation since
                           quite
                                some time,
                                 >     and whereas the PDF and HTLM output is
                  great, the
                           PNG are… well…
                                 >     here is a sample.
                                 >     Where do you think it’s coming from,
                  and can you help me
                                solve this,
                                 >     please?
                                 >
                                 >
                                 >
                                 > You should tell us where you find this
                  image in the html
                                documentation.
                                 > In which section/paragraph?
                                 >














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


  _______________________________________________
  lilypond-user mailing list
  lilypond-user@gnu.org
  https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to