Re: lilypond-book: warning: cannot detect textwidth from LaTeX

2016-07-28 Thread Federico Bruni

David, many thanks for showing a working example.


 Dissecting...
 lilypond-book: error: file not found: 23.10.63.ly


This is embarassing: it was just an oversight of mine, as the file name 
is 23-10-63.ly. Sorry.


The other problem was related to the lilypond executable:

1. lilypond.org binary package version 2.19.45 installed in 
~/.local/bin had some relocation problem (see output pasted in a 
previous email)
2. Fedora lilypond package had another sort of problem (see below). 
Don't know if this is related to GCC6.


Finally I installed version 2.19.46 under /usr/local and it works fine.

So problem solved.
Thanks
Federico


PS
This is the error when I run fedora package installed in /usr/bin:

$ LANG=C lilypond-book --include=/home/fede/Documenti/spartiti/ly 
--output=out --pdf Antologia-Unterberger.lytex

lilypond-book (GNU LilyPond) 2.19.45
Reading Antologia-Unterberger.lytex...
Running `pdflatex' on file `/tmp/tmpXXvUe9.tex' to detect default page 
settings.


Dissecting...
Writing snippets...
Processing...
Running lilypond...
GNU LilyPond 2.19.45
Processing `./snippet-map--9017404594108087438.ly'
Parsing...
Processing `./11/lily-a176969c.ly'
Parsing...
Renaming input to: `23-10-63.ly'
Interpreting music...[8][16]
Preprocessing graphical objects...command failed: /usr/bin/lilypond 
--formats=ps -dbackend=eps -I "./" -I "../" -I 
"/home/fede/Documenti/spartiti/ly" --formats=eps --pdf 
-dinclude-eps-fonts -dgs-load-fonts -deps-box-padding=3.00  
-dread-file-list -dno-strip-output-dir 
"/home/fede/Documenti/spartiti/Unterberger/out/snippet-names--9017404594108087438.ly"

Child was terminated by signal 11




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


Re: lilypond-book: warning: cannot detect textwidth from LaTeX

2016-07-27 Thread David Wright
On Wed 27 Jul 2016 at 08:57:26 (+0200), Federico Bruni wrote:
> The libraries error was due to some path and relocation problem,
> because if I use Fedora lilypond package (/usr/bin) everything works
> correctly.
> 
> Except that the .tex file generated by lilypond-book is saved in
> /tmp and when the .ly file is included it cannot find it.
> What's wrong in the below .lytex file?
> 
> 
> 
> $ which lilypond-book
> /usr/bin/lilypond-book
> 
> $ lilypond-book --include=/home/fede/Documenti/spartiti/ly
> --output=out --pdf file.lytex
> lilypond-book (GNU LilyPond) 2.19.45
> Reading file.lytex...
> Running `pdflatex' on file `/tmp/tmpw7DwQy.tex' to detect default
> page settings.
> 
> Dissecting...
> lilypond-book: error: file not found: 23.10.63.ly
> 
> 
> 
> Why it's creating a .tex file in /tmp and calling pdflated on it?
> According to the Usage manual¹, that commmand should generate a .tex
> file and then _I_ should launch pdflatex.

At the point your process stopped, it's barely begun. The file in /tmp
will contain something like

\nonstopmode
\documentclass[a4paper]{article}
\begin{document}
\typeout{textwidth=\the\textwidth}
\typeout{columnsep=\the\columnsep}
\makeatletter\if@twocolumn\typeout{columns=2}\fi\makeatother
\end{document}

and normally it disappears in a flash. (I had to run
while : ; do cat /tmp/tmp*.tex ; done
in a captured session just to find that out.)

The clue as to why it gets no further is in the error message.
The bash functions I actually use to run LP and TeX keep things simple
by changing into the appropriate directories, so start with everything
in /tmp. Then change one thing at a time.

Here's an example run of mine, using just the naked commands. I've
inserted blank lines before each prompt (which prints the current
directory):

/tmp $ cat boo.lytex
\documentclass[a4paper]{article}
\begin{document}
Documents for \verb+lilypond-book+ may freely mix music and text.
For example,
\begin{lilypond}
\relative {
  c'2 e2 \tuplet 3/2 { f8 a b } a2 e4
}
\end{lilypond}
\lilypondfile[quote,noindent,line-width=15\cm]{bigger.ly}
\end{document}

/tmp $ cat bigger.ly
{ c' d' e' f' g' a' b' c'' g c' e' g' c'' e'' g'' c''' }

/tmp $ lilypond-book --output=out --pdf boo.lytex
lilypond-book (GNU LilyPond) 2.18.2
Reading boo.lytex...
Running `pdflatex' on file `/tmp/tmpZjkSDV.tex' to detect default page settings.

Dissecting...
Writing snippets...
Processing...
Running lilypond...
GNU LilyPond 2.18.2
Processing `snippet-map--1217663831.ly'
Parsing...
Processing `boo.lytex'
Parsing...
Renaming input to: `bigger.ly'
Interpreting music...
Preprocessing graphical objects...
Calculating line breaks... 
Drawing systems... 
Layout output to `5a/lily-42767417.eps'...
Converting to `5a/lily-42767417.pdf'...
Layout output to `5a/lily-42767417-1.eps'...
Converting to `5a/lily-42767417-1.pdf'...
Writing 5a/lily-42767417-systems.texi...
Writing 5a/lily-42767417-systems.tex...
Writing 5a/lily-42767417-systems.count...
Processing `boo.lytex'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Calculating line breaks... 
Drawing systems... 
Layout output to `ac/lily-941a492d.eps'...
Converting to `ac/lily-941a492d.pdf'...
Layout output to `ac/lily-941a492d-1.eps'...
Converting to `ac/lily-941a492d-1.pdf'...
Writing ac/lily-941a492d-systems.texi...
Writing ac/lily-941a492d-systems.tex...
Writing ac/lily-941a492d-systems.count...
Success: compilation successfully completed
Linking files...
Compiling /tmp/out/boo.tex...
Writing `/tmp/out/boo.tex'...

/tmp $ cd out

/tmp/out $ lualatex boo.tex
This is LuaTeX, Version beta-0.79.1 (TeX Live 2015/dev/Debian) (rev 4971) 
 restricted \write18 enabled.
(./boo.tex
LaTeX2e <2014/05/01>
Babel <3.9l> and hyphenation patterns for 44 languages loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/luatex-loader.sty
(/usr/share/texlive/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua)
No file boo.aux.
(/usr/share/texlive/texmf-dist/tex/context/bas

Re: lilypond-book: warning: cannot detect textwidth from LaTeX

2016-07-27 Thread Federico Bruni
The libraries error was due to some path and relocation problem, 
because if I use Fedora lilypond package (/usr/bin) everything works 
correctly.


Except that the .tex file generated by lilypond-book is saved in /tmp 
and when the .ly file is included it cannot find it.

What's wrong in the below .lytex file?



$ which lilypond-book
/usr/bin/lilypond-book

$ lilypond-book --include=/home/fede/Documenti/spartiti/ly --output=out 
--pdf file.lytex

lilypond-book (GNU LilyPond) 2.19.45
Reading file.lytex...
Running `pdflatex' on file `/tmp/tmpw7DwQy.tex' to detect default page 
settings.


Dissecting...
lilypond-book: error: file not found: 23.10.63.ly



Why it's creating a .tex file in /tmp and calling pdflated on it?
According to the Usage manual¹, that commmand should generate a .tex 
file and then _I_ should launch pdflatex.


¹ 
http://lilypond.org/doc/v2.19/Documentation/usage/invoking-lilypond_002dbook



Il giorno lun 25 lug 2016 alle 8:59, Federico Bruni 
<f...@inventati.org> ha scritto:

Hi folks

I've searched the archives but couldn't find an answer to this 
problem.


I have a file.lytex file which contains these lines:

%%
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}

\begin{document}

\lilypondfile[noindent,line-width=15\cm]{23.10.63.ly}

\end{document}
%%

I compile it with the below command. What's wrong with it?
I set the width of the lilypond file, while the document width is 
already set by \documentclass. What else is missing?


Thanks
Federico


$ make
lilypond-book --include=/home/fede/Documenti/spartiti/ly --output=out 
file.lytex;

lilypond-book (GNU LilyPond) 2.19.45
Reading file.lytex...
Running `latex' on file `/tmp/tmphleGw3.tex' to detect default page 
settings.


lilypond-book: warning: Unable to auto-detect default settings:
latex: /home/fede/.local/lilypond/usr/lib/libz.so.1: no version 
information available (required by /lib64/libpng16.so.16)
latex: /home/fede/.local/lilypond/usr/lib/libjpeg.so.62: no version 
information available (required by /lib64/libpoppler.so.58)
latex: /home/fede/.local/lilypond/usr/lib/libtiff.so.5: no version 
information available (required by /lib64/libpoppler.so.58)
latex: /home/fede/.local/lilypond/usr/lib/libstdc++.so.6: version 
`CXXABI_1.3.9' not found (required by /lib64/libpoppler.so.58)


lilypond-book: warning: cannot detect textwidth from LaTeX
Dissecting...
lilypond-book: error: file not found: 23.10.63.ly

Traceback (most recent call last):
 File "/home/fede/.local/lilypond/usr/bin/lilypond-book", line 789, 
in ?

   main ()
 File "/home/fede/.local/lilypond/usr/bin/lilypond-book", line 772, 
in main

   chunks = do_file (files[0])
 File "/home/fede/.local/lilypond/usr/bin/lilypond-book", line 611, 
in do_file

   chunks = find_toplevel_snippets (source, global_options.formatter)
 File "/home/fede/.local/lilypond/usr/bin/lilypond-book", line 362, 
in find_toplevel_snippets

   snip = klass (type, m, formatter, line_number, global_options)
 File 
"/home/fede/.local/lilypond/usr/share/lilypond/current/python/book_snippets.py", 
line 825, in __init__

   global_options.include_path, global_options.original_dir)).read ()
 File 
"/home/fede/.local/lilypond/usr/share/lilypond/current/python/book_base.py", 
line 27, in find_file

   exit (1)
TypeError: 'str' object is not callable
Makefile:20: recipe for target 'file.pdf' failed
make: *** [file.pdf] Error 1




___
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


lilypond-book: warning: cannot detect textwidth from LaTeX

2016-07-25 Thread Federico Bruni

Hi folks

I've searched the archives but couldn't find an answer to this problem.

I have a file.lytex file which contains these lines:

%%
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}

\begin{document}

\lilypondfile[noindent,line-width=15\cm]{23.10.63.ly}

\end{document}
%%

I compile it with the below command. What's wrong with it?
I set the width of the lilypond file, while the document width is 
already set by \documentclass. What else is missing?


Thanks
Federico


$ make
lilypond-book --include=/home/fede/Documenti/spartiti/ly --output=out 
file.lytex;

lilypond-book (GNU LilyPond) 2.19.45
Reading file.lytex...
Running `latex' on file `/tmp/tmphleGw3.tex' to detect default page 
settings.


lilypond-book: warning: Unable to auto-detect default settings:
latex: /home/fede/.local/lilypond/usr/lib/libz.so.1: no version 
information available (required by /lib64/libpng16.so.16)
latex: /home/fede/.local/lilypond/usr/lib/libjpeg.so.62: no version 
information available (required by /lib64/libpoppler.so.58)
latex: /home/fede/.local/lilypond/usr/lib/libtiff.so.5: no version 
information available (required by /lib64/libpoppler.so.58)
latex: /home/fede/.local/lilypond/usr/lib/libstdc++.so.6: version 
`CXXABI_1.3.9' not found (required by /lib64/libpoppler.so.58)


lilypond-book: warning: cannot detect textwidth from LaTeX
Dissecting...
lilypond-book: error: file not found: 23.10.63.ly

Traceback (most recent call last):
 File "/home/fede/.local/lilypond/usr/bin/lilypond-book", line 789, in 
?

   main ()
 File "/home/fede/.local/lilypond/usr/bin/lilypond-book", line 772, in 
main

   chunks = do_file (files[0])
 File "/home/fede/.local/lilypond/usr/bin/lilypond-book", line 611, in 
do_file

   chunks = find_toplevel_snippets (source, global_options.formatter)
 File "/home/fede/.local/lilypond/usr/bin/lilypond-book", line 362, in 
find_toplevel_snippets

   snip = klass (type, m, formatter, line_number, global_options)
 File 
"/home/fede/.local/lilypond/usr/share/lilypond/current/python/book_snippets.py", 
line 825, in __init__

   global_options.include_path, global_options.original_dir)).read ()
 File 
"/home/fede/.local/lilypond/usr/share/lilypond/current/python/book_base.py", 
line 27, in find_file

   exit (1)
TypeError: 'str' object is not callable
Makefile:20: recipe for target 'file.pdf' failed
make: *** [file.pdf] Error 1




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


Re: lilypond-book: warning: cannot detect textwidth from LaTeX

2014-09-26 Thread Marc Hohl

Am 25.09.2014 um 20:51 schrieb Julien Rioux:

On 24/09/2014 11:52 AM, Xirux Nefer wrote:

I am using lilypond-book to compile solfeo.lytex:


[...]



[...]

Thanks for your report. This seems to me like the same issue as
https://code.google.com/p/lilypond/issues/detail?id=2471


Ah, ok. I wasn't aware of any xelatex-specific bugs to lilypond-book.

I am currently working on a new project with xelatex/lilypond-book on
ubuntu 14.04 and did not encounter any problems so far.

Marc


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


Re: lilypond-book: warning: cannot detect textwidth from LaTeX

2014-09-26 Thread Xirux Nefer
Davide Liessi davide.liessi at gmail.com writes:

 The warning is correct: 'fontload' is not among the possible options
 What were you trying to achieve with that option?

I swear I saw that in the documentation, ha ha... although after 3 days
reading lilypond's docs I may have ended up suffering spectral visions. I
was trying to set custom fonts in the .ly file and then telling LilyPond to
be aware of those fonts when it was the time to spit them out into my TeX
document.



 i.e. you told lilypond-book to invoke LilyPond with the following command:
lilypond --define-default=line-width=12\cm
 Also in this case the warning is correct: 'line-width' is not a
 possible option

 You probably wanted to specify the line width of the fragments, you 
 should specify it in the single LilyPond fragments, e.g.
   
 \lilypondfile[indent=1\cm,ragged-right,line-width=12\cm]
 {scores/Lesson_1.01.xml.ly}

Yeah, that's exactly what I was trying to do, I had tried specifying it in
the single LilyPond fragments first, but it was ignoring it, i.e., running
the same MWE with that option added, and compiling with the same command in
the CLI with that option removed, the snippet was wider than my document's
\textwidth. That's why I moved that option from the fragment to the command
line. I also tried using it in both places. But still no luck...

Anyway, thanks for the help =)



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


Re: lilypond-book: warning: cannot detect textwidth from LaTeX

2014-09-25 Thread Marc Hohl

Am 24.09.2014 um 17:52 schrieb Xirux Nefer:

I am using lilypond-book to compile solfeo.lytex:

---

\documentclass[12pt,a4paper]{book}
\usepackage[textwidth=12cm,textheight=20cm]{geometry}
\usepackage{lipsum}
\usepackage{fontspec}
\usepackage{Alegreya}
\begin{document}
\lipsum[1]
\lilypondfile[indent=1\cm,fontload,ragged-right]{scores/Lesson_1.01.xml.ly}
\lipsum[2-4]
\end{document}

---


Using:

---

lilypond-book --output=out --latex-program=xelatex --left-padding=0
--process='lilypond --define-default=line-width=12\cm' solfeo.lytex

---


And I  am getting the error in the subject of this message. The output of
the compilation is:


[...]

Have you tried to comment out the line \lilypondfile... and compile the
document directly with xelatex? It looks as if xelatex has some 
problems, not lilypond ...




lilypond-book: warning: cannot detect textwidth from LaTeX
Dissecting...
Writing snippets...
lilypond-book: warning: ignoring unknown ly option: fontload


Ok, lilypond-book claims that the option 'fontload' does not exist.

But everything else looks like a xelatx-specific problem to me.

HTH,

Marc


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


Re: lilypond-book: warning: cannot detect textwidth from LaTeX

2014-09-25 Thread Xirux Nefer
Marc Hohl marc at hohlart.de writes:

 
 Have you tried to comment out the line \lilypondfile... and compile the
 document directly with xelatex? It looks as if xelatex has some 
 problems, not lilypond ...
 

Yes. If I comment that line:

---

\documentclass[12pt,a4paper]{book}
\usepackage[textwidth=12cm,textheight=20cm]{geometry}
\usepackage{lipsum}
\usepackage{fontspec}
\usepackage{Alegreya}
\begin{document}
\lipsum[1]
%\lilypondfile[indent=1\cm,fontload,ragged-right]{scores/Lesson_1.01.xml.ly}
\lipsum[2-4]
\end{document}

---

And then compile with:
xelatex solfeo.lytex


I get the following output:

---

This is XeTeX, Version 3.1415926-2.5-0..3 (TeX Live 2013/Debian)
 restricted \write18 enabled.
entering extended mode
(./solfeo.lytex
LaTeX2e 2011/06/27
Babel 3.9h and hyphenation patterns for 2 languages loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/book.cls
Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/bk12.clo))
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
--- A bunch of .sty files here ---
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/xelatex/xetex-def/xetex.def
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg))) (./solfeo.aux)
(/usr/share/texmf/tex/latex/tipa/t3cmr.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
[1] [2] (./solfeo.aux) )
Output written on solfeo.pdf (2 pages).
Transcript written on solfeo.log.

---

Nothing weird to my ignorant eyes.


  lilypond-book: warning: ignoring unknown ly option: fontload
 
 Ok, lilypond-book claims that the option 'fontload' does not exist.
 
 But everything else looks like a xelatx-specific problem to me.
 
 HTH,
 
 Marc
 


This is also weird... why doesn't it recognize the fontload option?
Cheers


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


Re: lilypond-book: warning: cannot detect textwidth from LaTeX

2014-09-25 Thread Davide Liessi
Hi.

I can't say much about the xelatex issue (except that it actually
looks like issue 2471, as Julien wrote), because I can't reproduce it
on my machine (Mac OS 10.6.8).

However, you have a couple of problems with LilyPond and lilypond-book.

1. You got the following warning:
 lilypond-book: warning: ignoring unknown ly option: fontload
because you wrote in the file:
 \lilypondfile[indent=1\cm,fontload,ragged-right]{scores/Lesson_1.01.xml.ly}

The warning is correct: 'fontload' is not among the possible options
of lilypond-book's pseudo-commands and pseudo-environments, as you can
see in the usage manual:
http://lilypond.org/doc/v2.18/Documentation/usage/music-fragment-options

What were you trying to achieve with that option?

2. You got the following warning:
 advertencia: no existe la opción interna line-width
because you invoked lilypond-book with the following command:
 lilypond-book --output=out --latex-program=xelatex --left-padding=0
 --process='lilypond --define-default=line-width=12\cm' solfeo.lytex
i.e. you told lilypond-book to invoke LilyPond with the following command:
   lilypond --define-default=line-width=12\cm

Also in this case the warning is correct: 'line-width' is not a
possible option of the lilypond program, as you can see in the usage
manual:
http://lilypond.org/doc/v2.18/Documentation/usage/command_002dline-usage

You probably wanted to specify the line width of the fragments,
because lilypond-book wasn't able to determine it from xelatex.
'line-width' is an option of lilypond-book's pseudo-commands and
pseudo-environments: you should specify it in the single LilyPond
fragments, e.g.
   
\lilypondfile[indent=1\cm,ragged-right,line-width=12\cm]{scores/Lesson_1.01.xml.ly}
See again the usage manual:
http://lilypond.org/doc/v2.18/Documentation/usage/music-fragment-options

If you explicitly specify the line-width in each fragment,
lilypond-book will still try to determine the line width automatically
(you'll still get all the xelatex warnings), but will use the
explicitly specified value (the warnings will have no effect on the
end result).

Best wishes.
Davide

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


lilypond-book: warning: cannot detect textwidth from LaTeX

2014-09-24 Thread Xirux Nefer
I am using lilypond-book to compile solfeo.lytex:

---

\documentclass[12pt,a4paper]{book}
\usepackage[textwidth=12cm,textheight=20cm]{geometry}
\usepackage{lipsum}
\usepackage{fontspec}
\usepackage{Alegreya}
\begin{document}
\lipsum[1]
\lilypondfile[indent=1\cm,fontload,ragged-right]{scores/Lesson_1.01.xml.ly}
\lipsum[2-4]
\end{document}

---


Using:

---

lilypond-book --output=out --latex-program=xelatex --left-padding=0
--process='lilypond --define-default=line-width=12\cm' solfeo.lytex

---


And I  am getting the error in the subject of this message. The output of
the compilation is:

---

lilypond-book (GNU LilyPond) 2.18.2
Reading solfeo.lytex...
Running `xelatex' on file `/tmp/tmpy8LoN0.tex' to detect default page settings.

lilypond-book: warning: Unable to auto-detect default settings:
xelatex: /home/admin/lilypond/usr/lib/libpng12.so.0: no version information
available (required by xelatex)
xelatex: /home/admin/lilypond/usr/lib/libstdc++.so.6: no version information
available (required by xelatex)
xelatex: /home/admin/lilypond/usr/lib/libstdc++.so.6: no version information
available (required by xelatex)
xelatex: /home/admin/lilypond/usr/lib/libstdc++.so.6: no version information
available (required by xelatex)
xelatex: /home/admin/lilypond/usr/lib/libstdc++.so.6: no version information
available (required by xelatex)
xelatex: /home/admin/lilypond/usr/lib/libstdc++.so.6: no version information
available (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.52)
xelatex: /home/admin/lilypond/usr/lib/libstdc++.so.6: no version information
available (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.52)
xelatex: /home/admin/lilypond/usr/lib/libpng12.so.0: no version information
available (required by /usr/lib/x86_64-linux-gnu/libpoppler.so.44)
xelatex: /home/admin/lilypond/usr/lib/libstdc++.so.6: no version information
available (required by /usr/lib/x86_64-linux-gnu/libpoppler.so.44)
xelatex: /home/admin/lilypond/usr/lib/libstdc++.so.6: no version information
available (required by /usr/lib/x86_64-linux-gnu/libpoppler.so.44)
Fontconfig error: Cannot load default config file
xelatex: symbol lookup error: /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0:
undefined symbol: g_unicode_script_to_iso15924

lilypond-book: warning: cannot detect textwidth from LaTeX
Dissecting...
Writing snippets...
lilypond-book: warning: ignoring unknown ly option: fontload
Processing...
Running lilypond...
GNU LilyPond 2.18.2
advertencia: no existe la opción interna line-width
Procesando «snippet-map-4684781841145640542.ly»
Analizando...
Procesando «solfeo.lytex»
Analizando...
Renombrando la entrada a: «scores/Lesson_1.01.xml.ly»
advertencia: los márgenes no caben en este ancho de línea, fijando valores
predeterminados
Interpretando la música...[8]
Preprocesando los objetos gráficos...
Calculando los saltos de línea... 
Dibujando los sistemas... 
Salida de la página hacia «d5/lily-084a2839.eps»...
Salida de la página hacia «d5/lily-084a2839-1.eps»...
Salida de la página hacia «d5/lily-084a2839-2.eps»...
Escribiendo «d5/lily-084a2839-systems.texi»...
Escribiendo «d5/lily-084a2839-systems.tex»...
Escribiendo «d5/lily-084a2839-systems.count»...
Enhorabuena. La compilación se ha completado satisfactoriamente.
Linking files...
Compiling /media/admin/DATOS/Dropbox/code/solfeo-book/out/solfeo.tex...
Writing `/media/admin/DATOS/Dropbox/code/solfeo-book/out/solfeo.tex'...

---

Cheers


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


Re: lilypond-book: warning: cannot detect textwidth from LaTeX

2013-10-26 Thread Marcos Press
You hit one spot :)
I'm trying to put examples in multicolumn. Which I resolve in doing two
thing.

Ono is to put the example in the three columns.
The other is to end the table, put the example centered and then start the
table again.
A time ago I been trying the \multicolumn command but I couldn't remember
why I couldn't use it :)

About my orginal question, Marc answer was the reason I keep getting that
warning.


2013/10/25 Urs Liska u...@openlilylib.org

  Am 25.10.2013 15:45, schrieb Marcos Press:

   Hi all!

  Every time I run lilypond-book I have the same first three lines:

 
 Running `pdflatex' on file `/tmp/tmpk95zdA.tex' to detect default page
 settings.

 lilypond-book: warning: Unable to auto-detect default settings:

 lilypond-book: warning: cannot detect textwidth from LaTeX
 

  Then, it ends up rendering the hole thing completly, nearly without
 problem except my ouns wich are allways there. :)

  Is there any way to solve these auto-detection?
  If not, how can I tell lilypond-book the textwidth of my tex file? And
 how can I know it?


 I don't know.
 But this is one of the reasons I *want* to improve my musicexamples
 package. When all this isn't run from an external Python script but from
 within the running latex it is of course possible to detect the textwidth.
 It's even possible to access the _currently_ active textwidth. For example
 if you want to place examples in multicolumn text.

 In general it says lilypond-book will _try_ to guess the correct width but
 will fail in some circumstances.

 For determining the textwidth manually maybe this will help you:
 http://stackoverflow.com/questions/1168551/printing-out-latex-variables

 HTH
 Urs


  Thanks!

  Marcos


 ___
 lilypond-user mailing 
 listlilypond-user@gnu.orghttps://lists.gnu.org/mailman/listinfo/lilypond-user



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


Re: lilypond-book: warning: cannot detect textwidth from LaTeX

2013-10-26 Thread Marcos Press
Absolutly right.
You really have some perception powers :)
I was not telling lilypond-book to use xelatex.
Now it detects the marging and the result is much much better than before :)

Thanks.


2013/10/25 Marc Hohl m...@hohlart.de

 Am 25.10.2013 15:45, schrieb Marcos Press:

 Hi all!


 Every time I run lilypond-book I have the same first three lines:

 
 Running `pdflatex' on file `/tmp/tmpk95zdA.tex' to detect default page
 settings.

 lilypond-book: warning: Unable to auto-detect default settings:

 lilypond-book: warning: cannot detect textwidth from LaTeX
 

 Then, it ends up rendering the hole thing completly, nearly without
 problem except my ouns wich are allways there. :)

 Is there any way to solve these auto-detection?


 Without knowing how your file looks like and how you invoke
 lilybond-book, there is probably some extrasensory perception
 needed ;-)


  If not, how can I tell lilypond-book the textwidth of my tex file? And
 how can I know it?


 I had a similar case some time ago due to the fact that I used
 xelatex for processing the file but forgot to tell lilypond-book
 to use xelatex for auto-detection.



 __**_
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/**listinfo/lilypond-userhttps://lists.gnu.org/mailman/listinfo/lilypond-user

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


lilypond-book: warning: cannot detect textwidth from LaTeX

2013-10-25 Thread Marcos Press
Hi all!

Every time I run lilypond-book I have the same first three lines:


Running `pdflatex' on file `/tmp/tmpk95zdA.tex' to detect default page
settings.

lilypond-book: warning: Unable to auto-detect default settings:

lilypond-book: warning: cannot detect textwidth from LaTeX


Then, it ends up rendering the hole thing completly, nearly without problem
except my ouns wich are allways there. :)

Is there any way to solve these auto-detection?
If not, how can I tell lilypond-book the textwidth of my tex file? And how
can I know it?

Thanks!

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


Re: lilypond-book: warning: cannot detect textwidth from LaTeX

2013-10-25 Thread Marc Hohl

Am 25.10.2013 15:45, schrieb Marcos Press:

Hi all!

Every time I run lilypond-book I have the same first three lines:


Running `pdflatex' on file `/tmp/tmpk95zdA.tex' to detect default page
settings.

lilypond-book: warning: Unable to auto-detect default settings:

lilypond-book: warning: cannot detect textwidth from LaTeX


Then, it ends up rendering the hole thing completly, nearly without
problem except my ouns wich are allways there. :)

Is there any way to solve these auto-detection?


Without knowing how your file looks like and how you invoke
lilybond-book, there is probably some extrasensory perception
needed ;-)


If not, how can I tell lilypond-book the textwidth of my tex file? And
how can I know it?


I had a similar case some time ago due to the fact that I used
xelatex for processing the file but forgot to tell lilypond-book
to use xelatex for auto-detection.


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


Re: Re:getting musical examples to an exact textwidth with a style file

2013-08-05 Thread Phil Holmes
Ah yes, I'd forgotten that.  It's done in the Lilypond documentation either 
by setting paper as part of the lilypond call, or explicitly in the example. 
e.g:


@lilypond[verbatim,quote,ragged-right]
...
 \paper {
   paper-width = 100\mm
   paper-height = 100\mm
   tagline = ##f
 }
}
@end lilypond


@lilypond[papersize=c7landscape,verbatim,noragged-right]
@lilypond[papersize=a6landscape,quote,verbatim,noragged-right]


--
Phil Holmes


- Original Message - 
From: Kevin Patrick Barry

To: Phil Holmes
Cc: lilypond-user
Sent: Sunday, August 04, 2013 11:51 PM
Subject: Re: Re:getting musical examples to an exact textwidth with a style 
file



If you put the examples inside a \book block, you can specify system spacing 
with normal lilypond commands, and the images are kept together on the page.



I tried that and ended up with a full page example instead of a cropped 
system.  Does using \book mean I have to manually set the page size to the 
size of the example?



For example, the following fairly minimal example compiled to a pdf of 3 
pages, even though it is only a single note.  I can add a \paper block but 
it's not immediately obvious how to crop the whole example.


\documentclass{article}
\begin{document}
\begin{lilypond}
\book {
 \score {
   \new Staff {
 \relative f { c'1 }
   }
 }
}
\end{lilypond}
\end{document} 



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


Re:getting musical examples to an exact textwidth with a style file

2013-08-04 Thread Kevin Patrick Barry

 Have you looked at lilypond-book?  That's likely the tool of choice
 here, and it is not clear from your description that you are using it.

 --
 David Kastrup


Sorry for the delay in responding.

Yes when I first started the project (a PhD thesis) I was using
lilypond-book, but I abandoned it for a couple of reasons, the main one
being that lilypond-book placed systems too close together (it just uses a
\linebreak), and as far as I could tell I had to go messing with macros to
change that (something I know nothing about).  Seeing as lilypond-book was
just creating pdfs and including them as graphics I decided it would be
simpler if I just did that myself.  It had the beneficial side effects of
meaning that I didn't have to give every file in the project a .lytex
extension, and reducing the time it takes to have a look at what I'm doing
(lilypond-book seems to ignore the \include command).  If there's an easy
way to get the nice (default) system-system-spacing variables that lilypond
uses into lilypond-book I would consider going back to it.

I have noticed that lilypond-book doesn't suffer from the same line-width
problem that I have; looking at the code of some of its examples maybe it
has something to do with the included lilypond-book-preamble.ly?

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


Re: Re:getting musical examples to an exact textwidth with a style file

2013-08-04 Thread Phil Holmes
If you put the examples inside a \book block, you can specify system spacing 
with normal lilypond commands, and the images are kept together on the page.

--
Phil Holmes


  - Original Message - 
  From: Kevin Patrick Barry 
  To: lilypond-user 
  Sent: Sunday, August 04, 2013 6:38 PM
  Subject: Re:getting musical examples to an exact textwidth with a style file


Have you looked at lilypond-book?  That's likely the tool of choice
here, and it is not clear from your description that you are using it.

--
David Kastrup



  Sorry for the delay in responding. 



  Yes when I first started the project (a PhD thesis) I was using 
lilypond-book, but I abandoned it for a couple of reasons, the main one being 
that lilypond-book placed systems too close together (it just uses a 
\linebreak), and as far as I could tell I had to go messing with macros to 
change that (something I know nothing about).  Seeing as lilypond-book was just 
creating pdfs and including them as graphics I decided it would be simpler if I 
just did that myself.  It had the beneficial side effects of meaning that I 
didn't have to give every file in the project a .lytex extension, and reducing 
the time it takes to have a look at what I'm doing (lilypond-book seems to 
ignore the \include command).  If there's an easy way to get the nice (default) 
system-system-spacing variables that lilypond uses into lilypond-book I would 
consider going back to it.


  I have noticed that lilypond-book doesn't suffer from the same line-width 
problem that I have; looking at the code of some of its examples maybe it has 
something to do with the included lilypond-book-preamble.ly?


  Kevin



--


  ___
  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


Re:getting musical examples to an exact textwidth with a style file

2013-08-04 Thread Urs Liska




Kevin Patrick Barry barr...@tcd.ie schrieb:


 Have you looked at lilypond-book?  That's likely the tool of choice
 here, and it is not clear from your description that you are using
it.

 --
 David Kastrup


Sorry for the delay in responding.

Yes when I first started the project (a PhD thesis) I was using
lilypond-book, but I abandoned it for a couple of reasons, the main one
being that lilypond-book placed systems too close together (it just
uses a
\linebreak), and as far as I could tell I had to go messing with macros
to
change that (something I know nothing about).  Seeing as lilypond-book
was
just creating pdfs and including them as graphics I decided it would be
simpler if I just did that myself.  It had the beneficial side effects
of
meaning that I didn't have to give every file in the project a .lytex
extension, and reducing the time it takes to have a look at what I'm
doing
(lilypond-book seems to ignore the \include command).  If there's an
easy
way to get the nice (default) system-system-spacing variables that
lilypond
uses into lilypond-book I would consider going back to it.

I have noticed that lilypond-book doesn't suffer from the same
line-width
problem that I have; looking at the code of some of its examples maybe
it
has something to do with the included lilypond-book-preamble.ly?

Kevin

From reading this I think you should have a look into the musicexamples manual 
I referenced earlier in this thread.
I'm not at home so I won't elaborate on it on my mobile phone, but it could be 
it helps you.

Urs




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

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Re:getting musical examples to an exact textwidth with a style file

2013-08-04 Thread Kevin Patrick Barry

 **
 If you put the examples inside a \book block, you can specify system
 spacing with normal lilypond commands, and the images are kept together on
 the page.


I tried that and ended up with a full page example instead of a cropped
system.  Does using \book mean I have to manually set the page size to the
size of the example?

For example, the following fairly minimal example compiled to a pdf of 3
pages, even though it is only a single note.  I can add a \paper block but
it's not immediately obvious how to crop the whole example.

\documentclass{article}
\begin{document}
\begin{lilypond}
\book {
  \score {
\new Staff {
  \relative f { c'1 }
}
  }
}
\end{lilypond}
\end{document}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


getting musical examples to an exact textwidth with a style file

2013-08-03 Thread Kevin Patrick Barry
Dear Lilypond users,

I am creating musical examples for a text block with a fixed width
(100.8mm) and am trying to create a style file that I can use for all of
the examples (there will probably be a couple of hundred).  I thought I
could do this by modifying some combination of page-width, line-width,
left-margin and right-margin, but I have run into two problems:
braces/brackets, and bar numbers.

If I set the line width to be the same as the text block then the piano
braces increase the line width and the resulting file is too wide; to fix
this I have to manually set an appropriate left margin, but this margin is
different depending on whether the example begins with a brace or a
bracket, and if there are bar numbers it depends on how large the numbers
are (two digits vs three digits vs parenthesized bar numbers for examples
that start in the middle of a bar).

If, instead, I set the page-width to the width of the text block then it
doesn't use the full width unless I manually specify the margins, which
places me in the same situation as above.  I suspect I have to manually set
the left margin in every example depending on what combination of elements
appear to the left of the beginning of the staff.

An even better solution might be to leave the image slightly too wide and
make it raggedleft/flushright, so that the bracket/bar numbers reach into
the left margin of the page, but this doesn't seem to be possible in LaTeX:
using \raggedleft within the figure environment has no effect.

If anyone has any thought I'd appreciate them,
Kevin.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: getting musical examples to an exact textwidth with a style file

2013-08-03 Thread David Kastrup
Kevin Patrick Barry barr...@tcd.ie writes:

 I am creating musical examples for a text block with a fixed width
 (100.8mm) and am trying to create a style file that I can use for all of
 the examples (there will probably be a couple of hundred).  I thought I
 could do this by modifying some combination of page-width, line-width,
 left-margin and right-margin, but I have run into two problems:
 braces/brackets, and bar numbers.

[...]

 If anyone has any thought I'd appreciate them,
 Kevin.

Have you looked at lilypond-book?  That's likely the tool of choice
here, and it is not clear from your description that you are using it.

-- 
David Kastrup


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


Re: getting musical examples to an exact textwidth with a style file

2013-08-03 Thread Urs Liska
Depending on where you want to store the source code of your examples you might 
also have a look at http://www.openlilylib.org/musicexamples

But in addition to David's comment I'd say you don't even show that you are 
using LaTeX for your document (although it would be an obvious choice...).

If you have more questions about the 'musicexamples' packege than the 
preliminary manual on the given web page provides you may contact me privately.

Best
Urs



David Kastrup d...@gnu.org schrieb:

Kevin Patrick Barry barr...@tcd.ie writes:

 I am creating musical examples for a text block with a fixed width
 (100.8mm) and am trying to create a style file that I can use for all
of
 the examples (there will probably be a couple of hundred).  I thought
I
 could do this by modifying some combination of page-width,
line-width,
 left-margin and right-margin, but I have run into two problems:
 braces/brackets, and bar numbers.

[...]

 If anyone has any thought I'd appreciate them,
 Kevin.

Have you looked at lilypond-book?  That's likely the tool of choice
here, and it is not clear from your description that you are using it.

-- 
David Kastrup


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

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with textwidth and lilypond-book

2006-03-22 Thread Joseph Haig
Thanks for the help.  Sorry for replying directly rather than to the
list - I obviously forgot to 'reply to all', so it didn't pick up the
mailing list in the Cc.  Anyway, for the benefit of anyone else who may
have been following this thread, the solution is:

--- Mats Bengtsson [EMAIL PROTECTED] wrote:

 Please always keep the discussion on the mailing list, for the
 benefit 
 of yourself since you get access to the collected
 expertise on the list and for the benefit of others who experience
 similar problems. Feel free to quote my answer below if you wish.
 
 What I had in mind was 
 http://lists.gnu.org/archive/html/lilypond-user/2005-11/msg00441.html
 
/Mats
 
 Quoting Joseph Haig [EMAIL PROTECTED]:
 
  I did try searching the archives before posting without success. 
 All I
  found were suggestions to use the noquote and linewidth options
 which
  do not seem to make any difference.  Sorry to be a pain but could
 you
  please point me in the direction of the relevant postings.
 
  Thanks,
 
  Joe
 
  --- Mats Bengtsson [EMAIL PROTECTED] wrote:
 
  This is a known problem in version 2.6.x, see the mailing
  list archives for workarounds.
 
 /Mats
 
  Joseph Haig wrote:
 
  I am trying to change them margins in a document that I run
 through
  lilypond-book.  The code below is an example of what I am trying,
  but
  the second line of the music is put, for some reason, to the
 right
  of
  the first line and not below.  If I remove
  '\setlength{\textwidth}{160mm}' then it appears correctly (except
  that
  the margins are not how I want them).  Can anyone suggest what
 might
  be
  the problem?  I am using version 2.6.3.
  
  Thanks,
  
  Joe
  
  -- Code ---
  
  \documentclass[a4paper]{article}
  
  \usepackage{graphics}
  
  \setlength{\voffset}{-2cm}
  \setlength{\hoffset}{0mm}
  \addtolength{\hoffset}{-1in}
  \setlength{\evensidemargin}{0mm}
  \setlength{\textwidth}{160mm}
  
  \begin{document}
  
  \begin[noquote,linewidth]{lilypond}
  
  \relative c' {
  c d e f g a b c d e f g a b c b a g f e d c b a g f e d
  c d e f g a b c d e f g a b c b a g f e d c b a g f e d
  c d e f g a b c d e f g a b c b a g f e d c b a g f e d
  c d e f g a b c d e f g a b c b a g f e d c b a g f e d
  }
  
  \end{lilypond}
  
  \end{document}
  
  
  
  
  ___
  To help you stay safe and secure online, we've developed the all
 new
  Yahoo! Security Centre. http://uk.security.yahoo.com
  
  
  ___
  lilypond-user mailing list
  lilypond-user@gnu.org
  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: [EMAIL PROTECTED]
 WWW: http://www.s3.kth.se/~mabe
  =
 
 
 
 
 
 
  ___
  NEW Yahoo! Cars - sell your car and browse thousands of new and
 used 
  cars online! http://uk.cars.yahoo.com/
 
 
 
 
 




___ 
Win a BlackBerry device from O2 with Yahoo!. Enter now. 
http://www.yahoo.co.uk/blackberry


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


Problem with \textwidth and lilypond-book

2006-03-20 Thread Joseph Haig
I am trying to change them margins in a document that I run through
lilypond-book.  The code below is an example of what I am trying, but
the second line of the music is put, for some reason, to the right of
the first line and not below.  If I remove
'\setlength{\textwidth}{160mm}' then it appears correctly (except that
the margins are not how I want them).  Can anyone suggest what might be
the problem?  I am using version 2.6.3.

Thanks,

Joe

-- Code ---

\documentclass[a4paper]{article}

\usepackage{graphics}

\setlength{\voffset}{-2cm}
\setlength{\hoffset}{0mm}
\addtolength{\hoffset}{-1in}
\setlength{\evensidemargin}{0mm}
\setlength{\textwidth}{160mm}

\begin{document}

\begin[noquote,linewidth]{lilypond}

\relative c' {
c d e f g a b c d e f g a b c b a g f e d c b a g f e d
c d e f g a b c d e f g a b c b a g f e d c b a g f e d
c d e f g a b c d e f g a b c b a g f e d c b a g f e d
c d e f g a b c d e f g a b c b a g f e d c b a g f e d
}

\end{lilypond}

\end{document}




___ 
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.yahoo.com


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


Re: Problem with \textwidth and lilypond-book

2006-03-20 Thread Mats Bengtsson

This is a known problem in version 2.6.x, see the mailing
list archives for workarounds.

  /Mats

Joseph Haig wrote:


I am trying to change them margins in a document that I run through
lilypond-book.  The code below is an example of what I am trying, but
the second line of the music is put, for some reason, to the right of
the first line and not below.  If I remove
'\setlength{\textwidth}{160mm}' then it appears correctly (except that
the margins are not how I want them).  Can anyone suggest what might be
the problem?  I am using version 2.6.3.

Thanks,

Joe

-- Code ---

\documentclass[a4paper]{article}

\usepackage{graphics}

\setlength{\voffset}{-2cm}
\setlength{\hoffset}{0mm}
\addtolength{\hoffset}{-1in}
\setlength{\evensidemargin}{0mm}
\setlength{\textwidth}{160mm}

\begin{document}

\begin[noquote,linewidth]{lilypond}

\relative c' {
c d e f g a b c d e f g a b c b a g f e d c b a g f e d
c d e f g a b c d e f g a b c b a g f e d c b a g f e d
c d e f g a b c d e f g a b c b a g f e d c b a g f e d
c d e f g a b c d e f g a b c b a g f e d c b a g f e d
}

\end{lilypond}

\end{document}




___ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com



___
lilypond-user mailing list
lilypond-user@gnu.org
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


textwidth solved

2003-12-04 Thread David Bobroff
It seems I've found my answer to the textwidth problem.  If the
textwidth is set to the same value as linewidth in the \paper block it
does what I expect.

-David Bobroff



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


textwidth

2003-12-03 Thread David Bobroff
Here's something I've never figured out.  When using lilypond-book with
LaTeX (and the graphics package) the textwidth has never behaved as I
would have thought.  For example:

\documentclass{article}
\usepackage{graphics}
\usepackage{geometry}
\geometry{textwidth=190mm,
textheight=250.00mm,headheight=3cm,headsep=1cm,footskip=30mm}

\begin{document}
\lilypond{c d e f g a b c' c d e f g a b c' c d e f g a b c' c d e f }
\end{document}

With the textwidth set to 190mm the result is reasonable.  If I start
reducing it, the width of the printed music stays the same, but it
shifts to the right.  Increasing it shifts it to the left.  What I would
expect is that setting the textwidth to a smaller value would make the
printed music narrower.  What am I failing to understand?

-David Bobroff



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user