Re: failed install lilypond

2008-12-04 Thread Francisco Vila
2008/12/4 Jürgen Buschmann <[EMAIL PROTECTED]>:
> Hi everyone,
>
> I'm using LinuxOS and installung lilypond as instructed by shsh-command 
> did
> not work out. So when I open the console after downloading and enter the 
> command
> sh lilypond-2.10.33-1.linux-ppc.sh (for instance) nothing really happens, 
> apart
> from an error-report: file not found. Am I silly?

The argument to the sh command has to be in the current directory.
Move to the one where you downoladed the file and repeat the command.
-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Re: lilypond-book DVI to PDF problems

2008-12-04 Thread Jonathan Kulp

Mats Bengtsson wrote:



Jonathan Kulp wrote:


For reference, when I run the command "latex" the program that 
responds is "pdfTeXk".
Yes, but as long as you run it using the command "latex" it should run 
in latex mode and not
in pdflatex mode. If you look at the printouts from the latex command, 
you can see the difference.

As long as it runs in latex mode, it will among other output a line like:
(.../tex/latex/graphics/dvips.def)))
and a number of 
whereas if you run pdflatex, the corresponding output messages will be 
something like

(.../tex/latex/graphics/pdftex.def)))
and a number of 


   /Mats

Thanks for the explanation, Mats.  It all makes perfect sense and maybe 
I haven't had problems yet just because I've been lucky.  I changed 
"latex" to "pdflatex" in my script and the result looks exactly the same 
but if pdflatex is more appropriate then I'm happy to use it.


The problem I had was clearly related to my build of lilypond yesterday, 
so that's the only thing I need to figure out now.  I've built LP from 
source many times and had no problems with processing lilypond-book 
files before, so I don't know what happened.  If someone else happened 
to build LP yesterday and has the same problem then it might be a bug, 
otherwise I'll assume my build had a failure somewhere.  It processed 
regular lilypond files perfectly, but the dvi files created from 
lilypond-book and then latex (or as you say, pdfTeXk running in regular 
latex mode) failed to convert to pdf.


Thanks again for the detailed explanation and renewed apologies for my 
grumpiness. :)


Jon

--
Jonathan Kulp
http://www.jonathankulp.com


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


failed install lilypond

2008-12-04 Thread Jürgen Buschmann
Hi everyone,

I'm using LinuxOS and installung lilypond as instructed by shsh-command did
not work out. So when I open the console after downloading and enter the command
sh lilypond-2.10.33-1.linux-ppc.sh (for instance) nothing really happens, apart
from an error-report: file not found. Am I silly? 

Thanks for your help!
Jürgen



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


Re: lilypond-book DVI to PDF problems

2008-12-04 Thread Mats Bengtsson



Jonathan Kulp wrote:


For reference, when I run the command "latex" the program that 
responds is "pdfTeXk".
Yes, but as long as you run it using the command "latex" it should run 
in latex mode and not
in pdflatex mode. If you look at the printouts from the latex command, 
you can see the difference.

As long as it runs in latex mode, it will among other output a line like:
(.../tex/latex/graphics/dvips.def)))
and a number of 
whereas if you run pdflatex, the corresponding output messages will be 
something like

(.../tex/latex/graphics/pdftex.def)))
and a number of 


   /Mats


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


Re: lilypond-book DVI to PDF problems

2008-12-04 Thread Mats Bengtsson



Jonathan Kulp wrote:
Give me some credit, man!  Of course I've read the manual for Lilypond 
and for LaTeX.  I don't use dvips, I use dvipdf, and the sequence of 
commands in my script always work.  The commands weren't the problem.
The thing is that latex and pdflatex handle included graphics completely 
different, by default.

The code generated by lilypond-book includes constructs of the form
\includegraphics{somefilename}
If you process the file using latex, then this construct will include 
the EPS file somefilename.eps
whereas if you process it using pdflatex, it will include the PDF file 
somefilename.pdf.
This in turn means completely different things, when it comes to font 
handling in the included

files, for example.

Note also that dvipdf is a shell script that internally first calls 
dvips and

then ghostscript to convert the resulting postscript file to PDF.

  /Mats


On the other hand, this didn't answer your question on why it worked 
with some releases and not

with others. ;-(


Precisely.



--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: lilypond-book DVI to PDF problems

2008-12-04 Thread Jonathan Kulp

Jonathan Kulp wrote:



Quick follow-up to this.  The installation of 2.11.65 that failed was 
one that I built from source pulled from git today.  Just to try one 
more variable, I installed the pre-compiled binary of 2.11.65 and (of 
course) it ran the files successfully.  I suppose something didn't go 
right when I compiled today.  Funny because the installation I compiled 
worked fine on regular lilypond files but it didn't work with 
lilypond-book.


So now I don't really know whether there's a problem or not. :(  If 
anyone feels like investigating this I'd be very curious to see how it 
goes.


Best,

Jon


Thanks for all of the feedback, guys.  Sorry for being prickly, Mats, 
but I get that way when someone suggests I haven't read the manual.  I 
have working commands that happen to be slightly different than what's 
in the manual.


Just a reminder of my follow-up from last night (see above), which 
explained that the problem was likely in my build of lilypond from the 
latest git, since everything worked normally when I installed the 
2.11.65 pre-compiled binary.


For reference, when I run the command "latex" the program that responds 
is "pdfTeXk".


The instruction to run dvipdf on the dvi file come from the LaTeX 
manual, not the Lilypond manual, and this has always worked for me so I 
don't bother with dvips.


Best,

Jon

--
Jonathan Kulp
http://www.jonathankulp.com


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


Re: lilypond-book DVI to PDF problems

2008-12-04 Thread Graham Percival
On Thu, Dec 04, 2008 at 12:47:44PM +0100, Werner LEMBERG wrote:
> > Sorry dude, I'm with Mats here.  Does pdflatex work?  Alternately,
> > does lilypond-book +dvips work if you omit the --pdf ?  [...]
> 
> Using pdflatex exclusively is a *bad* idea.

Really?  I do everything this way:
  lilypond-book --pdf foo.lytex
  pdflatex foo.tex
  xpdf foo.pdf
I've never had a problem with the resulting foo.pdf.  What are the
dangers?

Cheers,
- Graham


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


Re: lilypond-book DVI to PDF problems

2008-12-04 Thread Werner LEMBERG
> Sorry dude, I'm with Mats here.  Does pdflatex work?  Alternately,
> does lilypond-book +dvips work if you omit the --pdf ?  [...]

Using pdflatex exclusively is a *bad* idea.  Jon, send me a small
input file which fails with lilypond-book.  Process the DVI file with

  KPATHSEA_DEBUG=-1 dvipdf... 2> logfile

and send everything to me (compressed).  Maybe I can identify the
problem.


Werner


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


Re: lilypond-book DVI to PDF problems

2008-12-04 Thread Werner LEMBERG
> I don't use dvips, I use dvipdf, [...]

Any reason to not replace this with its much enhanced version,
dvipdfmx?


Werner


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


Re: lilypond-book DVI to PDF problems

2008-12-04 Thread Graham Percival
On Wed, Dec 03, 2008 at 06:47:42PM -0600, Jonathan Kulp wrote:
> Would someone mind trying lilypond-book with a LaTeX file and converting  
> to pdf to confirm this?

ok, done.  2.11.65.  lilypond-book and lilypond-book --pdf work
fine with the correct sequence of commands.

## note that if you run one sequence of commands, you must delete
## the intermediate files before trying the second sequence of
## commands -- lilypond-book doesn't recognize that you're
## switching from --pdf to non-pdf.


Also note that a reorg of AU is planned in the spring, so don't
bother telling me that the doc page is an absolute bloody mess.
:)

Cheers,
- Graham


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


Re: lilypond-book DVI to PDF problems

2008-12-04 Thread Graham Percival
On Thu, Dec 04, 2008 at 05:26:37AM -0600, Jonathan Kulp wrote:
> Mats Bengtsson wrote:
>>
>>> lilypond-book --output=out --pdf filename.lytex
>>> cd out
>>> latex filename.tex
>>> dvipdf filename.dvi
>>>
>> Please read the manual! The output of lilypond-book --pdf is only  
>> intended to be used together with
>> pdflatex, not with latex + dvips.
>>
> Give me some credit, man!  Of course I've read the manual for Lilypond  
> and for LaTeX.  I don't use dvips, I use dvipdf, and the sequence of  
> commands in my script always work.  The commands weren't the problem.

Sorry dude, I'm with Mats here.  Does pdflatex work?  Alternately,
does lilypond-book +dvips work if you omit the --pdf ?

If the answer to those two question is 'yes', then I say we don't
have any problem here whatsoever; if it wasn't supposed to work,
then I don't care if it doesn't.  Don't forget that you added a
bunch of texlive packages; maybe that fixed something that was
broken on your computer?

Cheers,
- Graham


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


Re: lilypond-book DVI to PDF problems

2008-12-04 Thread Jonathan Kulp

Mats Bengtsson wrote:



Jonathan Kulp wrote:

Here are the commands I performed:

lilypond-book --output=out --pdf filename.lytex

cd out

latex filename.tex

dvipdf filename.dvi

Please read the manual! The output of lilypond-book --pdf is only 
intended to be used together with

pdflatex, not with latex + dvips.

Give me some credit, man!  Of course I've read the manual for Lilypond 
and for LaTeX.  I don't use dvips, I use dvipdf, and the sequence of 
commands in my script always work.  The commands weren't the problem.


On the other hand, this didn't answer your question on why it worked 
with some releases and not

with others. ;-(


Precisely.

--
Jonathan Kulp
http://www.jonathankulp.com


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


Re: lilypond-book DVI to PDF problems

2008-12-04 Thread Mats Bengtsson



Jonathan Kulp wrote:

Here are the commands I performed:

lilypond-book --output=out --pdf filename.lytex

cd out

latex filename.tex

dvipdf filename.dvi

Please read the manual! The output of lilypond-book --pdf is only 
intended to be used together with

pdflatex, not with latex + dvips.

On the other hand, this didn't answer your question on why it worked 
with some releases and not

with others. ;-(

/Mats


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