lilypond-user
[Top][All Lists]
Advanced

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

Lilypond-Book not compiling LaTeX


From: Marcos Press
Subject: Lilypond-Book not compiling LaTeX
Date: Fri, 27 Sep 2013 15:46:43 -0300

Hi!

Finaly I decide to learn LaTeX, and integrateit with Lilypond.

I've been writting in LaTeX with the usuall learning curbe problems. And finaly arrive to the moment of putting some music within the text.
So I type many diferent trys, and nothing works. Always the same output.
So I decide to try with a Lilypond example from the web.
I use the one that can be find here: http://www.lilypond.org/doc/v2.16/Documentation/usage/lilypond_002dbook-templates.html
#
\documentclass[]{article}

\begin{document}

Normal LaTeX text.

\begin{lilypond}
\relative c'' {
  a4 b c d
}
\end{lilypond}

More LaTeX text, and options in square brackets.

\begin{lilypond}[fragment,relative=2,quote,staffsize=26,verbatim]
d4 c b a
\end{lilypond}
\end{document
#

Then, the command and exit status:
#
lilypond-book -f latex --output out podemos.tex

lilypond-book (GNU LilyPond) 2.16.0
Leyendo podemos.tex...
Ejecutando «latex» sobre el archivo «/tmp/tmp8NiLBQ.tex» para detectar los ajustes de página predeterminados.

Diseccionando...
Traceback (most recent call last):
  File "/usr/bin/lilypond-book", line 766, in <module>
    main ()
  File "/usr/bin/lilypond-book", line 749, in main
    chunks = do_file (files[0])
  File "/usr/bin/lilypond-book", line 610, in do_file
    do_process_cmd (chunks, input_fullname, global_options)
  File "/usr/bin/lilypond-book", line 470, in do_process_cmd
    output_files = split_output_files (options.lily_output_dir)
  File "/usr/bin/lilypond-book", line 460, in split_output_files
    for subdir in glob.glob (os.path.join (directory, '[a-f0-9][a-f0-9]')):
  File "/usr/lib/python2.7/glob.py", line 27, in glob
    return list(iglob(pathname))
  File "/usr/lib/python2.7/glob.py", line 58, in iglob
    for dirname in dirs:
  File "/usr/lib/python2.7/glob.py", line 58, in iglob
    for dirname in dirs:
  File "/usr/lib/python2.7/glob.py", line 59, in iglob
    for name in glob_in_dir(dirname, basename):
  File "/usr/lib/python2.7/glob.py", line 78, in glob1
    return fnmatch.filter(names, pattern)
  File "/usr/lib/python2.7/fnmatch.py", line 54, in filter
    _cache[pat] = re.compile(res)
  File "/usr/lib/python2.7/re.py", line 190, in compile
    return _compile(pattern, flags)
  File "/usr/lib/python2.7/re.py", line 242, in _compile
    raise error, v # invalid _expression_
sre_constants.error: bad character range
###

It doesn't matter what I write in the file. The result is always the same.

Any help will be apreciated :)!

Marcos.

reply via email to

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